\hypertarget{lirc__options_8c}{}\section{/home/mk/tmp/lirc/lib/lirc\+\_\+options.c File Reference}
\label{lirc__options_8c}\index{/home/mk/tmp/lirc/lib/lirc\+\_\+options.\+c(9530a53 2015-\/10-\/01 21\+:32\+:18 +0200)@{/home/mk/tmp/lirc/lib/lirc\+\_\+options.\+c(9530a53 2015-\/10-\/01 21\+:32\+:18 +0200)}}


Implements \hyperlink{lirc__options_8h}{lirc\+\_\+options.\+h}.  


{\ttfamily \#include $<$getopt.\+h$>$}\\*
{\ttfamily \#include $<$stdio.\+h$>$}\\*
{\ttfamily \#include $<$stdlib.\+h$>$}\\*
{\ttfamily \#include \char`\"{}ciniparser.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}lirc\+\_\+options.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}lirc\+\_\+log.\+h\char`\"{}}\\*
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{lirc__log_8h_a24e101a095456e946efea0b971fc2ee3}{loglevel\+\_\+t} \hyperlink{lirc__options_8c_a21ea46a90d52096ab0a309317312b346}{options\+\_\+set\+\_\+loglevel} (const char $\ast$optarg)
\item 
\hypertarget{lirc__options_8c_a6a05c88bc1c7265388606141a91d353e}{}void {\bfseries options\+\_\+set\+\_\+opt} (const char $\ast$key, const char $\ast$value)\label{lirc__options_8c_a6a05c88bc1c7265388606141a91d353e}

\item 
\hypertarget{lirc__options_8c_a9917b4b8d7a19dc7ff99235e581a58b0}{}const char $\ast$ {\bfseries options\+\_\+getstring} (const char $\ast$const key)\label{lirc__options_8c_a9917b4b8d7a19dc7ff99235e581a58b0}

\item 
\hypertarget{lirc__options_8c_a1eec84b36958fc178e354b487a080865}{}int {\bfseries options\+\_\+getint} (const char $\ast$const key)\label{lirc__options_8c_a1eec84b36958fc178e354b487a080865}

\item 
\hypertarget{lirc__options_8c_a333b13c75679c2afa86790b304b16100}{}int {\bfseries options\+\_\+getboolean} (const char $\ast$const key)\label{lirc__options_8c_a333b13c75679c2afa86790b304b16100}

\item 
\hypertarget{lirc__options_8c_a4ae178af397fc56d63a526535bbffe5d}{}void {\bfseries options\+\_\+load} (int argc, char $\ast$$\ast$const argv, const char $\ast$path\+\_\+arg, void($\ast$parse\+\_\+options)(int, char $\ast$$\ast$const))\label{lirc__options_8c_a4ae178af397fc56d63a526535bbffe5d}

\item 
\hypertarget{lirc__options_8c_ab9373283ae6a21a09e9f5d5e54e25a28}{}void {\bfseries options\+\_\+add\+\_\+defaults} (const char $\ast$const defaults\mbox{[}$\,$\mbox{]})\label{lirc__options_8c_ab9373283ae6a21a09e9f5d5e54e25a28}

\item 
\hypertarget{lirc__options_8c_a90f379fbbe68f7cd94b115975c57a7ce}{}void {\bfseries options\+\_\+unload} (void)\label{lirc__options_8c_a90f379fbbe68f7cd94b115975c57a7ce}

\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{lirc__options_8c_a2d47d46e8babed68a22a0a8505e534c8}{}\hyperlink{group__ciniparser_ga5bd3b2ce42b776c76755ec65642f43af}{dictionary} $\ast$ {\bfseries lirc\+\_\+options} = N\+U\+L\+L\label{lirc__options_8c_a2d47d46e8babed68a22a0a8505e534c8}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Implements \hyperlink{lirc__options_8h}{lirc\+\_\+options.\+h}. 



\subsection{Function Documentation}
\hypertarget{lirc__options_8c_a21ea46a90d52096ab0a309317312b346}{}\index{lirc\+\_\+options.\+c@{lirc\+\_\+options.\+c}!options\+\_\+set\+\_\+loglevel@{options\+\_\+set\+\_\+loglevel}}
\index{options\+\_\+set\+\_\+loglevel@{options\+\_\+set\+\_\+loglevel}!lirc\+\_\+options.\+c@{lirc\+\_\+options.\+c}}
\subsubsection[{options\+\_\+set\+\_\+loglevel}]{\setlength{\rightskip}{0pt plus 5cm}{\bf loglevel\+\_\+t} options\+\_\+set\+\_\+loglevel (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{optarg}
\end{DoxyParamCaption}
)}\label{lirc__options_8c_a21ea46a90d52096ab0a309317312b346}
Parse and store a loglevel, returning value (possibly L\+I\+R\+C\+\_\+\+B\+A\+D\+L\+E\+V\+E\+L). 

Definition at line 38 of file lirc\+\_\+options.\+c.

