summaryrefslogtreecommitdiff
path: root/src/core/manager.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-11-12 20:13:42 +0100
committerLennart Poettering <lennart@poettering.net>2015-11-12 20:14:06 +0100
commit53f18416690939479ff9bd4d4339107791061fd9 (patch)
tree8aa685ecfb23e75fbb80f27ab95b1fe4c708fc2c /src/core/manager.h
parent4bd29fe5cec9d744a4e39240c76b85d999bd2cf7 (diff)
core: unify code that warns about jobs we fail to enqueue
This allows us to shorten our code a bit.
Diffstat (limited to 'src/core/manager.h')
-rw-r--r--src/core/manager.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/manager.h b/src/core/manager.h
index 4526f43a93..bc3f02f872 100644
--- a/src/core/manager.h
+++ b/src/core/manager.h
@@ -328,6 +328,7 @@ int manager_load_unit_from_dbus_path(Manager *m, const char *s, sd_bus_error *e,
int manager_add_job(Manager *m, JobType type, Unit *unit, JobMode mode, sd_bus_error *e, Job **_ret);
int manager_add_job_by_name(Manager *m, JobType type, const char *name, JobMode mode, sd_bus_error *e, Job **_ret);
+int manager_add_job_by_name_and_warn(Manager *m, JobType type, const char *name, JobMode mode, Job **ret);
void manager_dump_units(Manager *s, FILE *f, const char *prefix);
void manager_dump_jobs(Manager *s, FILE *f, const char *prefix);