GNUnet  0.11.x
Data Fields
IndexInfo Struct Reference

In-memory information about indexed files (also available on-disk). More...

Collaboration diagram for IndexInfo:
[legend]

Data Fields

struct IndexInfonext
 This is a doubly linked list. More...
 
struct IndexInfoprev
 This is a doubly linked list. More...
 
const char * filename
 Name of the indexed file. More...
 
struct GNUNET_SERVER_TransmitContext * tc
 Context for transmitting confirmation to client, NULL if we've done this already. More...
 
struct GNUNET_CRYPTO_FileHashContextfhc
 Context for hashing of the file. More...
 
struct GNUNET_HashCode file_id
 Hash of the contents of the file. More...
 

Detailed Description

In-memory information about indexed files (also available on-disk).

Definition at line 42 of file gnunet-service-fs_indexing.c.

Field Documentation

◆ next

struct IndexInfo* IndexInfo::next

This is a doubly linked list.

Definition at line 47 of file gnunet-service-fs_indexing.c.

Referenced by GNUNET_FS_indexing_do_unindex(), GNUNET_FS_indexing_send_list(), and write_index_list().

◆ prev

struct IndexInfo* IndexInfo::prev

This is a doubly linked list.

Definition at line 52 of file gnunet-service-fs_indexing.c.

◆ filename

const char* IndexInfo::filename

Name of the indexed file.

Memory allocated at the end of this struct (do not free).

Definition at line 58 of file gnunet-service-fs_indexing.c.

Referenced by GNUNET_FS_add_to_index(), GNUNET_FS_handle_on_demand_block(), GNUNET_FS_indexing_send_list(), read_index_list(), and write_index_list().

◆ tc

struct GNUNET_SERVER_TransmitContext* IndexInfo::tc

Context for transmitting confirmation to client, NULL if we've done this already.

Definition at line 64 of file gnunet-service-fs_indexing.c.

◆ fhc

struct GNUNET_CRYPTO_FileHashContext* IndexInfo::fhc

Context for hashing of the file.

Definition at line 69 of file gnunet-service-fs_indexing.c.

Referenced by GNUNET_FS_indexing_done().

◆ file_id

struct GNUNET_HashCode IndexInfo::file_id

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