Message sent from a GNUnet (fs) search activity to the gnunet-service-fs to start a search. More...
#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/fs/fs.h>
Data Fields | |
struct GNUNET_MessageHeader | header |
Message type will be GNUNET_MESSAGE_TYPE_FS_START_SEARCH. More... | |
uint32_t | options |
Bitmask with options. More... | |
uint32_t | type |
Type of the content that we're looking for. More... | |
uint32_t | anonymity_level |
Desired anonymity level, big-endian. More... | |
struct GNUNET_PeerIdentity | target |
If the request is for a DBLOCK or IBLOCK, this is the identity of the peer that is known to have a response. More... | |
struct GNUNET_HashCode | query |
Hash of the public key for UBLOCKs; Hash of the CHK-encoded block for DBLOCKS and IBLOCKS. More... | |
Message sent from a GNUnet (fs) search activity to the gnunet-service-fs to start a search.
struct GNUNET_MessageHeader SearchMessage::header |
Message type will be GNUNET_MESSAGE_TYPE_FS_START_SEARCH.
Definition at line 274 of file fs.h.
Referenced by check_client_start_search(), and handle_client_start_search().
uint32_t SearchMessage::options |
Bitmask with options.
Zero for no options, one for loopback-only, two for 'to be continued' (with a second search message for the same type/query/target and additional already-known results following this one). See SEARCH_MESSAGE_OPTION_ defines.
Other bits are currently not defined.
Definition at line 285 of file fs.h.
Referenced by httpdomain.httpdomain.HTTPResource::add_target_and_index(), httpdomain.autohttp.flask_base.AutoflaskBase::blueprints(), httpdomain.autohttp.bottle.AutobottleDirective::endpoints(), httpdomain.autohttp.flask_base.AutoflaskBase::endpoints(), httpdomain.autohttp.tornado.AutoTornadoDirective::endpoints(), handle_client_start_search(), httpdomain.autohttp.bottle.AutobottleDirective::make_rst(), httpdomain.autohttp.tornado.AutoTornadoDirective::make_rst(), httpdomain.autohttp.flask_base.AutoflaskBase::make_rst(), httpdomain.autohttp.flask_base.AutoflaskBase::modules(), httpdomain.autohttp.flask_base.AutoflaskBase::order(), retry_entry(), typescriptdomain.TypeScriptDefinition::run(), schedule_transmit_search_request(), httpdomain.autohttp.flask_base.AutoflaskBase::undoc_blueprints(), httpdomain.autohttp.bottle.AutobottleDirective::undoc_endpoints(), httpdomain.autohttp.flask_base.AutoflaskBase::undoc_endpoints(), httpdomain.autohttp.tornado.AutoTornadoDirective::undoc_endpoints(), and httpdomain.autohttp.flask_base.AutoflaskBase::undoc_modules().
uint32_t SearchMessage::type |
Type of the content that we're looking for.
Definition at line 290 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().
uint32_t SearchMessage::anonymity_level |
Desired anonymity level, big-endian.
Definition at line 295 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().
struct GNUNET_PeerIdentity SearchMessage::target |
If the request is for a DBLOCK or IBLOCK, this is the identity of the peer that is known to have a response.
Set to all-zeros if such a target is not known (note that even if OUR anonymity level is >0 we may happen to know the responder's identity; nevertheless, we should probably not use it for a DHT-lookup or similar blunt actions in order to avoid exposing ourselves).
Otherwise, "target" must be all zeros.
Definition at line 307 of file fs.h.
Referenced by handle_client_start_search(), retry_entry(), and schedule_transmit_search_request().
struct GNUNET_HashCode SearchMessage::query |
Hash of the public key for UBLOCKs; Hash of the CHK-encoded block for DBLOCKS and IBLOCKS.
Definition at line 313 of file fs.h.
Referenced by gnunet-chk.Chk::__init__(), handle_client_start_search(), retry_entry(), schedule_transmit_search_request(), and gnunet-chk.Chk::uri().