XTA: API Reference for C language

xa_switch_t Struct Reference

#include <xa.h>

Data Fields

long flags
 
char name [RMNAMESZ]
 
long version
 
int(* xa_close_entry )(char *, int, long)
 
int(* xa_commit_entry )(const XID *, int, long)
 
int(* xa_complete_entry )(int *, int *, int, long)
 
int(* xa_end_entry )(const XID *, int, long)
 
int(* xa_forget_entry )(const XID *, int, long)
 
int(* xa_open_entry )(char *, int, long)
 
int(* xa_prepare_entry )(const XID *, int, long)
 
int(* xa_recover_entry )(XID *, long, int, long)
 
int(* xa_rollback_entry )(const XID *, int, long)
 
int(* xa_start_entry )(const XID *, int, long)
 

Detailed Description

XA switch data structure

Definition at line 73 of file xa.h.

Field Documentation

long xa_switch_t::flags

options specific to the resource manager

Definition at line 82 of file xa.h.

Referenced by lixa_iface_get_flags().

char xa_switch_t::name[RMNAMESZ]

name of resource manager

Definition at line 78 of file xa.h.

Referenced by lixa_iface_get_name().

long xa_switch_t::version

must be 0

Definition at line 86 of file xa.h.

int(* xa_switch_t::xa_close_entry)(char *, int, long)

xa_close function pointer

Definition at line 94 of file xa.h.

Referenced by lixa_iface_xa_close().

int(* xa_switch_t::xa_commit_entry)(const XID *, int, long)

xa_commit function pointer

Definition at line 114 of file xa.h.

Referenced by lixa_iface_xa_commit().

int(* xa_switch_t::xa_complete_entry)(int *, int *, int, long)

xa_complete function pointer

Definition at line 126 of file xa.h.

int(* xa_switch_t::xa_end_entry)(const XID *, int, long)

xa_end function pointer

Definition at line 102 of file xa.h.

Referenced by lixa_iface_xa_end().

int(* xa_switch_t::xa_forget_entry)(const XID *, int, long)

xa_forget function pointer

Definition at line 122 of file xa.h.

Referenced by lixa_iface_xa_forget().

int(* xa_switch_t::xa_open_entry)(char *, int, long)

xa_open function pointer

Definition at line 90 of file xa.h.

Referenced by lixa_iface_xa_open().

int(* xa_switch_t::xa_prepare_entry)(const XID *, int, long)

xa_prepare function pointer

Definition at line 110 of file xa.h.

Referenced by lixa_iface_xa_prepare().

int(* xa_switch_t::xa_recover_entry)(XID *, long, int, long)

xa_recover function pointer

Definition at line 118 of file xa.h.

Referenced by lixa_iface_xa_recover().

int(* xa_switch_t::xa_rollback_entry)(const XID *, int, long)

xa_rollback function pointer

Definition at line 106 of file xa.h.

Referenced by lixa_iface_xa_rollback().

int(* xa_switch_t::xa_start_entry)(const XID *, int, long)

xa_start function pointer

Definition at line 98 of file xa.h.

Referenced by lixa_iface_xa_start().


The documentation for this struct was generated from the following file:

Copyright © 2009-2019, Christian Ferrari tiian@users.sourceforge.net http://www.tiian.org/