aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/queues/jobs/job.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/charon/queues/jobs/job.h')
-rw-r--r--Source/charon/queues/jobs/job.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/Source/charon/queues/jobs/job.h b/Source/charon/queues/jobs/job.h
index 59b0f7b65..57c615f25 100644
--- a/Source/charon/queues/jobs/job.h
+++ b/Source/charon/queues/jobs/job.h
@@ -26,12 +26,13 @@
#include <types.h>
#include <definitions.h>
+
+typedef enum job_type_t job_type_t;
+
/**
* Type of Jobs in Job-Queue
*/
-typedef enum job_type_e job_type_t;
-
-enum job_type_e {
+enum job_type_t {
/**
* Process an incoming IKEv2-Message
*
@@ -61,14 +62,15 @@ enum job_type_e {
extern mapping_t job_type_m[];
+
+typedef struct job_t job_t;
+
/**
* @brief Job-Interface as it is stored in the job queue
*
* A job consists of a job-type and one or more assigned values
*/
-typedef struct job_s job_t;
-
-struct job_s{
+struct job_t{
/**
* @brief get type of job