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.c | |
parent | dcc47b179fed0ae67b0481b2454aea03947e712c (diff) |
dbus: implement start/stop/restart/reload/cancel D-Bus calls
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -492,3 +492,10 @@ static const char* const job_type_table[_JOB_TYPE_MAX] = { }; DEFINE_STRING_TABLE_LOOKUP(job_type, JobType); + +static const char* const job_mode_table[_JOB_MODE_MAX] = { + [JOB_FAIL] = "fail", + [JOB_REPLACE] = "replace" +}; + +DEFINE_STRING_TABLE_LOOKUP(job_mode, JobMode); |