summaryrefslogtreecommitdiffstats
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h
index 278771a..b4ff616 100644
--- a/src/config.h
+++ b/src/config.h
@@ -181,6 +181,9 @@ struct lt_config_app {
struct lt_thread *threads;
struct lt_thread *iter;
+
+ int notify_fd;
+ int notify_fd_watch;
};
struct lt_config_ctl {
@@ -326,7 +329,8 @@ int lt_run(struct lt_config_app *cfg);
/* fifo */
int lt_fifo_create(struct lt_config_audit *cfg, char *dir);
int lt_fifo_open(struct lt_config_app *cfg, char *dir, char *name);
-int lt_fifo_notify_fd(struct lt_config_app *cfg, char *dir);
+int lt_fifo_notify_init(struct lt_config_app *cfg, char *dir);
+void lt_fifo_notify_cleanup(struct lt_config_app *cfg);
int lt_fifo_send(struct lt_config_audit *cfg, int fd, char *buf, int len);
int lt_fifo_recv(struct lt_config_app *cfg, struct lt_thread *t,
void *buf, int bufsize);