diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-04 23:14:07 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-04 23:14:07 +0100 |
commit | b949545598eaa75b38b4d57c9aea6216bd82256c (patch) | |
tree | e8716e9b8ad6fb3bec788ed7f78c332284f1934c /uhttpd.h | |
parent | 0e7c0877717534db5ecac58df9f01c60776e85db (diff) |
add lua plugin support
Diffstat (limited to 'uhttpd.h')
-rw-r--r-- | uhttpd.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |