odbx.h | odbx.h | |||
---|---|---|---|---|
skipping to change at line 162 | skipping to change at line 162 | |||
int odbx_unbind( odbx_t* handle ); | int odbx_unbind( odbx_t* handle ); | |||
int odbx_finish( odbx_t* handle ); | int odbx_finish( odbx_t* handle ); | |||
int odbx_capabilities( odbx_t* handle, unsigned int cap ); | int odbx_capabilities( odbx_t* handle, unsigned int cap ); | |||
int odbx_get_option( odbx_t* handle, unsigned int option, void* value ); | int odbx_get_option( odbx_t* handle, unsigned int option, void* value ); | |||
int odbx_set_option( odbx_t* handle, unsigned int option, void* value ); | int odbx_set_option( odbx_t* handle, unsigned int option, void* value ); | |||
const char* odbx_error( odbx_t* handle, int error ); | const char* odbx_error( odbx_t* handle, int errno ); | |||
int odbx_error_type( odbx_t* handle, int errno ); | ||||
int odbx_escape( odbx_t* handle, const char* from, unsigned long fromlen, c har* to, unsigned long* tolen ); | int odbx_escape( odbx_t* handle, const char* from, unsigned long fromlen, c har* to, unsigned long* tolen ); | |||
int odbx_query( odbx_t* handle, const char* query, unsigned long length ); | int odbx_query( odbx_t* handle, const char* query, unsigned long length ); | |||
int odbx_result( odbx_t* handle, odbx_result_t** result, struct timeval* ti meout, unsigned long chunk ); | int odbx_result( odbx_t* handle, odbx_result_t** result, struct timeval* ti meout, unsigned long chunk ); | |||
void odbx_result_free( odbx_result_t* result ); | void odbx_result_free( odbx_result_t* result ); | |||
int odbx_row_fetch( odbx_result_t* result ); | int odbx_row_fetch( odbx_result_t* result ); | |||
skipping to change at line 192 | skipping to change at line 194 | |||
unsigned long odbx_field_length( odbx_result_t* result, unsigned long pos ) ; | unsigned long odbx_field_length( odbx_result_t* result, unsigned long pos ) ; | |||
const char* odbx_field_value( odbx_result_t* result, unsigned long pos ); | const char* odbx_field_value( odbx_result_t* result, unsigned long pos ); | |||
int odbx_field_bind( odbx_result_t* result, unsigned long pos, int type, vo id* buffer, unsigned long* buflen ); | int odbx_field_bind( odbx_result_t* result, unsigned long pos, int type, vo id* buffer, unsigned long* buflen ); | |||
/* | /* | |||
* Depricated functions | * Depricated functions | |||
* | * | |||
* They won't be available in version 2.0 any more | * They won't be available in version 2.0 any more | |||
* Please don't use or replace them in your code | * Please don't use and replace them in your code | |||
*/ | */ | |||
#ifdef ODBX_DEPRICATED | #ifdef ODBX_DEPRICATED | |||
int odbx_bind_simple( odbx_t* handle, const char* database, const char* use rname, const char* password ); | int odbx_bind_simple( odbx_t* handle, const char* database, const char* use rname, const char* password ); | |||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 4 lines changed or added | |||