diff options
author | Sven Eden <yamakuzure@gmx.net> | 2018-08-20 19:04:20 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2018-08-24 16:47:08 +0200 |
commit | 0b169925aa9f606dc96fbffc069d76e0ffa45c29 (patch) | |
tree | ab82fdf7d1bc8bcb3d45f09dfaf47f09ec2e351b /src/basic | |
parent | fe8f6f69ec8377aa37cf503f6877ce994e1ff821 (diff) |
Prep v239: Unmask inotify event stuff, now ustilized by the sd_event struct.
Diffstat (limited to 'src/basic')
-rw-r--r-- | src/basic/fs-util.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/fs-util.h b/src/basic/fs-util.h index 98be9ba07..940853f42 100644 --- a/src/basic/fs-util.h +++ b/src/basic/fs-util.h @@ -64,7 +64,6 @@ int var_tmp_dir(const char **ret); int unlink_or_warn(const char *filename); -#if 0 /// UNNEEDED by elogind #define INOTIFY_EVENT_MAX (sizeof(struct inotify_event) + NAME_MAX + 1) #define FOREACH_INOTIFY_EVENT(e, buffer, sz) \ @@ -77,9 +76,10 @@ union inotify_event_buffer { uint8_t raw[INOTIFY_EVENT_MAX]; }; +#if 0 /// UNNEEDED by elogind int inotify_add_watch_fd(int fd, int what, uint32_t mask); - #endif // 0 + enum { CHASE_PREFIX_ROOT = 1 << 0, /* If set, the specified path will be prefixed by the specified root before beginning the iteration */ CHASE_NONEXISTENT = 1 << 1, /* If set, it's OK if the path doesn't actually exist. */ |