\hypertarget{driver_8h}{}\section{/home/mk/tmp/lirc/lib/driver.h File Reference}
\label{driver_8h}\index{/home/mk/tmp/lirc/lib/driver.\+h(dad0c0a 2015-\/02-\/09 13\+:36\+:06 +0100)@{/home/mk/tmp/lirc/lib/driver.\+h(dad0c0a 2015-\/02-\/09 13\+:36\+:06 +0100)}}


Interface to the userspace drivers.  


{\ttfamily \#include \char`\"{}include/media/lirc.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}lirc/ir\+\_\+remote\+\_\+types.\+h\char`\"{}}\\*
\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\+E\+D}~1
\item 
\#define \hyperlink{group__driver__api_ga3637dcda1fb5508e6f51a39b0cc048a7}{D\+R\+V\+C\+T\+L\+\_\+\+G\+E\+T\+\_\+\+S\+T\+A\+T\+E}~1
\item 
\#define \hyperlink{group__driver__api_ga2d4b7ac43bc60cf3d930431f79b2fb89}{D\+R\+V\+C\+T\+L\+\_\+\+S\+E\+N\+D\+\_\+\+S\+P\+A\+C\+E}~2
\item 
\#define \hyperlink{group__driver__api_ga1033feec74cbc16e939d713be2c5b8e0}{D\+R\+V\+C\+T\+L\+\_\+\+S\+E\+T\+\_\+\+O\+P\+T\+I\+O\+N}~3
\item 
\#define \hyperlink{group__driver__api_ga2628a2556297a773cddc0848db200d1a}{D\+R\+V\+C\+T\+L\+\_\+\+M\+A\+X}~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\+E\+D}~1
\item 
\#define \hyperlink{group__driver__api_gae323c069918a6b718b3bafd6abbef2a2}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+B\+A\+D\+\_\+\+S\+T\+A\+T\+E}~2
\item 
\#define \hyperlink{group__driver__api_gae98bd204d31330f5e862817faadf7f85}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+B\+A\+D\+\_\+\+O\+P\+T\+I\+O\+N}~3
\item 
\#define \hyperlink{group__driver__api_ga548694fee71123534ede5e27aa4e7e1f}{D\+R\+V\+\_\+\+E\+R\+R\+\_\+\+B\+A\+D\+\_\+\+V\+A\+L\+U\+E}~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 
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$ \hyperlink{driver_8h_a0396ff8d348a185f66f5096ee4f275d5}{curr\+\_\+driver}
\end{DoxyCompactItemize}


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



\subsection{Variable Documentation}
\hypertarget{driver_8h_a0396ff8d348a185f66f5096ee4f275d5}{}\index{driver.\+h@{driver.\+h}!curr\+\_\+driver@{curr\+\_\+driver}}
\index{curr\+\_\+driver@{curr\+\_\+driver}!driver.\+h@{driver.\+h}}
\subsubsection[{curr\+\_\+driver}]{\setlength{\rightskip}{0pt plus 5cm}const struct {\bf driver}$\ast$ curr\+\_\+driver}\label{driver_8h_a0396ff8d348a185f66f5096ee4f275d5}
Raad-\/only access to drv for application.

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

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

