xref: /netbsd-src/external/bsd/libevent/man/evbuffer_ptr.3 (revision 9680fea15a0d9c3cf00fb75fbaca8bc5a2961559)
"evbuffer_ptr" 3 "Tue Jan 31 2017" "libevent" \" -*- nroff -*-
NAME
evbuffer_ptr - Pointer to a position within an evbuffer.
SYNOPSIS

#include <buffer.h>

"Data Fields"
"struct {"

" void * chain"

" size_t pos_in_chain"

"} internal_"

"ev_ssize_t pos"

"Detailed Description"

Pointer to a position within an evbuffer. Used when repeatedly searching through a buffer. Calling any function that modifies or re-packs the buffer contents may invalidate all evbuffer_ptrs for that buffer. Do not modify or contruct these values except with evbuffer_ptr_set.

An evbuffer_ptr can represent any position from the start of a buffer up to a position immediately after the end of a buffer.

See also:

evbuffer_ptr_set()

"Author"

Generated automatically by Doxygen for libevent from the source code.