diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-01-13 08:40:46 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-01-13 08:40:46 +0100 |
commit | 51da420dfeda783c74f5a3d05e1a11edec04091d (patch) | |
tree | b18ffda939a3ce0c371933042c1ae52772328eed | |
parent | 991c32db310dba0cd99265d5360ecdbfd0fc3e89 (diff) |
add plugin op for uh_chunk_printf
-rw-r--r-- | plugin.c | 1 | ||||
-rw-r--r-- | plugin.h | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -32,6 +32,7 @@ static const struct uhttpd_ops ops = { .client_error = uh_client_error, .request_done = uh_request_done, .chunk_write = uh_chunk_write, + .chunk_printf = uh_chunk_printf, .urlencode = uh_urlencode, .urldecode = uh_urldecode, }; @@ -31,6 +31,7 @@ struct uhttpd_ops { 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); + void (*chunk_printf)(struct client *cl, const char *format, ...); int (*urlencode)(char *buf, int blen, const char *src, int slen); int (*urldecode)(char *buf, int blen, const char *src, int slen); |