#include "cifparse.h"
int ndb_cif_item_value_strncmp(CifHandle *cf,
const int catId,
const int colId,
const int rowId,
const int startPos,
char fieldValue[maxFieldLen],
const int maxFieldLen);
ndb_cif_item_value_strncmp compares the item value in the CifHandle data stucture specified by cf in the category catId, in the column colId in the row rowId with the string specified by fieldValue ,which must be of the fixed length maxFieldLen. Starts at the position startPos in the row, and compares maxFiledLen charasters.
cf | pointer to the CifHandle data structure |
catId | identifies the category |
colId | identifies the column |
rowId | identifies the row |
startPos | number of the start position |
fieldValue | pointer to the string to be compared |
maxFieldLen | the length of the string fieldValue |
Returns 0 if the srings are equal, or nonzero value if aren't.
See also: | ndb_cif_item_values_strncmp |
---|