pb_tnc_batch_t class implements parsing and building of PB-TNC batches
[strongswan.git] / src / libcharon / plugins / tnccs_20 / tnccs_20_types.h
1 /*
2 * Copyright (C) 2010 Sansar Choinynambuu
3 * HSR Hochschule fuer Technik Rapperswil
4 *
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>.
9 *
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
13 * for more details.
14 */
15
16 /**
17 * @defgroup tnccs_20_types_h tnccs_20
18 * @{ @ingroup tnccs_20
19 */
20
21 #ifndef TNCCS_20_TYPES_H_
22 #define TNCCS_20_TYPES_H_
23
24 #define PB_TNC_VERSION 2
25
26 #include <library.h>
27
28 typedef enum pb_tnc_remed_param_type_t pb_tnc_remed_param_type_t;
29 typedef enum pa_tnc_subtype_t pa_tnc_subtype_t;
30
31 /**
32 * PB-TNC Remediation Parameter Types as defined in section 4.8.1 of RFC 5793
33 */
34 enum pb_tnc_remed_param_type_t {
35 PB_REMEDIATION_URI = 1,
36 PB_REMEDIATION_STRING = 2,
37 };
38
39 /**
40 * enum name for pb_tnc_remed_param_type_t.
41 */
42 extern enum_name_t *pb_tnc_remed_param_type_names;
43
44 /**
45 * PA-TNC Subtypes as defined in section 3.5 of RFC 5792
46 */
47 enum pa_tnc_subtype_t {
48 PA_SUBTYPE_TESTING = 0,
49 PA_SUBTYPE_OPERATING_SYSTEM = 1,
50 PA_SUBTYPE_ANTI_VIRUS = 2,
51 PA_SUBTYPE_ANTI_SPYWARE = 3,
52 PA_SUBTYPE_ANTI_MALWARE = 4,
53 PA_SUBTYPE_FIREWALL = 5,
54 PA_SUBTYPE_IDPS = 6,
55 PA_SUBTYPE_VPN = 7,
56 PA_SUBTYPE_NEA_CLIENT = 8
57 };
58
59 /**
60 * enum name for pa_tnc_subtype_t.
61 */
62 extern enum_name_t *pa_tnc_subtype_names;
63
64 #endif /** TNCCS_20_TYPES_H_ @}*/