Previous: Testing for the existence of a column with a given name, Up: Testing for the existence of a column with a given name
Check whether /rdb header includes column "name".
#include <mst_rdb/mst_rdb.h>int rdb_is_column( rdbHeader const *hdr, char const *name );
rdbHeader const *hdr
- the rdb file description
char const *name
- header name sought
rdb_is_column compares the provided character string against the names of the /rdb columns.
The routine returns 1 if name is a column name, 0 otherwise.
Terry Gaetz