odbx.h | odbx.h | |||
---|---|---|---|---|
skipping to change at line 76 | skipping to change at line 76 | |||
#define ODBX_DATALINK 0x50 | #define ODBX_DATALINK 0x50 | |||
#define ODBX_UNKNOWN 0xff | #define ODBX_UNKNOWN 0xff | |||
/* | /* | |||
* Extended capabilities supported by the backends | * Extended capabilities supported by the backends | |||
* 0x0000-0x00ff: Well known capabilities | * 0x0000-0x00ff: Well known capabilities | |||
*/ | */ | |||
#define ODBX_CAP_BASIC 0x0000 | #define ODBX_CAP_BASIC 0x0000 | |||
#define ODBX_CAP_CTYPE 0x0001 | ||||
/* | /* | |||
* ODBX error types | * ODBX error types | |||
*/ | */ | |||
#define ODBX_ERR_SUCCESS 0x00 | #define ODBX_ERR_SUCCESS 0x00 | |||
#define ODBX_ERR_BACKEND 0x01 | #define ODBX_ERR_BACKEND 0x01 | |||
#define ODBX_ERR_NOCAP 0x02 | #define ODBX_ERR_NOCAP 0x02 | |||
#define ODBX_ERR_PARAM 0x03 | #define ODBX_ERR_PARAM 0x03 | |||
#define ODBX_ERR_NOMEM 0x04 | #define ODBX_ERR_NOMEM 0x04 | |||
skipping to change at line 188 | skipping to change at line 189 | |||
unsigned long odbx_column_count( odbx_result_t* result ); | unsigned long odbx_column_count( odbx_result_t* result ); | |||
const char* odbx_column_name( odbx_result_t* result, unsigned long pos ); | const char* odbx_column_name( odbx_result_t* result, unsigned long pos ); | |||
int odbx_column_type( odbx_result_t* result, unsigned long pos ); | int odbx_column_type( odbx_result_t* result, unsigned long pos ); | |||
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 ); | ||||
/* | /* | |||
* 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 and 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 ); | |||
End of changes. 2 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||