Merge branch 'android-fixes'
[strongswan.git] / src / libcharon / sa / task.c
1 /*
2 * Copyright (C) 2007 Tobias Brunner
3 * Copyright (C) 2007 Martin Willi
4 * HSR 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 ENUM(task_type_names, TASK_IKE_INIT, TASK_ISAKMP_CERT_POST,
20 "IKE_INIT",
21 "IKE_NATD",
22 "IKE_MOBIKE",
23 "IKE_AUTH",
24 "IKE_AUTH_LIFETIME",
25 "IKE_CERT_PRE",
26 "IKE_CERT_POST",
27 "IKE_CONFIG",
28 "IKE_REKEY",
29 "IKE_REAUTH",
30 "IKE_REAUTH_COMPLETE",
31 "IKE_REDIRECT",
32 "IKE_VERIFY_PEER_CERT",
33 "IKE_MID_SYNC",
34 "IKE_DELETE",
35 "IKE_DPD",
36 "IKE_VENDOR",
37 #ifdef ME
38 "IKE_ME",
39 #endif /* ME */
40 "CHILD_CREATE",
41 "CHILD_DELETE",
42 "CHILD_REKEY",
43 "MAIN_MODE",
44 "AGGRESSIVE_MODE",
45 "INFORMATIONAL",
46 "ISAKMP_DELETE",
47 "XAUTH",
48 "MODE_CONFIG",
49 "QUICK_MODE",
50 "QUICK_DELETE",
51 "ISAKMP_VENDOR",
52 "ISAKMP_NATD",
53 "ISAKMP_DPD",
54 "ISAKMP_CERT_PRE",
55 "ISAKMP_CERT_POST",
56 );