diff options
author | Evgeny Vereshchagin <evvers@ya.ru> | 2016-01-31 13:26:09 +0000 |
---|---|---|
committer | Evgeny Vereshchagin <evvers@ya.ru> | 2016-01-31 14:23:46 +0000 |
commit | 94bd732348535de399f8f003e3a1cbc8a81ab839 (patch) | |
tree | e58370a3eb36736f122970befd4dcb4933400e63 /src/core/job.h | |
parent | 61ea63f1ab7f47cc7490986748f3d240c06b54a5 (diff) |
core: refactoring: add job_type_to_access_method
remove duplication
Diffstat (limited to 'src/core/job.h')
-rw-r--r-- | src/core/job.h | 2 |
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); |