Difference between revisions of "OpenDBX/C API/odbx column name"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
(Description:)
(Parameters:)
Line 11: Line 11:
 
= Parameters: =
 
= Parameters: =
  
* result: Object created by odbx_result()
+
* result: Pointer to object created by [[OpenDBX_result|odbx_result()]]
* pos: Column number in the current result set
+
* pos: Column number within the current result set
  
 
= Return values: =
 
= Return values: =

Revision as of 13:00, 5 June 2006


char* odbx_column_name(
   odbx_result_t* result,
   unsigned long pos )

Description:

Returns the name of the column specified by "pos" in the current result set returned by odbx_result(). The value of "pos" must be in the range from 0 to odbx_column_count()-1.

Parameters:

  • result: Pointer to object created by odbx_result()
  • pos: Column number within the current result set

Return values:

  • Name of the column on success
  • NULL if an error occured

Errors:

  • None



Back to Overview