Skip to content

Commit c4b5033

Browse files
committed
Merge branch 'master' of https://github.com/rtrue983/mongoose-os
2 parents 59bd8b8 + 550e420 commit c4b5033

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/common/mbuf.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ size_t mbuf_insert(struct mbuf *, size_t, const void *, size_t);
8787
/* Removes `data_size` bytes from the beginning of the buffer. */
8888
void mbuf_remove(struct mbuf *, size_t data_size);
8989

90+
/* Removes 'data_size' bytes from index of the buffer */
91+
size_t mbuf_remove_range(struct mbuf *, size_t index, size_t data_size);
92+
9093
/*
9194
* Resizes an Mbuf.
9295
*

0 commit comments

Comments
 (0)