GNUnet  0.11.x
Data Fields
GNUNET_IDENTITY_Operation Struct Reference

Handle for an operation with the identity service. More...

Collaboration diagram for GNUNET_IDENTITY_Operation:
[legend]

Data Fields

struct GNUNET_IDENTITY_Handleh
 Main identity handle. More...
 
struct GNUNET_IDENTITY_Operationnext
 We keep operations in a DLL. More...
 
struct GNUNET_IDENTITY_Operationprev
 We keep operations in a DLL. More...
 
const struct GNUNET_MessageHeadermsg
 Message to send to the identity service. More...
 
GNUNET_IDENTITY_Continuation cont
 Continuation to invoke with the result of the transmission; cb and create_cont will be NULL in this case. More...
 
GNUNET_IDENTITY_CreateContinuation create_cont
 Continuation to invoke with the result of the transmission; cb and cb will be NULL in this case. More...
 
struct GNUNET_CRYPTO_EcdsaPrivateKeypk
 Private key to return to create_cont, or NULL. More...
 
GNUNET_IDENTITY_Callback cb
 Continuation to invoke with the result of the transmission for 'get' operations (cont and create_cont will be NULL in this case). More...
 
void * cls
 Closure for cont or cb. More...
 

Detailed Description

Handle for an operation with the identity service.

Definition at line 39 of file identity_api.c.

Field Documentation

◆ h

struct GNUNET_IDENTITY_Handle* GNUNET_IDENTITY_Operation::h

◆ next

struct GNUNET_IDENTITY_Operation* GNUNET_IDENTITY_Operation::next

We keep operations in a DLL.

Definition at line 49 of file identity_api.c.

◆ prev

struct GNUNET_IDENTITY_Operation* GNUNET_IDENTITY_Operation::prev

We keep operations in a DLL.

Definition at line 54 of file identity_api.c.

◆ msg

const struct GNUNET_MessageHeader* GNUNET_IDENTITY_Operation::msg

Message to send to the identity service.

Allocated at the end of this struct.

Definition at line 60 of file identity_api.c.

Referenced by reconnect().

◆ cont

GNUNET_IDENTITY_Continuation GNUNET_IDENTITY_Operation::cont

Continuation to invoke with the result of the transmission; cb and create_cont will be NULL in this case.

Definition at line 66 of file identity_api.c.

Referenced by GNUNET_IDENTITY_cancel(), GNUNET_IDENTITY_create(), GNUNET_IDENTITY_delete(), GNUNET_IDENTITY_disconnect(), GNUNET_IDENTITY_rename(), GNUNET_IDENTITY_set(), handle_identity_result_code(), and reschedule_connect().

◆ create_cont

GNUNET_IDENTITY_CreateContinuation GNUNET_IDENTITY_Operation::create_cont

Continuation to invoke with the result of the transmission; cb and cb will be NULL in this case.

Definition at line 72 of file identity_api.c.

Referenced by GNUNET_IDENTITY_cancel(), GNUNET_IDENTITY_create(), handle_identity_result_code(), and reschedule_connect().

◆ pk

struct GNUNET_CRYPTO_EcdsaPrivateKey* GNUNET_IDENTITY_Operation::pk

Private key to return to create_cont, or NULL.

Definition at line 77 of file identity_api.c.

Referenced by GNUNET_IDENTITY_cancel(), GNUNET_IDENTITY_create(), GNUNET_IDENTITY_disconnect(), handle_identity_result_code(), and reschedule_connect().

◆ cb

GNUNET_IDENTITY_Callback GNUNET_IDENTITY_Operation::cb

Continuation to invoke with the result of the transmission for 'get' operations (cont and create_cont will be NULL in this case).

Definition at line 83 of file identity_api.c.

Referenced by GNUNET_IDENTITY_cancel(), GNUNET_IDENTITY_connect(), GNUNET_IDENTITY_delete(), GNUNET_IDENTITY_get(), GNUNET_IDENTITY_rename(), handle_identity_result_code(), handle_identity_set_default(), and reschedule_connect().

◆ cls

void* GNUNET_IDENTITY_Operation::cls

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