moved AUTH_LIFETIME handling in its own task (cleaner separation, proper payload...
[strongswan.git] / src / charon / sa / tasks / task.c
1 /**
2 * @file task.c
3 *
4 * @brief Enum values for task types
5 *
6 */
7
8 /*
9 * Copyright (C) 2007 Tobias Brunner
10 * Copyright (C) 2007 Martin Willi
11 * Hochschule fuer Technik Rapperswil
12 *
13 * This program is free software; you can redistribute it and/or modify it
14 * under the terms of the GNU General Public License as published by the
15 * Free Software Foundation; either version 2 of the License, or (at your
16 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
17 *
18 * This program is distributed in the hope that it will be useful, but
19 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
20 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 * for more details.
22 */
23
24 #include "task.h"
25
26 ENUM(task_type_names, IKE_INIT, CHILD_REKEY,
27 "IKE_INIT",
28 "IKE_NATD",
29 "IKE_MOBIKE",
30 "IKE_AUTHENTICATE",
31 "IKE_AUTH_LIFETIME",
32 "IKE_CERT",
33 "IKE_CONFIG",
34 "IKE_REKEY",
35 "IKE_REAUTH",
36 "IKE_DELETE",
37 "IKE_DPD",
38 #ifdef P2P
39 "IKE_P2P",
40 #endif /* P2P */
41 "CHILD_CREATE",
42 "CHILD_DELETE",
43 "CHILD_REKEY",
44 );
45