use identifiers in EAP_SUCCESS/EAP_FAILURE payloads
[strongswan.git] / src / libstrongswan / utils / optionsfrom.h
1 /**
2 * @file optionsfrom.h
3 *
4 * @brief Read command line options from a file
5 *
6 */
7
8 /*
9 * Copyright (C) 1998, 1999 Henry Spencer.
10 * Copyright (C) 2007 Andreas Steffen, Hochschule fuer Technik Rapperswil
11 *
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
16 *
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 * for more details.
21 */
22
23 #ifndef OPTIONSFROM_H_
24 #define OPTIONSFROM_H_
25
26 /**
27 * @brief Pick up more options from a file, in the middle of an option scan
28 *
29 * @param filename file containing the options
30 * @param argcp pointer to argc
31 * @param argvp pointer to argv[]
32 * @param optind current optind, number of next argument
33 * @return TRUE if optionsfrom parsing successful
34 */
35 bool optionsfrom(const char *filename, int *argcp, char **argvp[], int optind);
36
37 #endif /*OPTIONSFROM_H_*/