Hi
I'm porting some code from libevent 1.4 to 2.0 and in the 1.4 version some of the code is using evbuffer_find find a pointer to the start of a sequence then calculating a pointer difference from it:
ÂÂÂ u_char* end = evbuffer_find(input, pattern, 2);
...