next up previous contents
Next: cifGetCategoryKeys Up: CIFLIB Category Access Functions Previous: cifGetCategoryNamesByIndex

cifGetCategoryIndex

NAME cifGetCategoryIndex

PROTOTYPE

#include "ciflib.h"

int cifGetCategoryIndex(const char *datablockName, 
                        const char *categoryName)
PURPOSE

cifGetCategoryIndex returns the category index of the target category within the target datablock. Both the category and data block are identified by name.

RECEIVES

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

RETURN VALUE

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

REMARKS

None



Olivera Tosic
6/17/2002