FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kDataTree_Insert ( kDataTree  tree,
kDataTreeItem  parent,
kDataTreeItem  before,
const kChar name,
kDataTreeItem item 
)

Inserts a new item before the specified sibling node.

Parameters
treeTree object.
parentParent item, or kNULL to insert a root node.
beforeSibling item, or kNULL to insert at end of specified parent's child list.
nameName of the new item.
itemDestination for the item handle.
Returns
Operation status.