\doxysection{include/osmocom/core/timer\+\_\+compat.h File Reference}
\label{timer__compat_8h}\index{include/osmocom/core/timer\_compat.h@{include/osmocom/core/timer\_compat.h}}


Compatibility header with some helpers.  


\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ timerisset}(tvp)~((tvp)-\/$>$tv\+\_\+sec $\vert$$\vert$ (tvp)-\/$>$tv\+\_\+usec)
\item 
\#define \textbf{ timerclear}(tvp)~((tvp)-\/$>$tv\+\_\+sec = (tvp)-\/$>$tv\+\_\+usec = 0)
\item 
\#define \textbf{ timercmp}(a,  b,  CMP)
\item 
\#define \textbf{ timeradd}(a,  b,  result)
\item 
\#define \textbf{ timersub}(a,  b,  result)
\item 
\#define \textbf{ timespecisset}(tvp)~((tvp)-\/$>$tv\+\_\+sec $\vert$$\vert$ (tvp)-\/$>$tv\+\_\+nsec)
\item 
\#define \textbf{ timespecclear}(tvp)~((tvp)-\/$>$tv\+\_\+sec = (tvp)-\/$>$tv\+\_\+nsec = 0)
\item 
\#define \textbf{ timespeccmp}(a,  b,  CMP)
\item 
\#define \textbf{ timespecadd}(a,  b,  result)
\item 
\#define \textbf{ timespecsub}(a,  b,  result)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Compatibility header with some helpers. 

