diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-04 00:35:43 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-04 00:35:43 +0100 |
commit | 7a7821c878a6ddfb2e79268bb1cd8f7662a9b8f8 (patch) | |
tree | 491907630dcf974ae630529302e4fe87f658ddc3 /src/core/job.h | |
parent | 8e5de09f442874bed2a8889aa28739d2a516b094 (diff) |
core: rework job_get_timeout() to use usec_t and handle USEC_INFINITY time events correctly
Diffstat (limited to 'src/core/job.h')
-rw-r--r-- | src/core/job.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/job.h b/src/core/job.h index bbf5471e8b..4c19ad0c6a 100644 --- a/src/core/job.h +++ b/src/core/job.h @@ -227,6 +227,8 @@ char *job_dbus_path(Job *j); void job_shutdown_magic(Job *j); +int job_get_timeout(Job *j, usec_t *timeout) _pure_; + const char* job_type_to_string(JobType t) _const_; JobType job_type_from_string(const char *s) _pure_; @@ -239,6 +241,4 @@ JobMode job_mode_from_string(const char *s) _pure_; 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); |