XTA: API Reference for C language
Main Page
Related Pages
Data Structures
Files
File List
Globals
xta.h
Go to the documentation of this file.
1
/* src/xta/xta.h. Generated from xta.h.in by configure. */
2
/*
3
* Copyright (c) 2009-2019, Christian Ferrari <tiian@users.sourceforge.net>
4
* All rights reserved.
5
*
6
* This file is part of LIXA.
7
*
8
* LIXA is free software: you can redistribute this file and/or modify
9
* it under the terms of the GNU Lesser General Public License version 2.1 as
10
* published by the Free Software Foundation.
11
*
12
* LIXA is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU Lesser General Public License for more details.
16
*
17
* You should have received a copy of the GNU Lesser General Public License
18
* along with LIXA. If not, see <http://www.gnu.org/licenses/>.
19
*/
20
#ifndef XTA_H
21
# define XTA_H
22
23
24
25
/*
26
* WARNING:
27
* xta.h is produced by xta.h.in: don't update xta.h, update only xta.h.in
28
*/
29
30
31
32
/*
33
* This header contains:
34
* - all the necessary to compile an Application Program that uses XTA
35
* XA Transactional API
36
*/
37
38
39
40
/*
41
* These defines are necessary to avoid the inclusion of config.h that could
42
* clash with another config.h file
43
*/
44
#define HAVE_MYSQL 1
45
#define HAVE_ORACLE 1
46
#define HAVE_POSTGRESQL 1
47
48
49
50
/* include LIXA and XTA error codes */
51
#include <
lixa_errors.h
>
52
/* include LIXA compatibility features */
53
#include <lixa_sw.h>
54
/* include XTA interfaces and data types */
55
#include <
xta_init.h
>
56
#include <
xta_xa_resource.h
>
57
#include <
xta_acquired_xa_resource.h
>
58
#include <
xta_native_xa_resource.h
>
59
#ifndef XTA_FOR_JAVA
60
/* native resource headers must NOT be included when compiling the JNI part
61
of XTA for JAVA */
62
# ifdef HAVE_MYSQL
63
# include <
xta_mysql_xa_resource.h
>
64
# endif
65
# ifdef HAVE_POSTGRESQL
66
# include <
xta_postgresql_xa_resource.h
>
67
# endif
68
#endif
69
#include <
xta_transaction.h
>
70
#include <
xta_transaction_manager.h
>
71
#include <
xta_xid.h
>
72
/* include the basic structures and macros from xa.h header */
73
#include <
xa.h
>
74
75
76
77
#endif
/* XTA_H */
xta_init.h
xta_xa_resource.h
xta_acquired_xa_resource.h
xta_postgresql_xa_resource.h
xa.h
xta_xid.h
xta_transaction.h
xta_transaction_manager.h
xta_native_xa_resource.h
xta_mysql_xa_resource.h
lixa_errors.h
Copyright © 2009-2019, Christian Ferrari
tiian@users.sourceforge.net
http://www.tiian.org/