GNUnet  0.11.x
Data Fields
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...
 

Detailed Description

Context.

Definition at line 129 of file curl.c.

Field Documentation

◆ multi

CURLM* GNUNET_CURL_Context::multi

◆ share

CURLSH* GNUNET_CURL_Context::share

Curl share handle.

Definition at line 139 of file curl.c.

Referenced by GNUNET_CURL_fini(), GNUNET_CURL_init(), and setup_job().

◆ jobs_head

struct GNUNET_CURL_Job* GNUNET_CURL_Context::jobs_head

We keep jobs in a DLL.

Definition at line 144 of file curl.c.

Referenced by GNUNET_CURL_fini(), GNUNET_CURL_get_select_info(), GNUNET_CURL_job_cancel(), and setup_job().

◆ jobs_tail

struct GNUNET_CURL_Job* GNUNET_CURL_Context::jobs_tail

We keep jobs in a DLL.

Definition at line 149 of file curl.c.

Referenced by GNUNET_CURL_job_cancel(), and setup_job().

◆ common_headers

struct curl_slist* GNUNET_CURL_Context::common_headers

Headers common for all requests in the context.

Definition at line 154 of file curl.c.

Referenced by GNUNET_CURL_append_header(), GNUNET_CURL_fini(), and setup_job_headers().

◆ 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 160 of file curl.c.

Referenced by GNUNET_CURL_enable_async_scope_header(), and setup_job_headers().

◆ cb

GNUNET_CURL_RescheduleCallback GNUNET_CURL_Context::cb

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

Definition at line 166 of file curl.c.

Referenced by GNUNET_CURL_init(), GNUNET_CURL_job_add2(), GNUNET_CURL_job_add_raw(), and GNUNET_CURL_job_cancel().

◆ cb_cls

void* GNUNET_CURL_Context::cb_cls

Closure for cb.

Definition at line 171 of file curl.c.

Referenced by GNUNET_CURL_init(), GNUNET_CURL_job_add2(), GNUNET_CURL_job_add_raw(), and GNUNET_CURL_job_cancel().


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