qdb_column_index()

Return a column's index

Synopsis:

#include <qdb/qdb.h>

int qdb_column_index( qdb_result_t *result,
                      const char *name );

Arguments:

result
A pointer to a result structure to check.
name
The name of the column to get the index number for.

Library:

qdb

Description:

This function returns the index for specified column name, name.

Returns:

>=0
The index of the specified column.
-1
An error occurred (errno is set).

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes