2 * Copyright (C) 2015 Martin Willi
4 * Copyright (C) secunet Security Networks AG
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>.
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
18 * @defgroup initiate_tasks_job initiate_tasks_job
22 #ifndef INITIATE_TASKS_JOB_H_
23 #define INITIATE_TASKS_JOB_H_
25 typedef struct initiate_tasks_job_t initiate_tasks_job_t
;
28 #include <processing/jobs/job.h>
29 #include <sa/ike_sa_id.h>
32 * Job triggering initiation of any queued IKE_SA tasks.
34 struct initiate_tasks_job_t
{
37 * Implements job_t interface
43 * Creates a job to trigger IKE_SA task initiation.
45 * @param ike_sa_id ID of IKE_SA to trigger tasks for (gets cloned)
46 * @return job instance
48 initiate_tasks_job_t
*initiate_tasks_job_create(ike_sa_id_t
*ike_sa_id
);
50 #endif /** INITIATE_TASKS_JOB_H_ @}*/