GNUnet 0.21.1
002.c File Reference

Go to the source code of this file.

Functions

struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_option_flag ('f', "flag", gettext_noop("text describing the flag option"), &a_flag)
 

Variables

static char * string_option = NULL
 
static int a_flag = GNUNET_SYSERR
 
struct GNUNET_GETOPT_CommandLineOption options []
 
struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_OPTION_END
 

Function Documentation

◆ GNUNET_GETOPT_option_flag()

struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_option_flag ( 'f'  ,
"flag"  ,
gettext_noop("text describing the flag option")  ,
a_flag 
)

Variable Documentation

◆ string_option

string_option = NULL
static

Definition at line 1 of file 002.c.

◆ a_flag

a_flag = GNUNET_SYSERR
static

Definition at line 2 of file 002.c.

◆ options

Initial value:
= {
GNUNET_GETOPT_option_string ('s', "name", "SOMESTRING",
gettext_noop ("text describing the string_option NAME"),
static char * string_option
Definition: 002.c:1
#define gettext_noop(String)
Definition: gettext.h:70
struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_option_string(char shortName, const char *name, const char *argumentHelp, const char *description, char **str)
Allow user to specify a string.

Definition at line 5 of file 002.c.

Referenced by create_download_context(), deserialize_download(), deserialize_publish_file(), deserialize_search(), encapsulate_for_dv(), GCCH_bind(), GDS_CLIENTS_process_get(), GDS_NEIGHBOURS_handle_get(), GDS_ROUTING_add(), GNgetopt_long(), GNS_resolver_lookup(), GNUNET_DHT_get_start(), GNUNET_DHT_put(), GNUNET_FS_download_start(), GNUNET_FS_download_start_from_search(), GNUNET_FS_publish_ksk(), GNUNET_FS_publish_sks(), GNUNET_FS_publish_start(), GNUNET_FS_search_start(), GNUNET_GNS_lookup(), GNUNET_GNS_lookup_limited(), GNUNET_GNS_lookup_with_tld(), GNUNET_PEERSTORE_store(), GNUNET_PROGRAM_run(), GNUNET_PROGRAM_run2(), GNUNET_SERVICE_register_(), GNUNET_SERVICE_run_(), GNUNET_SET_prepare(), GNUNET_SETI_accept(), GNUNET_SETI_prepare(), GNUNET_SETU_accept(), GNUNET_SETU_prepare(), GNUNET_TRANSPORT_TESTING_connect_check(), GSC_bind(), GSC_CLIENTS_deliver_message(), GSF_pending_request_create_(), handle_client_start(), handle_client_start_search(), handle_dht_p2p_get(), handle_p2p_get(), main(), PEERSTORE_create_record_mq_envelope(), peerstore_sqlite_store_record(), pick_random_dv_hops(), process_status(), reconnect(), REGEX_TEST_automaton_save_graph(), route_control_message_without_fc(), route_via_neighbour(), run(), schedule_transmit_search_request(), search_start(), and start_process().

◆ GNUNET_GETOPT_OPTION_END

struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_OPTION_END