Code

util strbuf: Let skip() support an offset.
authorSebastian Harl <sh@tokkee.org>
Thu, 5 Dec 2013 08:09:41 +0000 (09:09 +0100)
committerSebastian Harl <sh@tokkee.org>
Thu, 5 Dec 2013 08:09:41 +0000 (09:09 +0100)
commit3a48bac5a41bff96412b1ac8f15bdc97cb9e28be
treea793ded57fd6a79ad0de10fe9c89c66dc9514099
parentd3416a7383ebf10e91570b23e3764f7a230e59d2
util strbuf: Let skip() support an offset.

That is, add support for removing bytes from the middle of the buffer.
src/frontend/connection.c
src/include/utils/strbuf.h
src/utils/strbuf.c
t/utils/strbuf_test.c