aboutsummaryrefslogtreecommitdiff
path: root/src/uvh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uvh.h')
-rw-r--r--src/uvh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/uvh.h b/src/uvh.h
index 76754a8..80554aa 100644
--- a/src/uvh.h
+++ b/src/uvh.h
@@ -130,4 +130,9 @@ const char *uvh_request_get_header(struct uvh_request *req,
void uvh_request_end(struct uvh_request *req);
+typedef int (*uvh_stream_cb)(char **buffer, void *data);
+
+void uvh_request_stream(struct uvh_request *req, uvh_stream_cb callback,
+ void *data);
+
#endif /* UVH_H */