colnumber - get column numbers
SYNOPSIS
#include "rdb.h"
int colnumber (col_ptrs, col_string, ncols)
char **col_ptrs;
char *col_string;
int ncols;
DESCRIPTION
colnumber
compares
col_string
with each of the
ncols
column names in the array
col_ptrs,
until the array is exhausted or
it finds a match.
RETURN VALUE
colnumber
returns the column position number the matching name or
-1 if a match is not found.