GNUnet 0.22.2
GNUNET_FS_MetaData Struct Reference

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

Collaboration diagram for GNUNET_FS_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 91 of file meta_data.c.

Field Documentation

◆ items_head

◆ items_tail

struct MetaItem* GNUNET_FS_MetaData::items_tail

◆ sbuf

char* GNUNET_FS_MetaData::sbuf

Complete serialized and compressed buffer of the items.

NULL if we have not computed that buffer yet.

Definition at line 107 of file meta_data.c.

Referenced by GNUNET_FS_meta_data_clear(), GNUNET_FS_meta_data_destroy(), GNUNET_FS_meta_data_get_serialized_size(), GNUNET_FS_meta_data_serialize(), and invalidate_sbuf().

◆ sbuf_size

size_t GNUNET_FS_MetaData::sbuf_size

Number of bytes in 'sbuf'.

0 if the buffer is stale.

Definition at line 112 of file meta_data.c.

Referenced by GNUNET_FS_meta_data_get_serialized_size(), GNUNET_FS_meta_data_serialize(), and invalidate_sbuf().

◆ item_count

unsigned int GNUNET_FS_MetaData::item_count

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