Handle for a monitoring activity. More...
Data Fields | |
const struct GNUNET_CONFIGURATION_Handle * | cfg |
Configuration (to reconnect). More... | |
struct GNUNET_MQ_Handle * | mq |
Handle to namestore service. More... | |
GNUNET_SCHEDULER_TaskCallback | error_cb |
Function to call on errors. More... | |
void * | error_cb_cls |
Closure for error_cb. More... | |
GNUNET_NAMESTORE_RecordMonitor | monitor |
Function to call on events. More... | |
GNUNET_NAMESTORE_RecordSetMonitor | monitor2 |
Function to call on events. More... | |
enum GNUNET_GNSRECORD_Filter | filter |
Record set filter for this monitor. More... | |
void * | monitor_cls |
Closure for monitor. More... | |
GNUNET_SCHEDULER_TaskCallback | sync_cb |
Function called when we've synchronized. More... | |
void * | sync_cb_cls |
Closure for sync_cb. More... | |
struct GNUNET_CRYPTO_PrivateKey | zone |
Monitored zone. More... | |
int | iterate_first |
Do we first iterate over all existing records? More... | |
uint32_t | key_len |
Zone key length. More... | |
Handle for a monitoring activity.
Definition at line 38 of file namestore_api_monitor.c.
const struct GNUNET_CONFIGURATION_Handle* GNUNET_NAMESTORE_ZoneMonitor::cfg |
Configuration (to reconnect).
Definition at line 43 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and reconnect().
struct GNUNET_MQ_Handle* GNUNET_NAMESTORE_ZoneMonitor::mq |
Handle to namestore service.
Definition at line 48 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_next(), GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), GNUNET_NAMESTORE_zone_monitor_stop(), GNUNET_PEERSTORE_monitor_next(), GNUNET_PEERSTORE_monitor_stop(), monitor_sync(), and reconnect().
GNUNET_SCHEDULER_TaskCallback GNUNET_NAMESTORE_ZoneMonitor::error_cb |
Function to call on errors.
Definition at line 53 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and reconnect().
void* GNUNET_NAMESTORE_ZoneMonitor::error_cb_cls |
Closure for error_cb.
Definition at line 58 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and reconnect().
GNUNET_NAMESTORE_RecordMonitor GNUNET_NAMESTORE_ZoneMonitor::monitor |
Function to call on events.
Definition at line 63 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), and handle_result().
GNUNET_NAMESTORE_RecordSetMonitor GNUNET_NAMESTORE_ZoneMonitor::monitor2 |
Function to call on events.
Definition at line 68 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start2(), and handle_result().
enum GNUNET_GNSRECORD_Filter GNUNET_NAMESTORE_ZoneMonitor::filter |
Record set filter for this monitor.
Definition at line 73 of file namestore_api_monitor.c.
Referenced by continue_store_activity(), GNUNET_NAMESTORE_zone_monitor_start2(), handle_monitor_start(), monitor_iterate_cb(), and reconnect().
void* GNUNET_NAMESTORE_ZoneMonitor::monitor_cls |
Closure for monitor.
Definition at line 78 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and handle_result().
GNUNET_SCHEDULER_TaskCallback GNUNET_NAMESTORE_ZoneMonitor::sync_cb |
Function called when we've synchronized.
Definition at line 83 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and handle_sync().
void* GNUNET_NAMESTORE_ZoneMonitor::sync_cb_cls |
Closure for sync_cb.
Definition at line 88 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and handle_sync().
struct GNUNET_CRYPTO_PrivateKey GNUNET_NAMESTORE_ZoneMonitor::zone |
Monitored zone.
Definition at line 93 of file namestore_api_monitor.c.
Referenced by continue_store_activity(), GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), handle_monitor_start(), monitor_iteration_next(), and reconnect().
int GNUNET_NAMESTORE_ZoneMonitor::iterate_first |
Do we first iterate over all existing records?
Definition at line 98 of file namestore_api_monitor.c.
Referenced by GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and reconnect().
uint32_t GNUNET_NAMESTORE_ZoneMonitor::key_len |
Zone key length.
Definition at line 103 of file namestore_api_monitor.c.
Referenced by check_result(), GNUNET_NAMESTORE_zone_monitor_start(), GNUNET_NAMESTORE_zone_monitor_start2(), and reconnect().