FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kDataTree_ChildData ( kDataTree  tree,
kDataTreeItem  parent,
const kChar path,
kObject value,
kAlloc  allocator 
)

Gets child item content as a text value.

The data object returned by this function is a clone of the original; ownership of the cloned object is transferred to the caller. Call kObject_Dispose to free the cloned object.

Parameters
treeTree object.
parentParent item.
pathPath relative to the parent item.
valueReceives content as a data object.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.