\hypertarget{lirc__client_8h}{}\section{/home/mk/tmp/lirc/lib/lirc\+\_\+client.h File Reference}
\label{lirc__client_8h}\index{/home/mk/tmp/lirc/lib/lirc\+\_\+client.\+h(6cb14fc 2015-\/08-\/03 11\+:20\+:42 +0200)@{/home/mk/tmp/lirc/lib/lirc\+\_\+client.\+h(6cb14fc 2015-\/08-\/03 11\+:20\+:42 +0200)}}


3-\/rd party application interface.  


{\ttfamily \#include $<$errno.\+h$>$}\\*
{\ttfamily \#include $<$stdarg.\+h$>$}\\*
{\ttfamily \#include $<$stddef.\+h$>$}\\*
{\ttfamily \#include $<$stdint.\+h$>$}\\*
{\ttfamily \#include $<$stdio.\+h$>$}\\*
{\ttfamily \#include $<$stdlib.\+h$>$}\\*
{\ttfamily \#include $<$string.\+h$>$}\\*
{\ttfamily \#include $<$syslog.\+h$>$}\\*
{\ttfamily \#include $<$unistd.\+h$>$}\\*
{\ttfamily \#include \char`\"{}lirc/paths.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}lirc/lirc\+\_\+config.\+h\char`\"{}}\\*
\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structlirc__list}{lirc\+\_\+list}
\item 
struct \hyperlink{structlirc__code}{lirc\+\_\+code}
\item 
struct \hyperlink{structlirc__config}{lirc\+\_\+config}
\item 
struct \hyperlink{structlirc__config__entry}{lirc\+\_\+config\+\_\+entry}
\item 
struct \hyperlink{structlirc__cmd__ctx}{lirc\+\_\+cmd\+\_\+ctx}
\end{DoxyCompactItemize}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{lirc__client_8h_ac5a27f78e2ad4b5e68d56b4ffd4230ea}{}\#define {\bfseries L\+I\+R\+C\+\_\+\+R\+E\+T\+\_\+\+S\+U\+C\+C\+E\+S\+S}~(0)\label{lirc__client_8h_ac5a27f78e2ad4b5e68d56b4ffd4230ea}

\item 
\hypertarget{lirc__client_8h_a58d6eff8a2cbfaa7e0328838a9b83d5d}{}\#define {\bfseries L\+I\+R\+C\+\_\+\+R\+E\+T\+\_\+\+E\+R\+R\+O\+R}~(-\/1)\label{lirc__client_8h_a58d6eff8a2cbfaa7e0328838a9b83d5d}

\item 
\hypertarget{lirc__client_8h_aca3acef23d92e031fd6633cd4b863472}{}\#define {\bfseries L\+I\+R\+C\+\_\+\+A\+L\+L}~((char$\ast$)(-\/1))\label{lirc__client_8h_aca3acef23d92e031fd6633cd4b863472}

\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{lirc__client_8h_a3acae9310e2c2e411e800a8a369171c6}{}typedef uint32\+\_\+t {\bfseries \+\_\+\+\_\+u32}\label{lirc__client_8h_a3acae9310e2c2e411e800a8a369171c6}

\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
\hypertarget{lirc__client_8h_a18132fb98c6cd2cf65610665d6d92416}{}enum {\bfseries lirc\+\_\+flags} \{ \\*
{\bfseries none} = 0x00, 
{\bfseries once} = 0x01, 
{\bfseries quit} = 0x02, 
{\bfseries mode} = 0x04, 
\\*
{\bfseries ecno} = 0x08, 
{\bfseries startup\+\_\+mode} = 0x10, 
{\bfseries toggle\+\_\+reset} = 0x20
 \}\label{lirc__client_8h_a18132fb98c6cd2cf65610665d6d92416}

\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{group__lirc__client_gaf92c865f0895259aa40e2aed51c71001}{lirc\+\_\+init} (const char $\ast$prog, int verbose)
\item 
int \hyperlink{group__lirc__client_ga50999022b09857ba43aa2f3f29c72b9e}{lirc\+\_\+deinit} (void)
\item 
int \hyperlink{group__lirc__client_ga62e50c43a39bd8858d42bc11adf40972}{lirc\+\_\+readconfig} (const char $\ast$path, struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$$\ast$config, int(check)(char $\ast$s))
\item 
void \hyperlink{group__lirc__client_ga771f0592a8d378bc2ea314fdf4efa233}{lirc\+\_\+freeconfig} (struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$config)
\item 
char $\ast$ \hyperlink{group__lirc__client_gafab5b5f56fb8bfb65b67d56d8426c2e1}{lirc\+\_\+nextir} (void)
\item 
char $\ast$ \hyperlink{group__lirc__client_gab9031bb1af5f068bacb1fe0d1fc6ca81}{lirc\+\_\+ir2char} (struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$config, char $\ast$code)
\item 
int \hyperlink{group__lirc__client_gaf352dc9bb17d32c0f867ce5ca8a2f2d3}{lirc\+\_\+nextcode} (char $\ast$$\ast$code)
\item 
int \hyperlink{group__lirc__client_ga8cb15780179dec56adc42559ee964a68}{lirc\+\_\+code2char} (struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$config, char $\ast$code, char $\ast$$\ast$string)
\item 
int \hyperlink{group__lirc__client_ga94642edfbd32527a6a9b9c761be9ad90}{lirc\+\_\+readconfig\+\_\+only} (const char $\ast$file, struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$$\ast$config, int(check)(char $\ast$s))
\item 
\hypertarget{group__lirc__client_ga5d24b619ef689329ae2d085aa2bd412b}{}int {\bfseries lirc\+\_\+code2charprog} (struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$config, char $\ast$code, char $\ast$$\ast$string, char $\ast$$\ast$prog)\label{group__lirc__client_ga5d24b619ef689329ae2d085aa2bd412b}

\item 
size\+\_\+t \hyperlink{group__lirc__client_gac572a64d1d7abbe776957c4fc7273bb7}{lirc\+\_\+getsocketname} (const char $\ast$id, char $\ast$buf, size\+\_\+t size)
\item 
const char $\ast$ \hyperlink{group__lirc__client_ga5161b44df0f73abbc48db605c98c9279}{lirc\+\_\+getmode} (struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$config)
\item 
const char $\ast$ \hyperlink{group__lirc__client_ga28252340557d024ff5238c69f3875a38}{lirc\+\_\+setmode} (struct \hyperlink{structlirc__config}{lirc\+\_\+config} $\ast$config, const char $\ast$mode)
\item 
int \hyperlink{group__lirc__client_ga3787c58d32391a5b7c40337fdbee95fc}{lirc\+\_\+command\+\_\+init} (\hyperlink{structlirc__cmd__ctx}{lirc\+\_\+cmd\+\_\+ctx} $\ast$ctx, const char $\ast$fmt,...)
\item 
int \hyperlink{group__lirc__client_ga888d275e1b0cf4988e44fb15f24d2a99}{lirc\+\_\+command\+\_\+run} (\hyperlink{structlirc__cmd__ctx}{lirc\+\_\+cmd\+\_\+ctx} $\ast$ctx, int fd)
\item 
void \hyperlink{group__lirc__client_gace4d40f00918d8bdf9a4f6df0fb0155d}{lirc\+\_\+command\+\_\+reply\+\_\+to\+\_\+stdout} (\hyperlink{structlirc__cmd__ctx}{lirc\+\_\+cmd\+\_\+ctx} $\ast$ctx)
\item 
int \hyperlink{group__lirc__client_ga0e86e3a29c14dc8047651e0bb9c49b31}{lirc\+\_\+send\+\_\+one} (int fd, const char $\ast$remote, const char $\ast$keysym)
\item 
int \hyperlink{group__lirc__client_gad5d41d33e0c1fc3002cdf8c0d9aa43d5}{lirc\+\_\+simulate} (int fd, const char $\ast$remote, const char $\ast$keysym, int scancode, int repeat)
\item 
int \hyperlink{group__lirc__client_ga81b8a02fdab2ef6d21930bbefabedf30}{lirc\+\_\+get\+\_\+remote\+\_\+socket} (const char $\ast$address, int port, int quiet)
\item 
int \hyperlink{group__lirc__client_ga13cf4c784df60143d2b171645f4e84c1}{lirc\+\_\+get\+\_\+local\+\_\+socket} (const char $\ast$path, int quiet)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
3-\/rd party application interface. 

\begin{DoxyAuthor}{Author}
Trent Piepho, Christoph Bartelmus 
\end{DoxyAuthor}
