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 int job_link(Job *job);
55 void job_free(Job *job);