aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/buffer.h b/buffer.h
index 321d54a..d9e2b85 100644
--- a/buffer.h
+++ b/buffer.h
@@ -80,4 +80,7 @@ const char *buffer_content(Buffer*);
*/
char *buffer_move(Buffer*);
+/** ``read(3p)`` like interface for reading into a Buffer (``context``) */
+ssize_t read_into_buffer(void *context, char *data, size_t len);
+
#endif