GNUnet 0.28.1-dev.6-1-gcf4da5b7a
 
Loading...
Searching...
No Matches
gnunet-namecache.c File Reference

command line tool to inspect the name cache More...

Include dependency graph for gnunet-namecache.c:

Go to the source code of this file.

Functions

static void do_shutdown (void *cls)
 Task run on shutdown.
 
static void display_records_from_block (void *cls, unsigned int rd_len, const struct GNUNET_GNSRECORD_Data *rd)
 Process a record that was stored in the namecache in a block.
 
static void handle_block (void *cls, const struct GNUNET_GNSRECORD_Block *block)
 Display block obtained from listing (by name).
 
static void handle_delete (void *cls, int32_t success, const char *emsg)
 Block removal finished.
 
static void run (void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
 Main function that will be run.
 
int main (int argc, char *const *argv)
 The main function for gnunet-namecache.
 

Variables

static struct GNUNET_NAMECACHE_Handlens
 Handle to the namecache.
 
static struct GNUNET_NAMECACHE_QueueEntryqe
 Queue entry for the 'query' operation.
 
static char * name
 Name (label) of the records to list.
 
static struct GNUNET_CRYPTO_BlindablePublicKey pubkey
 Public key of the zone to look in.
 
static char * pkey
 Public key of the zone to look in, in ASCII.
 
static int ret
 Global return value.
 
static int del
 Remove the block instead of displaying it?
 

Detailed Description

command line tool to inspect the name cache

Author
Christian Grothoff

TODO:

  • test

Definition in file gnunet-namecache.c.

Function Documentation

◆ do_shutdown()

static void do_shutdown ( void *  cls)
static

Task run on shutdown.

Cleans up everything.

Parameters
clsunused

Definition at line 77 of file gnunet-namecache.c.

78{
79 if (NULL != qe)
80 {
82 qe = NULL;
83 }
84 if (NULL != ns)
85 {
87 ns = NULL;
88 }
89}
static struct GNUNET_NAMECACHE_QueueEntry * qe
Queue entry for the 'query' operation.
static struct GNUNET_NAMECACHE_Handle * ns
Handle to the namecache.
void GNUNET_NAMECACHE_disconnect(struct GNUNET_NAMECACHE_Handle *h)
Disconnect from the namecache service (and free associated resources).
void GNUNET_NAMECACHE_cancel(struct GNUNET_NAMECACHE_QueueEntry *qe)
Cancel a namecache operation.

References GNUNET_NAMECACHE_cancel(), GNUNET_NAMECACHE_disconnect(), ns, and qe.

Here is the call graph for this function:

◆ display_records_from_block()

static void display_records_from_block ( void *  cls,
unsigned int  rd_len,
const struct GNUNET_GNSRECORD_Data rd 
)
static

Process a record that was stored in the namecache in a block.

Parameters
clsclosure, NULL
rd_lennumber of entries in rd array
rdarray of records with data to store

Definition at line 100 of file gnunet-namecache.c.

103{
104 const char *typestring;
105 char *s;
106 unsigned int i;
107
108 if (0 == rd_len)
109 {
110 fprintf (stdout, _ ("No records found for `%s'"), name);
111 return;
112 }
113 fprintf (stdout, "%s:\n", name);
114 for (i = 0; i < rd_len; i++)
115 {
117 s = GNUNET_GNSRECORD_value_to_string (rd[i].record_type,
118 rd[i].data,
119 rd[i].data_size);
120 if (NULL == s)
121 {
122 fprintf (stdout,
123 _ ("\tCorrupt or unsupported record of type %u\n"),
124 (unsigned int) rd[i].record_type);
125 continue;
126 }
127 fprintf (stdout, "\t%s: %s\n", typestring, s);
128 GNUNET_free (s);
129 }
130 fprintf (stdout, "%s", "\n");
131}
static char * data
The data to insert into the dht.
static char * name
Name (label) of the records to list.
static struct GNUNET_GNSRECORD_Data rd[50]
The record data under a single label.
static size_t data_size
Number of bytes in data.
static char * typestring
Type of the record to add/remove, NULL to remove all.
const char * GNUNET_GNSRECORD_number_to_typename(uint32_t type)
Convert a type number to the corresponding type string (e.g.
Definition gnsrecord.c:219
char * GNUNET_GNSRECORD_value_to_string(uint32_t type, const void *data, size_t data_size)
Convert the binary value data of a record of type type to a human-readable string.
Definition gnsrecord.c:147
#define GNUNET_free(ptr)
Wrapper around free.
#define _(String)
GNU gettext support macro.
Definition platform.h:179

References _, data, data_size, GNUNET_free, GNUNET_GNSRECORD_number_to_typename(), GNUNET_GNSRECORD_value_to_string(), name, rd, and typestring.

Referenced by handle_block().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_block()

static void handle_block ( void *  cls,
const struct GNUNET_GNSRECORD_Block block 
)
static

Display block obtained from listing (by name).

Parameters
clsNULL
blockNULL if not found

Definition at line 141 of file gnunet-namecache.c.

142{
143 qe = NULL;
144 if (NULL == block)
145 {
146 fprintf (stderr, "No matching block found\n");
147 }
148 else if (GNUNET_OK !=
150 &pubkey,
151 name,
153 NULL))
154 {
155 fprintf (stderr, "Failed to decrypt block!\n");
156 }
158}
static struct GNUNET_CRYPTO_BlindablePublicKey pubkey
Public key of the zone to look in.
static void display_records_from_block(void *cls, unsigned int rd_len, const struct GNUNET_GNSRECORD_Data *rd)
Process a record that was stored in the namecache in a block.
enum GNUNET_GenericReturnValue GNUNET_GNSRECORD_block_decrypt(const struct GNUNET_GNSRECORD_Block *block, const struct GNUNET_CRYPTO_BlindablePublicKey *zone_key, const char *label, GNUNET_GNSRECORD_RecordCallback proc, void *proc_cls)
Decrypt block.
@ GNUNET_OK
void GNUNET_SCHEDULER_shutdown(void)
Request the shutdown of a scheduler.
Definition scheduler.c:572

References display_records_from_block(), GNUNET_GNSRECORD_block_decrypt(), GNUNET_OK, GNUNET_SCHEDULER_shutdown(), name, pubkey, and qe.

Referenced by run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ handle_delete()

static void handle_delete ( void *  cls,
int32_t  success,
const char *  emsg 
)
static

Block removal finished.

Parameters
clsNULL
successGNUNET_OK if a block was removed, GNUNET_NO if there was none, GNUNET_SYSERR on error
emsgerror message, NULL on success

Definition at line 170 of file gnunet-namecache.c.

173{
174 qe = NULL;
175 switch (success)
176 {
177 case GNUNET_OK:
178 fprintf (stdout,
179 _ ("Removed cached block for `%s'\n"),
180 name);
181 break;
182
183 case GNUNET_NO:
184 fprintf (stdout,
185 _ ("No cached block for `%s'\n"),
186 name);
187 break;
188
189 default:
190 fprintf (stderr,
191 _ ("Failed to remove cached block for `%s': %s\n"),
192 name,
193 (NULL != emsg) ? emsg : "unknown error");
194 ret = 1;
195 break;
196 }
198}
static int ret
Global return value.
@ GNUNET_NO

References _, GNUNET_NO, GNUNET_OK, GNUNET_SCHEDULER_shutdown(), name, qe, and ret.

Referenced by run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

static void run ( void *  cls,
char *const *  args,
const char *  cfgfile,
const struct GNUNET_CONFIGURATION_Handle cfg 
)
static

Main function that will be run.

Parameters
clsclosure
argsremaining command-line arguments
cfgfilename of the configuration file used (for saving, can be NULL!)
cfgconfiguration

Definition at line 210 of file gnunet-namecache.c.

214{
215 struct GNUNET_HashCode dhash;
216
217 if (NULL == pkey)
218 {
219 fprintf (stderr, _ ("You must specify which zone should be accessed\n"));
220 return;
221 }
222
223 if (GNUNET_OK !=
225 {
226 fprintf (stderr, _ ("Invalid public key for zone `%s'\n"), pkey);
228 return;
229 }
230 if (NULL == name)
231 {
232 fprintf (stderr, _ ("You must specify a name\n"));
233 return;
234 }
235
239 if (del)
241 else
243}
static struct GNUNET_CONFIGURATION_Handle * cfg
Our configuration.
Definition gnunet-arm.c:108
static int do_shutdown
Set to GNUNET_YES if we are shutting down.
static char * pkey
Public key of the zone to look in, in ASCII.
static void handle_delete(void *cls, int32_t success, const char *emsg)
Block removal finished.
static void handle_block(void *cls, const struct GNUNET_GNSRECORD_Block *block)
Display block obtained from listing (by name).
static int del
Remove the block instead of displaying it?
void GNUNET_GNSRECORD_query_from_public_key(const struct GNUNET_CRYPTO_BlindablePublicKey *pub, const char *label, struct GNUNET_HashCode *query)
Calculate the DHT query for a given label in a given zone.
enum GNUNET_GenericReturnValue GNUNET_CRYPTO_blindable_public_key_from_string(const char *str, struct GNUNET_CRYPTO_BlindablePublicKey *key)
Parses a (Base32) string representation of the public key.
struct GNUNET_NAMECACHE_Handle * GNUNET_NAMECACHE_connect(const struct GNUNET_CONFIGURATION_Handle *cfg)
Connect to the namecache service.
struct GNUNET_NAMECACHE_QueueEntry * GNUNET_NAMECACHE_lookup_block(struct GNUNET_NAMECACHE_Handle *h, const struct GNUNET_HashCode *derived_hash, GNUNET_NAMECACHE_BlockProcessor proc, void *proc_cls)
Get a result for a particular key from the namecache.
struct GNUNET_NAMECACHE_QueueEntry * GNUNET_NAMECACHE_block_delete(struct GNUNET_NAMECACHE_Handle *h, const struct GNUNET_HashCode *derived_hash, GNUNET_NAMECACHE_ContinuationWithStatus cont, void *cont_cls)
Remove a block from the namecache, so that the next resolution of the label goes back to the DHT.
struct GNUNET_SCHEDULER_Task * GNUNET_SCHEDULER_add_shutdown(GNUNET_SCHEDULER_TaskCallback task, void *task_cls)
Schedule a new task to be run on shutdown, that is when a CTRL-C signal is received,...
Definition scheduler.c:1345
A 512-bit hashcode.

References _, cfg, del, do_shutdown, GNUNET_CRYPTO_blindable_public_key_from_string(), GNUNET_GNSRECORD_query_from_public_key(), GNUNET_NAMECACHE_block_delete(), GNUNET_NAMECACHE_connect(), GNUNET_NAMECACHE_lookup_block(), GNUNET_OK, GNUNET_SCHEDULER_add_shutdown(), GNUNET_SCHEDULER_shutdown(), handle_block(), handle_delete(), name, ns, pkey, pubkey, and qe.

Referenced by main().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  argc,
char *const *  argv 
)

The main function for gnunet-namecache.

Parameters
argcnumber of arguments from the command line
argvcommand line arguments
Returns
0 ok, 1 on error

Definition at line 254 of file gnunet-namecache.c.

255{
258 "delete",
260 "remove the cached block, so that the next resolution goes to the DHT"),
261 &del),
262
264 "name",
265 "NAME",
267 "name of the record to add/delete/display"),
268 &name),
269
271 'z',
272 "zone",
273 "PKEY",
274 gettext_noop ("specifies the public key of the zone to look in"),
275 &pkey),
276
278
279 GNUNET_log_setup ("gnunet-namecache", "WARNING", NULL);
280 if (GNUNET_OK !=
282 argc,
283 argv,
284 "gnunet-namecache",
285 _ ("GNUnet zone manipulation tool"),
286 options,
287 &run,
288 NULL))
289 {
290 return 1;
291 }
292 return ret;
293}
struct GNUNET_GETOPT_CommandLineOption options[]
Definition 002.c:5
#define gettext_noop(String)
Definition gettext.h:74
static void run(void *cls, char *const *args, const char *cfgfile, const struct GNUNET_CONFIGURATION_Handle *cfg)
Main function that will be run.
#define GNUNET_GETOPT_OPTION_END
Marker for the end of the list of options.
struct GNUNET_GETOPT_CommandLineOption GNUNET_GETOPT_option_flag(char shortName, const char *name, const char *description, int *val)
Allow user to specify a flag (which internally means setting an integer to 1/GNUNET_YES/GNUNET_OK.
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.
enum GNUNET_GenericReturnValue GNUNET_log_setup(const char *comp, const char *loglevel, const char *logfile)
Setup logging.
const struct GNUNET_OS_ProjectData * GNUNET_OS_project_data_gnunet(void)
Return default project data used by 'libgnunetutil' for GNUnet.
enum GNUNET_GenericReturnValue GNUNET_PROGRAM_run(const struct GNUNET_OS_ProjectData *pd, int argc, char *const *argv, const char *binaryName, const char *binaryHelp, const struct GNUNET_GETOPT_CommandLineOption *options, GNUNET_PROGRAM_Main task, void *task_cls)
Run a standard GNUnet command startup sequence (initialize loggers and configuration,...
Definition program.c:406
Definition of a command line option.

References _, del, gettext_noop, GNUNET_GETOPT_OPTION_END, GNUNET_GETOPT_option_flag(), GNUNET_GETOPT_option_string(), GNUNET_log_setup(), GNUNET_OK, GNUNET_OS_project_data_gnunet(), GNUNET_PROGRAM_run(), name, options, pkey, ret, and run().

Here is the call graph for this function:

Variable Documentation

◆ ns

◆ qe

struct GNUNET_NAMECACHE_QueueEntry* qe
static

Queue entry for the 'query' operation.

Definition at line 43 of file gnunet-namecache.c.

Referenced by do_shutdown(), handle_block(), handle_delete(), and run().

◆ name

char* name
static

Name (label) of the records to list.

Definition at line 48 of file gnunet-namecache.c.

Referenced by _nss_gns_gethostbyname2_r(), _nss_gns_gethostbyname_r(), add_services(), add_setter_action(), automaton_save_graph_step(), bandwidth_stats_iterator(), broadcast_status(), cache_answers(), cb_key_error(), cb_key_sync(), check_delete_message(), check_get(), check_lookup_result(), check_monitor_notify(), check_record_result(), check_set(), check_ssl_certificate(), check_statistics_value(), check_watch(), continue_store_activity(), convert_with_table(), create_message_name(), create_response(), display_records_from_block(), eat_tld(), ego_cb(), ego_delete_name(), ego_edit_name(), expect_data_dynamic(), expect_data_fixed(), find_service(), find_stat_entry(), format_help(), generate_gns_certificate(), get_egoentry(), get_egoentry_namestore(), get_file_handle(), get_gns_cont(), get_srv_handle_data_subdir(), get_tld(), GNS_get_tld(), gns_resolve_name(), GNS_resolver_lookup(), GNUNET_DATACACHE_create(), GNUNET_DISK_directory_scan(), GNUNET_DNSPARSER_builder_add_name(), GNUNET_DNSPARSER_check_name(), GNUNET_DNSPARSER_parse_query(), GNUNET_DNSPARSER_parse_record(), GNUNET_FS_GETOPT_KEYWORDS(), GNUNET_FS_GETOPT_METADATA(), GNUNET_GETOPT_option_absolute_time(), GNUNET_GETOPT_option_base32_fixed_size(), GNUNET_GETOPT_option_filename(), GNUNET_GETOPT_option_flag(), GNUNET_GETOPT_option_increment_uint(), GNUNET_GETOPT_option_relative_time(), GNUNET_GETOPT_option_string(), GNUNET_GETOPT_option_timestamp(), GNUNET_GETOPT_option_timetravel(), GNUNET_GETOPT_option_uint(), GNUNET_GETOPT_option_uint16(), GNUNET_GETOPT_option_ulong(), GNUNET_GETOPT_run(), GNUNET_GNS_lookup(), GNUNET_GNS_lookup_limited(), GNUNET_GNS_lookup_with_tld(), GNUNET_GNS_parse_ztld(), GNUNET_GNS_protocol_name_to_number(), GNUNET_GNS_protocol_number_to_name(), GNUNET_GNS_service_port_name_to_number(), GNUNET_GNS_service_port_number_to_name(), GNUNET_GNSRECORD_JSON_spec_gnsrecord(), GNUNET_IDENTITY_create(), GNUNET_IDENTITY_delete(), GNUNET_IDENTITY_ego_lookup(), GNUNET_JSON_getopt(), GNUNET_JSON_pack_array_incref(), GNUNET_JSON_pack_array_steal(), GNUNET_JSON_pack_blinded_message(), GNUNET_JSON_pack_blinded_sig(), GNUNET_JSON_pack_bool(), GNUNET_JSON_pack_data64_varsize(), GNUNET_JSON_pack_data_varsize(), GNUNET_JSON_pack_double(), GNUNET_JSON_pack_int64(), GNUNET_JSON_pack_object_incref(), GNUNET_JSON_pack_object_steal(), GNUNET_JSON_pack_rsa_public_key(), GNUNET_JSON_pack_rsa_signature(), GNUNET_JSON_pack_string(), GNUNET_JSON_pack_time_rel(), GNUNET_JSON_pack_time_rel_nbo(), GNUNET_JSON_pack_time_rounder_interval(), GNUNET_JSON_pack_timestamp(), GNUNET_JSON_pack_timestamp_nbo(), GNUNET_JSON_pack_uint64(), GNUNET_JSON_pack_unblinded_signature(), GNUNET_JSON_spec_array_const(), GNUNET_JSON_spec_array_copy(), GNUNET_JSON_spec_blinded_message(), GNUNET_JSON_spec_bool(), GNUNET_JSON_spec_boolean(), GNUNET_JSON_spec_double(), GNUNET_JSON_spec_fixed(), GNUNET_JSON_spec_fixed64(), GNUNET_JSON_spec_int16(), GNUNET_JSON_spec_int64(), GNUNET_JSON_spec_json(), GNUNET_JSON_spec_object_const(), GNUNET_JSON_spec_object_copy(), GNUNET_JSON_spec_relative_time(), GNUNET_JSON_spec_rsa_public_key(), GNUNET_JSON_spec_rsa_signature(), GNUNET_JSON_spec_string(), GNUNET_JSON_spec_string_copy(), GNUNET_JSON_spec_time_rounder_interval(), GNUNET_JSON_spec_timestamp(), GNUNET_JSON_spec_timestamp_nbo(), GNUNET_JSON_spec_uint(), GNUNET_JSON_spec_uint16(), GNUNET_JSON_spec_uint32(), GNUNET_JSON_spec_uint64(), GNUNET_JSON_spec_uint8(), GNUNET_JSON_spec_ull(), GNUNET_JSON_spec_varsize(), GNUNET_MESSENGER_connect(), GNUNET_MESSENGER_set_name(), GNUNET_NETWORK_socket_accept(), GNUNET_PQ_exec_prepared(), GNUNET_PQ_get_oid_by_name(), GNUNET_PQ_make_prepare(), GNUNET_PQ_prepare_statements(), GNUNET_PQ_result_spec_absolute_time(), GNUNET_PQ_result_spec_absolute_time_nbo(), GNUNET_PQ_result_spec_array_abs_time(), GNUNET_PQ_result_spec_array_bool(), GNUNET_PQ_result_spec_array_fixed_size(), GNUNET_PQ_result_spec_array_int16(), GNUNET_PQ_result_spec_array_rel_time(), GNUNET_PQ_result_spec_array_string(), GNUNET_PQ_result_spec_array_timestamp(), GNUNET_PQ_result_spec_array_uint16(), GNUNET_PQ_result_spec_array_uint32(), GNUNET_PQ_result_spec_array_uint64(), GNUNET_PQ_result_spec_array_variable_size(), GNUNET_PQ_result_spec_blind_sign_priv(), GNUNET_PQ_result_spec_blind_sign_pub(), GNUNET_PQ_result_spec_blinded_sig(), GNUNET_PQ_result_spec_bool(), GNUNET_PQ_result_spec_fixed_size(), GNUNET_PQ_result_spec_int64(), GNUNET_PQ_result_spec_relative_time(), GNUNET_PQ_result_spec_rsa_public_key(), GNUNET_PQ_result_spec_rsa_signature(), GNUNET_PQ_result_spec_string(), GNUNET_PQ_result_spec_timestamp(), GNUNET_PQ_result_spec_timestamp_nbo(), GNUNET_PQ_result_spec_uint16(), GNUNET_PQ_result_spec_uint32(), GNUNET_PQ_result_spec_uint64(), GNUNET_PQ_result_spec_unblinded_sig(), GNUNET_PQ_result_spec_variable_size(), GNUNET_PROGRAM_run2(), GNUNET_RECLAIM_attribute_serialize(), GNUNET_RECLAIM_attribute_serialize_get_size(), GNUNET_RECLAIM_credential_serialize(), GNUNET_RECLAIM_credential_serialize_get_size(), GNUNET_STATISTICS_get(), GNUNET_STATISTICS_set(), GNUNET_STATISTICS_update(), GNUNET_STATISTICS_watch(), GNUNET_STATISTICS_watch_cancel(), GNUNET_TESTING_interpreter_get_command(), GSC_SVCI_add(), GSC_SVCI_remove(), gst_element_factory_make_debug(), handle_arm_list_result(), handle_block(), handle_delete(), handle_delete_message(), handle_get(), handle_lookup(), handle_lookup_by_suffix_message(), handle_lookup_message(), handle_lookup_result(), handle_record_result(), handle_set(), handle_statistics_value(), handle_watch(), handle_zone_to_name_it(), http_recv_header_cb(), identity_cb(), identity_cb(), identity_cb(), identity_cb(), interface_proc(), iterate_send_name_to_room(), list_callback(), main(), make_nv(), monitor_iterate_cb(), on_identity(), on_message(), open_static_resource(), parse_gnsrecordobject(), print_entry(), process_dids(), process_stats(), resolve_function(), resolver_getprotobyname(), resolver_getservbyname(), run(), send_ibf(), send_ibf(), send_lookup_response_with_filter(), set_contact_name(), set_handle_name(), setup_plugin(), signal_result(), stats_iterator(), store_service(), stun_attr2str(), stun_msg2str(), translate_dot_plus(), and zone_iterate_proc().

◆ pubkey

◆ pkey

char* pkey
static

Public key of the zone to look in, in ASCII.

Definition at line 58 of file gnunet-namecache.c.

Referenced by authorize_endpoint(), block_create2(), block_create_ecdsa(), block_create_eddsa(), block_sign_ecdsa(), block_sign_eddsa(), check_proof_of_work(), checkvec(), conversation_value_to_string(), DID_create(), DID_create_namestore_lookup_cb(), DID_did_to_pkey(), DID_ego_to_did(), DID_identity_to_did(), DID_identity_to_did_document(), DID_key_convert_gnunet_to_multibase_base64(), DID_pkey_to_did(), DID_pkey_to_did_document(), DID_resolve(), GNS_find_tld(), GNUNET_CRYPTO_eddsa_key_from_file(), GNUNET_CRYPTO_eddsa_key_get_public_from_scalar(), GNUNET_CRYPTO_eddsa_sign_derived(), GNUNET_CRYPTO_rsa_blind(), GNUNET_CRYPTO_rsa_sign_fdh(), GNUNET_CRYPTO_rsa_unblind(), GNUNET_CRYPTO_rsa_verify(), GNUNET_GNS_lookup_with_tld(), GNUNET_GNSRECORD_block_sign(), GNUNET_GNSRECORD_pkey_to_zkey(), GNUNET_GNSRECORD_zkey_to_pkey(), GNUNET_NAMESTORE_record_set_edit_begin(), GNUNET_NAMESTORE_record_set_edit_cancel(), GNUNET_NAMESTORE_record_set_store(), GNUNET_NAMESTORE_records_lookup(), GNUNET_NAMESTORE_records_lookup2(), GNUNET_NAMESTORE_records_store(), GNUNET_RECLAIM_attribute_delete(), GNUNET_RECLAIM_attribute_store(), GNUNET_RECLAIM_credential_delete(), GNUNET_RECLAIM_credential_store(), hash_pkey_and_label(), identity_zone_cb(), lookup_with_public_key(), main(), namestore_postgres_clear_editor_hint(), namestore_postgres_store_records(), namestore_sqlite_store_records(), output_vectors(), records_lookup(), rsa_blinding_key_derive(), rsa_full_domain_hash(), run(), run_with_zone_pkey(), and tld_iter().

◆ ret

int ret
static

Global return value.

Definition at line 63 of file gnunet-namecache.c.

Referenced by handle_delete(), and main().

◆ del

int del
static

Remove the block instead of displaying it?

Definition at line 68 of file gnunet-namecache.c.

Referenced by forward_resolution(), GNUNET_ABD_delegate_issue(), main(), run(), and send_lookup_response().