summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ulogd/Makefile.am2
-rw-r--r--include/ulogd/select.h22
-rw-r--r--include/ulogd/ulogd.h1
3 files changed, 2 insertions, 23 deletions
diff --git a/include/ulogd/Makefile.am b/include/ulogd/Makefile.am
index 87eeae3..5201d15 100644
--- a/include/ulogd/Makefile.am
+++ b/include/ulogd/Makefile.am
@@ -1,2 +1,2 @@
-noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h select.h ulogd.h
+noinst_HEADERS = conffile.h db.h ipfix_protocol.h linuxlist.h ulogd.h
diff --git a/include/ulogd/select.h b/include/ulogd/select.h
deleted file mode 100644
index 4558555..0000000
--- a/include/ulogd/select.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#ifndef ULOGD_SELECT_H
-#define ULOGD_SELECT_H
-
-#include <ulogd/linuxlist.h>
-
-#define ULOGD_FD_F_READ 0x0001
-#define ULOGD_FD_F_WRITE 0x0002
-
-struct ulogd_fd {
- struct list_head list;
- int fd;
- unsigned int flags;
- void *data;
- int (*cb)(int fd, int flags, void *data);
-};
-
-
-int ulogd_register_fd(struct ulogd_fd *fd);
-int ulogd_unregister_fd(struct ulogd_fd *fd);
-int ulogd_select_main();
-
-#endif
diff --git a/include/ulogd/ulogd.h b/include/ulogd/ulogd.h
index 7fad2b4..1bd0b6c 100644
--- a/include/ulogd/ulogd.h
+++ b/include/ulogd/ulogd.h
@@ -237,6 +237,7 @@ struct ulogd_fd {
int ulogd_register_fd(struct ulogd_fd *ufd);
void ulogd_unregister_fd(struct ulogd_fd *ufd);
+int ulogd_select_main();
/***********************************************************************
* timer handling