GNUnet 0.21.1
RegexPeer Struct Reference

Peer handles. More...

Collaboration diagram for RegexPeer:
[legend]

Data Fields

unsigned int id
 Peer id. More...
 
struct GNUNET_CONFIGURATION_Handlecfg
 Peer configuration handle. More...
 
struct GNUNET_TESTBED_Peer * peer_handle
 The actual testbed peer handle. More...
 
const char * search_str
 Peer's search string. More...
 
int search_str_matched
 Set to GNUNET_YES if the peer successfully matched the above search string. More...
 
struct GNUNET_DHT_Handledht_handle
 Peer's DHT handle. More...
 
struct REGEX_INTERNAL_Searchsearch_handle
 Handle to a running regex search. More...
 
struct GNUNET_TESTBED_Operation * op_handle
 Testbed operation handle for DHT. More...
 
struct GNUNET_STATISTICS_Handlestats_handle
 Peers's statistics handle. More...
 
struct GNUNET_TIME_Absolute prof_start_time
 The starting time of a profiling step. More...
 
struct GNUNET_SCHEDULER_Tasktimeout
 Operation timeout. More...
 
struct GNUNET_TESTBED_Operation * daemon_op
 Daemon start. More...
 

Detailed Description

Peer handles.

Definition at line 111 of file gnunet-regex-profiler.c.

Field Documentation

◆ id

unsigned int RegexPeer::id

◆ cfg

struct GNUNET_CONFIGURATION_Handle* RegexPeer::cfg

Peer configuration handle.

Definition at line 121 of file gnunet-regex-profiler.c.

◆ peer_handle

struct GNUNET_TESTBED_Peer* RegexPeer::peer_handle

The actual testbed peer handle.

Definition at line 126 of file gnunet-regex-profiler.c.

Referenced by announce_next_regex(), do_collect_stats(), find_string(), stats_cb(), and test_master().

◆ search_str

const char* RegexPeer::search_str

Peer's search string.

Definition at line 131 of file gnunet-regex-profiler.c.

Referenced by daemon_started(), dht_connect_cb(), do_shutdown(), find_string(), and regex_found_handler().

◆ search_str_matched

int RegexPeer::search_str_matched

Set to GNUNET_YES if the peer successfully matched the above search string.

GNUNET_NO if the string could not be matched during the profiler run. GNUNET_SYSERR if the string matching timed out. Undefined if search_str is NULL

Definition at line 139 of file gnunet-regex-profiler.c.

Referenced by daemon_started(), dht_connect_cb(), do_shutdown(), and regex_found_handler().

◆ dht_handle

struct GNUNET_DHT_Handle* RegexPeer::dht_handle

Peer's DHT handle.

Definition at line 144 of file gnunet-regex-profiler.c.

Referenced by dht_ca(), dht_connect_cb(), and dht_da().

◆ search_handle

struct REGEX_INTERNAL_Search* RegexPeer::search_handle

Handle to a running regex search.

Definition at line 149 of file gnunet-regex-profiler.c.

Referenced by dht_connect_cb(), and dht_da().

◆ op_handle

struct GNUNET_TESTBED_Operation* RegexPeer::op_handle

Testbed operation handle for DHT.

Definition at line 154 of file gnunet-regex-profiler.c.

Referenced by dht_connect_cb(), do_collect_stats(), do_shutdown(), find_string(), regex_found_handler(), search_timed_out(), and stats_cb().

◆ stats_handle

struct GNUNET_STATISTICS_Handle* RegexPeer::stats_handle

Peers's statistics handle.

Definition at line 159 of file gnunet-regex-profiler.c.

Referenced by stats_connect_cb(), and stats_da().

◆ prof_start_time

struct GNUNET_TIME_Absolute RegexPeer::prof_start_time

The starting time of a profiling step.

Definition at line 164 of file gnunet-regex-profiler.c.

Referenced by dht_connect_cb(), do_shutdown(), and regex_found_handler().

◆ timeout

struct GNUNET_SCHEDULER_Task* RegexPeer::timeout

Operation timeout.

Definition at line 169 of file gnunet-regex-profiler.c.

Referenced by find_string(), and regex_found_handler().

◆ daemon_op

struct GNUNET_TESTBED_Operation* RegexPeer::daemon_op

Daemon start.

Definition at line 174 of file gnunet-regex-profiler.c.

Referenced by announce_next_regex(), and daemon_started().


The documentation for this struct was generated from the following file: