[ccan] [PATCH 9/9] bytestring: Split bytestrings by a string delimiter

Rusty Russell rusty at rustcorp.com.au
Tue Aug 5 15:51:18 EST 2014


David Gibson <david at gibson.dropbear.id.au> writes:
> This introduces the functions bytestring_splitstr_first() and
> bytestring_splitstr_next() which can be used to iterate through substrings
> of a bytestring separated by a specified substring.
>
> Signed-off-by: David Gibson <david at gibson.dropbear.id.au>

These look really nice, actually.

Cheers,
Rusty.


More information about the ccan mailing list