]>
git.ipfire.org Git - people/ms/systemd.git/blob - job.h
1 /*-*- Mode: C; c-basic-offset: 8 -*-*/
9 typedef struct Job Job
;
10 typedef enum JobType JobType
;
11 typedef enum JobMode JobMode
;
24 JOB_TRY_RESTART
, /* restart if running */
25 JOB_RESTART_FINISH
, /* 2nd part of a restart, i.e. the actual starting */
29 typedef enum JobState
{
53 Job
* job_new(Manager
*m
, JobType type
, Name
*name
);
54 void job_free(Job
*job
);
55 void job_dump(Job
*j
, FILE*f
);