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

cifAddDataBlock

NAME cifAddDataBlock

PROTOTYPE

#include "ciflib.h"

int cifAddDataBlock(const char *dataBlockName, 
                    const char *dicDataBlockName)
PURPOSE

cifAddDataBlock creates a new data block and assigns a validation dictionary to the new block. The data block and the dictionary data block are identified by name.

RECEIVES

dataBlockName name of the new data block
dicDataBlockName name of the data block holding the validation dictionary

RETURN VALUE

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

REMARKS

See also: cifAddCategory
  cifAddItem



Olivera Tosic
6/17/2002