Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kList_Insert ( kList  list,
kListItem  before,
const void *  itemContent,
kListItem item 
)

Inserts an item into the list before the specified list item.

Increases list capacity, if necessary.

Parameters
listList object.
beforeItem will be inserted before this list node (if null, inserts at tail).
itemContentOptional pointer to item content that will be copied (by value) into the list.
itemOptionally receives pointer to newly-inserted item.
Returns
Operation status.