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
#define ODBX_ERR_TOOLONG 0x05 #define ODBX_ERR_SIZE 0x05
#define ODBX_ERR_NOTEXIST 0x06 #define ODBX_ERR_NOTEXIST 0x06
#define ODBX_ERR_NOOP 0x07 #define ODBX_ERR_NOOP 0x07
#define ODBX_ERR_OPTION 0x08 #define ODBX_ERR_OPTION 0x08
#define ODBX_ERR_OPTRO 0x09 #define ODBX_ERR_OPTRO 0x09
#define ODBX_ERR_OPTWR 0x0a #define ODBX_ERR_OPTWR 0x0a
#define ODBX_ERR_RESULT 0x0b #define ODBX_ERR_RESULT 0x0b
#define ODBX_ERR_TOOSHORT 0x0c #define ODBX_ERR_NOTSUP 0x0c
#define ODBX_ERR_VALUE 0x0d
#define ODBX_ERR_NOTSUP 0x0e
#define ODBX_MAX_ERRNO 0x0e #define ODBX_MAX_ERRNO 0x0c
#define ODBX_ERR_TOOLONG ODBX_ERR_SIZE
/* /*
* ODBX bind type * ODBX bind type
*/ */
#define ODBX_BIND_SIMPLE 0 #define ODBX_BIND_SIMPLE 0
/* /*
* ODBX options * ODBX options
* *
skipping to change at line 141 skipping to change at line 140
#define ODBX_OPT_TLS 0x0010 #define ODBX_OPT_TLS 0x0010
/* /*
* Implemented options * Implemented options
*/ */
#define ODBX_OPT_MULTI_STATEMENTS 0x0020 #define ODBX_OPT_MULTI_STATEMENTS 0x0020
#define ODBX_OPT_PAGED_RESULTS 0x0021 #define ODBX_OPT_PAGED_RESULTS 0x0021
#define ODBX_OPT_COMPRESS 0x0022 #define ODBX_OPT_COMPRESS 0x0022
#define ODBX_OPT_MODE 0x0023
typedef struct odbx_t odbx_t; typedef struct odbx_t odbx_t;
typedef struct odbx_result_t odbx_result_t; typedef struct odbx_result_t odbx_result_t;
/* /*
* ODBX basic operations * ODBX basic operations
*/ */
int odbx_init( odbx_t** handle, const char* backend, const char* host, cons t char* port ); int odbx_init( odbx_t** handle, const char* backend, const char* host, cons t char* port );
skipping to change at line 163 skipping to change at line 163
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 errno ); const char* odbx_error( odbx_t* handle, int error );
int odbx_error_type( odbx_t* handle, int errno ); int odbx_error_type( odbx_t* handle, int error );
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 );
 End of changes. 7 change blocks. 
8 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/