GNUnet  0.18.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_Peerpeer_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_Operationop_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_Operationdaemon_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

Peer id.

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

Referenced by gnunet_testing.Peer::start().

◆ cfg

◆ 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 find_string(), 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(), and find_string().

◆ 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_handle

struct GNUNET_DHT_Handle* RegexPeer::dht_handle

Peer's DHT handle.

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

◆ 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.

◆ 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 do_shutdown(), find_string(), and search_timed_out().

◆ stats_handle

struct GNUNET_STATISTICS_Handle* RegexPeer::stats_handle

Peers's statistics handle.

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

◆ prof_start_time

struct GNUNET_TIME_Absolute RegexPeer::prof_start_time

The starting time of a profiling step.

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

◆ timeout

struct GNUNET_SCHEDULER_Task* RegexPeer::timeout

Operation timeout.

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

Referenced by find_string().

◆ daemon_op

struct GNUNET_TESTBED_Operation* RegexPeer::daemon_op

Daemon start.

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


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