diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-14 00:54:24 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-14 00:54:24 +0000 |
commit | 36e143f8304389d2de1f08cb738a83c5e23265e5 (patch) | |
tree | 17bc5dc1b3511e6b222aeb5d83d1d62a758d43b5 /package/uhttpd/src/uhttpd-utils.h | |
parent | 65d6e285f1998cd7c5431ecbbd46c64464a82062 (diff) | |
download | upstream-36e143f8304389d2de1f08cb738a83c5e23265e5.tar.gz upstream-36e143f8304389d2de1f08cb738a83c5e23265e5.tar.bz2 upstream-36e143f8304389d2de1f08cb738a83c5e23265e5.zip |
[package] uhttpd:
- more robust handling of network failures on static file serving
- support unlimited amount of authentication realms, listener and client sockets
- support for interpreters (.php => /usr/bin/php-cgi)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22630 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd/src/uhttpd-utils.h')
-rw-r--r-- | package/uhttpd/src/uhttpd-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd-utils.h b/package/uhttpd/src/uhttpd-utils.h index 1b18265417..95535d6fe7 100644 --- a/package/uhttpd/src/uhttpd-utils.h +++ b/package/uhttpd/src/uhttpd-utils.h @@ -101,4 +101,9 @@ struct client * uh_client_add(int sock, struct listener *serv); struct client * uh_client_lookup(int sock); void uh_client_remove(int sock); +#ifdef HAVE_CGI +struct interpreter * uh_interpreter_add(const char *extn, const char *path); +struct interpreter * uh_interpreter_lookup(const char *path); +#endif + #endif |