GNUnet 0.21.0
GNUNET_FS_UnindexContext Struct Reference

Handle for controlling an unindexing operation. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/fs_api.h>

Collaboration diagram for GNUNET_FS_UnindexContext:
[legend]

Data Fields

struct ContentHashKey chk
 The content hash key of the last block we processed, will in the end be set to the CHK from the URI. More...
 
struct GNUNET_FS_Handleh
 Global FS context. More...
 
struct TopLevelActivitytop
 Our top-level activity entry. More...
 
struct GNUNET_FS_DirScannerdscan
 Directory scanner to find keywords (KBlock removal). More...
 
struct GNUNET_FS_Uriksk_uri
 Keywords found (telling us which KBlocks to remove). More...
 
uint32_t ksk_offset
 Current offset in KSK removal. More...
 
char * filename
 Name of the file that we are unindexing. More...
 
char * serialization
 Short name under which we are serializing the state of this operation. More...
 
struct GNUNET_MQ_Handlemq
 Connection to the FS service, only valid during the UNINDEX_STATE_FS_NOTIFY phase. More...
 
struct GNUNET_DATASTORE_Handledsh
 Connection to the datastore service, only valid during the UNINDEX_STATE_DS_NOTIFY phase. More...
 
void * client_info
 Pointer kept for the client. More...
 
struct GNUNET_FS_TreeEncodertc
 Merkle-ish tree encoder context. More...
 
struct GNUNET_DISK_FileHandlefh
 Handle used to read the file. More...
 
struct GNUNET_DATASTORE_QueueEntrydqe
 Handle to datastore 'get_key' operation issued for obtaining KBlocks. More...
 
struct GNUNET_HashCode ukey
 Current key for decrypting UBLocks from 'get_key' operation. More...
 
struct GNUNET_HashCode uquery
 Current query of 'get_key' operation. More...
 
char * emsg
 Error message, NULL on success. More...
 
struct GNUNET_CRYPTO_FileHashContextfhc
 Context for hashing of the file. More...
 
uint64_t file_size
 Overall size of the file. More...
 
struct GNUNET_TIME_Absolute start_time
 When did we start? More...
 
struct GNUNET_HashCode file_id
 Hash of the file's contents (once computed). More...
 
enum UnindexState state
 Current operatinonal phase. More...
 

Detailed Description

Handle for controlling an unindexing operation.

Definition at line 1350 of file fs_api.h.

Field Documentation

◆ chk

struct ContentHashKey GNUNET_FS_UnindexContext::chk

The content hash key of the last block we processed, will in the end be set to the CHK from the URI.

Used to remove the KBlocks.

Definition at line 1356 of file fs_api.h.

Referenced by deserialize_unindex_file(), GNUNET_FS_unindex_sync_(), process_kblock_for_unindex(), and unindex_process().

◆ h

◆ top

struct TopLevelActivity* GNUNET_FS_UnindexContext::top

Our top-level activity entry.

Definition at line 1366 of file fs_api.h.

Referenced by deserialize_unindex_file(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_start(), and GNUNET_FS_unindex_stop().

◆ dscan

struct GNUNET_FS_DirScanner* GNUNET_FS_UnindexContext::dscan

Directory scanner to find keywords (KBlock removal).

Definition at line 1371 of file fs_api.h.

Referenced by GNUNET_FS_unindex_do_extract_keywords_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), and unindex_directory_scan_cb().

◆ ksk_uri

struct GNUNET_FS_Uri* GNUNET_FS_UnindexContext::ksk_uri

◆ ksk_offset

uint32_t GNUNET_FS_UnindexContext::ksk_offset

◆ filename

◆ serialization

char* GNUNET_FS_UnindexContext::serialization

Short name under which we are serializing the state of this operation.

Definition at line 1391 of file fs_api.h.

Referenced by deserialize_unindex_file(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), and GNUNET_FS_unindex_sync_().

◆ mq

struct GNUNET_MQ_Handle* GNUNET_FS_UnindexContext::mq

Connection to the FS service, only valid during the UNINDEX_STATE_FS_NOTIFY phase.

Definition at line 1397 of file fs_api.h.

Referenced by GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), handle_unindex_response(), unindex_finish(), and unindex_mq_error_handler().

◆ dsh

struct GNUNET_DATASTORE_Handle* GNUNET_FS_UnindexContext::dsh

Connection to the datastore service, only valid during the UNINDEX_STATE_DS_NOTIFY phase.

Definition at line 1403 of file fs_api.h.

Referenced by GNUNET_FS_unindex_do_remove_(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), process_kblock_for_unindex(), unindex_finish(), and unindex_process().

◆ client_info

void* GNUNET_FS_UnindexContext::client_info

Pointer kept for the client.

Definition at line 1408 of file fs_api.h.

Referenced by GNUNET_FS_unindex_make_status_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_start(), and GNUNET_FS_unindex_stop().

◆ tc

struct GNUNET_FS_TreeEncoder* GNUNET_FS_UnindexContext::tc

Merkle-ish tree encoder context.

Definition at line 1413 of file fs_api.h.

Referenced by GNUNET_FS_unindex_do_remove_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), process_cont(), and unindex_finish().

◆ fh

struct GNUNET_DISK_FileHandle* GNUNET_FS_UnindexContext::fh

Handle used to read the file.

Definition at line 1418 of file fs_api.h.

Referenced by GNUNET_FS_unindex_do_remove_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), unindex_finish(), and unindex_reader().

◆ dqe

struct GNUNET_DATASTORE_QueueEntry* GNUNET_FS_UnindexContext::dqe

Handle to datastore 'get_key' operation issued for obtaining KBlocks.

Definition at line 1424 of file fs_api.h.

Referenced by continue_after_remove(), GNUNET_FS_unindex_do_remove_kblocks_(), GNUNET_FS_unindex_signal_suspend_(), GNUNET_FS_unindex_stop(), and process_kblock_for_unindex().

◆ ukey

struct GNUNET_HashCode GNUNET_FS_UnindexContext::ukey

Current key for decrypting UBLocks from 'get_key' operation.

Definition at line 1429 of file fs_api.h.

◆ uquery

struct GNUNET_HashCode GNUNET_FS_UnindexContext::uquery

Current query of 'get_key' operation.

Definition at line 1434 of file fs_api.h.

Referenced by GNUNET_FS_unindex_do_remove_kblocks_(), and process_kblock_for_unindex().

◆ emsg

◆ fhc

◆ file_size

◆ start_time

struct GNUNET_TIME_Absolute GNUNET_FS_UnindexContext::start_time

◆ file_id

struct GNUNET_HashCode GNUNET_FS_UnindexContext::file_id

Hash of the file's contents (once computed).

Definition at line 1459 of file fs_api.h.

Referenced by deserialize_unindex_file(), GNUNET_FS_unindex_process_hash_(), GNUNET_FS_unindex_sync_(), unindex_finish(), and unindex_process().

◆ state


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