GNUnet  0.11.x
Data Fields
RequestHandle Struct Reference

The request handle. More...

Collaboration diagram for RequestHandle:
[legend]

Data Fields

struct GNUNET_GNS_Handlegns
 Connection to GNS. 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 EgoEntryego_head
 Ego list. More...
 
struct EgoEntryego_tail
 Ego list. More...
 
int state
 The processing state. More...
 
struct GNUNET_IDENTITY_Handleidentity_handle
 Handle to Identity service. More...
 
struct GNUNET_IDENTITY_Operationop
 IDENTITY Operation. More...
 
char * record_name
 Records to store. More...
 
struct GNUNET_GNSRECORD_Datard
 Records to store. More...
 
unsigned int rd_count
 Number of records in rd. More...
 
struct GNUNET_NAMESTORE_QueueEntryadd_qe
 NAMESTORE Operation. More...
 
json_t * resp_object
 Response object. More...
 
struct GNUNET_NAMESTORE_Handlens_handle
 Handle to NAMESTORE. More...
 
struct GNUNET_NAMESTORE_ZoneIteratorlist_it
 Handle to NAMESTORE it. More...
 
const struct GNUNET_CRYPTO_EcdsaPrivateKeyzone_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_PEERINFO_Handlepeerinfo_handle
 Handle to PEERINFO. More...
 
struct GNUNET_CRYPTO_EcdsaPrivateKey priv_key
 Pointer to ego private key. More...
 
struct OIDC_Variablesoidc
 OIDC variables. More...
 
struct GNUNET_GNS_Handlegns_handle
 GNS handle. More...
 
struct GNUNET_GNS_LookupRequestgns_op
 GNS lookup op. More...
 
struct GNUNET_NAMESTORE_Handlenamestore_handle
 Handle to NAMESTORE. More...
 
struct GNUNET_NAMESTORE_ZoneIteratornamestore_handle_it
 Iterator for NAMESTORE. More...
 
struct GNUNET_RECLAIM_ATTRIBUTE_ClaimListattr_list
 Attribute claim list. More...
 
struct GNUNET_RECLAIM_Handleidp
 Identity Provider. More...
 
struct GNUNET_RECLAIM_Operationidp_op
 Idp Operation. More...
 
struct GNUNET_RECLAIM_AttributeIteratorattr_it
 Attribute iterator. More...
 
struct GNUNET_RECLAIM_TicketIteratorticket_it
 Ticket iterator. More...
 
struct GNUNET_RECLAIM_Ticket ticket
 A ticket. 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...
 
enum HTTP_PUT_REQUEST_STATE state
 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 76 of file plugin_rest_gns.c.

Field Documentation

◆ gns

struct GNUNET_GNS_Handle* RequestHandle::gns

Connection to GNS.

Definition at line 81 of file plugin_rest_gns.c.

Referenced by cleanup_handle(), get_gns_cont(), and rest_process_request().

◆ gns_lookup

struct GNUNET_GNS_LookupWithTldRequest* RequestHandle::gns_lookup

Active GNS lookup.

Definition at line 86 of file plugin_rest_gns.c.

Referenced by cleanup_handle(), get_gns_cont(), and handle_gns_response().

◆ name

char * RequestHandle::name

Name to look up.

The name to look up.

Definition at line 91 of file plugin_rest_gns.c.

Referenced by cleanup_handle(), ego_create(), get_gns_cont(), and handle_gns_response().

◆ record_type

int RequestHandle::record_type

Record type to look up.

Definition at line 96 of file plugin_rest_gns.c.

Referenced by get_gns_cont().

◆ rest_handle

struct GNUNET_REST_RequestHandle * RequestHandle::rest_handle

◆ timeout

struct GNUNET_TIME_Relative RequestHandle::timeout

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

Definition at line 106 of file plugin_rest_gns.c.

Referenced by rest_identity_process_request(), and rest_process_request().

◆ timeout_task

struct GNUNET_SCHEDULER_Task * RequestHandle::timeout_task

ID of a task associated with the resolution process.

