Apache HTTPD
Classes | Macros | Functions
apr_dbd_internal.h File Reference
#include <stdarg.h>
#include "apr_dbd.h"

Go to the source code of this file.

Classes

struct  apr_dbd_driver_t
 

Macros

#define TXN_IGNORE_ERRORS(t)    ((t) && ((t)->mode & APR_DBD_TRANSACTION_IGNORE_ERRORS))
 
#define TXN_NOTICE_ERRORS(t)    ((t) && !((t)->mode & APR_DBD_TRANSACTION_IGNORE_ERRORS))
 
#define TXN_DO_COMMIT(t)   (!((t)->mode & APR_DBD_TRANSACTION_ROLLBACK))
 
#define TXN_DO_ROLLBACK(t)   ((t)->mode & APR_DBD_TRANSACTION_ROLLBACK)
 
#define TXN_MODE_BITS    (APR_DBD_TRANSACTION_ROLLBACK|APR_DBD_TRANSACTION_IGNORE_ERRORS)
 

Functions

 APU_DECLARE (apr_status_t) apr_dbd_mutex_lock(void)
 

Macro Definition Documentation

◆ TXN_DO_COMMIT

#define TXN_DO_COMMIT (   t)    (!((t)->mode & APR_DBD_TRANSACTION_ROLLBACK))

Definition at line 37 of file apr_dbd_internal.h.

◆ TXN_DO_ROLLBACK

#define TXN_DO_ROLLBACK (   t)    ((t)->mode & APR_DBD_TRANSACTION_ROLLBACK)

Definition at line 38 of file apr_dbd_internal.h.

◆ TXN_IGNORE_ERRORS

#define TXN_IGNORE_ERRORS (   t)     ((t) && ((t)->mode & APR_DBD_TRANSACTION_IGNORE_ERRORS))

Definition at line 32 of file apr_dbd_internal.h.

◆ TXN_MODE_BITS

Definition at line 40 of file apr_dbd_internal.h.

◆ TXN_NOTICE_ERRORS

#define TXN_NOTICE_ERRORS (   t)     ((t) && !((t)->mode & APR_DBD_TRANSACTION_IGNORE_ERRORS))

Definition at line 34 of file apr_dbd_internal.h.