GNUnet 0.21.1
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 299 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 304 of file regex_internal_dht.c.

◆ stats

struct GNUNET_STATISTICS_Handle* REGEX_INTERNAL_Search::stats

Optional statistics handle to report usage.

Can be NULL.

Definition at line 309 of file regex_internal_dht.c.

◆ description

char* REGEX_INTERNAL_Search::description

User provided description of the searched service.

Definition at line 314 of file regex_internal_dht.c.

Referenced by regex_next_edge().

◆ dht_get_handles

struct GNUNET_CONTAINER_MultiHashMap* REGEX_INTERNAL_Search::dht_get_handles

Running DHT GETs.

Definition at line 319 of file regex_internal_dht.c.

◆ 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 325 of file regex_internal_dht.c.

◆ contexts

struct RegexSearchContext** REGEX_INTERNAL_Search::contexts

Contexts, for each running DHT GET.

Free all on end of search.

Definition at line 330 of file regex_internal_dht.c.

◆ n_contexts

unsigned int REGEX_INTERNAL_Search::n_contexts

Number of contexts (branches/steps in search).

Definition at line 335 of file regex_internal_dht.c.

◆ callback

REGEX_INTERNAL_Found REGEX_INTERNAL_Search::callback
Parameters
callbackCallback for found peers.

Definition at line 340 of file regex_internal_dht.c.

◆ callback_cls

void* REGEX_INTERNAL_Search::callback_cls
Parameters
callback_clsClosure for callback.

Definition at line 345 of file regex_internal_dht.c.


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