]> git.ipfire.org Git - thirdparty/strongswan.git/blob - src/swanctl/commands/load_creds.h
Update copyright headers after acquisition by secunet
[thirdparty/strongswan.git] / src / swanctl / commands / load_creds.h
1 /*
2 * Copyright (C) 2014 Martin Willi
3 *
4 * Copyright (C) secunet Security Networks AG
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
17 #ifndef LOAD_CREDS_H_
18 #define LOAD_CREDS_H_
19
20 #include "command.h"
21
22 /**
23 * Load all credentials 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 * @param clear TRUE to clear existing credentials
29 * @param noprompt TRUE to skip any password prompt
30 */
31 int load_creds_cfg(vici_conn_t *conn, command_format_options_t format,
32 settings_t *cfg, bool clear, bool noprompt);
33
34 #endif /** LOAD_CREDS_H_ */