evbuffer_search

Search for a string within an evbuffer.

@param buffer the evbuffer to be searched @param what the string to be searched for @param len the length of the search string @param start NULL or a pointer to a valid struct evbuffer_ptr. @return a evbuffer_ptr whose 'pos' field has the offset of the first occurrence of the string in the buffer after 'start'. The 'pos' field of the result is -1 if the string was not found.

extern (C) nothrow
evbuffer_search
(,
const(char)* what
,
size_t len
,)

Meta