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 for.

Library:

qdb

Description:

This function returns the index for the column with the specified name in the specified result set.

Returns:

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

Classification:

QNX Neutrino

Safety:  
Interrupt handler No
Signal handler No
Thread Yes