145a4d6e79989521eb590c12613ab247f92aceae
[strongswan.git] / src / libcharon / sa / tasks / task.c
1 /*
2 * Copyright (C) 2007 Tobias Brunner
3 * Copyright (C) 2007 Martin Willi
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
17 #include "task.h"
18
19 #ifdef ME
20 ENUM(task_type_names, TASK_IKE_INIT, TASK_XAUTH_REQUEST,
21 "IKE_INIT",
22 "IKE_NATD",
23 "IKE_MOBIKE",
24 "IKE_AUTH",
25 "IKE_AUTH_LIFETIME",
26 "IKE_CERT_PRE",
27 "IKE_CERT_POST",
28 "IKE_CONFIG",
29 "IKE_REKEY",
30 "IKE_REAUTH",
31 "IKE_DELETE",
32 "IKE_DPD",
33 "IKE_VENDOR",
34 "IKE_ME",
35 "CHILD_CREATE",
36 "CHILD_DELETE",
37 "CHILD_REKEY",
38 "MAIN_MODE",
39 "QUICK_MODE",
40 "VENDOR_V1",
41 "IKE_NATD_V1",
42 "IKE_CERT_PRE_V1",
43 "IKE_CERT_POST_V1",
44 "XAUTH_REQUEST",
45 );
46 #else
47 ENUM(task_type_names, TASK_IKE_INIT, TASK_XAUTH_REQUEST,
48 "IKE_INIT",
49 "IKE_NATD",
50 "IKE_MOBIKE",
51 "IKE_AUTH",
52 "IKE_AUTH_LIFETIME",
53 "IKE_CERT_PRE",
54 "IKE_CERT_POST",
55 "IKE_CONFIG",
56 "IKE_REKEY",
57 "IKE_REAUTH",
58 "IKE_DELETE",
59 "IKE_DPD",
60 "IKE_VENDOR",
61 "CHILD_CREATE",
62 "CHILD_DELETE",
63 "CHILD_REKEY",
64 "MAIN_MODE",
65 "QUICK_MODE",
66 "VENDOR_V1",
67 "IKE_NATD_V1",
68 "IKE_CERT_PRE_V1",
69 "IKE_CERT_POST_V1",
70 "XAUTH_REQUEST",
71 );
72 #endif /* ME */