aboutsummaryrefslogtreecommitdiff
path: root/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'buffer.h')
-rw-r--r--buffer.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/buffer.h b/buffer.h
index f099b32..6920468 100644
--- a/buffer.h
+++ b/buffer.h
@@ -57,13 +57,6 @@ size_t buffer_length0(Buffer*);
* Guaranteed to return a NUL terminated string even if buffer is empty.
*/
const char *buffer_content0(Buffer*);
-/**
- * Borrow underlying buffer data.
- * @rst
- * .. warning:: The caller is responsible to ``free(3)`` it.
- * @endrst
- */
-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);