ccn_btree_node Struct Reference

State associated with a btree node. More...

Data Fields

ccn_btnodeid nodeid
 Identity of node.
struct ccn_charbufbuf
 The internal buffer.
void * iodata
 Private use by ccn_btree_io methods.
ccn_btnodeid parent
 Parent node id; 0 if unknown.
unsigned clean
 Number of stable buffered bytes at front.
unsigned freelow
 Index of first unused byte of free space.
unsigned corrupt
 Structure is not to be trusted.
unsigned activity
 Meters use of the node.

Detailed Description

State associated with a btree node.

These usually live in the resident hashtb of a ccn_btree, but might be elsewhere (such as stack-allocated) in some cases.

Definition at line 97 of file btree.h.


Field Documentation

Meters use of the node.

Definition at line 105 of file btree.h.

Referenced by ccn_btree_getnode(), ccn_btree_prepare_for_update(), and r_store_index_cleaner().


The documentation for this struct was generated from the following file:
Generated on Tue Aug 21 14:55:01 2012 for Content-Centric Networking in C by  doxygen 1.6.3