XTA: API Reference for C language

xta_transaction_manager.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 XTA_TRANSACTION_MANAGER_H
20 # define XTA_TRANSACTION_MANAGER_H
21 
22 
23 
24 /* XTA includes */
25 #include "xta_transaction.h"
27 
28 
29 
37 
38 
39 
43 typedef struct xta_transaction_manager_s {
48  GMutex mutex;
53  GHashTable *transactions;
55 
56 
57 
58 #ifdef __cplusplus
59 extern "C" {
60 #endif /* __cplusplus */
61 
62 
63 
70 
71 
72 
78 
79 
80 
90 
91 
92 
103 
104 
105 
106 #ifdef __cplusplus
107 }
108 #endif /* __cplusplus */
109 
110 
111 
112 #endif /* XTA_TRANSACTION_MANAGER_H */
void xta_transaction_manager_config_t
xta_transaction_manager_config_t * xta_transaction_manager_get_config(void)
void xta_transaction_manager_delete(xta_transaction_manager_t *tm)
xta_transaction_manager_t * xta_transaction_manager_new(void)
struct xta_transaction_manager_s xta_transaction_manager_t
xta_transaction_t * xta_transaction_manager_create_transaction(xta_transaction_manager_t *tm)

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