25 #include "apr_pools.h"
83 typedef struct apr_dbd_t apr_dbd_t;
84 typedef struct apr_dbd_transaction_t apr_dbd_transaction_t;
85 typedef struct apr_dbd_results_t apr_dbd_results_t;
86 typedef struct apr_dbd_row_t apr_dbd_row_t;
87 typedef struct apr_dbd_prepared_t apr_dbd_prepared_t;
93 APU_DECLARE(apr_status_t)
apr_dbd_init(apr_pool_t *pool);
144 apr_pool_t *pool, const
char *params,
159 apr_pool_t *pool, const
char *params,
208 apr_dbd_t *handle, const
char *name);
227 apr_dbd_transaction_t **trans);
240 apr_dbd_transaction_t *trans);
242 #define APR_DBD_TRANSACTION_COMMIT 0x00
243 #define APR_DBD_TRANSACTION_ROLLBACK 0x01
244 #define APR_DBD_TRANSACTION_IGNORE_ERRORS 0x02
252 APU_DECLARE(int) apr_dbd_transaction_mode_get(const apr_dbd_driver_t *driver,
253 apr_dbd_transaction_t *trans);
263 apr_dbd_transaction_t *trans,
275 int *nrows, const
char *statement);
290 apr_dbd_t *handle, apr_dbd_results_t **res,
291 const
char *statement,
int random);
300 apr_dbd_results_t *res);
310 apr_dbd_results_t *res);
323 apr_dbd_results_t *res, apr_dbd_row_t **row,
334 apr_dbd_row_t *row,
int col);
344 apr_dbd_results_t *res,
int col);
356 apr_dbd_t *handle,
int errnum);
367 apr_pool_t *pool, const
char *
string,
399 apr_dbd_t *handle, const
char *query,
401 apr_dbd_prepared_t **statement);
416 apr_dbd_t *handle,
int *nrows,
417 apr_dbd_prepared_t *statement,
int nargs,
433 apr_dbd_t *handle, apr_dbd_results_t **res,
434 apr_dbd_prepared_t *statement,
int random,
435 int nargs, const
char **args);
449 apr_dbd_t *handle,
int *nrows,
450 apr_dbd_prepared_t *statement, ...);
464 apr_pool_t *pool, apr_dbd_t *handle,
465 apr_dbd_results_t **res,
466 apr_dbd_prepared_t *statement,
480 apr_pool_t *pool, apr_dbd_t *handle,
481 int *nrows, apr_dbd_prepared_t *statement,
497 apr_dbd_t *handle, apr_dbd_results_t **res,
498 apr_dbd_prepared_t *statement,
int random,
513 apr_dbd_t *handle,
int *nrows,
514 apr_dbd_prepared_t *statement, ...);
528 apr_pool_t *pool, apr_dbd_t *handle,
529 apr_dbd_results_t **res,
530 apr_dbd_prepared_t *statement,
543 apr_dbd_row_t *row,
int col,