Difference between revisions of "OpenDBX/C API/odbx finish"

From Linuxnetworks
< OpenDBX‎ | C API
Jump to: navigation, search
(Errors:)
(header)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
  
  int odbx_finish(
+
'''#include <odbx.h>'''
     odbx_t* handle )  
+
 +
  int '''odbx_finish'''(
 +
     odbx_t* '''handle''' )  
  
 
= Description: =
 
= Description: =

Revision as of 00:09, 15 February 2007


#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:

Return values:

  • ODBX_ERR_SUCCESS on success
  • Less than zero if an error occured

Errors:

  • -ODBX_ERR_PARAM: Parameter is NULL or the structure is invalid

See also:



Back to Overview