]>
git.ipfire.org Git - thirdparty/strongswan.git/blob - programs/starter/args.h
1 /* automatic handling of confread struct arguments
2 * Copyright (C) 2006 Andreas Steffen
3 * Hochschule fuer Technik Rapperswil, Switzerland
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU General Public License as published by the
7 * Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 * RCSID $Id: args.h,v 1.3 2006/01/13 18:02:02 as Exp $
24 extern char **new_list(char *value
);
25 extern bool assign_arg(kw_token_t token
, kw_token_t first
, kw_list_t
*kw
26 , char *base
, bool *assigned
);
27 extern void free_args(kw_token_t first
, kw_token_t last
, char *base
);
28 extern void clone_args(kw_token_t first
, kw_token_t last
, char *base1
30 extern bool cmp_args(kw_token_t first
, kw_token_t last
, char *base1