![]() ![]() */AP_DECLARE(ap_dbd_t*) ap_dbd_cacquire(request_rec*) /* Prepare a statement for use by a client module */AP_DECLARE(void) ap_dbd_prepare(server_rec*, const char*, const char*) /* Also export them as optional functions for modules that prefer it */APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_open, (apr_pool_t*, server_rec*)) APR_DECLARE_OPTIONAL_FN(void, ap_dbd_close, (server_rec*, ap_dbd_t*)) APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_acquire, (request_rec*)) APR_DECLARE_OPTIONAL_FN(ap_dbd_t*, ap_dbd_cacquire, (conn_rec*)) APR_DECLARE_OPTIONAL_FN(void, ap_dbd_prepare, (server_rec*, const char*, const char*)) ĭBDParams param1= value1Īs required by the underlying driver. */AP_DECLARE(ap_dbd_t*) ap_dbd_acquire(request_rec*) /* acquire a connection that will have the lifetime of a connection * and MUST NOT be explicitly closed. * This is the preferred function for most applications. * Returns NULL on error */AP_DECLARE(ap_dbd_t*) ap_dbd_open(apr_pool_t*, server_rec*) /* release a connection acquired with ap_dbd_open */AP_DECLARE(void) ap_dbd_close(server_rec*, ap_dbd_t*) /* acquire a connection that will have the lifetime of a request * and MUST NOT be explicitly closed. ![]() ![]() Typedef struct ap_dbd_t /* Export functions to access the database *//* acquire a connection that MUST be explicitly closed. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |