99b2722117572424a65ef9ed7b0bd29076143989
[strongswan.git] / Source / charon / encodings.c
1 /**
2 * @file encodings.c
3 *
4 * @brief Type definitions for parser and generator,
5 * also payload types are defined here.
6 *
7 * Header is parsed like a payload and gets its one payload_id
8 * from PRIVATE USE space. Also the substructures
9 * of specific payload types get their own payload_id
10 * from PRIVATE_USE space. See RFC for mor informations.
11 *
12 */
13
14 /*
15 * Copyright (C) 2005 Jan Hutter, Martin Willi
16 * Hochschule fuer Technik Rapperswil
17 *
18 * This program is free software; you can redistribute it and/or modify it
19 * under the terms of the GNU General Public License as published by the
20 * Free Software Foundation; either version 2 of the License, or (at your
21 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
22 *
23 * This program is distributed in the hope that it will be useful, but
24 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
25 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
26 * for more details.
27 */
28
29 #include <stdlib.h>
30
31 #include "types.h"
32 #include "encodings.h"
33 #include "encodings/ike_header.h"
34
35 extern payload_info_t ike_header_info;
36
37 /**
38 * List containing all payload informations
39 * supported by parser and generator.
40 *
41 * @warning This list must be NULL terminated.
42 */
43 payload_info_t *payload_infos[] = {
44 &ike_header_info,
45 NULL
46 };
47
48