summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/uhttpd/src/uhttpd-cgi.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:45:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-03-18 17:45:50 +0000
commit87329b4522760f0a4a9a7962a52faf76d2db6f55 (patch)
tree09f47c80b40eda6de245cfb9ac05377243b603c7 /contrib/package/uhttpd/src/uhttpd-cgi.h
parent1661add529c525939a27ae47c1429bfe50615211 (diff)
contrib/package: add uhttpd, a drop-in replacement for busybox httpd
Diffstat (limited to 'contrib/package/uhttpd/src/uhttpd-cgi.h')
-rw-r--r--contrib/package/uhttpd/src/uhttpd-cgi.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/contrib/package/uhttpd/src/uhttpd-cgi.h b/contrib/package/uhttpd/src/uhttpd-cgi.h
new file mode 100644
index 0000000000..4632bcc278
--- /dev/null
+++ b/contrib/package/uhttpd/src/uhttpd-cgi.h
@@ -0,0 +1,20 @@
+#ifndef _UHTTPD_CGI_
+
+#include <errno.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <linux/limits.h>
+
+void uh_cgi_request(struct client *cl, struct http_request *req);
+
+struct path_info {
+ char *root;
+ char *wdir;
+ char *phys;
+ char *name;
+ char *info;
+ char *query;
+};
+
+#endif