#include "cifparse.h"
int ndb_cif_get_item_keyword_from_item_name(CifHandle *cf,
char itemKeyword[MxNameLen],
const char * itemName);
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.
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 |
Returns the column's number or 0 upon failure.
See also: | ndb_cif_get_category_name_from_item_name |
---|