GNUnet 0.22.1
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...
 
struct GNUNET_TIME_Absolute start_time
 When did we start the job? More...
 

Detailed Description

Jobs are CURL requests running within a struct GNUNET_CURL_Context.

Definition at line 77 of file curl.c.

Field Documentation

◆ next

struct GNUNET_CURL_Job* GNUNET_CURL_Job::next

We keep jobs in a DLL.

Definition at line 82 of file curl.c.

◆ prev

struct GNUNET_CURL_Job* GNUNET_CURL_Job::prev

We keep jobs in a DLL.

Definition at line 87 of file curl.c.

◆ easy_handle

CURL* GNUNET_CURL_Job::easy_handle

Easy handle of the job.

Definition at line 92 of file curl.c.

◆ ctx

struct GNUNET_CURL_Context* GNUNET_CURL_Job::ctx

Context this job runs in.

Definition at line 97 of file curl.c.

◆ jcc

GNUNET_CURL_JobCompletionCallback GNUNET_CURL_Job::jcc

Function to call upon completion.

Definition at line 102 of file curl.c.

Referenced by GNUNET_CURL_job_add().

◆ jcc_cls

void* GNUNET_CURL_Job::jcc_cls

Closure for jcc.

Definition at line 107 of file curl.c.

Referenced by GNUNET_CURL_job_add().

◆ jcc_raw

GNUNET_CURL_RawJobCompletionCallback GNUNET_CURL_Job::jcc_raw

Function to call upon completion.

Definition at line 112 of file curl.c.

◆ jcc_raw_cls

void* GNUNET_CURL_Job::jcc_raw_cls

Closure for jcc_raw.

Definition at line 117 of file curl.c.

◆ db

struct GNUNET_CURL_DownloadBuffer GNUNET_CURL_Job::db

Buffer for response received from CURL.

Definition at line 122 of file curl.c.

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

◆ start_time

struct GNUNET_TIME_Absolute GNUNET_CURL_Job::start_time

When did we start the job?

Definition at line 133 of file curl.c.


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