GNUnet 0.22.0
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 140 of file curl.c.

Field Documentation

◆ multi

CURLM* GNUNET_CURL_Context::multi

Curl multi handle.

Definition at line 145 of file curl.c.

◆ share

CURLSH* GNUNET_CURL_Context::share

Curl share handle.

Definition at line 150 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 155 of file curl.c.

◆ jobs_tail

struct GNUNET_CURL_Job* GNUNET_CURL_Context::jobs_tail

We keep jobs in a DLL.

Definition at line 160 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 165 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 171 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 177 of file curl.c.

Referenced by GNUNET_CURL_init().

◆ cb_cls

void* GNUNET_CURL_Context::cb_cls

Closure for cb.

Definition at line 182 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 188 of file curl.c.

◆ certtype

char* GNUNET_CURL_Context::certtype

Type of the TLS client certificate used, or NULL.

Definition at line 193 of file curl.c.

◆ certfile

char* GNUNET_CURL_Context::certfile

File with the TLS client certificate, or NULL.

Definition at line 198 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 204 of file curl.c.

◆ keypass

char* GNUNET_CURL_Context::keypass

Passphrase to decrypt keyfile, or NULL.

Definition at line 209 of file curl.c.


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