XTA: API Reference for C language

xta_native_xa_resource.h
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 #ifndef NATIVE_XA_RESOURCE_H
20 # define NATIVE_XA_RESOURCE_H
21 
22 
23 
24 /* XTA includes */
25 #include "xta_xa_resource.h"
27 
28 
29 
33 typedef struct {
34  union {
36  };
38 
39 
40 
41 #ifdef __cplusplus
42 extern "C" {
43 #endif /* __cplusplus */
44 
45 
46 
67  const char *name, const char *switch_file,
68  const char *open_info, const char *close_info);
69 
70 
71 
84  int rmid, const xta_transaction_manager_config_t *config);
85 
86 
87 
123  xta_native_xa_resource_t *xa_resource,
124  int rmid, const xta_transaction_manager_config_t *config,
125  const char *name, const char *switch_file,
126  const char *open_info, const char *close_info);
127 
128 
129 
135 
136 
137 
145 
146 
147 
148 #ifdef __cplusplus
149 }
150 #endif /* __cplusplus */
151 
152 
153 
154 #endif /* NATIVE_XA_RESOURCE_H */
xta_native_xa_resource_t * xta_native_xa_resource_new_by_rmid(int rmid, const xta_transaction_manager_config_t *config)
void xta_native_xa_resource_clean(xta_native_xa_resource_t *xa_resource)
void xta_native_xa_resource_delete(xta_native_xa_resource_t *xa_resource)
void xta_transaction_manager_config_t
xta_native_xa_resource_t * xta_native_xa_resource_new(const char *name, const char *switch_file, const char *open_info, const char *close_info)
int xta_native_xa_resource_init(xta_native_xa_resource_t *xa_resource, int rmid, const xta_transaction_manager_config_t *config, const char *name, const char *switch_file, const char *open_info, const char *close_info)

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