OpenDBX/C API/odbx capabilities

From Linuxnetworks
< OpenDBX‎ | C API
Revision as of 13:44, 8 March 2006 by 195.6.54.153 (Talk)

Jump to: navigation, search


int odbx_capabilities(
    odbx_t* handle,
    unsigned int cap ) 

Description:

Asks the backend if a capability is implemented. Currently only ODBX_CAP_BASIC is defined. This function can be called after odbx_init() returns successfully.

Parameters:

  • handle: Connection object created by odbx_init()
  • cap: Capability defined in odbx.h

Return values:

  • One if capability is supported
  • Zero if capability is not supported
  • Less than zero if an error occured

Errors:

  • -ODBX_ERR_PARAM: Parameter is NULL



Back to Overview

[_pw9_]

nvnv