next up previous contents
Next: CIFLIB Error Handling and Up: CIFLIB Schema Extension Functions Previous: cifAddCategory

cifAddItem

NAME cifAddItem

PROTOTYPE

#include "ciflib.h"

int cifAddItem(const char *itemKeyword,
               const char *categoryName, 
               const char *dataBlockName)
PURPOSE

cifAddItem creates a new data item in a category. The target data block and category are both identified by name.

RECEIVES

itemKeyword name of the new item within the target category
categoryName name of the target category
dataBlockName name of the target data block

RETURN VALUE

Returns the index of the new item in the target category or a value of -1 for failure.

REMARKS

See also: cifAddDataBlock
  cifAddCategory



Olivera Tosic
6/17/2002