TH "evbuffer_ptr" 3 "Tue Jan 31 2017" "libevent" \" -*- nroff -*-
ad l
nh
SH NAME
evbuffer_ptr \- Pointer to a position within an evbuffer\&.

SH SYNOPSIS
br
PP
PP
\fC#include <buffer\&.h>\fP
SS "Data Fields"

in +1c
ti -1c
RI "struct {"
br
ti -1c
RI "   void * \fBchain\fP"
br
ti -1c
RI "   size_t \fBpos_in_chain\fP"
br
ti -1c
RI "} \fBinternal_\fP"
br
ti -1c
RI "ev_ssize_t \fBpos\fP"
br
in -1c
SH "Detailed Description"
PP
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\&.
PP
An \fBevbuffer_ptr\fP can represent any position from the start of a buffer up to a position immediately after the end of a buffer\&.
PP
\fBSee also:\fP
RS 4
\fBevbuffer_ptr_set()\fP
RE
PP


SH "Author"
PP
Generated automatically by Doxygen for libevent from the source code\&.