GNUnet  0.19.0
RequestHandle Struct Reference

The request handle. More...

Collaboration diagram for RequestHandle:

Data Fields

struct RequestHandlenext
 DLL. More...
struct RequestHandleprev
 DLL. More...
struct GNUNET_GNS_LookupWithTldRequestgns_lookup
 Active GNS lookup. More...
char * name
 Name to look up. More...
int record_type
 Record type to look up. More...
struct GNUNET_REST_RequestHandlerest_handle
 Rest connection. More...
struct GNUNET_TIME_Relative timeout
 Desired timeout for the lookup (default is no timeout). More...
struct GNUNET_SCHEDULER_Tasktimeout_task
 ID of a task associated with the resolution process. More...
GNUNET_REST_ResultProcessor proc
 The plugin result processor. More...
void * proc_cls
 The closure of the result processor. More...
char * url
 The url. More...
char * emsg
 Error response message. More...
int response_code
 Response code. More...
const char * data
 The data from the REST request. More...
size_t data_size
 the length of the REST data More...
struct GNUNET_IDENTITY_Operationop
 IDENTITY Operation. More...
enum GNUNET_ErrorCode ec
 Error code. More...
char * record_name
 Records to store. More...
uint32_t record_type
 Record type filter. More...
enum UpdateStrategy update_strategy
 How to update the record set. More...
 Records to store. More...
unsigned int rd_count
 Number of records in rd. More...
struct GNUNET_NAMESTORE_RecordInfori
 RecordInfo array. More...
unsigned int rd_set_count
 Size of record info. More...
unsigned int rd_set_pos
 Position of record info. More...
struct GNUNET_NAMESTORE_QueueEntryns_qe
 NAMESTORE Operation. More...
struct GNUNET_NAMESTORE_Handlenc
 For bulk import, we need a dedicated Namestore handle. More...
json_t * resp_object
 Response object. More...
struct GNUNET_NAMESTORE_ZoneIteratorlist_it
 Handle to NAMESTORE it. More...
const struct GNUNET_IDENTITY_PrivateKeyzone_pkey
 Private key for the zone. More...
struct EgoEntryego_entry
 IDENTITY Operation. More...
json_t * temp_array
 JSON temporary array. More...
char * expiration_str
 Expiration time string. More...
const char * address
 Address string. More...
char * pubkey
 Iteration peer public key. More...
json_t * response
 JSON response. More...
struct GNUNET_PEERINFO_IteratorContextlist_it
 Handle to PEERINFO it. More...
struct GNUNET_IDENTITY_PrivateKey priv_key
 Pointer to ego private key. More...
struct OIDC_Variablesoidc
 OIDC variables. More...
struct GNUNET_GNS_LookupRequestgns_op
 GNS lookup op. More...
struct GNUNET_RECLAIM_AttributeListattr_idtoken_list
 Attribute claim list for id_token. More...
struct GNUNET_RECLAIM_AttributeListattr_userinfo_list
 Attribute claim list for userinfo. More...
struct GNUNET_RECLAIM_CredentialListcredentials
 Credentials. More...
struct GNUNET_RECLAIM_PresentationListpresentations
 Presentations. More...
struct GNUNET_RECLAIM_Operationidp_op
 Idp Operation. More...
struct GNUNET_SCHEDULER_Taskconsume_timeout_op
 Timeout task for consume. More...
struct GNUNET_RECLAIM_AttributeIteratorattr_it
 Attribute iterator. More...
struct GNUNET_RECLAIM_CredentialIteratorcred_it
 Credential iterator. More...
struct GNUNET_RECLAIM_TicketIteratorticket_it
 Ticket iterator. More...
struct GNUNET_RECLAIM_Ticket ticket
 A ticket. More...
char * access_token
 The passed access token. More...
char * tld
 The tld for redirect. More...
char * redirect_prefix
 The redirect prefix. More...
char * redirect_suffix
 The redirect suffix. More...
char * edesc
 Error response description. More...
int public_client
 Public client. More...
struct GNUNET_RECLAIM_AttributeListattr_list
 Attribute claim list. More...
 Current state of this request. More...
CURL * easyhandle
 The curl easy handle. More...
struct GNUNET_ATS_Sessions
 The related session. More...

Detailed Description

The request handle.

A request handle.

Definition at line 82 of file plugin_rest_gns.c.

Field Documentation

◆ next

struct RequestHandle * RequestHandle::next


Definition at line 87 of file plugin_rest_gns.c.

◆ prev

struct RequestHandle * RequestHandle::prev


Definition at line 92 of file plugin_rest_gns.c.

◆ gns_lookup

struct GNUNET_GNS_LookupWithTldRequest* RequestHandle::gns_lookup

