Information we keep for each keyword in a keyword search. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/fs_api.h>
Data Fields | |
struct GNUNET_HashCode | uquery |
Hash of the public key, also known as the query. More... | |
struct GNUNET_CRYPTO_EcdsaPublicKey | dpub |
Derived public key, hashes to 'uquery'. More... | |
char * | keyword |
The original keyword, used to derive the key (for decrypting the UBlock). More... | |
struct GNUNET_CONTAINER_MultiHashMap * | results |
Map that contains a "struct GNUNET_FS_SearchResult" for each result that was found under this keyword. More... | |
int | mandatory |
Is this keyword a mandatory keyword (started with '+')? More... | |
struct GNUNET_HashCode SearchRequestEntry::uquery |
Hash of the public key, also known as the query.
Definition at line 1476 of file fs_api.h.
Referenced by GNUNET_FS_search_start_searching_(), and schedule_transmit_search_request().
struct GNUNET_CRYPTO_EcdsaPublicKey SearchRequestEntry::dpub |
Derived public key, hashes to 'uquery'.
Definition at line 1481 of file fs_api.h.
Referenced by decrypt_block_with_keyword(), and GNUNET_FS_search_start_searching_().
char* SearchRequestEntry::keyword |
The original keyword, used to derive the key (for decrypting the UBlock).
Definition at line 1487 of file fs_api.h.
Referenced by decrypt_block_with_keyword(), GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_start_searching_(), and GNUNET_FS_search_stop().
struct GNUNET_CONTAINER_MultiHashMap* SearchRequestEntry::results |
Map that contains a "struct GNUNET_FS_SearchResult" for each result that was found under this keyword.
Note that the entries will point to the same locations as those in the master result map (in "struct GNUNET_FS_SearchContext"), so they should not be freed. The key for each entry is the XOR of the key and query in the CHK URI (as a unique identifier for the search result).
Definition at line 1497 of file fs_api.h.
Referenced by GNUNET_FS_search_signal_suspend_(), GNUNET_FS_search_start_searching_(), GNUNET_FS_search_stop(), process_ksk_result(), and update_sre_result_maps().
int SearchRequestEntry::mandatory |
Is this keyword a mandatory keyword (started with '+')?
Definition at line 1503 of file fs_api.h.
Referenced by GNUNET_FS_search_start_searching_(), and process_ksk_result().