XTA: API Reference for C language

xta_config.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 General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with LIXA. If not, see <http://www.gnu.org/licenses/>.
18  */
19 #include "config.h"
20 
21 
22 
23 /* set module trace flag */
24 #ifdef LIXA_TRACE_MODULE
25 # undef LIXA_TRACE_MODULE
26 #endif /* LIXA_TRACE_MODULE */
27 #define LIXA_TRACE_MODULE LIXA_TRACE_MOD_XTA
28 
29 /* LIXA includes */
30 #include "client_config.h"
31 /* XTA includes */
32 #include "xta_config.h"
33 
34 
35 
37  return client_config_get_connection_timeout(config);
38 }
39 
40 
41 
43  return client_config_set_connection_timeout(config, value);
44 }
45 
46 
void xta_config_t
Definition: xta_config.h:30
int xta_config_get_connection_timeout(const xta_config_t *config)
Definition: xta_config.c:36
int xta_config_set_connection_timeout(xta_config_t *config, int value)
Definition: xta_config.c:42

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