GNUnet  0.19.5
GNUNET_PEERINFO_IteratorContext Struct Reference

Context for an iteration request. More...

Collaboration diagram for GNUNET_PEERINFO_IteratorContext:
[legend]

Data Fields

struct GNUNET_PEERINFO_IteratorContextnext
 Kept in a DLL. More...
 
struct GNUNET_PEERINFO_IteratorContextprev
 Kept in a DLL. More...
 
struct GNUNET_PEERINFO_Handleh
 Handle to the PEERINFO service. More...
 
GNUNET_PEERINFO_Processor callback
 Function to call with the results. More...
 
void * callback_cls
 Closure for callback. More...
 
struct GNUNET_PeerIdentity peer
 Peer we are interested in (only valid if iteration was restricted to one peer). More...
 
int have_peer
 Is peer set? More...
 
int include_friend_only
 Only include friends in reply? More...
 

Detailed Description

Context for an iteration request.

Definition at line 37 of file peerinfo_api.c.

Field Documentation

◆ next

struct GNUNET_PEERINFO_IteratorContext* GNUNET_PEERINFO_IteratorContext::next

Kept in a DLL.

Definition at line 42 of file peerinfo_api.c.

◆ prev

struct GNUNET_PEERINFO_IteratorContext* GNUNET_PEERINFO_IteratorContext::prev

Kept in a DLL.

Definition at line 47 of file peerinfo_api.c.

◆ h

struct GNUNET_PEERINFO_Handle* GNUNET_PEERINFO_IteratorContext::h

Handle to the PEERINFO service.

Definition at line 52 of file peerinfo_api.c.

Referenced by GNUNET_PEERINFO_iterate(), and GNUNET_PEERINFO_iterate_cancel().

◆ callback

GNUNET_PEERINFO_Processor GNUNET_PEERINFO_IteratorContext::callback

Function to call with the results.

Definition at line 57 of file peerinfo_api.c.

Referenced by do_reconnect(), GNUNET_PEERINFO_iterate(), GNUNET_PEERINFO_iterate_cancel(), handle_end_iteration(), and handle_info().

◆ callback_cls

void* GNUNET_PEERINFO_IteratorContext::callback_cls

Closure for callback.

Definition at line 62 of file peerinfo_api.c.

Referenced by do_reconnect(), GNUNET_PEERINFO_iterate(), handle_end_iteration(), and handle_info().

◆ peer

◆ have_peer

int GNUNET_PEERINFO_IteratorContext::have_peer

Is peer set?

Definition at line 72 of file peerinfo_api.c.

Referenced by check_info(), GNUNET_PEERINFO_iterate(), and send_ic_request().

◆ include_friend_only

int GNUNET_PEERINFO_IteratorContext::include_friend_only

Only include friends in reply?

Definition at line 77 of file peerinfo_api.c.

Referenced by GNUNET_PEERINFO_iterate(), and send_ic_request().


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