GNUnet 0.24.4-talerdev.1-26-g056a24676
 
Loading...
Searching...
No Matches
Job Struct Reference

Request we should make. More...

Collaboration diagram for Job:
[legend]

Data Fields

struct GNUNET_CONTAINER_HeapNodehn
 Requests are kept in a heap while waiting to be resolved.
 
struct Jobnext
 Active requests are kept in a DLL.
 
struct Jobprev
 Active requests are kept in a DLL.
 
struct Recordrec_head
 Head of records that should be published in GNS for this hostname.
 
struct Recordrec_tail
 Tail of records that should be published in GNS for this hostname.
 
char label [GNUNET_DNSPARSER_MAX_NAME_LENGTH]
 Hostname we are resolving.
 
struct GNUNET_NAMESTORE_QueueEntryqe
 Namestore operation pending for this record.
 
const struct Zonezone
 Zone responsible for this request.
 
struct GNUNET_TIME_Absolute expires
 At what time does the (earliest) of the returned records for this name expire? At this point, we need to re-fetch the record.
 
struct GNUNET_TIME_Absolute op_start_time
 While we are fetching the record, the value is set to the starting time of the DNS operation.
 
struct GNUNET_GNSRECORD_Datard
 
uint32_t rd_count
 

Detailed Description

Request we should make.

We keep this struct in memory per request, thus optimizing it is crucial for the overall memory consumption of the zonefile importer.

Definition at line 128 of file gnunet-namestore-zonefile.c.

Field Documentation

◆ hn

struct GNUNET_CONTAINER_HeapNode* Job::hn

Requests are kept in a heap while waiting to be resolved.

Definition at line 133 of file gnunet-namestore-zonefile.c.

◆ next

struct Job* Job::next

Active requests are kept in a DLL.

Definition at line 138 of file gnunet-namestore-zonefile.c.

◆ prev

struct Job* Job::prev

Active requests are kept in a DLL.

Definition at line 143 of file gnunet-namestore-zonefile.c.

◆ rec_head

struct Record* Job::rec_head

Head of records that should be published in GNS for this hostname.

Definition at line 149 of file gnunet-namestore-zonefile.c.

◆ rec_tail

struct Record* Job::rec_tail

Tail of records that should be published in GNS for this hostname.

Definition at line 155 of file gnunet-namestore-zonefile.c.

◆ label

Hostname we are resolving.

Definition at line 160 of file gnunet-namestore-zonefile.c.

◆ qe

struct GNUNET_NAMESTORE_QueueEntry* Job::qe

Namestore operation pending for this record.

Definition at line 165 of file gnunet-namestore-zonefile.c.

◆ zone

const struct Zone* Job::zone

Zone responsible for this request.

Definition at line 170 of file gnunet-namestore-zonefile.c.

◆ expires

struct GNUNET_TIME_Absolute Job::expires

At what time does the (earliest) of the returned records for this name expire? At this point, we need to re-fetch the record.

Definition at line 177 of file gnunet-namestore-zonefile.c.

◆ op_start_time

struct GNUNET_TIME_Absolute Job::op_start_time

While we are fetching the record, the value is set to the starting time of the DNS operation.

While doing a NAMESTORE store, again set to the start time of the NAMESTORE operation.

Definition at line 185 of file gnunet-namestore-zonefile.c.

◆ rd

struct GNUNET_GNSRECORD_Data* Job::rd

Definition at line 188 of file gnunet-namestore-zonefile.c.

◆ rd_count

uint32_t Job::rd_count

Definition at line 191 of file gnunet-namestore-zonefile.c.


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