.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,
};
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);