|
|
static OPENDHT_PUBLIC bool | DEFAULT_STORE_POLICY (InfoHash, const std::shared_ptr< Value > &v, const InfoHash &, const SockAddr &) |
| static bool | DEFAULT_EDIT_POLICY (InfoHash, const std::shared_ptr< Value > &, std::shared_ptr< Value > &, const InfoHash &, const SockAddr &) |
|
| static OPENDHT_PUBLIC const ValueType | USER_DATA |
Definition at line 95 of file value.h.
◆ Id
| typedef uint16_t dht::ValueType::Id |
◆ ValueType() [1/3]
| dht::ValueType::ValueType |
( |
| ) |
|
|
inline |
◆ ValueType() [2/3]
| dht::ValueType::ValueType |
( |
Id | id, |
|
|
std::string | name, |
|
|
duration | e = DEFAULT_VALUE_EXPIRATION ) |
|
inline |
◆ ValueType() [3/3]
| dht::ValueType::ValueType |
( |
Id | id, |
|
|
std::string | name, |
|
|
duration | e, |
|
|
StorePolicy | sp, |
|
|
EditPolicy | ep = DEFAULT_EDIT_POLICY ) |
|
inline |
◆ ~ValueType()
| virtual dht::ValueType::~ValueType |
( |
| ) |
|
|
inlinevirtual |
◆ DEFAULT_EDIT_POLICY()
| bool dht::ValueType::DEFAULT_EDIT_POLICY |
( |
InfoHash | , |
|
|
const std::shared_ptr< Value > & | , |
|
|
std::shared_ptr< Value > & | , |
|
|
const InfoHash & | , |
|
|
const SockAddr & | ) |
|
inlinestatic |
◆ operator==()
| bool dht::ValueType::operator== |
( |
const ValueType & | o | ) |
|
|
inline |
◆ editPolicy
| EditPolicy dht::ValueType::editPolicy {DEFAULT_EDIT_POLICY} |
◆ expiration
| duration dht::ValueType::expiration {DEFAULT_VALUE_EXPIRATION} |
◆ id
| Id dht::ValueType::id {0} |
◆ name
| std::string dht::ValueType::name {} |
◆ storePolicy
| StorePolicy dht::ValueType::storePolicy {DEFAULT_STORE_POLICY} |
◆ USER_DATA
| OPENDHT_PUBLIC const ValueType dht::ValueType::USER_DATA |
|
static |
The documentation for this struct was generated from the following file:
- /home/noptrix/ba/blackarch/packages/opendht-c/src/opendht/include/opendht/value.h