} PathType;
typedef struct PathSpec {
- PathType type;
char *path;
+ Watch watch;
+
+ LIST_FIELDS(struct PathSpec, spec);
+
+ PathType type;
int inotify_fd;
int primary_wd;
- bool previous_exists;
- Watch watch;
+ bool previous_exists;
- LIST_FIELDS(struct PathSpec, spec);
} PathSpec;
struct Path {
LIST_HEAD(PathSpec, specs);
- PathState state, deserialized_state;
Unit *unit;
+ PathState state, deserialized_state;
+
bool failure;
};