#include <xta_xa_resource.h>
Data Fields | |
struct act_rsrmgr_config_s | act_rsrmgr_config |
int | dynamic |
const xta_transaction_t * | enlisted_tx |
int | native |
struct rsrmgr_config_s | rsrmgr_config |
The base "class" xta_xa_resource is just a redefinition of the standard xa_switch_t structure as defined by X/Open
Inheritance is emulated using the schema proposed by Martin in this post: http://stackoverflow.com/questions/1114349/struct-inheritance-in-c .
Using -fms-extensions the result would be better, but less portable.
Using -std=c11 the result does not improve because a "tag" (like a struct is not allowed as explained here: https://gcc.gnu.org/onlinedocs/gcc/Unnamed-Fields.html )
Definition at line 59 of file xta_xa_resource.h.
struct act_rsrmgr_config_s xta_xa_resource_s::act_rsrmgr_config |
Complete description of the XA Resource Manager using legacy LIXA data structures
Definition at line 69 of file xta_xa_resource.h.
Referenced by xta_mysql_xa_resource_clean(), xta_mysql_xa_resource_init(), xta_native_xa_resource_clean(), xta_native_xa_resource_init(), xta_postgresql_xa_resource_clean(), xta_postgresql_xa_resource_init(), xta_xa_resource_get_config(), and xta_xa_resource_init().
int xta_xa_resource_s::dynamic |
The object refers to an XA Resource that has been created dynamically: it has not been loaded statically at startup (it's not described inside lixac.conf file)
Definition at line 75 of file xta_xa_resource.h.
Referenced by xta_native_xa_resource_clean(), xta_native_xa_resource_init(), xta_xa_resource_init(), and xta_xa_resource_is_dynamic().
const xta_transaction_t* xta_xa_resource_s::enlisted_tx |
The reference to the Transaction that enlisted this resource or NULL
Definition at line 85 of file xta_xa_resource.h.
Referenced by xta_xa_resource_enlisted(), and xta_xa_resource_init().
int xta_xa_resource_s::native |
TRUE if the XA Resource Manager has a native XA interface
FALSE if the XA Resource Manager is acquired through XTA interface
Definition at line 80 of file xta_xa_resource.h.
Referenced by xta_xa_resource_is_native().
struct rsrmgr_config_s xta_xa_resource_s::rsrmgr_config |
Partial description of the XA Resource Manager using legacy LIXA data structures
Definition at line 64 of file xta_xa_resource.h.
Referenced by xta_acquired_xa_resource_clean(), xta_acquired_xa_resource_init(), xta_native_xa_resource_clean(), xta_native_xa_resource_init(), and xta_xa_resource_init().