diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-03 12:37:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-03 12:40:01 +0100 |
commit | b548631afcd317fd0f762b324c086d1580f83a50 (patch) | |
tree | ad6c16aff8ae9def716bce89fbac8b781ed14b92 /job.h | |
parent | dcc47b179fed0ae67b0481b2454aea03947e712c (diff) |
dbus: implement start/stop/restart/reload/cancel D-Bus calls
Diffstat (limited to 'job.h')
-rw-r--r-- | job.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -46,7 +46,8 @@ enum JobState { enum JobMode { JOB_FAIL, JOB_REPLACE, - _JOB_MODE_MAX + _JOB_MODE_MAX, + _JOB_MODE_INVALID = -1 }; struct JobDependency { @@ -114,6 +115,9 @@ JobType job_type_from_string(const char *s); const char* job_state_to_string(JobState t); JobState job_state_from_string(const char *s); +const char* job_mode_to_string(JobMode t); +JobMode job_mode_from_string(const char *s); + char *job_dbus_path(Job *j); #endif |