Definition at line 111 of file plugin_rest_gns.c.

Referenced by cleanup_handle(), do_error(), do_timeout(), rest_identity_process_request(), and rest_process_request().

◆ proc

GNUNET_REST_ResultProcessor RequestHandle::proc

◆ proc_cls

void * RequestHandle::proc_cls

◆ url

char * RequestHandle::url

◆ emsg

char * RequestHandle::emsg

◆ response_code

int RequestHandle::response_code

◆ data

const char* RequestHandle::data

The data from the REST request.

Definition at line 176 of file plugin_rest_identity.c.

Referenced by ego_create(), ego_edit(), ego_edit_subsystem(), and rest_process_request().

◆ data_size

size_t RequestHandle::data_size

the length of the REST data

Definition at line 186 of file plugin_rest_identity.c.

Referenced by ego_create(), ego_edit(), ego_edit_subsystem(), and rest_process_request().

◆ ego_head

struct EgoEntry * RequestHandle::ego_head

◆ ego_tail

struct EgoEntry * RequestHandle::ego_tail

Ego list.

Definition at line 197 of file plugin_rest_identity.c.

Referenced by authorize_endpoint(), id_connect_cb(), init_egos(), and list_ego().

◆ state [1/2]

int RequestHandle::state

◆ identity_handle

struct GNUNET_IDENTITY_Handle * RequestHandle::identity_handle

◆ op

struct GNUNET_IDENTITY_Operation * RequestHandle::op

◆ record_name

char* RequestHandle::record_name

Records to store.

Definition at line 134 of file plugin_rest_namestore.c.

Referenced by cleanup_handle(), namestore_add(), and namestore_delete().

◆ rd

struct GNUNET_GNSRECORD_Data* RequestHandle::rd

Records to store.

Definition at line 139 of file plugin_rest_namestore.c.

Referenced by cleanup_handle(), and namestore_add().

◆ rd_count

unsigned int RequestHandle::rd_count

Number of records in rd.

Definition at line 144 of file plugin_rest_namestore.c.

Referenced by cleanup_handle(), and namestore_add().

◆ add_qe

struct GNUNET_NAMESTORE_QueueEntry* RequestHandle::add_qe

◆ resp_object

json_t * RequestHandle::resp_object

◆ ns_handle

struct GNUNET_NAMESTORE_Handle* RequestHandle::ns_handle

Handle to NAMESTORE.

Definition at line 164 of file plugin_rest_namestore.c.

Referenced by cleanup_handle(), namestore_add(), namestore_delete(), namestore_get(), and rest_process_request().

◆ list_it [1/2]

struct GNUNET_NAMESTORE_ZoneIterator* RequestHandle::list_it

◆ zone_pkey

const struct GNUNET_CRYPTO_EcdsaPrivateKey* RequestHandle::zone_pkey

Private key for the zone.

Definition at line 174 of file plugin_rest_namestore.c.

Referenced by namestore_add(), namestore_delete(), namestore_get(), and rest_process_request().

◆ ego_entry

struct EgoEntry * RequestHandle::ego_entry

IDENTITY Operation.

Selected ego.

Definition at line 179 of file plugin_rest_namestore.c.

Referenced by authorize_endpoint(), check_authorization(), and code_redirect().

◆ temp_array

json_t* RequestHandle::temp_array

JSON temporary array.

Definition at line 180 of file plugin_rest_peerinfo.c.

Referenced by cleanup_handle(), and dump_pc().

◆ expiration_str

char* RequestHandle::expiration_str

Expiration time string.

Definition at line 185 of file plugin_rest_peerinfo.c.

Referenced by cleanup_handle().

◆ address

const char* RequestHandle::address

Address string.

Definition at line 190 of file plugin_rest_peerinfo.c.

Referenced by cleanup_handle().

◆ pubkey

char* RequestHandle::pubkey

Iteration peer public key.

Definition at line 195 of file plugin_rest_peerinfo.c.

Referenced by cleanup_handle().

◆ response

json_t* RequestHandle::response

JSON response.

