lsyncd/core/inotify.h

25 lines
466 B
C
Raw Normal View History

2018-03-27 06:54:14 +00:00
/*
2018-03-30 13:15:49 +00:00
| inotify.h from Lsyncd -- the Live (Mirror) Syncing Demon
2018-03-27 06:54:14 +00:00
|
2018-04-11 07:03:53 +00:00
| Event interface for Lsyncd to Linux´ inotify.
2018-03-27 06:54:14 +00:00
|
| License: GPLv2 (see COPYING) or any later version
| Authors: Axel Kittenberger <axkibe@gmail.com>
*/
#ifndef LSYNCD_INOTIFY_H
#define LSYNCD_INOTIFY_H
2018-06-06 07:24:13 +00:00
2018-03-27 06:54:14 +00:00
#ifndef WITH_INOTIFY
# error "Do not include inotify.h when not configured to use inotify."
#endif
2018-06-06 07:24:13 +00:00
2018-03-27 06:54:14 +00:00
extern void register_inotify(lua_State *L);
2018-06-06 07:24:13 +00:00
2018-03-27 06:54:14 +00:00
extern void open_inotify(lua_State *L);
2018-06-06 07:24:13 +00:00
2018-03-27 06:54:14 +00:00
#endif