]>
Commit | Line | Data |
---|---|---|
67402e67 MW |
1 | /* |
2 | * Copyright (C) 2014 Martin Willi | |
19ef2aec TB |
3 | * |
4 | * Copyright (C) secunet Security Networks AG | |
67402e67 MW |
5 | * |
6 | * This program is free software; you can redistribute it and/or modify it | |
7 | * under the terms of the GNU General Public License as published by the | |
8 | * Free Software Foundation; either version 2 of the License, or (at your | |
9 | * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>. | |
10 | * | |
11 | * This program is distributed in the hope that it will be useful, but | |
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
13 | * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 | * for more details. | |
15 | */ | |
16 | ||
73ee7b66 TB |
17 | #ifndef LOAD_CONNS_H_ |
18 | #define LOAD_CONNS_H_ | |
19 | ||
67402e67 MW |
20 | #include "command.h" |
21 | ||
22 | /** | |
23 | * Load all connections from configuration file | |
24 | * | |
25 | * @param conn vici connection to load to | |
26 | * @param format output format | |
27 | * @param cfg configuration to load from | |
28 | */ | |
29 | int load_conns_cfg(vici_conn_t *conn, command_format_options_t format, | |
30 | settings_t *cfg); | |
73ee7b66 TB |
31 | |
32 | #endif /** LOAD_CONNS_H_ */ |