|
Yet Another eXchange Tool
0.9.0
|
opaque configuration object for settings where the default needs to be overridden More...
Go to the source code of this file.
Typedefs | |
| typedef struct Xt_config_ * | Xt_config |
Enumerations | |
| enum | Xt_exchangers { xt_exchanger_irecv_send , xt_exchanger_irecv_isend , xt_exchanger_irecv_isend_packed , xt_exchanger_mix_isend_irecv , xt_exchanger_neigh_alltoall } |
Functions | |
| Xt_config | xt_config_new (void) |
| void | xt_config_delete (Xt_config config) |
| void | xt_config_set_exchange_method (Xt_config config, int method) |
| int | xt_config_get_exchange_method (Xt_config config) |
| int | xt_exchanger_id_by_name (const char *name) |
opaque configuration object for settings where the default needs to be overridden
Definition in file xt_config.h.
| typedef struct Xt_config_* Xt_config |
Definition at line 56 of file xt_config.h.
| enum Xt_exchangers |
| Enumerator | |
|---|---|
| xt_exchanger_irecv_send | |
| xt_exchanger_irecv_isend | |
| xt_exchanger_irecv_isend_packed | |
| xt_exchanger_mix_isend_irecv | |
| xt_exchanger_neigh_alltoall | |
Definition at line 73 of file xt_config.h.
| void xt_config_delete | ( | Xt_config | config | ) |
destructor of configuration objects
| [in,out] | config | configuration object to destroy |
Definition at line 76 of file xt_config.c.
| int xt_config_get_exchange_method | ( | Xt_config | config | ) |
get exchanger used when the config object is passed to constructors
| [in] | config | configuration object to modify |
Definition at line 111 of file xt_config.c.
| Xt_config xt_config_new | ( | void | ) |
constructor for configuration object
Definition at line 69 of file xt_config.c.
| void xt_config_set_exchange_method | ( | Xt_config | config, |
| int | method | ||
| ) |
set exchanger to use when the config object is passed to constructors
| [in,out] | config | configuration object to modify |
| method | an entry from enum Xt_exchangers to signify the desired exchanger for data transfers |
Definition at line 125 of file xt_config.c.
| int xt_exchanger_id_by_name | ( | const char * | name | ) |
map exchanger name string to method id from Xt_exchangers
| [in] | name | string that is supposed to match the part of the corresponding enum after xt_exchanger_ |
Definition at line 103 of file xt_config.c.