chiark / gitweb /
implement drop-in directories
[elogind.git] / unit.h
diff --git a/unit.h b/unit.h
index 7803f3183cc9f7332f8d4f0ef4d140b18ec351a1..cabf230148d46310a958f47596ec01f1e6d89d52 100644 (file)
--- a/unit.h
+++ b/unit.h
@@ -103,6 +103,7 @@ struct Meta {
         Set *dependencies[_UNIT_DEPENDENCY_MAX];
 
         char *description;
         Set *dependencies[_UNIT_DEPENDENCY_MAX];
 
         char *description;
+        char *load_path; /* if loaded from a config file this is the primary path to it */
 
         /* If there is something to do with this unit, then this is
          * the job for it */
 
         /* If there is something to do with this unit, then this is
          * the job for it */
@@ -232,4 +233,8 @@ void unit_unwatch_timer(Unit *u, int *id);
 
 bool unit_job_is_applicable(Unit *u, JobType j);
 
 
 bool unit_job_is_applicable(Unit *u, JobType j);
 
+const char *unit_path(void);
+int set_unit_path(const char *p);
+
+
 #endif
 #endif