Meta data to associate with a file, directory or namespace. More...
Data Fields | |
struct MetaItem * | items_head |
Head of linked list of the meta data items. More... | |
struct MetaItem * | items_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... | |
Meta data to associate with a file, directory or namespace.
Definition at line 91 of file meta_data.c.
struct MetaItem* GNUNET_FS_MetaData::items_head |
Head of linked list of the meta data items.
Definition at line 96 of file meta_data.c.
Referenced by GNUNET_FS_meta_data_clear(), GNUNET_FS_meta_data_delete(), GNUNET_FS_meta_data_destroy(), GNUNET_FS_meta_data_get_by_type(), GNUNET_FS_meta_data_get_thumbnail(), GNUNET_FS_meta_data_insert(), GNUNET_FS_meta_data_iterate(), GNUNET_FS_meta_data_serialize(), and GNUNET_FS_meta_data_test_equal().
struct MetaItem* GNUNET_FS_MetaData::items_tail |
Tail of linked list of the meta data items.
Definition at line 101 of file meta_data.c.
Referenced by GNUNET_FS_meta_data_clear(), GNUNET_FS_meta_data_delete(), GNUNET_FS_meta_data_destroy(), GNUNET_FS_meta_data_duplicate(), GNUNET_FS_meta_data_insert(), and GNUNET_FS_meta_data_serialize().
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().
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().
unsigned int GNUNET_FS_MetaData::item_count |
Number of items in the linked list.
Definition at line 117 of file meta_data.c.
Referenced by GNUNET_FS_meta_data_delete(), GNUNET_FS_meta_data_insert(), GNUNET_FS_meta_data_iterate(), GNUNET_FS_meta_data_serialize(), and GNUNET_FS_meta_data_test_equal().