next up previous contents
Next: ndb_cif_get_datablock_id Up: Function Description Previous: ndb_cif_get_category_name_from_item_name

ndb_cif_get_item_keyword_from_item_name

NAME ndb_cif_get_item_keyword_from_item_name

PROTOTYPE

#include "cifparse.h"

int ndb_cif_get_item_keyword_from_item_name(CifHandle *cf,
                                            char itemKeyword[MxNameLen],
                                            const char * itemName);
PURPOSE

ndb_cif_get_item_keyword_from_item_name extracts the item keyword (column name) from the complete item name itemName in the CifHandle data structure specified by cf and stores the result in itemKeyword, which must be of the fixed length MxNameLen. Checks are made to ensure that the extraction leads to a valid item keyword.

RECEIVES

cf pointer to the CifHandle data structure
itemKeyword a fixed length string to hold the item keyword
itemName the name of the item from which the item keyword is to be extracted

RETURN VALUE

Returns the column's number or 0 upon failure.

REMARKS

See also: ndb_cif_get_category_name_from_item_name



Olivera Tosic
6/12/2002