- configuration_manager replaced by configuration_t interface
[strongswan.git] / Source / charon / config / starter_configuration.h
1 /**
2 * @file starter_configuration_t.h
3 *
4 * @brief Interface of starter_configuration_t.
5 *
6 */
7
8 /*
9 * Copyright (C) 2005 Jan Hutter, Martin Willi
10 * 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 STARTER_CONFIGURATION_H_
24 #define STARTER_CONFIGURATION_H_
25
26 #include <config/configuration.h>
27
28
29 typedef struct starter_configuration_t starter_configuration_t;
30
31 /**
32 * @brief A config backend which uses the ipsec starter
33 * from pluto, wich parses config files.
34 *
35 * This configuration implementation opens a Whack-Socket
36 * and waits for input from ipsec starter.
37 *
38 * @b Constructors:
39 * - starter_configuration_create()
40 *
41 * @ingroup config
42 */
43 struct starter_configuration_t {
44
45 /**
46 * Implements configuration_t interface
47 */
48 configuration_t configuration_interface;
49 };
50
51 /**
52 * @brief Creates an configuration using ipsec starter as input.
53 *
54 * @return starter_configuration_t object
55 *
56 * @ingroup config
57 */
58 starter_configuration_t *starter_configuration_create();
59
60 #endif /*STARTER_CONFIGURATION_H_*/