xa.c File Reference

#include "config.h"
#include <sys/types.h>
#include <stdlib.h>
#include <string.h>
#include "db_int.h"
#include "db_page.h"
#include "log.h"
#include "txn.h"
#include "db_am.h"
#include "db_dispatch.h"

Go to the source code of this file.

Defines

#define OK_FLAGS   (TMNOFLAGS | TMNOWAIT | TMONEPHASE)
#define OK_FLAGS   (TMJOIN | TMRESUME | TMNOWAIT | TMASYNC | TMNOFLAGS)
#define XA_FLAGS   DB_CREATE | DB_INIT_LOCK | DB_INIT_LOG | DB_INIT_MPOOL | DB_INIT_TXN

Functions

static int __db_xa_close (char *xa_info, int rmid, long flags)
static int __db_xa_commit (XID *xid, int rmid, long flags)
static int __db_xa_complete (int *handle, int *retval, int rmid, long flags)
static int __db_xa_end (XID *xid, int rmid, long flags)
static int __db_xa_forget (XID *xid, int rmid, long flags)
static int __db_xa_open (char *xa_info, int rmid, long flags)
static int __db_xa_prepare (XID *xid, int rmid, long flags)
static int __db_xa_recover (XID *xids, long count, int rmid, long flags)
static int __db_xa_rollback (XID *xid, int rmid, long flags)
static int __db_xa_start (XID *xid, int rmid, long flags)
static void __xa_txn_init __P ((DB_ENV *, TXN_DETAIL *, size_t))
static void __xa_txn_end __P ((DB_ENV *))
static int __db_xa_recover __P ((XID *, long, int, long))
static int __db_xa_complete __P ((int *, int *, int, long))
static int __db_xa_commit __P ((XID *, int, long))
static int __db_xa_close __P ((char *, int, long))
static void __xa_txn_end (DB_ENV *env)
static void __xa_txn_init (DB_ENV *env, TXN_DETAIL *td, size_t off)

Variables

struct xa_switch_t CDB_db_xa_switch
static const char revid [] = "$Id: xa_8c.html,v 1.1 2008/06/08 10:25:39 sebdiaz Exp $"


Generated on Sun Jun 8 10:56:56 2008 for GNUmifluz by  doxygen 1.5.5