GNUnet  0.10.x
Functions | Variables
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"),
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.
static char * string_option
Definition: 002.c:1
#define gettext_noop(String)
Definition: gettext.h:69

Definition at line 5 of file 002.c.

Referenced by client_connect_get(), client_connect_put(), create_download_context(), deserialize_download(), deserialize_publish_file(), deserialize_search(), encapsulate_for_dv(), GCCH_bind(), GNS_resolver_lookup(), GNUNET_CADET_channel_create(), GNUNET_DHT_get_start(), GNUNET_FS_publish_start(), GNUNET_PEERSTORE_store(), GNUNET_SERVICE_run_(), GSC_bind(), GSF_pending_request_create_(), handle_client_start(), handle_client_start_search(), handle_connection_create(), handle_p2p_get(), identity_cb(), message_sent_cont(), process_ksk_result(), reconnect(), route_control_message_without_fc(), route_via_neighbour(), run(), schedule_transmit_search_request(), search_start(), send_channel_open(), start_process(), tcp_plugin_address_pretty_printer(), tcp_plugin_address_to_string(), tcp_plugin_get_session(), tcp_plugin_string_to_address(), udp_address_to_string(), udp_plugin_address_pretty_printer(), udp_string_to_address(), wlan_plugin_address_to_string(), and wlan_plugin_string_to_address().

◆ GNUNET_GETOPT_OPTION_END

struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_OPTION_END