OpenDBX/C API/odbx finish
From Linuxnetworks
#include <odbx.h> int odbx_finish( odbx_t* handle )
Description
Frees all resources allocated by odbx_init(). Be sure you invoked odbx_unbind() before to avoid memory leaks.
Parameters
- handle: Connection object created by odbx_init()
Return values
odbx_finish() returns ODBX_ERR_SUCCESS, or an error code whose value is less than zero if handle is invalid or one of the operations couldn't be completed successfully by the backend module. Possible error codes are listed in the error section and they can be feed to odbx_error() and odbx_error_type() to get further details.
Errors
- -ODBX_ERR_PARAM
- handle is NULL or the supplied connection object is invalid
See also
Back to Overview