GNUnet 0.22.2
WorkItem Struct Reference

Item in our work queue (or in the set of files/directories we have successfully published). More...

Collaboration diagram for WorkItem:
[legend]

Data Fields

struct WorkItemprev
 PENDING Work is kept in a linked list. More...
 
struct WorkItemnext
 PENDING Work is kept in a linked list. More...
 
char * filename
 Filename of the work item. More...
 
struct GNUNET_HashCode id
 Unique identity for this work item (used to detect if we need to do the work again). More...
 

Detailed Description

Item in our work queue (or in the set of files/directories we have successfully published).

Definition at line 41 of file gnunet-auto-share.c.

Field Documentation

◆ prev

struct WorkItem* WorkItem::prev

PENDING Work is kept in a linked list.

Definition at line 46 of file gnunet-auto-share.c.

◆ next

struct WorkItem* WorkItem::next

PENDING Work is kept in a linked list.

Definition at line 51 of file gnunet-auto-share.c.

◆ filename

char* WorkItem::filename

Filename of the work item.

Definition at line 56 of file gnunet-auto-share.c.

Referenced by add_file(), free_item(), load_state(), main(), maint_child_death(), work(), and write_item().

◆ id

struct GNUNET_HashCode WorkItem::id

Unique identity for this work item (used to detect if we need to do the work again).

Definition at line 62 of file gnunet-auto-share.c.

Referenced by add_file(), load_state(), and write_item().


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