Definition at line 200 of file plugin_rest_peerinfo.c.

Referenced by cleanup_handle(), dump_pc(), peerinfo_list_finished(), and peerinfo_list_iteration().

◆ list_it [2/2]

struct GNUNET_PEERINFO_IteratorContext* RequestHandle::list_it

Handle to PEERINFO it.

Definition at line 205 of file plugin_rest_peerinfo.c.

◆ peerinfo_handle

struct GNUNET_PEERINFO_Handle* RequestHandle::peerinfo_handle

Handle to PEERINFO.

Definition at line 210 of file plugin_rest_peerinfo.c.

Referenced by cleanup_handle(), peerinfo_get(), and rest_process_request().

◆ priv_key

struct GNUNET_CRYPTO_EcdsaPrivateKey RequestHandle::priv_key

Pointer to ego private key.

Definition at line 376 of file plugin_rest_openid_connect.c.

Referenced by code_redirect(), oidc_collect_finished_cb(), and oidc_ticket_issue_cb().

◆ oidc

struct OIDC_Variables* RequestHandle::oidc

◆ gns_handle

struct GNUNET_GNS_Handle* RequestHandle::gns_handle

GNS handle.

Definition at line 401 of file plugin_rest_openid_connect.c.

Referenced by cleanup_handle(), client_redirect(), and rest_identity_process_request().

◆ gns_op

struct GNUNET_GNS_LookupRequest* RequestHandle::gns_op

GNS lookup op.

Definition at line 406 of file plugin_rest_openid_connect.c.

Referenced by cleanup_handle(), client_redirect(), and lookup_redirect_uri_result().

◆ namestore_handle

struct GNUNET_NAMESTORE_Handle* RequestHandle::namestore_handle

Handle to NAMESTORE.

Definition at line 411 of file plugin_rest_openid_connect.c.

Referenced by cleanup_handle(), and rest_identity_process_request().

◆ namestore_handle_it

struct GNUNET_NAMESTORE_ZoneIterator* RequestHandle::namestore_handle_it

Iterator for NAMESTORE.

Definition at line 416 of file plugin_rest_openid_connect.c.

◆ attr_list

struct GNUNET_RECLAIM_ATTRIBUTE_ClaimList * RequestHandle::attr_list

◆ idp

struct GNUNET_RECLAIM_Handle * RequestHandle::idp

◆ idp_op

struct GNUNET_RECLAIM_Operation * RequestHandle::idp_op

◆ attr_it

struct GNUNET_RECLAIM_AttributeIterator * RequestHandle::attr_it

◆ ticket_it

struct GNUNET_RECLAIM_TicketIterator * RequestHandle::ticket_it

◆ ticket

struct GNUNET_RECLAIM_Ticket RequestHandle::ticket

A ticket.

Definition at line 451 of file plugin_rest_openid_connect.c.

Referenced by oidc_ticket_issue_cb().

◆ tld

char* RequestHandle::tld

The tld for redirect.

Definition at line 481 of file plugin_rest_openid_connect.c.

Referenced by authorize_endpoint(), build_redirect(), cleanup_handle(), oidc_ticket_issue_cb(), and tld_iter().

◆ redirect_prefix

char* RequestHandle::redirect_prefix

The redirect prefix.

Definition at line 486 of file plugin_rest_openid_connect.c.

Referenced by build_redirect(), cleanup_handle(), lookup_redirect_uri_result(), and oidc_ticket_issue_cb().

◆ redirect_suffix

char* RequestHandle::redirect_suffix

The redirect suffix.

Definition at line 491 of file plugin_rest_openid_connect.c.

Referenced by build_redirect(), cleanup_handle(), lookup_redirect_uri_result(), and oidc_ticket_issue_cb().

◆ edesc

char* RequestHandle::edesc

◆ state [2/2]

enum HTTP_PUT_REQUEST_STATE RequestHandle::state

Current state of this request.

Definition at line 168 of file plugin_transport_http_client.c.

◆ easyhandle

CURL* RequestHandle::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(), client_run(), and client_schedule().


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