DNS handle. More...
Data Fields | |
struct GNUNET_MQ_Handle * | mq |
Connection to DNS service, or NULL. More... | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Configuration to use. More... | |
GNUNET_DNS_RequestHandler | rh |
Function to call to get replies. More... | |
void * | rh_cls |
Closure for rh. More... | |
struct GNUNET_SCHEDULER_Task * | reconnect_task |
Task to reconnect to the service. More... | |
uint32_t | generation |
Re-connect counter, to make sure we did not reconnect in the meantime. More... | |
enum GNUNET_DNS_Flags | flags |
Flags for events we care about. More... | |
unsigned int | pending_requests |
Number of GNUNET_DNS_RequestHandles we have outstanding. More... | |
struct GNUNET_MQ_Handle* GNUNET_DNS_Handle::mq |
Connection to DNS service, or NULL.
Definition at line 61 of file dns_api.c.
Referenced by callback_mq_error(), change_handle_ego(), change_handle_name(), change_srv_handle_member_id(), create_handle(), create_srv_handle(), destroy_handle(), force_reconnect(), GNUNET_ABD_collect(), GNUNET_ABD_connect(), GNUNET_ABD_disconnect(), GNUNET_ABD_verify(), GNUNET_CADET_disconnect(), GNUNET_CORE_disconnect(), GNUNET_DHT_disconnect(), GNUNET_DHT_get_start(), GNUNET_DHT_get_stop(), GNUNET_DHT_monitor_start(), GNUNET_DHT_monitor_stop(), GNUNET_DHT_put(), GNUNET_DNS_disconnect(), GNUNET_DNS_request_answer(), GNUNET_DNS_request_drop(), GNUNET_DNS_request_forward(), GNUNET_GNS_connect(), GNUNET_GNS_disconnect(), GNUNET_GNS_lookup_limited(), GNUNET_MESSENGER_connect(), GNUNET_MESSENGER_disconnect(), GNUNET_MESSENGER_set_name(), GNUNET_MESSENGER_update(), GNUNET_TRANSPORT_manipulation_set(), notify_srv_handle_message(), reconnect(), send_close_room(), send_enter_room(), send_open_room(), transmit_get(), transmit_set(), and transmit_watch().
const struct GNUNET_CONFIGURATION_Handle* GNUNET_DNS_Handle::cfg |
Configuration to use.
Definition at line 66 of file dns_api.c.
Referenced by gnunet_testing.Peer::__del__(), create_handle(), gnunet_testing.Peer::get_statistics_value(), GNUNET_ABD_connect(), GNUNET_DHT_connect(), GNUNET_DNS_connect(), GNUNET_GNS_connect(), GNUNET_GNS_lookup_with_tld(), reconnect(), gnunet_testing.Peer::start(), and gnunet_testing.Peer::stop().
GNUNET_DNS_RequestHandler GNUNET_DNS_Handle::rh |
Function to call to get replies.
Definition at line 71 of file dns_api.c.
Referenced by GNUNET_DNS_connect(), GNUNET_TESTBED_cancel_registration(), and handle_request().
void* GNUNET_DNS_Handle::rh_cls |
Closure for rh.
Definition at line 76 of file dns_api.c.
Referenced by GNUNET_DNS_connect(), and handle_request().
struct GNUNET_SCHEDULER_Task* GNUNET_DNS_Handle::reconnect_task |
Task to reconnect to the service.
Definition at line 81 of file dns_api.c.
Referenced by callback_mq_error(), callback_reconnect(), create_handle(), destroy_handle(), force_reconnect(), GNUNET_ABD_disconnect(), GNUNET_CADET_disconnect(), GNUNET_CORE_disconnect(), GNUNET_DHT_disconnect(), GNUNET_DNS_connect(), GNUNET_DNS_disconnect(), GNUNET_GNS_disconnect(), GNUNET_TRANSPORT_core_disconnect(), GNUNET_TRANSPORT_manipulation_disconnect(), reconnect(), and reconnect_task().
uint32_t GNUNET_DNS_Handle::generation |
Re-connect counter, to make sure we did not reconnect in the meantime.
Definition at line 86 of file dns_api.c.
Referenced by GNUNET_DNS_request_answer(), GNUNET_DNS_request_drop(), GNUNET_DNS_request_forward(), handle_request(), and reconnect().
enum GNUNET_DNS_Flags GNUNET_DNS_Handle::flags |
Flags for events we care about.
Definition at line 86 of file dns_api.c.
Referenced by GNUNET_DNS_connect(), and reconnect().
unsigned int GNUNET_DNS_Handle::pending_requests |
Number of GNUNET_DNS_RequestHandles we have outstanding.
Must be 0 before we can be disconnected.
Definition at line 97 of file dns_api.c.
Referenced by GNUNET_DNS_disconnect(), GNUNET_DNS_request_answer(), GNUNET_DNS_request_drop(), GNUNET_DNS_request_forward(), and handle_request().