evbuffer_search_eol

Search for an end-of-line string within an evbuffer.

@param buffer the evbuffer to be searched @param start NULL or a pointer to a valid evbuffer_ptr to start searching at. @param eol_len_out If non-NULL, the pointed-to value will be set to the length of the end-of-line string. @param eol_style The kind of EOL to look for; see evbuffer_readln() for more information @return a evbuffer_ptr whose 'pos' field has the offset of the first occurrence EOL in the buffer after 'start'. The 'pos' field of the result is -1 if the string was not found.

extern (C) nothrow
evbuffer_search_eol

Meta