aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/src/uhttpd-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'package/uhttpd/src/uhttpd-utils.h')
-rw-r--r--package/uhttpd/src/uhttpd-utils.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/uhttpd/src/uhttpd-utils.h b/package/uhttpd/src/uhttpd-utils.h
index 797b07def4..31047f5554 100644
--- a/package/uhttpd/src/uhttpd-utils.h
+++ b/package/uhttpd/src/uhttpd-utils.h
@@ -23,6 +23,9 @@
#include <pwd.h>
#include <sys/stat.h>
+#include <libubox/uloop.h>
+
+
#ifdef HAVE_SHADOW
#include <shadow.h>
#endif
@@ -123,7 +126,8 @@ struct client * uh_client_lookup(int sock);
void uh_client_shutdown(struct client *cl);
void uh_client_remove(struct client *cl);
-#define uh_client_gc() uh_client_remove(NULL)
+void uh_ufd_add(struct uloop_fd *u, uloop_fd_handler h, unsigned int ev);
+void uh_ufd_remove(struct uloop_fd *u);
#ifdef HAVE_CGI