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

ndb_cif_get_item_value

NAME ndb_cif_get_item_value

PROTOTYPE

#include "cifparse.h"

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

ndb_cif_get_item_value copies the item value in the current row and column identified by colId in the CifHandle data structure specified by cf into the buffer fieldValue, which must be of the fixed length maxFieldLen.

RECEIVES

cf pointer to the CifHandle data structure
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 third argument.

REMARKS

See also: ndb_cif_output_item
  ndb_cif_copy_item_value
  ndb_cif_get_item_value_length



Olivera Tosic
6/12/2002