From: <da...@br...> - 2002-12-03 08:26:09
|
Update of /home/cvs/libdbi/include/dbi In directory backbeat:/tmp/cvs-serv12596/include/dbi Modified Files: dbd.h dbi-dev.h dbi.h Log Message: cms's ping support Index: dbd.h =================================================================== RCS file: /home/cvs/libdbi/include/dbi/dbd.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- dbd.h 25 Oct 2002 22:16:51 -0000 1.17 +++ dbd.h 3 Dec 2002 08:25:33 -0000 1.18 @@ -47,6 +47,7 @@ int dbd_geterror(dbi_conn_t *conn, int *errno, char **errstr); unsigned long long dbd_get_seq_last(dbi_conn_t *conn, const char *sequence); unsigned long long dbd_get_seq_next(dbi_conn_t *conn, const char *sequence); +int dbd_ping(dbi_conn_t *conn); /* _DBD_* DRIVER AUTHORS HELPER FUNCTIONS */ dbi_result_t *_dbd_result_create(dbi_conn_t *conn, void *handle, unsigned long long numrows_matched, unsigned long long numrows_affected); Index: dbi-dev.h =================================================================== RCS file: /home/cvs/libdbi/include/dbi/dbi-dev.h,v retrieving revision 1.23 retrieving revision 1.24 diff -u -d -r1.23 -r1.24 --- dbi-dev.h 6 Nov 2002 00:35:33 -0000 1.23 +++ dbi-dev.h 3 Dec 2002 08:25:33 -0000 1.24 @@ -124,6 +124,7 @@ int (*geterror)(dbi_conn_t_pointer, int *, char **); unsigned long long (*get_seq_last)(dbi_conn_t_pointer, const char *); unsigned long long (*get_seq_next)(dbi_conn_t_pointer, const char *); + int (*ping)(dbi_conn_t_pointer); } dbi_functions_t; typedef struct dbi_custom_function_s { Index: dbi.h =================================================================== RCS file: /home/cvs/libdbi/include/dbi/dbi.h,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- dbi.h 25 Oct 2002 22:16:51 -0000 1.37 +++ dbi.h 3 Dec 2002 08:25:33 -0000 1.38 @@ -114,6 +114,7 @@ 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_next(dbi_conn Conn, const char *name); +int dbi_conn_ping(dbi_conn Conn); dbi_conn dbi_result_get_conn(dbi_result Result); int dbi_result_free(dbi_result Result); |