next up previous contents
Next: cifAddItem Up: CIFLIB Schema Extension Functions Previous: cifAddDataBlock

cifAddCategory

NAME cifAddCategory

PROTOTYPE

#include "ciflib.h"

int cifAddCategory(const char *categoryName, 
                   const char *dataBlockName)
PURPOSE

cifAddCategory creates a new category in a data block. The data block and new category are both identified by name.

RECEIVES

categoryName name of the new category
dataBlockName name of the target data block

RETURN VALUE

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

REMARKS

See also: cifAddDataBlock
  cifAddItem



Olivera Tosic
6/17/2002