The request handle. More...
Data Fields | |
struct RequestHandle * | next |
DLL. More... | |
struct RequestHandle * | prev |
DLL. More... | |
struct GNUNET_REST_RequestHandle * | rest_handle |
Handle to rest request. More... | |
GNUNET_REST_ResultProcessor | proc |
The plugin result processor. More... | |
void * | proc_cls |
The closure of the result processor. More... | |
int | response_code |
HTTP response code. More... | |
char * | url |
The URL. More... | |
struct GNUNET_GNS_LookupWithTldRequest * | gns_lookup |
Active GNS lookup. More... | |
char * | name |
Name to look up. More... | |
int | record_type |
Record type to look up. More... | |
struct GNUNET_TIME_Relative | timeout |
Desired timeout for the lookup (default is no timeout). More... | |
struct GNUNET_SCHEDULER_Task * | timeout_task |
ID of a task associated with the resolution process. More... | |
char * | emsg |
Error response message. 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_Operation * | op |
IDENTITY Operation. More... | |
enum GNUNET_ErrorCode | ec |
Error code. More... | |
unsigned int | success_code |
Success http status 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... | |
struct GNUNET_GNSRECORD_Data * | rd |
Records to store. More... | |
unsigned int | rd_count |
Number of records in rd. More... | |
struct GNUNET_NAMESTORE_RecordInfo * | ri |
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_QueueEntry * | ns_qe |
NAMESTORE Operation. More... | |
struct GNUNET_NAMESTORE_Handle * | nc |
For bulk import, we need a dedicated Namestore handle. More... | |
json_t * | resp_object |
Response object. More... | |
struct GNUNET_NAMESTORE_ZoneIterator * | list_it |
Handle to NAMESTORE it. More... | |
const struct GNUNET_CRYPTO_PrivateKey * | zone_pkey |
Private key for the zone. More... | |
struct EgoEntry * | ego_entry |
IDENTITY Operation. More... | |
struct GNUNET_CRYPTO_PrivateKey | priv_key |
Pointer to ego private key. More... | |
struct OIDC_Variables * | oidc |
OIDC variables. More... | |
struct GNUNET_GNS_LookupRequest * | gns_op |
GNS lookup op. More... | |
struct GNUNET_RECLAIM_AttributeList * | attr_idtoken_list |
Attribute claim list for id_token. More... | |
struct GNUNET_RECLAIM_AttributeList * | attr_userinfo_list |
Attribute claim list for userinfo. More... | |
struct GNUNET_RECLAIM_CredentialList * | credentials |
Credentials. More... | |
struct GNUNET_RECLAIM_PresentationList * | presentations |
Presentations. More... | |
struct GNUNET_RECLAIM_Operation * | idp_op |
Idp Operation. More... | |
struct GNUNET_SCHEDULER_Task * | consume_timeout_op |
Timeout task for consume. More... | |
struct GNUNET_RECLAIM_AttributeIterator * | attr_it |
Attribute iterator. More... | |
struct GNUNET_RECLAIM_CredentialIterator * | cred_it |
Credential iterator. More... | |
struct GNUNET_RECLAIM_TicketIterator * | ticket_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_AttributeList * | attr_list |
Attribute claim list. More... | |
The request handle.
Definition at line 46 of file config_plugin.c.
struct RequestHandle * RequestHandle::next |
DLL.
Definition at line 51 of file config_plugin.c.
struct RequestHandle * RequestHandle::prev |
DLL.
Definition at line 56 of file config_plugin.c.
struct GNUNET_REST_RequestHandle * RequestHandle::rest_handle |
GNUNET_REST_ResultProcessor RequestHandle::proc |
The plugin result processor.
Definition at line 66 of file config_plugin.c.
void * RequestHandle::proc_cls |
The closure of the result processor.
Definition at line 71 of file config_plugin.c.
int RequestHandle::response_code |
char * RequestHandle::url |
The URL.
The url.
Definition at line 81 of file config_plugin.c.
Referenced by namestore_add(), and namestore_update().
struct GNUNET_GNS_LookupWithTldRequest* RequestHandle::gns_lookup |
Active GNS lookup.
Definition at line 97 of file gns_plugin.c.
char * RequestHandle::name |
int RequestHandle::record_type |
Record type to look up.
Definition at line 107 of file gns_plugin.c.
struct GNUNET_TIME_Relative RequestHandle::timeout |
Desired timeout for the lookup (default is no timeout).
Definition at line 117 of file gns_plugin.c.
struct GNUNET_SCHEDULER_Task * RequestHandle::timeout_task |
ID of a task associated with the resolution process.
Definition at line 122 of file gns_plugin.c.
char * RequestHandle::emsg |
Error response message.
Definition at line 142 of file gns_plugin.c.
const char* RequestHandle::data |
The data from the REST request.
Definition at line 199 of file identity_plugin.c.
Referenced by typescriptdomain.TypeScriptDomain::objects(), httpdomain.httpdomain.HTTPDomain::resolve_xref(), and httpdomain.httpdomain.HTTPDomain::routes().
size_t RequestHandle::data_size |
the length of the REST data
Definition at line 209 of file identity_plugin.c.
struct GNUNET_IDENTITY_Operation * RequestHandle::op |
IDENTITY Operation.
Definition at line 214 of file identity_plugin.c.
enum GNUNET_ErrorCode RequestHandle::ec |
Error code.
Definition at line 249 of file identity_plugin.c.
Referenced by del_finished(), do_finished_create(), and import_next_cb().
unsigned int RequestHandle::success_code |
Success http status code.
Used to communicate happy path status codes to callbacks.
Definition at line 256 of file identity_plugin.c.
char* RequestHandle::record_name |
Records to store.
Definition at line 156 of file namestore_plugin.c.
uint32_t RequestHandle::record_type |
Record type filter.
Definition at line 161 of file namestore_plugin.c.
enum UpdateStrategy RequestHandle::update_strategy |
How to update the record set.
Definition at line 166 of file namestore_plugin.c.
struct GNUNET_GNSRECORD_Data* RequestHandle::rd |
Records to store.
Definition at line 171 of file namestore_plugin.c.
unsigned int RequestHandle::rd_count |
Number of records in rd.
Definition at line 176 of file namestore_plugin.c.
struct GNUNET_NAMESTORE_RecordInfo* RequestHandle::ri |
RecordInfo array.
Definition at line 181 of file namestore_plugin.c.
unsigned int RequestHandle::rd_set_count |
Size of record info.
Definition at line 186 of file namestore_plugin.c.
unsigned int RequestHandle::rd_set_pos |
Position of record info.
Definition at line 191 of file namestore_plugin.c.
struct GNUNET_NAMESTORE_QueueEntry* RequestHandle::ns_qe |
NAMESTORE Operation.
Definition at line 196 of file namestore_plugin.c.
struct GNUNET_NAMESTORE_Handle* RequestHandle::nc |
For bulk import, we need a dedicated Namestore handle.
Definition at line 201 of file namestore_plugin.c.
json_t * RequestHandle::resp_object |
Response object.
Definition at line 206 of file namestore_plugin.c.
struct GNUNET_NAMESTORE_ZoneIterator* RequestHandle::list_it |
Handle to NAMESTORE it.
Definition at line 212 of file namestore_plugin.c.
const struct GNUNET_CRYPTO_PrivateKey* RequestHandle::zone_pkey |
Private key for the zone.
Definition at line 217 of file namestore_plugin.c.
struct EgoEntry * RequestHandle::ego_entry |
IDENTITY Operation.
Selected ego.
Definition at line 222 of file namestore_plugin.c.
Referenced by ego_edit().
struct GNUNET_CRYPTO_PrivateKey RequestHandle::priv_key |
Pointer to ego private key.
Definition at line 444 of file openid_plugin.c.
struct OIDC_Variables* RequestHandle::oidc |
OIDC variables.
Definition at line 449 of file openid_plugin.c.
struct GNUNET_GNS_LookupRequest* RequestHandle::gns_op |
GNS lookup op.
Definition at line 454 of file openid_plugin.c.
struct GNUNET_RECLAIM_AttributeList* RequestHandle::attr_idtoken_list |
Attribute claim list for id_token.
Definition at line 464 of file openid_plugin.c.
struct GNUNET_RECLAIM_AttributeList* RequestHandle::attr_userinfo_list |
Attribute claim list for userinfo.
Definition at line 469 of file openid_plugin.c.
struct GNUNET_RECLAIM_CredentialList* RequestHandle::credentials |
Credentials.
Definition at line 474 of file openid_plugin.c.
struct GNUNET_RECLAIM_PresentationList* RequestHandle::presentations |
Presentations.
Definition at line 479 of file openid_plugin.c.
struct GNUNET_RECLAIM_Operation * RequestHandle::idp_op |
Idp Operation.
Definition at line 490 of file openid_plugin.c.
struct GNUNET_SCHEDULER_Task* RequestHandle::consume_timeout_op |
Timeout task for consume.
Definition at line 495 of file openid_plugin.c.
struct GNUNET_RECLAIM_AttributeIterator * RequestHandle::attr_it |
Attribute iterator.
Definition at line 500 of file openid_plugin.c.
struct GNUNET_RECLAIM_CredentialIterator * RequestHandle::cred_it |
struct GNUNET_RECLAIM_TicketIterator * RequestHandle::ticket_it |
Ticket iterator.
Definition at line 511 of file openid_plugin.c.
struct GNUNET_RECLAIM_Ticket RequestHandle::ticket |
A ticket.
Definition at line 516 of file openid_plugin.c.
char* RequestHandle::access_token |
The passed access token.
Definition at line 546 of file openid_plugin.c.
char* RequestHandle::tld |
The tld for redirect.
Definition at line 551 of file openid_plugin.c.
char* RequestHandle::redirect_prefix |
The redirect prefix.
Definition at line 556 of file openid_plugin.c.
char* RequestHandle::redirect_suffix |
The redirect suffix.
Definition at line 561 of file openid_plugin.c.
char* RequestHandle::edesc |
Error response description.
Definition at line 571 of file openid_plugin.c.
int RequestHandle::public_client |
Public client.
Definition at line 581 of file openid_plugin.c.
struct GNUNET_RECLAIM_AttributeList* RequestHandle::attr_list |
Attribute claim list.
Definition at line 188 of file reclaim_plugin.c.