Active GNS lookup.

Definition at line 97 of file plugin_rest_gns.c.

◆ name

◆ record_type [1/2]

int RequestHandle::record_type

Record type to look up.

Definition at line 107 of file plugin_rest_gns.c.

◆ rest_handle

struct GNUNET_REST_RequestHandle * RequestHandle::rest_handle

Rest connection.

Handle to rest request.

Definition at line 112 of file plugin_rest_gns.c.

◆ timeout

struct GNUNET_TIME_Relative RequestHandle::timeout

Desired timeout for the lookup (default is no timeout).

Definition at line 112 of file plugin_rest_gns.c.

◆ timeout_task

struct GNUNET_SCHEDULER_Task * RequestHandle::timeout_task

ID of a task associated with the resolution process.

Definition at line 122 of file plugin_rest_gns.c.

◆ proc

GNUNET_REST_ResultProcessor RequestHandle::proc

The plugin result processor.

Definition at line 127 of file plugin_rest_gns.c.

Referenced by gnunet_pyexpect.pexpect::spawn().

◆ proc_cls

void * RequestHandle::proc_cls

The closure of the result processor.

Definition at line 132 of file plugin_rest_gns.c.

◆ url

char * RequestHandle::url

The url.

The URL.

Definition at line 137 of file plugin_rest_gns.c.

Referenced by namestore_add(), and namestore_update().

◆ emsg

char * RequestHandle::emsg

Error response message.

Definition at line 142 of file plugin_rest_gns.c.

◆ response_code

int RequestHandle::response_code

Response code.

HTTP response code.

Definition at line 147 of file plugin_rest_gns.c.

◆ data

const char* RequestHandle::data

◆ data_size

size_t RequestHandle::data_size

the length of the REST data

Definition at line 203 of file plugin_rest_identity.c.

◆ op

struct GNUNET_IDENTITY_Operation * RequestHandle::op

IDENTITY Operation.

Definition at line 208 of file plugin_rest_identity.c.

◆ ec

enum GNUNET_ErrorCode RequestHandle::ec

Error code.

Definition at line 238 of file plugin_rest_identity.c.

Referenced by bulk_tx_start(), del_finished(), do_finished_create(), and import_next_cb().

◆ record_name

char* RequestHandle::record_name

Records to store.

Definition at line 156 of file plugin_rest_namestore.c.

◆ record_type [2/2]

uint32_t RequestHandle::record_type

Record type filter.

Definition at line 161 of file plugin_rest_namestore.c.

◆ update_strategy

enum UpdateStrategy RequestHandle::update_strategy

How to update the record set.

Definition at line 161 of file plugin_rest_namestore.c.

◆ rd

struct GNUNET_GNSRECORD_Data* RequestHandle::rd

Records to store.

Definition at line 171 of file plugin_rest_namestore.c.

◆ rd_count

unsigned int RequestHandle::rd_count

Number of records in rd.

Definition at line 176 of file plugin_rest_namestore.c.

◆ ri

struct GNUNET_NAMESTORE_RecordInfo* RequestHandle::ri

RecordInfo array.

Definition at line 181 of file plugin_rest_namestore.c.

◆ rd_set_count

unsigned int RequestHandle::rd_set_count

Size of record info.

Definition at line 186 of file plugin_rest_namestore.c.

◆ rd_set_pos

unsigned int RequestHandle::rd_set_pos

Position of record info.

Definition at line 191 of file plugin_rest_namestore.c.

Referenced by import_next_cb().

◆ ns_qe

struct GNUNET_NAMESTORE_QueueEntry* RequestHandle::ns_qe

NAMESTORE Operation.

Definition at line 196 of file plugin_rest_namestore.c.

◆ nc

struct GNUNET_NAMESTORE_Handle* RequestHandle::nc

For bulk import, we need a dedicated Namestore handle.

Definition at line 201 of file plugin_rest_namestore.c.

◆ resp_object

json_t * RequestHandle::resp_object

Response object.

Definition at line 206 of file plugin_rest_namestore.c.

◆ list_it [1/2]

struct GNUNET_NAMESTORE_ZoneIterator* RequestHandle::list_it

Handle to NAMESTORE it.

Definition at line 212 of file plugin_rest_namestore.c.

◆ zone_pkey

const struct GNUNET_IDENTITY_PrivateKey* RequestHandle::zone_pkey

Private key for the zone.

Definition at line 217 of file plugin_rest_namestore.c.

◆ ego_entry

struct EgoEntry * RequestHandle::ego_entry

IDENTITY Operation.

Selected ego.

Definition at line 222 of file plugin_rest_namestore.c.

Referenced by ego_edit().

◆ temp_array

