aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/processing/jobs/job.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-04-10 06:01:03 +0000
committerMartin Willi <martin@strongswan.org>2007-04-10 06:01:03 +0000
commite0fe7651524d96abb5a7109d17bd8bd9da2e25fa (patch)
treedececc3d13c511dc9f560035b13789bb0d008c93 /src/charon/processing/jobs/job.c
parent1628cd6bda76f6b1fb33bb853497ce92bd829252 (diff)
downloadstrongswan-e0fe7651524d96abb5a7109d17bd8bd9da2e25fa.tar.bz2
strongswan-e0fe7651524d96abb5a7109d17bd8bd9da2e25fa.tar.xz
restructured file layout
new configuration structure: peer_cfg: configuration related to a peer (authenitcation, ...= ike_cfg: config to use for IKE setup (proposals) child_Cfg: config for CHILD_SA (proposals, traffic selectors) a peer_cfg has one ike_cfg and multiple child_cfg's stroke now uses fixed count of threads
Diffstat (limited to 'src/charon/processing/jobs/job.c')
-rw-r--r--src/charon/processing/jobs/job.c39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/charon/processing/jobs/job.c b/src/charon/processing/jobs/job.c
new file mode 100644
index 000000000..d32d1bc61
--- /dev/null
+++ b/src/charon/processing/jobs/job.c
@@ -0,0 +1,39 @@
+/**
+ * @file job.c
+ *
+ * @brief Interface additions to job_t.
+ *
+ */
+
+/*
+ * Copyright (C) 2005-2006 Martin Willi
+ * Copyright (C) 2005 Jan Hutter
+ * Hochschule fuer Technik Rapperswil
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
+
+
+#include "job.h"
+
+ENUM(job_type_names, PROCESS_MESSAGE, SEND_DPD,
+ "PROCESS_MESSAGE",
+ "RETRANSMIT",
+ "INITIATE",
+ "ROUTE",
+ "ACQUIRE",
+ "DELETE_IKE_SA",
+ "DELETE_CHILD_SA",
+ "REKEY_CHILD_SA",
+ "REKEY_IKE_SA",
+ "SEND_KEEPALIVE",
+ "SEND_DPD",
+);