publishing files on GNUnet More...
Go to the source code of this file.
Functions | |
static void | do_stop_task (void *cls) |
We are finished with the publishing operation, clean up all FS state. More... | |
static void * | progress_cb (void *cls, const struct GNUNET_FS_ProgressInfo *info) |
Called by FS client to give information about the progress of an operation. More... | |
static int | meta_printer (void *cls, const char *plugin_name, enum EXTRACTOR_MetaType type, enum EXTRACTOR_MetaFormat format, const char *data_mime_type, const char *data, size_t data_size) |
Print metadata entries (except binary metadata and the filename). More... | |
static int | keyword_printer (void *cls, const char *keyword, int is_mandatory) |
Iterator printing keywords. More... | |
static int | publish_inspector (void *cls, struct GNUNET_FS_FileInformation *fi, uint64_t length, struct GNUNET_FS_MetaData *m, struct GNUNET_FS_Uri **uri_info, struct GNUNET_FS_BlockOptions *bo_info, int *do_index, void **client_info) |
Function called on all entries before the publication. More... | |
static void | uri_sks_continuation (void *cls, const struct GNUNET_FS_Uri *sks_uri, const char *emsg) |
Function called upon completion of the publishing of the UBLOCK for the SKS URI. More... | |
static void | uri_ksk_continuation (void *cls, const struct GNUNET_FS_Uri *ksk_uri, const char *emsg) |
Function called upon completion of the publishing of the UBLOCK for the KSK URI. More... | |
static struct GNUNET_FS_FileInformation * | get_file_information (struct GNUNET_FS_ShareTreeItem *item) |
Iterate over the results from the directory scan and extract the desired information for the publishing operation. More... | |
static void | directory_trim_complete (struct GNUNET_FS_ShareTreeItem *directory_scan_result) |
We've finished scanning the directory and optimized the meta data. More... | |
static void | directory_scan_cb (void *cls, const char *filename, int is_directory, enum GNUNET_FS_DirScannerProgressUpdateReason reason) |
Function called by the directory scanner as we build the tree that we will need to publish later. More... | |
static void | identity_continuation (const char *args0) |
Continuation proceeding with initialization after identity subsystem has been initialized. More... | |
static void | identity_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego, void **ctx, const char *name) |
Function called by identity service with known pseudonyms. More... | |
static void | run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *c) |
Main function that will be run by the scheduler. More... | |
int | main (int argc, char *const *argv) |
The main function to publish content to GNUnet. More... | |
Variables | |
static int | ret |
Global return value from main(). More... | |
static unsigned int | verbose |
Command line option 'verbose' set. More... | |
static const struct GNUNET_CONFIGURATION_Handle * | cfg |
Handle to our configuration. More... | |
static struct GNUNET_FS_Handle * | fs_handle |
Handle for interaction with file-sharing service. More... | |
static struct GNUNET_FS_PublishContext * | pc |
Handle to FS-publishing operation. More... | |
static struct GNUNET_FS_MetaData * | meta |
Meta-data provided via command-line option. More... | |
static struct GNUNET_FS_Uri * | topKeywords |
Keywords provided via command-line option. More... | |
static struct GNUNET_FS_BlockOptions | bo = { { 0LL }, 1, 365, 1 } |
Options we set for published blocks. More... | |
static char * | uri_string |
Value of URI provided on command-line (when not publishing a file but just creating UBlocks to refer to an existing URI). More... | |
static struct GNUNET_FS_Uri * | uri |
Value of URI provided on command-line (when not publishing a file but just creating UBlocks to refer to an existing URI); parsed version of 'uri_string'. More... | |
static char * | next_id |
Command-line option for namespace publishing: identifier for updates to this publication. More... | |
static char * | this_id |
Command-line option for namespace publishing: identifier for this publication. More... | |
static char * | pseudonym |
Command-line option identifying the pseudonym to use for the publication. More... | |
static int | do_insert |
Command-line option for 'inserting'. More... | |
static int | disable_extractor |
Command-line option to disable meta data extraction. More... | |
static int | do_simulate |
Command-line option to merely simulate publishing operation. More... | |
static int | extract_only |
Command-line option to only perform meta data extraction, but not publish. More... | |
static int | enable_creation_time |
Command-line option to disable adding creation time. More... | |
static struct GNUNET_FS_DirScanner * | ds |
Handle to the directory scanner (for recursive insertions). More... | |
static struct GNUNET_IDENTITY_Handle * | identity |
Which namespace do we publish to? NULL if we do not publish to a namespace. More... | |
publishing files on GNUnet
Definition in file gnunet-publish.c.
|
static |
We are finished with the publishing operation, clean up all FS state.
cls | NULL |
Definition at line 152 of file gnunet-publish.c.
References ds, fs_handle, GNUNET_FS_directory_scan_abort(), GNUNET_FS_meta_data_destroy(), GNUNET_FS_publish_stop(), GNUNET_FS_stop(), GNUNET_FS_uri_destroy(), GNUNET_IDENTITY_disconnect(), identity, meta, p, pc, and uri.
Referenced by run().
|
static |
Called by FS client to give information about the progress of an operation.
cls | closure |
info | details about the event, specifying the event type and various bits about the event |
Definition at line 204 of file gnunet-publish.c.
References _, GNUNET_break, GNUNET_free, GNUNET_FS_STATUS_PUBLISH_COMPLETED, GNUNET_FS_STATUS_PUBLISH_ERROR, GNUNET_FS_STATUS_PUBLISH_PROGRESS, GNUNET_FS_STATUS_PUBLISH_PROGRESS_DIRECTORY, GNUNET_FS_STATUS_PUBLISH_START, GNUNET_FS_STATUS_PUBLISH_STOPPED, GNUNET_FS_STATUS_UNINDEX_COMPLETED, GNUNET_FS_STATUS_UNINDEX_ERROR, GNUNET_FS_STATUS_UNINDEX_PROGRESS, GNUNET_FS_STATUS_UNINDEX_START, GNUNET_FS_STATUS_UNINDEX_STOPPED, GNUNET_FS_unindex_stop(), GNUNET_FS_uri_to_string(), GNUNET_SCHEDULER_shutdown(), GNUNET_STRINGS_relative_time_to_string(), GNUNET_YES, info, pc, ret, and verbose.
Referenced by run().
|
static |
Print metadata entries (except binary metadata and the filename).
cls | closure |
plugin_name | name of the plugin that generated the meta data |
type | type of the meta data |
format | format of data |
data_mime_type | mime type of data |
data | value of the meta data |
data_size | number of bytes in data |
Definition at line 322 of file gnunet-publish.c.
References data, EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, and type.
Referenced by publish_inspector().
|
static |
Iterator printing keywords.
cls | closure |
keyword | the keyword |
is_mandatory | is the keyword mandatory (in a search) |
Definition at line 353 of file gnunet-publish.c.
References GNUNET_OK.
Referenced by publish_inspector().
|
static |
Function called on all entries before the publication.
This is where we perform modifications to the default based on command-line options.
cls | closure |
fi | the entry in the publish-structure |
length | length of the file or directory |
m | metadata for the file or directory (can be modified) |
uri | pointer to the keywords that will be used for this entry (can be modified) |
bo | block options |
do_index | should we index? |
client_info | pointer to client context set upon creation (can be modified) |
Definition at line 378 of file gnunet-publish.c.
References _, disable_extractor, enable_creation_time, extract_only, EXTRACTOR_METATYPE_GNUNET_ORIGINAL_FILENAME, fs, GNUNET_free, GNUNET_FS_file_information_inspect(), GNUNET_FS_meta_data_add_publication_date(), GNUNET_FS_meta_data_destroy(), GNUNET_FS_meta_data_get_by_type(), GNUNET_FS_meta_data_iterate(), GNUNET_FS_meta_data_merge(), GNUNET_FS_meta_data_test_for_directory(), GNUNET_FS_uri_destroy(), GNUNET_FS_uri_ksk_get_keywords(), GNUNET_FS_uri_ksk_merge(), GNUNET_OK, GNUNET_STRINGS_byte_size_fancy(), GNUNET_YES, keyword_printer(), m, meta, meta_printer(), publish_inspector(), and topKeywords.
Referenced by directory_trim_complete(), and publish_inspector().
|
static |
Function called upon completion of the publishing of the UBLOCK for the SKS URI.
As this is the last step, stop our interaction with FS (clean up).
cls | NULL (closure) |
sks_uri | URI for the block that was published |
emsg | error message, NULL on success |
Definition at line 452 of file gnunet-publish.c.
References GNUNET_SCHEDULER_shutdown(), and ret.
Referenced by uri_ksk_continuation().
|
static |
Function called upon completion of the publishing of the UBLOCK for the KSK URI.
Continue with publishing the SKS URI (if applicable) or clean up.
cls | NULL (closure) |
ksk_uri | URI for the block that was published |
emsg | error message, NULL on success |
Definition at line 475 of file gnunet-publish.c.
References bo, GNUNET_CRYPTO_PrivateKey::ecdsa_key, fs_handle, GNUNET_FS_PUBLISH_OPTION_NONE, GNUNET_FS_publish_sks(), GNUNET_IDENTITY_ego_get_private_key(), GNUNET_PUBLIC_KEY_TYPE_ECDSA, GNUNET_SCHEDULER_shutdown(), meta, next_id, pk, ret, this_id, GNUNET_CRYPTO_PrivateKey::type, uri, and uri_sks_continuation().
Referenced by identity_continuation().
|
static |
Iterate over the results from the directory scan and extract the desired information for the publishing operation.
item | root with the data from the directory scan |
Definition at line 517 of file gnunet-publish.c.
References bo, child, GNUNET_FS_ShareTreeItem::children_head, do_insert, GNUNET_FS_ShareTreeItem::filename, fs_handle, get_file_information(), GNUNET_break, GNUNET_FS_DIRECTORY_MIME, GNUNET_FS_file_information_add(), GNUNET_FS_file_information_create_empty_directory(), GNUNET_FS_file_information_create_from_file(), GNUNET_FS_meta_data_create(), GNUNET_FS_meta_data_delete(), GNUNET_FS_meta_data_make_directory(), GNUNET_FS_uri_ksk_add_keyword(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_NO, GNUNET_OK, GNUNET_YES, GNUNET_FS_ShareTreeItem::is_directory, GNUNET_FS_ShareTreeItem::ksk_uri, and GNUNET_FS_ShareTreeItem::meta.
Referenced by directory_trim_complete(), and get_file_information().
|
static |
We've finished scanning the directory and optimized the meta data.
Begin the publication process.
directory_scan_result | result from the directory scan, freed in this function |
Definition at line 574 of file gnunet-publish.c.
References _, do_simulate, GNUNET_CRYPTO_PrivateKey::ecdsa_key, extract_only, fs_handle, get_file_information(), GNUNET_assert, GNUNET_FS_file_information_destroy(), GNUNET_FS_file_information_inspect(), GNUNET_FS_PUBLISH_OPTION_NONE, GNUNET_FS_PUBLISH_OPTION_SIMULATE_ONLY, GNUNET_FS_publish_start(), GNUNET_FS_share_tree_free(), GNUNET_IDENTITY_ego_get_private_key(), GNUNET_PUBLIC_KEY_TYPE_ECDSA, GNUNET_SCHEDULER_shutdown(), next_id, pc, pk, publish_inspector(), ret, this_id, and GNUNET_CRYPTO_PrivateKey::type.
Referenced by directory_scan_cb().
|
static |
Function called by the directory scanner as we build the tree that we will need to publish later.
cls | closure |
filename | which file we are making progress on |
is_directory | GNUNET_YES if this is a directory, GNUNET_NO if this is a file GNUNET_SYSERR if it is neither (or unknown) |
reason | kind of progress we are making |
Definition at line 633 of file gnunet-publish.c.
References _, directory_trim_complete(), ds, filename, GNUNET_assert, GNUNET_FS_directory_scan_get_result(), GNUNET_FS_DIRSCANNER_ALL_COUNTED, GNUNET_FS_DIRSCANNER_EXTRACT_FINISHED, GNUNET_FS_DIRSCANNER_FILE_IGNORED, GNUNET_FS_DIRSCANNER_FILE_START, GNUNET_FS_DIRSCANNER_FINISHED, GNUNET_FS_DIRSCANNER_INTERNAL_ERROR, GNUNET_FS_share_tree_trim(), GNUNET_SCHEDULER_shutdown(), GNUNET_YES, GNUNET_FS_ShareTreeItem::is_directory, ret, and verbose.
Referenced by identity_continuation().
|
static |
Continuation proceeding with initialization after identity subsystem has been initialized.
args0 | filename to publish |
Definition at line 700 of file gnunet-publish.c.
References _, bo, cfg, directory_scan_cb(), disable_extractor, ds, fs_handle, GNUNET_CONFIGURATION_get_value_string(), GNUNET_free, GNUNET_FS_directory_scan_start(), GNUNET_FS_publish_ksk(), GNUNET_FS_PUBLISH_OPTION_NONE, GNUNET_FS_uri_parse(), GNUNET_OK, GNUNET_SCHEDULER_shutdown(), meta, pseudonym, ret, topKeywords, uri, uri_ksk_continuation(), and uri_string.
Referenced by identity_cb(), and run().
|
static |
Function called by identity service with known pseudonyms.
cls | closure with 'const char *' of filename to publish |
ego | ego handle |
ctx | context for application to store data for this ego (during the lifetime of this process, initially NULL) |
name | name assigned by the user for this ego, NULL if the user just deleted the ego and it must thus no longer be used |
Definition at line 776 of file gnunet-publish.c.
References identity_continuation(), name, and pseudonym.
Referenced by run().
|
static |
Main function that will be run by the scheduler.
cls | closure |
args | remaining command-line arguments |
cfgfile | name of the configuration file used (for saving, can be NULL!) |
c | configuration |
Definition at line 804 of file gnunet-publish.c.
References _, consensus-simulation::args, cfg, do_stop_task(), extract_only, fs_handle, GNUNET_FS_FLAGS_NONE, GNUNET_FS_OPTIONS_END, GNUNET_FS_start(), GNUNET_IDENTITY_connect(), GNUNET_SCHEDULER_add_shutdown(), identity, identity_cb(), identity_continuation(), next_id, progress_cb(), pseudonym, ret, this_id, and uri_string.
Referenced by main().
int main | ( | int | argc, |
char *const * | argv | ||
) |
The main function to publish content to GNUnet.
argc | number of arguments from the command line |
argv | command line arguments |
Definition at line 891 of file gnunet-publish.c.
References GNUNET_FS_BlockOptions::anonymity_level, bo, GNUNET_FS_BlockOptions::content_priority, disable_extractor, do_insert, do_simulate, enable_creation_time, GNUNET_FS_BlockOptions::expiration_time, extract_only, gettext_noop, GNUNET_FS_GETOPT_KEYWORDS(), GNUNET_FS_GETOPT_METADATA(), GNUNET_GETOPT_OPTION_END, GNUNET_GETOPT_option_flag(), GNUNET_GETOPT_option_string(), GNUNET_GETOPT_option_uint(), GNUNET_GETOPT_option_verbose(), GNUNET_OK, GNUNET_OS_project_data_gnunet(), GNUNET_PROGRAM_run(), GNUNET_TIME_get_current_year(), GNUNET_TIME_year_to_time(), meta, next_id, options, pseudonym, GNUNET_FS_BlockOptions::replication_level, ret, run(), this_id, topKeywords, uri_string, and verbose.
|
static |
Global return value from main().
Definition at line 36 of file gnunet-publish.c.
Referenced by directory_scan_cb(), directory_trim_complete(), identity_continuation(), main(), progress_cb(), run(), uri_ksk_continuation(), and uri_sks_continuation().
|
static |
Command line option 'verbose' set.
Definition at line 41 of file gnunet-publish.c.
Referenced by directory_scan_cb(), main(), and progress_cb().
|
static |
Handle to our configuration.
Definition at line 46 of file gnunet-publish.c.
Referenced by identity_continuation(), and run().
|
static |
Handle for interaction with file-sharing service.
Definition at line 51 of file gnunet-publish.c.
Referenced by directory_trim_complete(), do_stop_task(), get_file_information(), identity_continuation(), run(), and uri_ksk_continuation().
|
static |
Handle to FS-publishing operation.
Definition at line 56 of file gnunet-publish.c.
Referenced by block_proc(), block_reader(), client_connect_cb(), client_disconnect_cb(), create_loc_uri(), deserialize_publish_file(), directory_trim_complete(), do_stop_task(), ds_put_cont(), encode_cont(), finish_release_reserve(), finish_reserve(), fip_signal_resume(), fip_signal_start(), fip_signal_stop(), fip_signal_suspend(), GDS_ROUTING_process(), GNUNET_FS_namespace_list_updateable(), GNUNET_FS_publish_main_(), GNUNET_FS_publish_make_status_(), GNUNET_FS_publish_signal_suspend_(), GNUNET_FS_publish_stop(), GNUNET_FS_publish_sync_(), GNUNET_GNSRECORD_pow_round(), GNUNET_GNSRECORD_pow_start(), GNUNET_GNSRECORD_pow_stop(), handle_index_start_failed(), handle_index_start_ok(), handle_iterate_next(), handle_iterate_stop(), handle_monitor_next(), handle_signature_response(), handle_store(), hash_for_index_cb(), index_mq_error_handler(), loc_mq_error_handler(), namestore_postgres_edit_records(), namestore_postgres_iterate_records(), namestore_postgres_lookup_records(), namestore_postgres_zone_to_name(), parse_result_call_iterator(), process(), process_update_node(), progress_cb(), progress_proc(), publish_cleanup(), publish_content(), publish_kblocks(), publish_kblocks_cont(), publish_sblock(), publish_sblocks_cont(), set_mutation_done(), signal_publish_completion(), signal_publish_error(), and suspend_operation().
|
static |
Meta-data provided via command-line option.
Definition at line 61 of file gnunet-publish.c.
Referenced by create_download_context(), do_stop_task(), extract_files(), fip_signal_resume(), fip_signal_stop(), fip_signal_suspend(), getopt_set_metadata(), GNUNET_FS_directory_builder_add(), GNUNET_FS_download_start(), GNUNET_FS_file_information_create_empty_directory(), GNUNET_FS_file_information_create_from_data(), GNUNET_FS_file_information_create_from_file(), GNUNET_FS_file_information_create_from_reader(), GNUNET_FS_GETOPT_METADATA(), GNUNET_FS_probe(), GNUNET_FS_publish_ksk(), GNUNET_FS_publish_sks(), GNUNET_FS_publish_ublock_(), GNUNET_FS_read_meta_data(), identity_continuation(), main(), print_entry(), process_kblock(), process_ksk_result(), process_sblock(), process_sks_result(), publish_inspector(), qconv_array(), query_param_array_generic(), trigger_recursive_download(), and uri_ksk_continuation().
|
static |
Keywords provided via command-line option.
Definition at line 66 of file gnunet-publish.c.
Referenced by GNUNET_FS_GETOPT_KEYWORDS(), identity_continuation(), main(), and publish_inspector().
|
static |
Options we set for published blocks.
Definition at line 71 of file gnunet-publish.c.
Referenced by get_file_information(), GNUNET_FS_file_information_create_empty_directory(), GNUNET_FS_file_information_create_from_data(), GNUNET_FS_file_information_create_from_file(), GNUNET_FS_file_information_create_from_reader(), GNUNET_FS_publish_ksk(), GNUNET_FS_publish_sks(), GNUNET_FS_publish_ublock_(), identity_continuation(), main(), make_file(), and uri_ksk_continuation().
|
static |
Value of URI provided on command-line (when not publishing a file but just creating UBlocks to refer to an existing URI).
Definition at line 77 of file gnunet-publish.c.
Referenced by identity_continuation(), main(), and run().
|
static |
Value of URI provided on command-line (when not publishing a file but just creating UBlocks to refer to an existing URI); parsed version of 'uri_string'.
Definition at line 84 of file gnunet-publish.c.
Referenced by check_advertisement(), create_download_context(), dns_string_to_value(), dns_value_to_string(), do_stop_task(), fip_signal_start(), gather_uri_data(), GDS_try_connect(), getopt_set_keywords(), GNUNET_DNSPARSER_builder_add_uri(), GNUNET_DNSPARSER_free_uri(), GNUNET_DNSPARSER_parse_uri(), GNUNET_FS_directory_builder_add(), GNUNET_FS_directory_list_contents(), GNUNET_FS_download_start(), GNUNET_FS_probe(), GNUNET_FS_publish_ksk(), GNUNET_FS_publish_sks(), GNUNET_FS_publish_ublock_(), GNUNET_FS_search_start(), 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(), GNUNET_FS_uri_ksk_create_from_args(), GNUNET_FS_uri_ksk_get_keyword_count(), GNUNET_FS_uri_ksk_get_keywords(), 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_parse(), GNUNET_FS_uri_sks_get_content_id(), GNUNET_FS_uri_sks_get_namespace(), GNUNET_FS_uri_test_chk(), 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(), GNUNET_HELLO_parser_from_url(), GNUNET_STRINGS_path_is_absolute(), handle_advertisement(), handle_gns_resolution_result(), handle_uri(), handler_advertisement(), hello_for_client_cb(), hello_for_incoming_cb(), identity_continuation(), iterate_address_and_compare_cb(), iterate_address_start_burst(), linked_list_contains(), load_hostlist_file(), print_entry(), print_hello_addrs(), print_search_result(), process_kblock(), process_ksk_result(), process_sblock(), process_sks_result(), progress_cb(), publish_sblocks_cont(), run(), search_start(), test_result_present(), trigger_recursive_download(), uri_chk_to_string(), uri_ksk_continuation(), uri_ksk_to_string(), uri_loc_parse(), uri_loc_to_string(), uri_sks_to_string(), and wait_child().
|
static |
Command-line option for namespace publishing: identifier for updates to this publication.
Definition at line 90 of file gnunet-publish.c.
Referenced by directory_trim_complete(), GNUNET_FS_namespace_list_updateable(), load_member_session_next(), main(), run(), save_member_session(), and uri_ksk_continuation().
|
static |
Command-line option for namespace publishing: identifier for this publication.
Definition at line 96 of file gnunet-publish.c.
Referenced by directory_trim_complete(), main(), run(), and uri_ksk_continuation().
|
static |
Command-line option identifying the pseudonym to use for the publication.
Definition at line 101 of file gnunet-publish.c.
Referenced by GNUNET_FS_uri_sks_get_namespace(), identity_cb(), identity_continuation(), main(), and run().
|
static |
Command-line option for 'inserting'.
Definition at line 106 of file gnunet-publish.c.
Referenced by get_file_information(), and main().
|
static |
Command-line option to disable meta data extraction.
Definition at line 111 of file gnunet-publish.c.
Referenced by identity_continuation(), main(), and publish_inspector().
|
static |
Command-line option to merely simulate publishing operation.
Definition at line 116 of file gnunet-publish.c.
Referenced by directory_trim_complete(), and main().
|
static |
Command-line option to only perform meta data extraction, but not publish.
Definition at line 121 of file gnunet-publish.c.
Referenced by directory_trim_complete(), main(), publish_inspector(), and run().
|
static |
Command-line option to disable adding creation time.
Definition at line 126 of file gnunet-publish.c.
Referenced by main(), and publish_inspector().
|
static |
Handle to the directory scanner (for recursive insertions).
Definition at line 131 of file gnunet-publish.c.
Referenced by decrypt_conclude(), decrypt_session_destroy(), directory_scan_cb(), do_dns_read(), do_stop_task(), finish_scan(), get_decrypt_peer_info(), GNUNET_DNSSTUB_add_dns_ip(), GNUNET_DNSSTUB_add_dns_sa(), GNUNET_DNSSTUB_stop(), GNUNET_FS_directory_scan_abort(), GNUNET_FS_directory_scan_get_result(), GNUNET_FS_directory_scan_start(), handle_client_decrypt(), helper_died_cb(), identity_continuation(), insert_decrypt_element(), process_helper_msgs(), and transmit_query().
|
static |
Which namespace do we publish to? NULL if we do not publish to a namespace.
Handle to identity service.
Definition at line 142 of file gnunet-publish.c.
Referenced by add_attribute_cont(), add_credential_cont(), attr_iter_cb(), callback_tunnel_disconnect(), consume_cont(), consume_result_cb(), consume_ticket(), convert_peer_identity_to_id(), core_init(), cred_iter_cb(), delete_attribute_cont(), delete_credential_cont(), derive_iv(), derive_pong_iv(), do_stop_task(), GNUNET_CRYPTO_verify_peer_identity(), GNUNET_RECLAIM_get_attributes_start(), GNUNET_RECLAIM_get_credentials_start(), GNUNET_RECLAIM_ticket_iteration_start(), GNUNET_RECLAIM_ticket_revoke(), handle_attribute_delete_message(), handle_attribute_result(), handle_attribute_store_message(), handle_cadet_ring_message(), handle_consume_ticket_result(), handle_credential_delete_message(), handle_credential_iteration_start(), handle_credential_result(), handle_credential_store_message(), handle_issue_ticket_message(), handle_iteration_start(), handle_revoke_ticket_message(), handle_ticket_iteration_start(), list_attribute_cont(), list_credential_cont(), list_tickets_cont(), login_cont(), notify_srv_handle_message(), process_attrs(), RECLAIM_TICKETS_issue(), RECLAIM_TICKETS_iteration_start(), RECLAIM_TICKETS_revoke(), run(), and verify_message_by_peer().