unindex files published on GNUnet More...
Go to the source code of this file.
Functions | |
static void | cleanup_task (void *cls) |
static void | shutdown_task (void *cls) |
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 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 unindex content. More... | |
Variables | |
static int | ret |
static unsigned int | verbose |
static const struct GNUNET_CONFIGURATION_Handle * | cfg |
static struct GNUNET_FS_Handle * | ctx |
static struct GNUNET_FS_UnindexContext * | uc |
unindex files published on GNUnet
Definition in file gnunet-unindex.c.
|
static |
Definition at line 44 of file gnunet-unindex.c.
References ctx, and GNUNET_FS_stop().
Referenced by progress_cb().
|
static |
Definition at line 52 of file gnunet-unindex.c.
References GNUNET_FS_unindex_stop(), u, and uc.
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 79 of file gnunet-unindex.c.
References _, cleanup_task(), 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_SCHEDULER_add_now(), GNUNET_SCHEDULER_shutdown(), GNUNET_STRINGS_relative_time_to_string(), GNUNET_YES, info, and verbose.
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 134 of file gnunet-unindex.c.
References _, consensus-simulation::args, cfg, ctx, GNUNET_FS_FLAGS_NONE, GNUNET_FS_OPTIONS_END, GNUNET_FS_start(), GNUNET_FS_stop(), GNUNET_FS_unindex_start(), GNUNET_SCHEDULER_add_shutdown(), progress_cb(), ret, shutdown_task(), and uc.
Referenced by main().
int main | ( | int | argc, |
char *const * | argv | ||
) |
The main function to unindex content.
argc | number of arguments from the command line |
argv | command line arguments |
Definition at line 178 of file gnunet-unindex.c.
References gettext_noop, GNUNET_GETOPT_OPTION_END, GNUNET_GETOPT_option_verbose(), GNUNET_OK, GNUNET_OS_project_data_gnunet(), GNUNET_PROGRAM_run(), options, ret, run(), and verbose.
|
static |
Definition at line 32 of file gnunet-unindex.c.
|
static |
Definition at line 34 of file gnunet-unindex.c.
Referenced by main(), and progress_cb().
|
static |
Definition at line 36 of file gnunet-unindex.c.
Referenced by run().
|
static |
Definition at line 38 of file gnunet-unindex.c.
Referenced by cleanup_task(), and run().
|
static |
Definition at line 40 of file gnunet-unindex.c.
Referenced by continue_after_remove(), deserialize_unindex_file(), GNUNET_FS_publish_ublock_(), GNUNET_FS_publish_ublock_cancel_(), GNUNET_FS_unindex_do_extract_keywords_(), GNUNET_FS_unindex_do_remove_(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_unindex_make_status_(), GNUNET_FS_unindex_process_hash_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_start(), GNUNET_FS_unindex_stop(), GNUNET_FS_unindex_sync_(), GNUNET_HELLO_parser_iterate(), GNUNET_TESTBED_configuration_create(), handle_unindex_response(), heap_plugin_put(), process_cont(), process_kblock_for_unindex(), run(), run_cont(), send_msg_with_kx(), shutdown_task(), signal_unindex_error(), sock_read(), ublock_put_cont(), unindex_directory_scan_cb(), unindex_extract_keywords(), unindex_finish(), unindex_mq_error_handler(), unindex_process(), unindex_progress(), unindex_reader(), update_config(), update_config_sections(), update_iterator(), and verify_confirmation().