updated Doxyfile
[strongswan.git] / src / charon / plugins / uci / uci_creds.h
1 /*
2 * Copyright (C) 2008 Martin Willi
3 * Copyright (C) 2008 Thomas Kallenberg
4 * Hochschule fuer Technik Rapperswil
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 * $Id$
17 */
18
19 /**
20 * @defgroup uci_creds_t uci_creds
21 * @{ @ingroup uci
22 */
23
24 #ifndef UCI_CREDS_H_
25 #define UCI_CREDS_H_
26
27 #include "uci_parser.h"
28
29 #include <credentials/credential_set.h>
30
31 typedef struct uci_creds_t uci_creds_t;
32
33 /**
34 * OpenWRT UCI credential set implementation.
35 */
36 struct uci_creds_t {
37
38 /**
39 * Implements credential set interface.
40 */
41 credential_set_t credential_set;
42
43 /**
44 * Destroy the backend.
45 */
46 void (*destroy)(uci_creds_t *this);
47 };
48
49 /**
50 * Create a UCI based credential set.
51 *
52 * @param parser UCI parser to use
53 * @return credential set
54 */
55 uci_creds_t *uci_creds_create(uci_parser_t *parser);
56
57 #endif /** UCI_CREDS_H_ @}*/