chiark / gitweb /
libs: add symbol versioning for the benefit of RPM
[elogind.git] / src / path.h
index 0dff1203318fa73a12285550f9f2fd77ec1563d8..116fc63ff726daa6ac53f3fb581f9c3e79f7eab1 100644 (file)
@@ -38,6 +38,7 @@ typedef enum PathState {
 
 typedef enum PathType {
         PATH_EXISTS,
+        PATH_EXISTS_GLOB,
         PATH_DIRECTORY_NOT_EMPTY,
         PATH_CHANGED,
         _PATH_TYPE_MAX,
@@ -70,6 +71,9 @@ struct Path {
 
         bool failure;
         bool inotify_triggered;
+
+        bool make_directory;
+        mode_t directory_mode;
 };
 
 void path_unit_notify(Unit *u, UnitActiveState new_state);