#include <dht/store_data.h>
Inheritance diagram for dht::store_data:
Public Member Functions | |
bool | allow_hash_transform () const |
void | allow_hash_transform (bool a) |
Friends | |
class | key |
class | value |
Common base class to key and value types, not used by itself.
Same as basic_data, but has an extra parameter flag which is used by dht::client implementations to determine if the passed key & value must be taken literally or if a one way hash can be performed on them to squeeze the data into something that fits into the DHT.
bool dht::store_data::allow_hash_transform | ( | ) | const [inline] |
void dht::store_data::allow_hash_transform | ( | bool | a | ) | [inline] |
a | if true, hash transformations allowed. |