OpenDBX/C API/odbx unbind

From Linuxnetworks
< OpenDBX‎ | C API
Revision as of 19:27, 1 October 2005 by Nose (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


int odbx_unbind(
    odbx_t* handle ) 

Description:

Releases the binding of a database and a user to a connection. This is useful for switching to another database or binding to the database as a different user. It is also possible to set new connection related options before rebinding to the database server.

Parameters:

  • handle: Connection object created by odbx_init()

Return values:

  • Zero on success
  • Non-zero if an error occured

Errors:

  • -ODBX_ERR_PARAM: Parameter or its content is invalid



Back to Overview