From 01a5e352f11ee4c507f4304e4d41e069276164f0 Mon Sep 17 00:00:00 2001 From: Determinant Date: Mon, 17 Jun 2019 14:55:43 -0400 Subject: ammend DataStream C API --- include/salticidae/stream.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') diff --git a/include/salticidae/stream.h b/include/salticidae/stream.h index 37786b2..50a67dd 100644 --- a/include/salticidae/stream.h +++ b/include/salticidae/stream.h @@ -505,8 +505,7 @@ datastream_t *datastream_new(); datastream_t *datastream_new_from_bytes(const uint8_t *base, size_t size); void datastream_free(const datastream_t *self); -bool datastream_assign_by_copy(datastream_t *dst, const datastream_t *src); -bool datastream_assign_by_move(datastream_t *dst, datastream_t *_moved_src); +datastream_t *datastream_copy(const datastream_t *self); uint8_t *datastream_data(datastream_t *self); void datastream_clear(datastream_t *self); size_t datastream_size(const datastream_t *self); -- cgit v1.2.3-70-g09d2