Add an evbuffer_search_range() to search a bounded range of a buffer
authorNick Mathewson <nickm@torproject.org>
Fri, 7 Aug 2009 17:16:52 +0000 (17:16 +0000)
committerNick Mathewson <nickm@torproject.org>
Fri, 7 Aug 2009 17:16:52 +0000 (17:16 +0000)
commit8a99083f0123765b6b73d7b5efccae1e88fff608
treea7888df786ac05df913424c4d45ba9d6d9caf853
parent0c09fe5adac221d2c74fa9891f39fef4600b7461
Add an evbuffer_search_range() to search a bounded range of a buffer

This can be handy when you have one search to find the end of a header
section, and then you want to find a substring within the header
section without looking at the body.

svn:r1410
buffer.c
include/event2/buffer.h
test/regress_buffer.c