X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=uhttpd.h;fp=uhttpd.h;h=f77718e3201d055ea167ca1d0bae3a76f32e092f;hb=b741dec35698a80266fb8206970638e666774a33;hp=8d6022a3c1004f9c2c5c613d62d4d0cdda340ce9;hpb=952bf9d754d021ee9c08f9add5c9af53aaaf39ae;p=project%2Fuhttpd.git diff --git a/uhttpd.h b/uhttpd.h index 8d6022a..f77718e 100644 --- a/uhttpd.h +++ b/uhttpd.h @@ -52,6 +52,13 @@ struct alias { char *path; }; +struct lua_prefix { + struct list_head list; + const char *handler; + const char *prefix; + void *ctx; +}; + struct config { const char *docroot; const char *realm; @@ -60,8 +67,6 @@ struct config { const char *cgi_prefix; const char *cgi_docroot_path; const char *cgi_path; - const char *lua_handler; - const char *lua_prefix; const char *ubus_prefix; const char *ubus_socket; int no_symlinks; @@ -78,6 +83,7 @@ struct config { int ubus_cors; int cgi_prefix_len; struct list_head cgi_alias; + struct list_head lua_prefix; }; struct auth_realm {