X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=uhttpd.h;h=b8dfece5fc4f2c0cf1419cd713ce6a84b014dfa1;hb=b949545598eaa75b38b4d57c9aea6216bd82256c;hp=9ed6439aa17aa8664af341f38402157571e097dc;hpb=0e7c0877717534db5ecac58df9f01c60776e85db;p=project%2Fuhttpd.git diff --git a/uhttpd.h b/uhttpd.h index 9ed6439..b8dfece 100644 --- a/uhttpd.h +++ b/uhttpd.h @@ -49,6 +49,8 @@ struct config { const char *error_handler; const char *cgi_prefix; const char *cgi_path; + const char *lua_handler; + const char *lua_prefix; int no_symlinks; int no_dirlists; int network_timeout; @@ -235,7 +237,9 @@ void uh_relay_close(struct relay *r, int ret); void uh_relay_free(struct relay *r); struct env_var *uh_get_process_vars(struct client *cl, struct path_info *pi); -bool uh_create_process(struct client *cl, struct path_info *pi, - void (*cb)(struct client *cl, struct path_info *pi)); +bool uh_create_process(struct client *cl, struct path_info *pi, const char *url, + void (*cb)(struct client *cl, struct path_info *pi, const char *url)); + +int uh_plugin_init(const char *name); #endif