dbi-dev.h   dbi-dev.h 
skipping to change at line 20 skipping to change at line 20
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A
* *
* $Id: dbi-dev.h,v 1.41 2006/06/02 17:18:38 qu1j0t3 Exp $ * $Id: dbi-dev.h,v 1.42 2008/01/15 00:21:25 mhoenicka Exp $
*/ */
#ifndef __DBI_DEV_H__ #ifndef __DBI_DEV_H__
#define __DBI_DEV_H__ #define __DBI_DEV_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <dbi/dbi.h> /* for dbi_conn_error_handler_func */ #include <dbi/dbi.h> /* for dbi_conn_error_handler_func */
skipping to change at line 174 skipping to change at line 174
dbi_result_t **results; /* for garbage-collector-mandated result dis joins */ dbi_result_t **results; /* for garbage-collector-mandated result dis joins */
int results_used; int results_used;
int results_size; int results_size;
struct dbi_conn_s *next; /* so libdbi can unload all conns at exit * / struct dbi_conn_s *next; /* so libdbi can unload all conns at exit * /
} dbi_conn_t; } dbi_conn_t;
extern int dbi_verbosity; extern int dbi_verbosity;
unsigned int _isolate_attrib(unsigned int attribs, unsigned int rangemin, u nsigned int rangemax); unsigned int _isolate_attrib(unsigned int attribs, unsigned int rangemin, u nsigned int rangemax);
void _error_handler(dbi_conn_t *conn, dbi_error_flag errflag); void _error_handler(dbi_conn_t *conn, dbi_error_flag errflag);
void _reset_conn_error(dbi_conn_t *conn);
void _verbose_handler(dbi_conn_t *conn, const char* fmt, ...); void _verbose_handler(dbi_conn_t *conn, const char* fmt, ...);
void _logquery(dbi_conn_t *conn, const char* fmt, ...); void _logquery(dbi_conn_t *conn, const char* fmt, ...);
void _logquery_null(dbi_conn_t *conn, const char* statement, size_t st_leng th); void _logquery_null(dbi_conn_t *conn, const char* statement, size_t st_leng th);
int _disjoin_from_conn(dbi_result_t *result); int _disjoin_from_conn(dbi_result_t *result);
void _set_field_flag(dbi_row_t *row, unsigned int fieldidx, unsigned char f lag, unsigned char value); void _set_field_flag(dbi_row_t *row, unsigned int fieldidx, unsigned char f lag, unsigned char value);
int _get_field_flag(dbi_row_t *row, unsigned int fieldidx, unsigned char fl ag); int _get_field_flag(dbi_row_t *row, unsigned int fieldidx, unsigned char fl ag);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added


 dbi.h   dbi.h 
skipping to change at line 20 skipping to change at line 20
* *
* This library is distributed in the hope that it will be useful, * This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details. * Lesser General Public License for more details.
* *
* You should have received a copy of the GNU Lesser General Public * You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software * License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 US A
* *
* $Id: dbi.h.in,v 1.1 2006/10/18 20:17:24 mhoenicka Exp $ * $Id: dbi.h.in,v 1.3 2008/02/06 19:34:27 mhoenicka Exp $
*/ */
int main(){return 0;}
#ifndef __DBI_H__ #ifndef __DBI_H__
#define __DBI_H__ #define __DBI_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h> #include <stdarg.h>
#include <time.h> #include <time.h>
#include <limits.h> /* for the *_MAX definitions */ #include <limits.h> /* for the *_MAX definitions */
#if defined _MSC_VER && _MSC_VER >= 1300
#define LIBDBI_API_DEPRECATED __declspec(deprecated)
#elif defined __GNUC__ && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__
>= 2))
#define LIBDBI_API_DEPRECATED __attribute__((__deprecated__))
#else
#define LIBDBI_API_DEPRECATED
#endif
/* opaque type definitions */ /* opaque type definitions */
typedef void * dbi_driver; typedef void * dbi_driver;
typedef void * dbi_conn; typedef void * dbi_conn;
typedef void * dbi_result; typedef void * dbi_result;
/* other type definitions */ /* other type definitions */
typedef enum { typedef enum {
DBI_ERROR_USER = -1, DBI_ERROR_NONE = 0, DBI_ERROR_DBD, DBI_ERROR_BADOBJE DBI_ERROR_USER = -10, /* must be the first in the list */
CT, DBI_ERROR_DBD = -9,
DBI_ERROR_BADTYPE, DBI_ERROR_BADIDX, DBI_ERROR_BADNAME, DBI_ERROR_UNSUPPO DBI_ERROR_BADOBJECT,
RTED, DBI_ERROR_BADTYPE,
DBI_ERROR_NOCONN, DBI_ERROR_NOMEM, DBI_ERROR_BADPTR DBI_ERROR_BADIDX,
DBI_ERROR_BADNAME,
DBI_ERROR_UNSUPPORTED,
DBI_ERROR_NOCONN,
DBI_ERROR_NOMEM,
DBI_ERROR_BADPTR,
DBI_ERROR_NONE = 0,
DBI_ERROR_CLIENT
} dbi_error_flag; } dbi_error_flag;
/* some _MAX definitions. The size_t hack may not be portable */ /* some _MAX definitions. The size_t hack may not be portable */
#ifndef SIZE_T_MAX #ifndef SIZE_T_MAX
# define SIZE_T_MAX UINT_MAX # define SIZE_T_MAX UINT_MAX
#endif #endif
#ifndef ULLONG_MAX #ifndef ULLONG_MAX
# define ULLONG_MAX ULONG_LONG_MAX # define ULLONG_MAX ULONG_LONG_MAX
#endif #endif
skipping to change at line 152 skipping to change at line 169
int dbi_initialize(const char *driverdir); int dbi_initialize(const char *driverdir);
void dbi_shutdown(); void dbi_shutdown();
const char *dbi_version(); const char *dbi_version();
int dbi_set_verbosity(int verbosity); int dbi_set_verbosity(int verbosity);
dbi_driver dbi_driver_list(dbi_driver Current); /* returns next driver. if current is NULL, return first driver. */ dbi_driver dbi_driver_list(dbi_driver Current); /* returns next driver. if current is NULL, return first driver. */
dbi_driver dbi_driver_open(const char *name); /* goes thru linked list unti l it finds the right one */ dbi_driver dbi_driver_open(const char *name); /* goes thru linked list unti l it finds the right one */
int dbi_driver_is_reserved_word(dbi_driver Driver, const char *word); int dbi_driver_is_reserved_word(dbi_driver Driver, const char *word);
void *dbi_driver_specific_function(dbi_driver Driver, const char *name); void *dbi_driver_specific_function(dbi_driver Driver, const char *name);
size_t dbi_driver_quote_string_copy(dbi_driver Driver, const char *orig, ch size_t LIBDBI_API_DEPRECATED dbi_driver_quote_string_copy(dbi_driver Driver
ar **newstr); , const char *orig, char **newstr);
size_t dbi_driver_quote_string(dbi_driver Driver, char **orig); size_t LIBDBI_API_DEPRECATED dbi_driver_quote_string(dbi_driver Driver, cha
r **orig);
const char* dbi_driver_encoding_from_iana(dbi_driver Driver, const char* ia na_encoding); const char* dbi_driver_encoding_from_iana(dbi_driver Driver, const char* ia na_encoding);
const char* dbi_driver_encoding_to_iana(dbi_driver Driver, const char* db_e ncoding); const char* dbi_driver_encoding_to_iana(dbi_driver Driver, const char* db_e ncoding);
int dbi_driver_cap_get(dbi_driver Driver, const char *capname); int dbi_driver_cap_get(dbi_driver Driver, const char *capname);
const char *dbi_driver_get_name(dbi_driver Driver); const char *dbi_driver_get_name(dbi_driver Driver);
const char *dbi_driver_get_filename(dbi_driver Driver); const char *dbi_driver_get_filename(dbi_driver Driver);
const char *dbi_driver_get_description(dbi_driver Driver); const char *dbi_driver_get_description(dbi_driver Driver);
const char *dbi_driver_get_maintainer(dbi_driver Driver); const char *dbi_driver_get_maintainer(dbi_driver Driver);
const char *dbi_driver_get_url(dbi_driver Driver); const char *dbi_driver_get_url(dbi_driver Driver);
const char *dbi_driver_get_version(dbi_driver Driver); const char *dbi_driver_get_version(dbi_driver Driver);
skipping to change at line 184 skipping to change at line 201
int dbi_conn_require_option_numeric(dbi_conn Conn, const char *key); /* dit to */ int dbi_conn_require_option_numeric(dbi_conn Conn, const char *key); /* dit to */
const char *dbi_conn_get_option_list(dbi_conn Conn, const char *current); / * returns key of next option, or the first option key if current is NULL */ const char *dbi_conn_get_option_list(dbi_conn Conn, const char *current); / * returns key of next option, or the first option key if current is NULL */
void dbi_conn_clear_option(dbi_conn Conn, const char *key); void dbi_conn_clear_option(dbi_conn Conn, const char *key);
void dbi_conn_clear_options(dbi_conn Conn); void dbi_conn_clear_options(dbi_conn Conn);
int dbi_conn_cap_get(dbi_conn Conn, const char *capname); int dbi_conn_cap_get(dbi_conn Conn, const char *capname);
int dbi_conn_disjoin_results(dbi_conn Conn); int dbi_conn_disjoin_results(dbi_conn Conn);
void dbi_conn_close(dbi_conn Conn); void dbi_conn_close(dbi_conn Conn);
int dbi_conn_error(dbi_conn Conn, const char **errmsg_dest); int dbi_conn_error(dbi_conn Conn, const char **errmsg_dest);
void dbi_conn_error_handler(dbi_conn Conn, dbi_conn_error_handler_func func tion, void *user_argument); void dbi_conn_error_handler(dbi_conn Conn, dbi_conn_error_handler_func func tion, void *user_argument);
dbi_error_flag dbi_conn_error_flag(dbi_conn Conn); dbi_error_flag LIBDBI_API_DEPRECATED dbi_conn_error_flag(dbi_conn Conn);
int dbi_conn_set_error(dbi_conn Conn, int errnum, const char *formatstr, .. .); int dbi_conn_set_error(dbi_conn Conn, int errnum, const char *formatstr, .. .);
int dbi_conn_connect(dbi_conn Conn); int dbi_conn_connect(dbi_conn Conn);
int dbi_conn_get_socket(dbi_conn Conn); int dbi_conn_get_socket(dbi_conn Conn);
unsigned int dbi_conn_get_engine_version(dbi_conn Conn); unsigned int dbi_conn_get_engine_version(dbi_conn Conn);
char *dbi_conn_get_engine_version_string(dbi_conn Conn, char *versionstring ); char *dbi_conn_get_engine_version_string(dbi_conn Conn, char *versionstring );
const char *dbi_conn_get_encoding(dbi_conn Conn); const char *dbi_conn_get_encoding(dbi_conn Conn);
dbi_result dbi_conn_get_db_list(dbi_conn Conn, const char *pattern); dbi_result dbi_conn_get_db_list(dbi_conn Conn, const char *pattern);
dbi_result dbi_conn_get_table_list(dbi_conn Conn, const char *db, const cha r *pattern); dbi_result dbi_conn_get_table_list(dbi_conn Conn, const char *db, const cha r *pattern);
dbi_result dbi_conn_query(dbi_conn Conn, const char *statement); dbi_result dbi_conn_query(dbi_conn Conn, const char *statement);
dbi_result dbi_conn_queryf(dbi_conn Conn, const char *formatstr, ...); dbi_result dbi_conn_queryf(dbi_conn Conn, const char *formatstr, ...);
dbi_result dbi_conn_query_null(dbi_conn Conn, const unsigned char *statemen t, size_t st_length); dbi_result dbi_conn_query_null(dbi_conn Conn, const unsigned char *statemen t, size_t st_length);
int dbi_conn_select_db(dbi_conn Conn, const char *db); int dbi_conn_select_db(dbi_conn Conn, const char *db);
unsigned long long dbi_conn_sequence_last(dbi_conn Conn, const char *name); /* name of the sequence or table */ unsigned long long dbi_conn_sequence_last(dbi_conn Conn, const char *name); /* name of the sequence or table */
unsigned long long dbi_conn_sequence_next(dbi_conn Conn, const char *name); unsigned long long dbi_conn_sequence_next(dbi_conn Conn, const char *name);
int dbi_conn_ping(dbi_conn Conn); int dbi_conn_ping(dbi_conn Conn);
size_t dbi_conn_quote_string_copy(dbi_conn Conn, const char *orig, char **n ewstr); size_t dbi_conn_quote_string_copy(dbi_conn Conn, const char *orig, char **n ewstr);
size_t dbi_conn_quote_string(dbi_conn Conn, char **orig); size_t dbi_conn_quote_string(dbi_conn Conn, char **orig);
size_t dbi_conn_quote_binary_copy(dbi_conn Conn, const unsigned char *orig, size_t from_length, unsigned char **newstr); size_t dbi_conn_quote_binary_copy(dbi_conn Conn, const unsigned char *orig, size_t from_length, unsigned char **newstr);
size_t dbi_conn_escape_string_copy(dbi_conn Conn, const char *orig, char **
newstr);
size_t dbi_conn_escape_string(dbi_conn Conn, char **orig);
size_t dbi_conn_escape_binary_copy(dbi_conn Conn, const unsigned char *orig
, size_t from_length, unsigned char **newstr);
dbi_conn dbi_result_get_conn(dbi_result Result); dbi_conn dbi_result_get_conn(dbi_result Result);
int dbi_result_free(dbi_result Result); int dbi_result_free(dbi_result Result);
int dbi_result_seek_row(dbi_result Result, unsigned long long rowidx); int dbi_result_seek_row(dbi_result Result, unsigned long long rowidx);
int dbi_result_first_row(dbi_result Result); int dbi_result_first_row(dbi_result Result);
int dbi_result_last_row(dbi_result Result); int dbi_result_last_row(dbi_result Result);
int dbi_result_has_prev_row(dbi_result Result); int dbi_result_has_prev_row(dbi_result Result);
int dbi_result_prev_row(dbi_result Result); int dbi_result_prev_row(dbi_result Result);
int dbi_result_has_next_row(dbi_result Result); int dbi_result_has_next_row(dbi_result Result);
int dbi_result_next_row(dbi_result Result); int dbi_result_next_row(dbi_result Result);
unsigned long long dbi_result_get_currow(dbi_result Result); unsigned long long dbi_result_get_currow(dbi_result Result);
unsigned long long dbi_result_get_numrows(dbi_result Result); unsigned long long dbi_result_get_numrows(dbi_result Result);
unsigned long long dbi_result_get_numrows_affected(dbi_result Result); unsigned long long dbi_result_get_numrows_affected(dbi_result Result);
size_t dbi_result_get_field_size(dbi_result Result, const char *fieldname); size_t LIBDBI_API_DEPRECATED dbi_result_get_field_size(dbi_result Result, c
size_t dbi_result_get_field_size_idx(dbi_result Result, unsigned int fieldi onst char *fieldname);
dx); size_t LIBDBI_API_DEPRECATED dbi_result_get_field_size_idx(dbi_result Resul
t, unsigned int fieldidx);
size_t dbi_result_get_field_length(dbi_result Result, const char *fieldname ); size_t dbi_result_get_field_length(dbi_result Result, const char *fieldname );
size_t dbi_result_get_field_length_idx(dbi_result Result, unsigned int fiel didx); size_t dbi_result_get_field_length_idx(dbi_result Result, unsigned int fiel didx);
unsigned int dbi_result_get_field_idx(dbi_result Result, const char *fieldn ame); unsigned int dbi_result_get_field_idx(dbi_result Result, const char *fieldn ame);
const char *dbi_result_get_field_name(dbi_result Result, unsigned int field idx); const char *dbi_result_get_field_name(dbi_result Result, unsigned int field idx);
unsigned int dbi_result_get_numfields(dbi_result Result); unsigned int dbi_result_get_numfields(dbi_result Result);
unsigned short dbi_result_get_field_type(dbi_result Result, const char *fie ldname); unsigned short dbi_result_get_field_type(dbi_result Result, const char *fie ldname);
unsigned short dbi_result_get_field_type_idx(dbi_result Result, unsigned in t fieldidx); unsigned short dbi_result_get_field_type_idx(dbi_result Result, unsigned in t fieldidx);
unsigned int dbi_result_get_field_attrib(dbi_result Result, const char *fie ldname, unsigned int attribmin, unsigned int attribmax); unsigned int dbi_result_get_field_attrib(dbi_result Result, const char *fie ldname, unsigned int attribmin, unsigned int attribmax);
unsigned int dbi_result_get_field_attrib_idx(dbi_result Result, unsigned in t fieldidx, unsigned int attribmin, unsigned int attribmax); unsigned int dbi_result_get_field_attrib_idx(dbi_result Result, unsigned in t fieldidx, unsigned int attribmin, unsigned int attribmax);
unsigned int dbi_result_get_field_attribs(dbi_result Result, const char *fi eldname); unsigned int dbi_result_get_field_attribs(dbi_result Result, const char *fi eldname);
skipping to change at line 243 skipping to change at line 263
unsigned int dbi_result_get_fields(dbi_result Result, const char *format, . ..); unsigned int dbi_result_get_fields(dbi_result Result, const char *format, . ..);
unsigned int dbi_result_bind_fields(dbi_result Result, const char *format, ...); unsigned int dbi_result_bind_fields(dbi_result Result, const char *format, ...);
signed char dbi_result_get_char(dbi_result Result, const char *fieldname); signed char dbi_result_get_char(dbi_result Result, const char *fieldname);
unsigned char dbi_result_get_uchar(dbi_result Result, const char *fieldname ); unsigned char dbi_result_get_uchar(dbi_result Result, const char *fieldname );
short dbi_result_get_short(dbi_result Result, const char *fieldname); short dbi_result_get_short(dbi_result Result, const char *fieldname);
unsigned short dbi_result_get_ushort(dbi_result Result, const char *fieldna me); unsigned short dbi_result_get_ushort(dbi_result Result, const char *fieldna me);
int dbi_result_get_int(dbi_result Result, const char *fieldname); int dbi_result_get_int(dbi_result Result, const char *fieldname);
unsigned int dbi_result_get_uint(dbi_result Result, const char *fieldname); unsigned int dbi_result_get_uint(dbi_result Result, const char *fieldname);
int dbi_result_get_long(dbi_result Result, const char *fieldname); /* depre int LIBDBI_API_DEPRECATED dbi_result_get_long(dbi_result Result, const char
cated */ *fieldname); /* deprecated */
unsigned int dbi_result_get_ulong(dbi_result Result, const char *fieldname) unsigned int LIBDBI_API_DEPRECATED dbi_result_get_ulong(dbi_result Result,
; /* deprecated */ const char *fieldname); /* deprecated */
long long dbi_result_get_longlong(dbi_result Result, const char *fieldname) ; long long dbi_result_get_longlong(dbi_result Result, const char *fieldname) ;
unsigned long long dbi_result_get_ulonglong(dbi_result Result, const char * fieldname); unsigned long long dbi_result_get_ulonglong(dbi_result Result, const char * fieldname);
float dbi_result_get_float(dbi_result Result, const char *fieldname); float dbi_result_get_float(dbi_result Result, const char *fieldname);
double dbi_result_get_double(dbi_result Result, const char *fieldname); double dbi_result_get_double(dbi_result Result, const char *fieldname);
const char *dbi_result_get_string(dbi_result Result, const char *fieldname) ; const char *dbi_result_get_string(dbi_result Result, const char *fieldname) ;
const unsigned char *dbi_result_get_binary(dbi_result Result, const char *f ieldname); const unsigned char *dbi_result_get_binary(dbi_result Result, const char *f ieldname);
char *dbi_result_get_string_copy(dbi_result Result, const char *fieldname); char *dbi_result_get_string_copy(dbi_result Result, const char *fieldname);
unsigned char *dbi_result_get_binary_copy(dbi_result Result, const char *fi eldname); unsigned char *dbi_result_get_binary_copy(dbi_result Result, const char *fi eldname);
time_t dbi_result_get_datetime(dbi_result Result, const char *fieldname); time_t dbi_result_get_datetime(dbi_result Result, const char *fieldname);
int dbi_result_bind_char(dbi_result Result, const char *fieldname, char *bi ndto); int dbi_result_bind_char(dbi_result Result, const char *fieldname, char *bi ndto);
int dbi_result_bind_uchar(dbi_result Result, const char *fieldname, unsigne d char *bindto); int dbi_result_bind_uchar(dbi_result Result, const char *fieldname, unsigne d char *bindto);
int dbi_result_bind_short(dbi_result Result, const char *fieldname, short * bindto); int dbi_result_bind_short(dbi_result Result, const char *fieldname, short * bindto);
int dbi_result_bind_ushort(dbi_result Result, const char *fieldname, unsign ed short *bindto); int dbi_result_bind_ushort(dbi_result Result, const char *fieldname, unsign ed short *bindto);
int dbi_result_bind_long(dbi_result Result, const char *fieldname, int *bin int LIBDBI_API_DEPRECATED dbi_result_bind_long(dbi_result Result, const cha
dto); r *fieldname, int *bindto);
int dbi_result_bind_ulong(dbi_result Result, const char *fieldname, unsigne int LIBDBI_API_DEPRECATED dbi_result_bind_ulong(dbi_result Result, const ch
d int *bindto); ar *fieldname, unsigned int *bindto);
int dbi_result_bind_int(dbi_result Result, const char *fieldname, int *bind to); int dbi_result_bind_int(dbi_result Result, const char *fieldname, int *bind to);
int dbi_result_bind_uint(dbi_result Result, const char *fieldname, unsigned int *bindto); int dbi_result_bind_uint(dbi_result Result, const char *fieldname, unsigned int *bindto);
int dbi_result_bind_longlong(dbi_result Result, const char *fieldname, long long *bindto); int dbi_result_bind_longlong(dbi_result Result, const char *fieldname, long long *bindto);
int dbi_result_bind_ulonglong(dbi_result Result, const char *fieldname, uns igned long long *bindto); int dbi_result_bind_ulonglong(dbi_result Result, const char *fieldname, uns igned long long *bindto);
int dbi_result_bind_float(dbi_result Result, const char *fieldname, float * bindto); int dbi_result_bind_float(dbi_result Result, const char *fieldname, float * bindto);
int dbi_result_bind_double(dbi_result Result, const char *fieldname, double *bindto); int dbi_result_bind_double(dbi_result Result, const char *fieldname, double *bindto);
int dbi_result_bind_string(dbi_result Result, const char *fieldname, const char **bindto); int dbi_result_bind_string(dbi_result Result, const char *fieldname, const char **bindto);
int dbi_result_bind_binary(dbi_result Result, const char *fieldname, const unsigned char **bindto); int dbi_result_bind_binary(dbi_result Result, const char *fieldname, const unsigned char **bindto);
skipping to change at line 287 skipping to change at line 307
int dbi_result_bind_binary_copy(dbi_result Result, const char *fieldname, u nsigned char **bindto); int dbi_result_bind_binary_copy(dbi_result Result, const char *fieldname, u nsigned char **bindto);
int dbi_result_bind_datetime(dbi_result Result, const char *fieldname, time _t *bindto); int dbi_result_bind_datetime(dbi_result Result, const char *fieldname, time _t *bindto);
/* and now for the same exact thing in index form: */ /* and now for the same exact thing in index form: */
signed char dbi_result_get_char_idx(dbi_result Result, unsigned int fieldid x); signed char dbi_result_get_char_idx(dbi_result Result, unsigned int fieldid x);
unsigned char dbi_result_get_uchar_idx(dbi_result Result, unsigned int fiel didx); unsigned char dbi_result_get_uchar_idx(dbi_result Result, unsigned int fiel didx);
short dbi_result_get_short_idx(dbi_result Result, unsigned int fieldidx); short dbi_result_get_short_idx(dbi_result Result, unsigned int fieldidx);
unsigned short dbi_result_get_ushort_idx(dbi_result Result, unsigned int fi eldidx); unsigned short dbi_result_get_ushort_idx(dbi_result Result, unsigned int fi eldidx);
int dbi_result_get_long_idx(dbi_result Result, unsigned int fieldidx); int LIBDBI_API_DEPRECATED dbi_result_get_long_idx(dbi_result Result, unsign ed int fieldidx);
int dbi_result_get_int_idx(dbi_result Result, unsigned int fieldidx); int dbi_result_get_int_idx(dbi_result Result, unsigned int fieldidx);
unsigned int dbi_result_get_uint_idx(dbi_result Result, unsigned int fieldi dx); unsigned int dbi_result_get_uint_idx(dbi_result Result, unsigned int fieldi dx);
unsigned int dbi_result_get_ulong_idx(dbi_result Result, unsigned int field idx); unsigned int LIBDBI_API_DEPRECATED dbi_result_get_ulong_idx(dbi_result Resu lt, unsigned int fieldidx);
long long dbi_result_get_longlong_idx(dbi_result Result, unsigned int field idx); long long dbi_result_get_longlong_idx(dbi_result Result, unsigned int field idx);
unsigned long long dbi_result_get_ulonglong_idx(dbi_result Result, unsigned int fieldidx); unsigned long long dbi_result_get_ulonglong_idx(dbi_result Result, unsigned int fieldidx);
float dbi_result_get_float_idx(dbi_result Result, unsigned int fieldidx); float dbi_result_get_float_idx(dbi_result Result, unsigned int fieldidx);
double dbi_result_get_double_idx(dbi_result Result, unsigned int fieldidx); double dbi_result_get_double_idx(dbi_result Result, unsigned int fieldidx);
const char *dbi_result_get_string_idx(dbi_result Result, unsigned int field idx); const char *dbi_result_get_string_idx(dbi_result Result, unsigned int field idx);
const unsigned char *dbi_result_get_binary_idx(dbi_result Result, unsigned int fieldidx); const unsigned char *dbi_result_get_binary_idx(dbi_result Result, unsigned int fieldidx);
char *dbi_result_get_string_copy_idx(dbi_result Result, unsigned int fieldi dx); char *dbi_result_get_string_copy_idx(dbi_result Result, unsigned int fieldi dx);
 End of changes. 12 change blocks. 
24 lines changed or deleted 47 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/