\hypertarget{structevbuffer__cb__entry}{\section{evbuffer\+\_\+cb\+\_\+entry Struct Reference}
\label{structevbuffer__cb__entry}\index{evbuffer\+\_\+cb\+\_\+entry@{evbuffer\+\_\+cb\+\_\+entry}}
}


A single evbuffer callback for an evbuffer.  




{\ttfamily \#include $<$evbuffer-\/internal.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{structevbuffer__cb__entry_abca6b6943a122eca823df32418dc82af}{\hyperlink{structevbuffer__cb__entry_abca6b6943a122eca823df32418dc82af}{T\+A\+I\+L\+Q\+\_\+\+E\+N\+T\+R\+Y} (\hyperlink{structevbuffer__cb__entry}{evbuffer\+\_\+cb\+\_\+entry}) next}\label{structevbuffer__cb__entry_abca6b6943a122eca823df32418dc82af}

\begin{DoxyCompactList}\small\item\em Structures to implement a doubly-\/linked queue of callbacks. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\begin{tabbing}
xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=xx\=\kill
union \{\\
\>\hyperlink{buffer_8h_af40adaa98b02da7fca55da29270266d9}{evbuffer\_cb\_func} {\bfseries cb\_func}\\
\>\hyperlink{buffer__compat_8h_a613068ef7e1be05deead9c9b6f021158}{evbuffer\_cb} {\bfseries cb\_obsolete}\\
\} \hyperlink{structevbuffer__cb__entry_a6a2908915b8787e8c05e8e5483d2e10a}{cb}\\

\end{tabbing}\begin{DoxyCompactList}\small\item\em The callback function to invoke when this callback is called. \end{DoxyCompactList}\item 
void $\ast$ \hyperlink{structevbuffer__cb__entry_ab12730928647120b4f8039eb20501c9f}{cbarg}
\begin{DoxyCompactList}\small\item\em Argument to pass to cb. \end{DoxyCompactList}\item 
ev\+\_\+uint32\+\_\+t \hyperlink{structevbuffer__cb__entry_a616160bb4a571f1fba4a9c0679932d03}{flags}
\begin{DoxyCompactList}\small\item\em Currently set flags on this callback. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
A single evbuffer callback for an evbuffer. 

This function will be invoked when bytes are added to or removed from the evbuffer. 

\subsection{Field Documentation}
\hypertarget{structevbuffer__cb__entry_a6a2908915b8787e8c05e8e5483d2e10a}{\index{evbuffer\+\_\+cb\+\_\+entry@{evbuffer\+\_\+cb\+\_\+entry}!cb@{cb}}
\index{cb@{cb}!evbuffer\+\_\+cb\+\_\+entry@{evbuffer\+\_\+cb\+\_\+entry}}
\subsubsection[{cb}]{\setlength{\rightskip}{0pt plus 5cm}union \{ ... \}   evbuffer\+\_\+cb\+\_\+entry\+::cb}}\label{structevbuffer__cb__entry_a6a2908915b8787e8c05e8e5483d2e10a}


The callback function to invoke when this callback is called. 

If E\+V\+B\+U\+F\+F\+E\+R\+\_\+\+C\+B\+\_\+\+O\+B\+S\+O\+L\+E\+T\+E is set in flags, the cb\+\_\+obsolete field is valid; otherwise, cb\+\_\+func is valid. 

Referenced by evbuffer\+\_\+add\+\_\+cb(), evbuffer\+\_\+remove\+\_\+cb(), and evbuffer\+\_\+setcb().

\hypertarget{structevbuffer__cb__entry_ab12730928647120b4f8039eb20501c9f}{\index{evbuffer\+\_\+cb\+\_\+entry@{evbuffer\+\_\+cb\+\_\+entry}!cbarg@{cbarg}}
\index{cbarg@{cbarg}!evbuffer\+\_\+cb\+\_\+entry@{evbuffer\+\_\+cb\+\_\+entry}}
\subsubsection[{cbarg}]{\setlength{\rightskip}{0pt plus 5cm}void$\ast$ evbuffer\+\_\+cb\+\_\+entry\+::cbarg}}\label{structevbuffer__cb__entry_ab12730928647120b4f8039eb20501c9f}


Argument to pass to cb. 



Referenced by evbuffer\+\_\+add\+\_\+cb(), and evbuffer\+\_\+remove\+\_\+cb().

\hypertarget{structevbuffer__cb__entry_a616160bb4a571f1fba4a9c0679932d03}{\index{evbuffer\+\_\+cb\+\_\+entry@{evbuffer\+\_\+cb\+\_\+entry}!flags@{flags}}
\index{flags@{flags}!evbuffer\+\_\+cb\+\_\+entry@{evbuffer\+\_\+cb\+\_\+entry}}
\subsubsection[{flags}]{\setlength{\rightskip}{0pt plus 5cm}ev\+\_\+uint32\+\_\+t evbuffer\+\_\+cb\+\_\+entry\+::flags}}\label{structevbuffer__cb__entry_a616160bb4a571f1fba4a9c0679932d03}


Currently set flags on this callback. 



Referenced by evbuffer\+\_\+add\+\_\+cb(), evbuffer\+\_\+cb\+\_\+clear\+\_\+flags(), evbuffer\+\_\+cb\+\_\+set\+\_\+flags(), and evbuffer\+\_\+setcb().



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
opal/mca/event/libevent2013/libevent/evbuffer-\/internal.\+h\end{DoxyCompactItemize}
