5f6f81f0b949c4688c1efe25852a6c450ae29622
[strongswan.git] / src / libcharon / plugins / tnccs_20 / tnccs_20_types.c
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 #include "tnccs_20_types.h"
17
18 ENUM(pb_tnc_batch_type_names, PB_BATCH_CDATA, PB_BATCH_CLOSE,
19 "CDATA",
20 "SDATA",
21 "RESULT",
22 "CRETRY",
23 "SRETRY",
24 "CLOSE"
25 );
26
27 ENUM(pb_tnc_msg_type_names, PB_MSG_EXPERIMENTAL, PB_MSG_REASON_STRING,
28 "PB-Experimental",
29 "PB-PA",
30 "PB-Assessment-Result",
31 "PB-Access-Recommendation",
32 "PB-Remediation-Parameters",
33 "PB-Error",
34 "PB-Language-Preference",
35 "PB-Reason-String"
36 );
37
38 ENUM(pb_tnc_remed_param_type_names, PB_REMEDIATION_URI, PB_REMEDIATION_STRING,
39 "Remediation-URI",
40 "Remediation-String"
41 );
42
43 ENUM(pb_tnc_error_code_names, PB_ERROR_UNEXPECTED_BATCH_TYPE,
44 PB_ERROR_VERSION_NOT_SUPPORTED,
45 "Unexpected Batch Type",
46 "Invalid Parameter",
47 "Local Error"
48 "Unsupported Mandatory Message",
49 "Version Not Supported"
50 );
51
52 ENUM(pa_tnc_subtype_names, PA_SUBTYPE_TESTING, PA_SUBTYPE_NEA_CLIENT,
53 "Testing",
54 "Operating System",
55 "Anti-Virus",
56 "Anti-Spyware",
57 "Anti-Malware",
58 "Firewall",
59 "IDPS",
60 "VPN",
61 "NEA Client"
62 );