Exemple #1
0
static bool read_pnode(bool &result, metadata::dhtnode_t &node, buffer_wrapper val) {
    if (!result)
	return false;
    if (val.size() != 0 && val.getValue(&node, true))
	return true;
    result = false;
    return false;
}
Exemple #2
0
 bool set_providers(metadata::query_t &key, buffer_wrapper val) {
     page_key = key;
     return val.size() != 0 && val.getValue(&providers, true);
 }
Exemple #3
0
static inline bool read_node(metadata::dhtnode_t &node, buffer_wrapper val) {
    return val.size() != 0 && val.getValue(&node, true);
}