aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/processing/jobs/job.c
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-06-11 10:57:19 +0000
committerMartin Willi <martin@strongswan.org>2007-06-11 10:57:19 +0000
commit9fe1a1ca7617bb562750864aae1892ece1a6a1e6 (patch)
tree057d73714d52c09c40950927fede15e73cd6793b /src/charon/processing/jobs/job.c
parentaca0317d92c4141e1b48c7081f39d8646bd4767d (diff)
downloadstrongswan-9fe1a1ca7617bb562750864aae1892ece1a6a1e6.tar.bz2
strongswan-9fe1a1ca7617bb562750864aae1892ece1a6a1e6.tar.xz
introduced callback_job:
simple asynchronous method invocation use daemons thread pool for all threads proper cancellation and cleanups cancellation mechanism to dynamically unload multithreaded code unified event_queue and scheduler => scheduler unified job_queue and thread_pool => processor removed job_type_t, not really needed fixes here, there and everywhere
Diffstat (limited to 'src/charon/processing/jobs/job.c')
-rw-r--r--src/charon/processing/jobs/job.c39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/charon/processing/jobs/job.c b/src/charon/processing/jobs/job.c
deleted file mode 100644
index d32d1bc61..000000000
--- a/src/charon/processing/jobs/job.c
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * @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",
-);