\hypertarget{driver_8h}{}\section{/home/mk/tmp/lirc/lib/driver.h File Reference}
\label{driver_8h}\index{/home/mk/tmp/lirc/lib/driver.\+h(8e114f9 2016-\/10-\/22 06\+:11\+:39 +0200)@{/home/mk/tmp/lirc/lib/driver.\+h(8e114f9 2016-\/10-\/22 06\+:11\+:39 +0200)}}


Interface to the userspace drivers.  


{\ttfamily \#include $<$glob.\+h$>$}\newline
{\ttfamily \#include \char`\"{}include/media/lirc.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lirc/ir\+\_\+remote\+\_\+types.\+h\char`\"{}}\newline
{\ttfamily \#include \char`\"{}lirc/curl\+\_\+poll.\+h\char`\"{}}\newline
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structoption__t}{option\+\_\+t}
\item 
struct \hyperlink{structdriver}{driver}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__driver__api_gab58e0aa64a0fc3769c30e60aaf7061e9}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED}~1
\item 
\#define \hyperlink{group__driver__api_ga3637dcda1fb5508e6f51a39b0cc048a7}{D\+R\+V\+C\+T\+L\+\_\+\+G\+E\+T\+\_\+\+S\+T\+A\+TE}~1
\item 
\#define \hyperlink{group__driver__api_ga2d4b7ac43bc60cf3d930431f79b2fb89}{D\+R\+V\+C\+T\+L\+\_\+\+S\+E\+N\+D\+\_\+\+S\+P\+A\+CE}~2
\item 
\#define \hyperlink{group__driver__api_ga1033feec74cbc16e939d713be2c5b8e0}{D\+R\+V\+C\+T\+L\+\_\+\+S\+E\+T\+\_\+\+O\+P\+T\+I\+ON}~3
\item 
\#define \hyperlink{group__driver__api_gae1c0549ac24798610a08a38f98337dd2}{D\+R\+V\+C\+T\+L\+\_\+\+G\+E\+T\+\_\+\+R\+A\+W\+\_\+\+C\+O\+D\+E\+L\+E\+N\+G\+TH}~4
\item 
\#define \hyperlink{group__driver__api_ga83be4d39fe52e903ae43627ecd4425c9}{D\+R\+V\+C\+T\+L\+\_\+\+G\+E\+T\+\_\+\+D\+E\+V\+I\+C\+ES}~5
\item 
\#define \hyperlink{group__driver__api_gaabe20231530e93fa8280bc7055bc49e0}{D\+R\+V\+C\+T\+L\+\_\+\+F\+R\+E\+E\+\_\+\+D\+E\+V\+I\+C\+ES}~6
\item 
\#define \hyperlink{group__driver__api_gad037f706938a331377bb914f75e1a875}{D\+R\+V\+C\+T\+L\+\_\+\+N\+O\+T\+I\+F\+Y\+\_\+\+D\+E\+C\+O\+DE}~7
\item 
\#define \hyperlink{group__driver__api_ga2628a2556297a773cddc0848db200d1a}{D\+R\+V\+C\+T\+L\+\_\+\+M\+AX}~128
\item 
\#define \hyperlink{group__driver__api_gab58e0aa64a0fc3769c30e60aaf7061e9}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+N\+O\+T\+\_\+\+I\+M\+P\+L\+E\+M\+E\+N\+T\+ED}~1
\item 
\#define \hyperlink{group__driver__api_gae323c069918a6b718b3bafd6abbef2a2}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+B\+A\+D\+\_\+\+S\+T\+A\+TE}~2
\item 
\#define \hyperlink{group__driver__api_gae98bd204d31330f5e862817faadf7f85}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+B\+A\+D\+\_\+\+O\+P\+T\+I\+ON}~3
\item 
\#define \hyperlink{group__driver__api_ga548694fee71123534ede5e27aa4e7e1f}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+B\+A\+D\+\_\+\+V\+A\+L\+UE}~4
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{group__driver__api_gac0f7baaef9fe524365c16022001804d3}{default\+\_\+open} (const char $\ast$path)
\item 
int \hyperlink{group__driver__api_ga683dd53e7e5d62746c1a645fe133daf0}{default\+\_\+close} (void)
\item 
int \hyperlink{group__driver__api_ga96e3243bc45ff488f6c55dde5e9b377b}{default\+\_\+drvctl} (unsigned int cmd, void $\ast$arg)
\item 
void \hyperlink{group__driver__api_ga6e377ea8a639984e713db080d0909d93}{glob\+\_\+t\+\_\+init} (glob\+\_\+t $\ast$glob)
\item 
void \hyperlink{group__driver__api_ga802fd321399ff103cc2702beec67e29f}{glob\+\_\+t\+\_\+free} (glob\+\_\+t $\ast$glob)
\item 
void \hyperlink{group__driver__api_gab161fca4b5f718227912839380529892}{glob\+\_\+t\+\_\+add\+\_\+path} (glob\+\_\+t $\ast$glob, const char $\ast$path)
\item 
int \hyperlink{group__driver__api_gaae1b223d2bd3a0d0be6e77019c9a976c}{drv\+\_\+handle\+\_\+options} (const char $\ast$options)
\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
const struct \hyperlink{structdriver}{driver} $\ast$const \hyperlink{driver_8h_a656110ac202d464ae49251c9599baf66}{curr\+\_\+driver}
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface to the userspace drivers. 



\subsection{Variable Documentation}
\hypertarget{driver_8h_a656110ac202d464ae49251c9599baf66}{}\label{driver_8h_a656110ac202d464ae49251c9599baf66} 
\index{driver.\+h@{driver.\+h}!curr\+\_\+driver@{curr\+\_\+driver}}
\index{curr\+\_\+driver@{curr\+\_\+driver}!driver.\+h@{driver.\+h}}
\subsubsection{\texorpdfstring{curr\+\_\+driver}{curr\_driver}}
{\footnotesize\ttfamily const struct \hyperlink{structdriver}{driver}$\ast$ const curr\+\_\+driver}

Read-\/only access to drv for application.

Read-\/only access to drv for client code. 

Definition at line 28 of file driver.\+c.

