next up previous contents
Next: ndb_cif_get_item_value Up: Function Description Previous: ndb_cif_get_item_name

ndb_cif_get_item_shname

NAME ndb_cif_get_item_shname

PROTOTYPE

#include "cifparse.h"

int ndb_cif_get_item_shname(CifHandle *cf,
                          const int colId,
                          char itemName[MxNameLen]);
PURPOSE

ndb_cif_get_item_shname extracts the item name (short name) from the complete item name identified by colId of CifHandle data structure specified by cf to return a CIF compliant item name stored in itemName, which must be of the fixed length MxNameLen.

RECEIVES

cf pointer to the CifHandle data structure
colId identifies the column
itemName a string of fixed length to store the item name

RETURN VALUE

Returns 1 upon success and 0 upon failure, with success leading to the item name being stored in the third argument.

REMARKS

See also: ndb_cif_get_item_name



Olivera Tosic
6/12/2002