diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-07 01:42:57 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-07 01:42:57 +0100 |
commit | cd6ad28fb1d28f5d5a58c4f139b1619b6770f58e (patch) | |
tree | 1866ddaffc5a76bf64ac09f0d545f83c680360d5 | |
parent | 9d49fe82fd7f57b340004f6fc62dd4509e528931 (diff) |
export uh_request_done to plugins
-rw-r--r-- | plugin.c | 1 | ||||
-rw-r--r-- | plugin.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -27,6 +27,7 @@ static const struct uhttpd_ops ops = { .create_process = uh_create_process, .get_process_vars = uh_get_process_vars, .client_error = uh_client_error, + .request_done = uh_request_done, .chunk_write = uh_chunk_write, .urlencode = uh_urlencode, .urldecode = uh_urldecode, @@ -28,6 +28,7 @@ struct uhttpd_ops { struct env_var *(*get_process_vars)(struct client *cl, struct path_info *pi); void (*client_error)(struct client *cl, int code, const char *summary, const char *fmt, ...); + void (*request_done)(struct client *cl); void (*chunk_write)(struct client *cl, const void *data, int len); int (*urlencode)(char *buf, int blen, const char *src, int slen); |