XTA: API Reference for C language

xta_init.c
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2009-2019, Christian Ferrari <tiian@users.sourceforge.net>
3  * All rights reserved.
4  *
5  * This file is part of LIXA.
6  *
7  * LIXA is free software: you can redistribute this file and/or modify
8  * it under the terms of the GNU Lesser General Public License version 2.1 as
9  * published by the Free Software Foundation.
10  *
11  * LIXA is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with LIXA. If not, see <http://www.gnu.org/licenses/>.
18  */
19 #include <config.h>
20 
21 
22 
23 /* system includes */
24 #ifdef HAVE_GLIB_H
25 # include <glib.h>
26 #endif
27 /* LIXA includes */
28 #include "lixa_trace.h"
29 #include "lixa_crash.h"
30 /* XTA includes */
31 #include "xta_init.h"
32 
33 
34 
35 /* set module trace flag */
36 #ifdef LIXA_TRACE_MODULE
37 # undef LIXA_TRACE_MODULE
38 #endif /* LIXA_TRACE_MODULE */
39 #define LIXA_TRACE_MODULE LIXA_TRACE_MOD_XTA
40 
41 
42 
43 void xta_init(void)
44 {
45  /* initialize LIXA trace feature */
46  LIXA_TRACE_INIT;
47  LIXA_TRACE(("xta_init: XTA (XA Transaction API) initialized for this "
48  "process\n"));
49  LIXA_CRASH_INIT;
50 }
51 
52 
53 
void xta_init(void)
Definition: xta_init.c:43

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