json_t* RequestHandle::temp_array

JSON temporary array.

Definition at line 195 of file plugin_rest_peerinfo.c.

Referenced by dump_pc().

◆ expiration_str

char* RequestHandle::expiration_str

Expiration time string.

Definition at line 200 of file plugin_rest_peerinfo.c.

◆ address

const char* RequestHandle::address

Address string.

Definition at line 205 of file plugin_rest_peerinfo.c.

◆ pubkey

char* RequestHandle::pubkey

Iteration peer public key.

Definition at line 210 of file plugin_rest_peerinfo.c.

◆ response

json_t* RequestHandle::response

JSON response.

Definition at line 215 of file plugin_rest_peerinfo.c.

◆ list_it [2/2]

struct GNUNET_PEERINFO_IteratorContext* RequestHandle::list_it

Handle to PEERINFO it.

Definition at line 220 of file plugin_rest_peerinfo.c.

◆ priv_key

struct GNUNET_IDENTITY_PrivateKey RequestHandle::priv_key

Pointer to ego private key.

Definition at line 440 of file plugin_rest_openid_connect.c.

◆ oidc

struct OIDC_Variables* RequestHandle::oidc

OIDC variables.

Definition at line 450 of file plugin_rest_openid_connect.c.

◆ gns_op

struct GNUNET_GNS_LookupRequest* RequestHandle::gns_op

GNS lookup op.

Definition at line 455 of file plugin_rest_openid_connect.c.

◆ attr_idtoken_list

struct GNUNET_RECLAIM_AttributeList* RequestHandle::attr_idtoken_list

Attribute claim list for id_token.

Definition at line 465 of file plugin_rest_openid_connect.c.

◆ attr_userinfo_list

struct GNUNET_RECLAIM_AttributeList* RequestHandle::attr_userinfo_list

Attribute claim list for userinfo.

Definition at line 470 of file plugin_rest_openid_connect.c.

◆ credentials

struct GNUNET_RECLAIM_CredentialList* RequestHandle::credentials


Definition at line 475 of file plugin_rest_openid_connect.c.

◆ presentations

struct GNUNET_RECLAIM_PresentationList* RequestHandle::presentations


Definition at line 480 of file plugin_rest_openid_connect.c.

◆ idp_op

struct GNUNET_RECLAIM_Operation * RequestHandle::idp_op

Idp Operation.

Definition at line 491 of file plugin_rest_openid_connect.c.

◆ consume_timeout_op

struct GNUNET_SCHEDULER_Task* RequestHandle::consume_timeout_op

Timeout task for consume.

Definition at line 496 of file plugin_rest_openid_connect.c.

◆ attr_it

struct GNUNET_RECLAIM_AttributeIterator * RequestHandle::attr_it

Attribute iterator.

Definition at line 501 of file plugin_rest_openid_connect.c.

◆ cred_it

struct GNUNET_RECLAIM_CredentialIterator * RequestHandle::cred_it

Credential iterator.

Attribute iterator.

Definition at line 506 of file plugin_rest_openid_connect.c.

◆ ticket_it

struct GNUNET_RECLAIM_TicketIterator * RequestHandle::ticket_it

Ticket iterator.

Definition at line 512 of file plugin_rest_openid_connect.c.

◆ ticket

struct GNUNET_RECLAIM_Ticket RequestHandle::ticket

A ticket.

Definition at line 512 of file plugin_rest_openid_connect.c.

◆ access_token

char* RequestHandle::access_token

The passed access token.

Definition at line 547 of file plugin_rest_openid_connect.c.

◆ tld

char* RequestHandle::tld

The tld for redirect.

Definition at line 552 of file plugin_rest_openid_connect.c.

◆ redirect_prefix

char* RequestHandle::redirect_prefix

The redirect prefix.

Definition at line 557 of file plugin_rest_openid_connect.c.

◆ redirect_suffix

char* RequestHandle::redirect_suffix

The redirect suffix.

Definition at line 562 of file plugin_rest_openid_connect.c.

◆ edesc

char* RequestHandle::edesc

Error response description.

Definition at line 572 of file plugin_rest_openid_connect.c.

◆ public_client

int RequestHandle::public_client

Public client.

Definition at line 582 of file plugin_rest_openid_connect.c.

◆ attr_list

struct GNUNET_RECLAIM_AttributeList* RequestHandle::attr_list

Attribute claim list.

Definition at line 185 of file plugin_rest_reclaim.c.

◆ state

◆ easyhandle

◆ s

struct GNUNET_ATS_Session* RequestHandle::s

The related session.

Definition at line 178 of file plugin_transport_http_client.c.

Referenced by client_connect_get(), client_connect_put(), and client_run().

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