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

ndb_cif_get_item_name

NAME ndb_cif_get_item_name

PROTOTYPE

#include "cifparse.h"

int ndb_cif_get_item_name(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 to return a CIF compliant item name stored in itemName, which must be of the fixed length MxNameLen.

RECEIVES

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 second argument.

REMARKS

None



John Westbrook
10/10/1997