aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/processing/scheduler.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-15 14:49:41 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:04:18 +0200
commitbb381e26c6d132fd0d29641cdb75335f52cae309 (patch)
tree982649d5835e392b2a0f866ac0efc296f0f6e720 /src/libstrongswan/processing/scheduler.c
parente18556e9e9e5d870a9846efb1d0a1edd1638fafa (diff)
downloadstrongswan-bb381e26c6d132fd0d29641cdb75335f52cae309.tar.bz2
strongswan-bb381e26c6d132fd0d29641cdb75335f52cae309.tar.xz
Refer to scheduler and processor via lib and not hydra.
Diffstat (limited to 'src/libstrongswan/processing/scheduler.c')
-rw-r--r--src/libstrongswan/processing/scheduler.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libstrongswan/processing/scheduler.c b/src/libstrongswan/processing/scheduler.c
index 8a58e4570..e23f04598 100644
--- a/src/libstrongswan/processing/scheduler.c
+++ b/src/libstrongswan/processing/scheduler.c
@@ -19,7 +19,6 @@
#include "scheduler.h"
-#include <hydra.h>
#include <debug.h>
#include <processing/processor.h>
#include <processing/jobs/callback_job.h>
@@ -200,7 +199,7 @@ static job_requeue_t schedule(private_scheduler_t * this)
remove_event(this);
this->mutex->unlock(this->mutex);
DBG2(DBG_JOB, "got event, queuing job for execution");
- hydra->processor->queue_job(hydra->processor, event->job);
+ lib->processor->queue_job(lib->processor, event->job);
free(event);
return JOB_REQUEUE_DIRECT;
}
@@ -352,7 +351,7 @@ scheduler_t * scheduler_create()
this->condvar = condvar_create(CONDVAR_TYPE_DEFAULT);
this->job = callback_job_create((callback_job_cb_t)schedule, this, NULL, NULL);
- hydra->processor->queue_job(hydra->processor, (job_t*)this->job);
+ lib->processor->queue_job(lib->processor, (job_t*)this->job);
return &this->public;
}