XTA: API Reference for C language

xta_acquired_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 XTA_ACQUIRED_XA_RESOURCE_H
20 # define XTA_ACQUIRED_XA_RESOURCE_H
21 
22 
23 
24 /* XTA includes */
25 #include "xta_xa_resource.h"
26 #include "xta_iface.h"
27 /* XA include */
28 #include "xa.h"
29 
30 
31 
35 typedef struct {
36  union {
38  };
42  const struct xta_iface_s *iface;
44 
45 
46 
47 #ifdef __cplusplus
48 extern "C" {
49 #endif /* __cplusplus */
50 
51 
52 
65  const struct xta_iface_s *iface,
66  const char *name,
67  const char *open_info);
68 
69 
70 
78  xta_acquired_xa_resource_t *xa_resource);
79 
80 
81 
82 #ifdef __cplusplus
83 }
84 #endif /* __cplusplus */
85 
86 
87 
88 #endif /* XTA_RESOURCE_H */
const struct xta_iface_s * iface
void xta_acquired_xa_resource_clean(xta_acquired_xa_resource_t *xa_resource)
char name[RMNAMESZ]
Definition: xta_iface.h:38
int xta_acquired_xa_resource_init(xta_acquired_xa_resource_t *xa_resource, const struct xta_iface_s *iface, const char *name, const char *open_info)

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