GNUnet  0.11.x
Data Fields
GNUNET_CONTAINER_MetaData Struct Reference

Meta data to associate with a file, directory or namespace. More...

Collaboration diagram for GNUNET_CONTAINER_MetaData:
[legend]

Data Fields

struct MetaItemitems_head
 Head of linked list of the meta data items. More...
 
struct MetaItemitems_tail
 Tail of linked list of the meta data items. More...
 
char * sbuf
 Complete serialized and compressed buffer of the items. More...
 
size_t sbuf_size
 Number of bytes in 'sbuf'. More...
 
unsigned int item_count
 Number of items in the linked list. More...
 

Detailed Description

Meta data to associate with a file, directory or namespace.

Definition at line 170 of file container_meta_data.c.

Field Documentation

◆ items_head

struct MetaItem* GNUNET_CONTAINER_MetaData::items_head

◆ items_tail

struct MetaItem* GNUNET_CONTAINER_MetaData::items_tail

◆ sbuf

char* GNUNET_CONTAINER_MetaData::sbuf

Complete serialized and compressed buffer of the items.

NULL if we have not computed that buffer yet.

Definition at line 186 of file container_meta_data.c.

Referenced by GNUNET_CONTAINER_meta_data_clear(), GNUNET_CONTAINER_meta_data_destroy(), GNUNET_CONTAINER_meta_data_get_serialized_size(), GNUNET_CONTAINER_meta_data_serialize(), and invalidate_sbuf().

◆ sbuf_size

size_t GNUNET_CONTAINER_MetaData::sbuf_size

Number of bytes in 'sbuf'.

0 if the buffer is stale.

Definition at line 191 of file container_meta_data.c.

Referenced by GNUNET_CONTAINER_meta_data_get_serialized_size(), GNUNET_CONTAINER_meta_data_serialize(), and invalidate_sbuf().

◆ item_count

unsigned int GNUNET_CONTAINER_MetaData::item_count

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