GNUnet  0.11.x
Data Fields
REGEX_INTERNAL_Search Struct Reference

Struct to keep information of searches of services described by a regex using a user-provided string service description. More...

Collaboration diagram for REGEX_INTERNAL_Search:
[legend]

Data Fields

struct GNUNET_DHT_Handledht
 DHT handle to use, must be initialized externally. More...
 
struct GNUNET_STATISTICS_Handlestats
 Optional statistics handle to report usage. More...
 
char * description
 User provided description of the searched service. More...
 
struct GNUNET_CONTAINER_MultiHashMapdht_get_handles
 Running DHT GETs. More...
 
struct GNUNET_CONTAINER_MultiHashMapdht_get_results
 Results from running DHT GETs, values are of type 'struct Result'. More...
 
struct RegexSearchContext ** contexts
 Contexts, for each running DHT GET. More...
 
unsigned int n_contexts
 Number of contexts (branches/steps in search). More...
 
REGEX_INTERNAL_Found callback
 
void * callback_cls
 

Detailed Description

Struct to keep information of searches of services described by a regex using a user-provided string service description.

Definition at line 306 of file regex_internal_dht.c.

Field Documentation

◆ dht

struct GNUNET_DHT_Handle* REGEX_INTERNAL_Search::dht

DHT handle to use, must be initialized externally.

Definition at line 311 of file regex_internal_dht.c.

Referenced by regex_find_path(), REGEX_INTERNAL_search(), and regex_next_edge().

◆ stats

struct GNUNET_STATISTICS_Handle* REGEX_INTERNAL_Search::stats

Optional statistics handle to report usage.

Can be NULL.

Definition at line 316 of file regex_internal_dht.c.

Referenced by dht_get_string_accept_handler(), regex_edge_iterator(), REGEX_INTERNAL_search(), regex_next_edge(), and regex_result_iterator().

◆ description

char* REGEX_INTERNAL_Search::description

◆ dht_get_handles

struct GNUNET_CONTAINER_MultiHashMap* REGEX_INTERNAL_Search::dht_get_handles

Running DHT GETs.

Definition at line 326 of file regex_internal_dht.c.

Referenced by regex_find_path(), REGEX_INTERNAL_search(), REGEX_INTERNAL_search_cancel(), and regex_next_edge().

◆ dht_get_results

struct GNUNET_CONTAINER_MultiHashMap* REGEX_INTERNAL_Search::dht_get_results

Results from running DHT GETs, values are of type 'struct Result'.

Definition at line 332 of file regex_internal_dht.c.

Referenced by dht_get_string_handler(), REGEX_INTERNAL_search(), REGEX_INTERNAL_search_cancel(), and regex_next_edge().

◆ contexts

struct RegexSearchContext** REGEX_INTERNAL_Search::contexts

Contexts, for each running DHT GET.

Free all on end of search.

Definition at line 337 of file regex_internal_dht.c.

Referenced by REGEX_INTERNAL_search(), REGEX_INTERNAL_search_cancel(), and regex_next_edge().

◆ n_contexts

unsigned int REGEX_INTERNAL_Search::n_contexts

Number of contexts (branches/steps in search).

Definition at line 342 of file regex_internal_dht.c.

Referenced by REGEX_INTERNAL_search(), REGEX_INTERNAL_search_cancel(), and regex_next_edge().

◆ callback

REGEX_INTERNAL_Found REGEX_INTERNAL_Search::callback
Parameters
callbackCallback for found peers.

Definition at line 347 of file regex_internal_dht.c.

Referenced by dht_get_string_accept_handler(), and REGEX_INTERNAL_search().

◆ callback_cls

void* REGEX_INTERNAL_Search::callback_cls
Parameters
callback_clsClosure for callback.

Definition at line 352 of file regex_internal_dht.c.

Referenced by dht_get_string_accept_handler(), and REGEX_INTERNAL_search().


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