GNUnet 0.21.1
GNUNET_CURL_Context Struct Reference

Context. More...

Collaboration diagram for GNUNET_CURL_Context:
[legend]

Data Fields

CURLM * multi
 Curl multi handle. More...
 
CURLSH * share
 Curl share handle. More...
 
struct GNUNET_CURL_Jobjobs_head
 We keep jobs in a DLL. More...
 
struct GNUNET_CURL_Jobjobs_tail
 We keep jobs in a DLL. More...
 
struct curl_slist * common_headers
 Headers common for all requests in the context. More...
 
const char * async_scope_id_header
 If non-NULL, the async scope ID is sent in a request header of this name. More...
 
GNUNET_CURL_RescheduleCallback cb
 Function we need to call whenever the event loop's socket set changed. More...
 
void * cb_cls
 Closure for cb. More...
 
char * userpass
 USERNAME:PASSWORD to use for client-authentication with all requests of this context, or NULL. More...
 
char * certtype
 Type of the TLS client certificate used, or NULL. More...
 
char * certfile
 File with the TLS client certificate, or NULL. More...
 
char * keyfile
 File with the private key to authenticate the TLS client, or NULL. More...
 
char * keypass
 Passphrase to decrypt keyfile, or NULL. More...
 

Detailed Description

Context.

Definition at line 139 of file curl.c.

Field Documentation

◆ multi

CURLM* GNUNET_CURL_Context::multi

Curl multi handle.

Definition at line 144 of file curl.c.

◆ share

CURLSH* GNUNET_CURL_Context::share

Curl share handle.

Definition at line 149 of file curl.c.

Referenced by GNUNET_CURL_init().

◆ jobs_head

struct GNUNET_CURL_Job* GNUNET_CURL_Context::jobs_head

We keep jobs in a DLL.

Definition at line 154 of file curl.c.

◆ jobs_tail

struct GNUNET_CURL_Job* GNUNET_CURL_Context::jobs_tail

We keep jobs in a DLL.

Definition at line 159 of file curl.c.

◆ common_headers

struct curl_slist* GNUNET_CURL_Context::common_headers

Headers common for all requests in the context.

Definition at line 164 of file curl.c.

◆ async_scope_id_header

const char* GNUNET_CURL_Context::async_scope_id_header

If non-NULL, the async scope ID is sent in a request header of this name.

Definition at line 170 of file curl.c.

◆ cb

GNUNET_CURL_RescheduleCallback GNUNET_CURL_Context::cb

Function we need to call whenever the event loop's socket set changed.

Definition at line 176 of file curl.c.

Referenced by GNUNET_CURL_init().

◆ cb_cls

void* GNUNET_CURL_Context::cb_cls

Closure for cb.

Definition at line 181 of file curl.c.

Referenced by GNUNET_CURL_init().

◆ userpass

char* GNUNET_CURL_Context::userpass

USERNAME:PASSWORD to use for client-authentication with all requests of this context, or NULL.

Definition at line 187 of file curl.c.

◆ certtype

char* GNUNET_CURL_Context::certtype

Type of the TLS client certificate used, or NULL.

Definition at line 192 of file curl.c.

◆ certfile

char* GNUNET_CURL_Context::certfile

File with the TLS client certificate, or NULL.

Definition at line 197 of file curl.c.

◆ keyfile

char* GNUNET_CURL_Context::keyfile

File with the private key to authenticate the TLS client, or NULL.

Definition at line 203 of file curl.c.

◆ keypass

char* GNUNET_CURL_Context::keypass

Passphrase to decrypt keyfile, or NULL.

Definition at line 208 of file curl.c.


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