GNUnet  0.11.x
Data Fields
GNUNET_CURL_Job Struct Reference

Jobs are CURL requests running within a struct GNUNET_CURL_Context. More...

Collaboration diagram for GNUNET_CURL_Job:
[legend]

Data Fields

struct GNUNET_CURL_Jobnext
 We keep jobs in a DLL. More...
 
struct GNUNET_CURL_Jobprev
 We keep jobs in a DLL. More...
 
CURL * easy_handle
 Easy handle of the job. More...
 
struct GNUNET_CURL_Contextctx
 Context this job runs in. More...
 
GNUNET_CURL_JobCompletionCallback jcc
 Function to call upon completion. More...
 
void * jcc_cls
 Closure for jcc. More...
 
GNUNET_CURL_RawJobCompletionCallback jcc_raw
 Function to call upon completion. More...
 
void * jcc_raw_cls
 Closure for jcc_raw. More...
 
struct GNUNET_CURL_DownloadBuffer db
 Buffer for response received from CURL. More...
 
struct curl_slist * job_headers
 Headers used for this job, the list needs to be freed after the job has finished. More...
 

Detailed Description

Jobs are CURL requests running within a struct GNUNET_CURL_Context.

Definition at line 71 of file curl.c.

Field Documentation

◆ next

struct GNUNET_CURL_Job* GNUNET_CURL_Job::next

We keep jobs in a DLL.

Definition at line 76 of file curl.c.

◆ prev

struct GNUNET_CURL_Job* GNUNET_CURL_Job::prev

We keep jobs in a DLL.

Definition at line 81 of file curl.c.

◆ easy_handle

CURL* GNUNET_CURL_Job::easy_handle

Easy handle of the job.

Definition at line 86 of file curl.c.

Referenced by GNUNET_CURL_job_cancel(), and setup_job().

◆ ctx

struct GNUNET_CURL_Context* GNUNET_CURL_Job::ctx

Context this job runs in.

Definition at line 91 of file curl.c.

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

◆ jcc

GNUNET_CURL_JobCompletionCallback GNUNET_CURL_Job::jcc

Function to call upon completion.

Definition at line 96 of file curl.c.

Referenced by GNUNET_CURL_job_add2(), and GNUNET_CURL_job_add_raw().

◆ jcc_cls

void* GNUNET_CURL_Job::jcc_cls

Closure for jcc.

Definition at line 101 of file curl.c.

Referenced by GNUNET_CURL_job_add2(), and GNUNET_CURL_job_add_raw().

◆ jcc_raw

GNUNET_CURL_RawJobCompletionCallback GNUNET_CURL_Job::jcc_raw

Function to call upon completion.

Definition at line 106 of file curl.c.

Referenced by GNUNET_CURL_job_add_raw().

◆ jcc_raw_cls

void* GNUNET_CURL_Job::jcc_raw_cls

Closure for jcc_raw.

Definition at line 111 of file curl.c.

Referenced by GNUNET_CURL_job_add_raw().

◆ db

struct GNUNET_CURL_DownloadBuffer GNUNET_CURL_Job::db

Buffer for response received from CURL.

Definition at line 116 of file curl.c.

Referenced by download_cb(), GNUNET_CURL_job_cancel(), and setup_job().

◆ job_headers

struct curl_slist* GNUNET_CURL_Job::job_headers

Headers used for this job, the list needs to be freed after the job has finished.

Definition at line 122 of file curl.c.

Referenced by GNUNET_CURL_job_add(), GNUNET_CURL_job_cancel(), and setup_job().


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