\doxysection{src/core/write\+\_\+queue.c File Reference}
\label{write__queue_8c}\index{src/core/write\_queue.c@{src/core/write\_queue.c}}
{\ttfamily \#include $<$errno.\+h$>$}\newline
{\ttfamily \#include \char`\"{}config.\+h\char`\"{}}\newline
{\ttfamily \#include $<$osmocom/core/write\+\_\+queue.\+h$>$}\newline
{\ttfamily \#include $<$osmocom/core/logging.\+h$>$}\newline
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \textbf{ osmo\+\_\+wqueue\+\_\+bfd\+\_\+cb} (struct \textbf{ osmo\+\_\+fd} $\ast$fd, unsigned int what)
\begin{DoxyCompactList}\small\item\em Select loop function for write queue handling. \end{DoxyCompactList}\item 
void \textbf{ osmo\+\_\+wqueue\+\_\+init} (struct \textbf{ osmo\+\_\+wqueue} $\ast$queue, int max\+\_\+length)
\begin{DoxyCompactList}\small\item\em Initialize a \doxyref{osmo\+\_\+wqueue}{p.}{structosmo__wqueue} structure. \end{DoxyCompactList}\item 
int \textbf{ osmo\+\_\+wqueue\+\_\+enqueue\+\_\+quiet} (struct \textbf{ osmo\+\_\+wqueue} $\ast$queue, struct \textbf{ msgb} $\ast$\textbf{ data})
\begin{DoxyCompactList}\small\item\em Enqueue a new \doxyref{Message buffers}{p.}{group__msgb} into a write queue (without logging full queue events) \end{DoxyCompactList}\item 
int \textbf{ osmo\+\_\+wqueue\+\_\+enqueue} (struct \textbf{ osmo\+\_\+wqueue} $\ast$queue, struct \textbf{ msgb} $\ast$\textbf{ data})
\begin{DoxyCompactList}\small\item\em Enqueue a new \doxyref{Message buffers}{p.}{group__msgb} into a write queue. \end{DoxyCompactList}\item 
void \textbf{ osmo\+\_\+wqueue\+\_\+clear} (struct \textbf{ osmo\+\_\+wqueue} $\ast$queue)
\begin{DoxyCompactList}\small\item\em Clear a \doxyref{osmo\+\_\+wqueue}{p.}{structosmo__wqueue}. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ osmo\+\_\+wqueue\+\_\+set\+\_\+maxlen} (struct \textbf{ osmo\+\_\+wqueue} $\ast$queue, unsigned int \textbf{ len})
\begin{DoxyCompactList}\small\item\em Update write queue length \& drop excess messages. \end{DoxyCompactList}\end{DoxyCompactItemize}
