summaryrefslogtreecommitdiff
path: root/src/starter/parser.h
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2009-06-23 11:35:38 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2009-06-23 11:35:38 +0000
commit7c52c3f35cdbdff58443b994f2f33d13b4d81f57 (patch)
treee54a27979ea72ec41702bec2984c2eadac3b8862 /src/starter/parser.h
parent4ef45ba0404dac3773e83af995a5ec584b23d633 (diff)
downloadvyos-strongswan-7c52c3f35cdbdff58443b994f2f33d13b4d81f57.tar.gz
vyos-strongswan-7c52c3f35cdbdff58443b994f2f33d13b4d81f57.zip
Updated to new upstream version.
Diffstat (limited to 'src/starter/parser.h')
-rw-r--r--src/starter/parser.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/src/starter/parser.h b/src/starter/parser.h
index 3af20b60e..1c6cf20ef 100644
--- a/src/starter/parser.h
+++ b/src/starter/parser.h
@@ -10,8 +10,6 @@
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
- *
- * RCSID $Id: parser.h 3267 2007-10-08 19:57:54Z andreas $
*/
#ifndef _IPSEC_PARSER_H_
@@ -22,32 +20,32 @@
typedef struct kw_entry kw_entry_t;
struct kw_entry {
- char *name;
- kw_token_t token;
+ char *name;
+ kw_token_t token;
};
typedef struct kw_list kw_list_t;
struct kw_list {
- kw_entry_t *entry;
- char *value;
- kw_list_t *next;
+ kw_entry_t *entry;
+ char *value;
+ kw_list_t *next;
};
typedef struct section_list section_list_t;
struct section_list {
- char *name;
- kw_list_t *kw;
- section_list_t *next;
+ char *name;
+ kw_list_t *kw;
+ section_list_t *next;
};
typedef struct config_parsed config_parsed_t;
struct config_parsed {
- kw_list_t *config_setup;
- section_list_t *conn_first, *conn_last;
- section_list_t *ca_first, *ca_last;
+ kw_list_t *config_setup;
+ section_list_t *conn_first, *conn_last;
+ section_list_t *ca_first, *ca_last;
};
config_parsed_t *parser_load_conf (const char *file);