A Universal Resource Identifier (URI), opaque. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/fs_api.h>
Data Fields | |
enum GNUNET_FS_UriType | type |
Type of the URI. More... | |
union { | |
struct { | |
char ** keywords | |
Keywords start with a '+' if they are mandatory (in which case the '+' is NOT part of the keyword) and with a simple space if they are optional (in which case the space is ALSO not part of the actual keyword). More... | |
unsigned int keywordCount | |
Size of the keywords array. More... | |
} ksk | |
struct { | |
struct GNUNET_CRYPTO_EcdsaPublicKey ns | |
Identifier of the namespace. More... | |
char * identifier | |
Human-readable identifier chosen for this entry in the namespace. More... | |
} sks | |
struct FileIdentifier chk | |
Information needed to retrieve a file (content-hash-key plus file size). More... | |
struct Location loc | |
Information needed to retrieve a file including signed location (identity of a peer) of the content. More... | |
} | data |
enum GNUNET_FS_UriType GNUNET_FS_Uri::type |
Type of the URI.
Definition at line 171 of file fs_api.h.
Referenced by deserialize_search_result(), GNUNET_FS_download_start_task_(), GNUNET_FS_publish_sks(), GNUNET_FS_search_result_sync_(), GNUNET_FS_search_start_probe_(), GNUNET_FS_tree_encoder_next(), GNUNET_FS_uri_chk_get_file_hash(), GNUNET_FS_uri_chk_get_file_size(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_get_keyword_count(), GNUNET_FS_uri_ksk_get_keywords(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_FS_uri_ksk_to_string_fancy(), GNUNET_FS_uri_loc_create(), GNUNET_FS_uri_loc_get_expiration(), GNUNET_FS_uri_loc_get_peer_identity(), GNUNET_FS_uri_loc_get_uri(), GNUNET_FS_uri_sks_create(), GNUNET_FS_uri_test_chk(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_test_ksk(), GNUNET_FS_uri_test_loc(), GNUNET_FS_uri_test_sks(), GNUNET_FS_uri_to_key(), GNUNET_FS_uri_to_string(), handle_client_loc_sign(), handle_result(), process_sks_result(), uri_chk_to_string(), uri_ksk_to_string(), uri_loc_parse(), and uri_sks_to_string().
char** GNUNET_FS_Uri::keywords |
Keywords start with a '+' if they are mandatory (in which case the '+' is NOT part of the keyword) and with a simple space if they are optional (in which case the space is ALSO not part of the actual keyword).
Double-quotes to protect spaces and %-encoding are NOT used internally (only in URI-strings).
Definition at line 186 of file fs_api.h.
Referenced by gather_uri_data(), GNUNET_FS_search_start_searching_(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_get_keywords(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_FS_uri_ksk_to_string_fancy(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_test_ksk(), GNUNET_FS_uri_to_key(), make_file(), process_kblock_for_unindex(), publish_ksk_cont(), start_download(), uri_ksk_parse(), and uri_ksk_to_string().
unsigned int GNUNET_FS_Uri::keywordCount |
Size of the keywords array.
Definition at line 191 of file fs_api.h.
Referenced by decrypt_block_with_keyword(), deserialize_search_result(), deserialize_unindex_file(), gather_uri_data(), GNUNET_FS_search_result_sync_(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_start_searching_(), GNUNET_FS_search_stop(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_get_keyword_count(), GNUNET_FS_uri_ksk_get_keywords(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_FS_uri_ksk_to_string_fancy(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_test_ksk(), GNUNET_FS_uri_to_key(), process_ksk_result(), publish_ksk_cont(), schedule_transmit_search_request(), update_sre_result_maps(), and uri_ksk_to_string().
struct { ... } GNUNET_FS_Uri::ksk |
Referenced by decrypt_block_with_keyword(), deserialize_search_result(), deserialize_unindex_file(), gather_uri_data(), GNUNET_FS_search_result_sync_(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_start_searching_(), GNUNET_FS_search_stop(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_get_keyword_count(), GNUNET_FS_uri_ksk_get_keywords(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_FS_uri_ksk_to_string_fancy(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_test_ksk(), GNUNET_FS_uri_to_key(), process_kblock_for_unindex(), process_ksk_result(), publish_ksk_cont(), schedule_transmit_search_request(), update_sre_result_maps(), and uri_ksk_to_string().
struct GNUNET_CRYPTO_EcdsaPublicKey GNUNET_FS_Uri::ns |
Identifier of the namespace.
Definition at line 199 of file fs_api.h.
Referenced by GNUNET_FS_publish_sks(), GNUNET_FS_uri_sks_create(), GNUNET_FS_uri_sks_get_namespace(), GNUNET_FS_uri_test_equal(), process_sblock(), process_sks_result(), schedule_transmit_search_request(), and uri_sks_to_string().
char* GNUNET_FS_Uri::identifier |
Human-readable identifier chosen for this entry in the namespace.
Definition at line 205 of file fs_api.h.
Referenced by GNUNET_FS_publish_sks(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_sks_create(), GNUNET_FS_uri_sks_get_content_id(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_to_key(), process_sblock(), process_sks_result(), schedule_transmit_search_request(), and uri_sks_to_string().
struct { ... } GNUNET_FS_Uri::sks |
Referenced by GNUNET_FS_publish_sks(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_sks_create(), GNUNET_FS_uri_sks_get_content_id(), GNUNET_FS_uri_sks_get_namespace(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_to_key(), process_sblock(), process_sks_result(), schedule_transmit_search_request(), and uri_sks_to_string().
struct FileIdentifier GNUNET_FS_Uri::chk |
Information needed to retrieve a file (content-hash-key plus file size).
Definition at line 212 of file fs_api.h.
Referenced by GNUNET_FS_download_start_task_(), GNUNET_FS_publish_stop(), GNUNET_FS_tree_encoder_next(), GNUNET_FS_uri_chk_get_file_hash(), GNUNET_FS_uri_chk_get_file_size(), GNUNET_FS_uri_loc_create(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_to_key(), handle_client_loc_sign(), process_kblock_for_unindex(), process_result_with_request(), process_sks_result(), reconstruct_cb(), try_match_block(), and uri_chk_to_string().
struct Location GNUNET_FS_Uri::loc |
Information needed to retrieve a file including signed location (identity of a peer) of the content.
Definition at line 218 of file fs_api.h.
Referenced by GNUNET_FS_download_start_task_(), GNUNET_FS_uri_chk_get_file_size(), GNUNET_FS_uri_loc_create(), GNUNET_FS_uri_loc_get_expiration(), GNUNET_FS_uri_loc_get_peer_identity(), GNUNET_FS_uri_loc_get_uri(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_to_key(), handle_client_loc_sign(), uri_loc_parse(), and uri_loc_to_string().
union { ... } GNUNET_FS_Uri::data |
Referenced by decrypt_block_with_keyword(), deserialize_search_result(), deserialize_unindex_file(), gather_uri_data(), GNUNET_FS_download_start_task_(), GNUNET_FS_publish_sks(), GNUNET_FS_publish_stop(), GNUNET_FS_search_result_sync_(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_start_searching_(), GNUNET_FS_search_stop(), GNUNET_FS_tree_encoder_next(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_uri_chk_get_file_hash(), GNUNET_FS_uri_chk_get_file_size(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_dup(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_get_keyword_count(), GNUNET_FS_uri_ksk_get_keywords(), GNUNET_FS_uri_ksk_merge(), GNUNET_FS_uri_ksk_remove_keyword(), GNUNET_FS_uri_ksk_to_string_fancy(), GNUNET_FS_uri_loc_create(), GNUNET_FS_uri_loc_get_expiration(), GNUNET_FS_uri_loc_get_peer_identity(), GNUNET_FS_uri_loc_get_uri(), GNUNET_FS_uri_sks_create(), GNUNET_FS_uri_sks_get_content_id(), GNUNET_FS_uri_sks_get_namespace(), GNUNET_FS_uri_test_equal(), GNUNET_FS_uri_test_ksk(), GNUNET_FS_uri_to_key(), handle_client_loc_sign(), typescriptdomain.TypeScriptDomain::objects(), process_kblock_for_unindex(), process_ksk_result(), process_result_with_request(), process_sblock(), process_sks_result(), publish_ksk_cont(), reconstruct_cb(), httpdomain.httpdomain.HTTPDomain::resolve_xref(), httpdomain.httpdomain.HTTPDomain::routes(), schedule_transmit_search_request(), try_match_block(), update_sre_result_maps(), uri_chk_to_string(), uri_ksk_to_string(), uri_loc_parse(), uri_loc_to_string(), and uri_sks_to_string().