Yet Another eXchange Tool  0.9.0
xt_config.h
Go to the documentation of this file.
1 
14 /*
15  * Maintainer: Jörg Behrens <behrens@dkrz.de>
16  * Moritz Hanke <hanke@dkrz.de>
17  * Thomas Jahns <jahns@dkrz.de>
18  *
19  * URL: https://doc.redmine.dkrz.de/yaxt/html/
20  *
21  * Redistribution and use in source and binary forms, with or without
22  * modification, are permitted provided that the following conditions are
23  * met:
24  *
25  * Redistributions of source code must retain the above copyright notice,
26  * this list of conditions and the following disclaimer.
27  *
28  * Redistributions in binary form must reproduce the above copyright
29  * notice, this list of conditions and the following disclaimer in the
30  * documentation and/or other materials provided with the distribution.
31  *
32  * Neither the name of the DKRZ GmbH nor the names of its contributors
33  * may be used to endorse or promote products derived from this software
34  * without specific prior written permission.
35  *
36  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
37  * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
38  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
39  * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
40  * OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
41  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
42  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
43  * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
44  * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
45  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
46  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
47  */
48 
49 #ifndef XT_CONFIG_H
50 #define XT_CONFIG_H
51 
52 #ifdef HAVE_CONFIG_H
53 #include <config.h>
54 #endif
55 
56 typedef struct Xt_config_ *Xt_config;
57 
65 
71 void xt_config_delete(Xt_config config);
72 
79 };
80 
87 void xt_config_set_exchange_method(Xt_config config, int method);
88 
96 
105 int
106 xt_exchanger_id_by_name(const char *name);
107 
108 
109 #endif
110 
111 /*
112  * Local Variables:
113  * c-basic-offset: 2
114  * coding: utf-8
115  * indent-tabs-mode: nil
116  * show-trailing-whitespace: t
117  * require-trailing-newline: t
118  * End:
119  */
char name[20]
Definition: xt_config.c:82
struct Xt_config_ * Xt_config
Definition: xt_config.h:56
int xt_exchanger_id_by_name(const char *name)
Definition: xt_config.c:103
void xt_config_delete(Xt_config config)
Definition: xt_config.c:76
void xt_config_set_exchange_method(Xt_config config, int method)
Definition: xt_config.c:125
Xt_exchangers
Definition: xt_config.h:73
@ xt_exchanger_irecv_isend
Definition: xt_config.h:75
@ xt_exchanger_irecv_send
Definition: xt_config.h:74
@ xt_exchanger_irecv_isend_packed
Definition: xt_config.h:76
@ xt_exchanger_neigh_alltoall
Definition: xt_config.h:78
@ xt_exchanger_mix_isend_irecv
Definition: xt_config.h:77
Xt_config xt_config_new(void)
Definition: xt_config.c:69
int xt_config_get_exchange_method(Xt_config config)
Definition: xt_config.c:111