Struct to keep information of searches of services described by a regex using a user-provided string service description. More...
Data Fields | |
| struct GNUNET_DHT_Handle * | dht |
| DHT handle to use, must be initialized externally. | |
| struct GNUNET_STATISTICS_Handle * | stats |
| Optional statistics handle to report usage. | |
| char * | description |
| User provided description of the searched service. | |
| struct GNUNET_CONTAINER_MultiHashMap * | dht_get_handles |
| Running DHT GETs. | |
| struct GNUNET_CONTAINER_MultiHashMap * | dht_get_results |
| Results from running DHT GETs, values are of type 'struct Result'. | |
| struct RegexSearchContext ** | contexts |
| Contexts, for each running DHT GET. | |
| unsigned int | n_contexts |
| Number of contexts (branches/steps in search). | |
| REGEX_INTERNAL_Found | callback |
| void * | callback_cls |
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.
| 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.
| 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.
| 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().
| struct GNUNET_CONTAINER_MultiHashMap* REGEX_INTERNAL_Search::dht_get_handles |
Running DHT GETs.
Definition at line 319 of file regex_internal_dht.c.
| 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.
| 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.
| unsigned int REGEX_INTERNAL_Search::n_contexts |
Number of contexts (branches/steps in search).
Definition at line 335 of file regex_internal_dht.c.
| REGEX_INTERNAL_Found REGEX_INTERNAL_Search::callback |
| callback | Callback for found peers. |
Definition at line 340 of file regex_internal_dht.c.
| void* REGEX_INTERNAL_Search::callback_cls |
| callback_cls | Closure for callback. |
Definition at line 345 of file regex_internal_dht.c.