SyncNodeComposite Struct Reference

A SyncNodeComposite object holds the necessary data for a sync tree node. More...

Data Fields

struct SyncBaseStructbase
SyncNodeKind kind
 kind bits
int rc
 reference count
int err
 any error saved here
unsigned leafCount
 leaf count (includes this node)
unsigned treeDepth
 max tree depth (includes this node)
unsigned byteCount
 byte count sum for child nodes (this node NOT included)
int refLen
 number of references
int refLim
 space allocated for references
struct SyncNodeElemrefs
 pointer to references array
struct ccn_charbufcb
 pointer to ccnb encoding
struct SyncLongHashStruct longHash
 space for accumulated hash
struct ccn_charbufhash
 combined hash (no tag, requires SyncEndComposite)
struct ccn_charbufminName
 minimum name
struct ccn_charbufmaxName
 maximum name
struct ccn_charbufcontent
 the signed content node (may be NULL)

Detailed Description

A SyncNodeComposite object holds the necessary data for a sync tree node.

It is the instantiated version, and there are routines for converting to and from the ccnb encoded version, which has a very different format than the type presented here.

This type may be used while building a new node from components, and it may be used for a node representation parsed from an external ccnb encoding.

Definition at line 69 of file SyncNode.h.


Field Documentation

Definition at line 70 of file SyncNode.h.

Referenced by SyncAllocComposite().

byte count sum for child nodes (this node NOT included)

Definition at line 76 of file SyncNode.h.

Referenced by formatStats(), SyncEndComposite(), SyncNodeAddNode(), SyncParseComposite(), and SyncResetComposite().

the signed content node (may be NULL)

Definition at line 86 of file SyncNode.h.

Referenced by SyncInterestArrived(), and SyncResetComposite().

any error saved here

Definition at line 73 of file SyncNode.h.

Referenced by SyncCheckCompErr(), SyncParseComposite(), SyncResetComposite(), SyncSetCompErr(), and testGenComposite().

combined hash (no tag, requires SyncEndComposite)

Definition at line 83 of file SyncNode.h.

Referenced by newNodeCommon(), nodeFromNodes(), printTreeInner(), SyncEndComposite(), SyncParseComposite(), and SyncResetComposite().

leaf count (includes this node)

Definition at line 74 of file SyncNode.h.

Referenced by formatStats(), printTreeInner(), SyncEndComposite(), SyncNodeAddName(), SyncNodeAddNode(), SyncParseComposite(), and SyncResetComposite().

reference count

Definition at line 72 of file SyncNode.h.

Referenced by SyncNodeDecRC(), SyncNodeIncRC(), and SyncResetComposite().

space allocated for references

Definition at line 79 of file SyncNode.h.

Referenced by SyncExtendComposite().

max tree depth (includes this node)

Definition at line 75 of file SyncNode.h.

Referenced by formatStats(), printTreeInner(), SyncEndComposite(), SyncNodeAddNode(), SyncParseComposite(), SyncResetComposite(), and UpdateAction().


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