Previous: Testing for the existence of a column with a given name, Up: Testing for the existence of a column with a given name


A.4.1 rdb_is_column

Check whether /rdb header includes column "name".

Synopsis

     #include <mst_rdb/mst_rdb.h>
     
     
     
int rdb_is_column( rdbHeader const *hdr, char const *name );

Parameters

rdbHeader const *hdr
the rdb file description
char const *name
header name sought

Description

rdb_is_column compares the provided character string against the names of the /rdb columns.

Returns

The routine returns 1 if name is a column name, 0 otherwise.

Author

Terry Gaetz