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

ndb_cif_get_item_value

NAME ndb_cif_get_item_value

PROTOTYPE

#include "cifparse.h"

int ndb_cif_get_item_value(const int colId,
                           char fieldValue[maxFieldLen],
                           const int maxFieldLen);
PURPOSE

ndb_cif_get_item_value copys the item value in the current row and column identified by colId into the buffer fieldValue, which must be of the fixed length maxFieldLen.

RECEIVES

colId identifies the column
fieldValue a fixed length buffer to hold the item value
maxFieldLen the length of the buffer fieldValue

RETURN VALUE

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

REMARKS

None



John Westbrook
10/10/1997