GNUnet  0.18.1
SearchContext Struct Reference

Context information to be used while searching for operation contexts. More...

Collaboration diagram for SearchContext:
[legend]

Data Fields

struct OperationContextopc
 The result of the search. More...
 
uint64_t id
 The id of the operation context we are searching for. More...
 
struct GNUNET_TESTBED_Operationquery
 The operation pointer to look for. More...
 
struct RunContextOperationresult
 The Run context operation which has the operation being queried. More...
 
const struct sockaddr * address
 Address we are looking for. More...
 
socklen_t address_len
 Number of bytes in address. More...
 
struct SenderAddresssender
 Return value to set if we found a match. More...
 
struct GNUNET_TRANSPORT_PluginSessionps
 Result. More...
 
uint64_t session_id
 ID to locate. More...
 

Detailed Description

Context information to be used while searching for operation contexts.

Context for locate_by_id().

Closure for find_sender_by_address()

Context information used for finding a pointer in the rcop_map.

Definition at line 225 of file testbed_api.c.

Field Documentation

◆ opc

struct OperationContext* SearchContext::opc

The result of the search.

Definition at line 230 of file testbed_api.c.

Referenced by GNUNET_TESTBED_insert_opc_(), and GNUNET_TESTBED_remove_opc_().

◆ id

uint64_t SearchContext::id

The id of the operation context we are searching for.

Definition at line 235 of file testbed_api.c.

Referenced by gnunet_testing.Peer::start().

◆ query

struct GNUNET_TESTBED_Operation* SearchContext::query

The operation pointer to look for.

Definition at line 352 of file testbed_api_testbed.c.

Referenced by gnunet-chk.Chk::__init__(), and gnunet-chk.Chk::uri().

◆ result

◆ address

const struct sockaddr* SearchContext::address

Address we are looking for.

Definition at line 2103 of file gnunet-communicator-udp.c.

◆ address_len

socklen_t SearchContext::address_len

Number of bytes in address.

Definition at line 2108 of file gnunet-communicator-udp.c.

Referenced by setup_sender().

◆ sender

struct SenderAddress* SearchContext::sender

Return value to set if we found a match.

Definition at line 2113 of file gnunet-communicator-udp.c.

Referenced by setup_sender().

◆ ps

struct GNUNET_TRANSPORT_PluginSession* SearchContext::ps

Result.

Definition at line 176 of file transport_api_monitor_plugins.c.

Referenced by handle_event().

◆ session_id

uint64_t SearchContext::session_id

ID to locate.

Definition at line 181 of file transport_api_monitor_plugins.c.

Referenced by handle_event().


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