next up previous contents
Next: ndb_cif_get_item_shname Up: Function Description Previous: ndb_cif_remove_item_keyword

ndb_cif_get_item_name

NAME ndb_cif_get_item_name

PROTOTYPE

#include "cifparse.h"

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

ndb_cif_get_item_name concatenates the current category name with the item keyword of the column 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_shname



Olivera Tosic
6/12/2002