add plugin op for uh_chunk_printf
[project/uhttpd.git] / plugin.h
index 3a2b2ea..dcd8715 100644 (file)
--- a/plugin.h
+++ b/plugin.h
@@ -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);