summaryrefslogtreecommitdiffstats
path: root/src/core/job.h
diff options
context:
space:
mode:
authorEvgeny Vereshchagin <evvers@ya.ru>2016-01-31 14:26:09 +0100
committerEvgeny Vereshchagin <evvers@ya.ru>2016-01-31 15:23:46 +0100
commit94bd732348535de399f8f003e3a1cbc8a81ab839 (patch)
treee58370a3eb36736f122970befd4dcb4933400e63 /src/core/job.h
parentcore: fix selinux check for reload (diff)
downloadsystemd-94bd732348535de399f8f003e3a1cbc8a81ab839.tar.xz
systemd-94bd732348535de399f8f003e3a1cbc8a81ab839.zip
core: refactoring: add job_type_to_access_method
remove duplication
Diffstat (limited to 'src/core/job.h')
-rw-r--r--src/core/job.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/job.h b/src/core/job.h
index 52866fdc48..bbf5471e8b 100644
--- a/src/core/job.h
+++ b/src/core/job.h
@@ -240,3 +240,5 @@ const char* job_result_to_string(JobResult t) _const_;
JobResult job_result_from_string(const char *s) _pure_;
int job_get_timeout(Job *j, uint64_t *timeout) _pure_;
+
+const char* job_type_to_access_method(JobType t);