\hypertarget{group__Ecore__Drm__Init__Group}{}\section{Drm Library Init and Shutdown Functions}
\label{group__Ecore__Drm__Init__Group}\index{Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}}


Functions that start and shutdown the Ecore\+\_\+\+Drm Library.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__Ecore__Drm__Init__Group_gae2c58e2992ce9af065417ec998202546}{ecore\+\_\+drm\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize the Ecore\+\_\+\+Drm library. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Ecore__Drm__Init__Group_ga7bd82b81b62b5e541655e38b9cf71f58}{ecore\+\_\+drm\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shutdown the Ecore\+\_\+\+Drm library. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__Drm__Init__Group_gab8a44d5df445d362eb87fe7ab1f3d781}{ecore\+\_\+drm2\+\_\+event\+\_\+handle}} (int fd, \mbox{\hyperlink{struct__Ecore__Drm2__Context}{Ecore\+\_\+\+Drm2\+\_\+\+Context}} $\ast$drmctx)
\begin{DoxyCompactList}\small\item\em Read and process pending Drm events. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that start and shutdown the Ecore\+\_\+\+Drm Library. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__Drm__Init__Group_gae2c58e2992ce9af065417ec998202546}\label{group__Ecore__Drm__Init__Group_gae2c58e2992ce9af065417ec998202546}} 
\index{Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}!ecore\+\_\+drm\+\_\+init@{ecore\+\_\+drm\+\_\+init}}
\index{ecore\+\_\+drm\+\_\+init@{ecore\+\_\+drm\+\_\+init}!Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm\+\_\+init()}{ecore\_drm\_init()}}
{\footnotesize\ttfamily int ecore\+\_\+drm\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialize the Ecore\+\_\+\+Drm library. 

\begin{DoxyReturn}{Returns}
The number of times the library has been initialized without being shut down. 0 is returned if an error occurs. 
\end{DoxyReturn}


References ecore\+\_\+event\+\_\+init(), ecore\+\_\+init(), ecore\+\_\+shutdown(), eeze\+\_\+init(), eina\+\_\+init(), eina\+\_\+log\+\_\+domain\+\_\+register(), E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+RR, and eina\+\_\+shutdown().

\mbox{\Hypertarget{group__Ecore__Drm__Init__Group_ga7bd82b81b62b5e541655e38b9cf71f58}\label{group__Ecore__Drm__Init__Group_ga7bd82b81b62b5e541655e38b9cf71f58}} 
\index{Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}!ecore\+\_\+drm\+\_\+shutdown@{ecore\+\_\+drm\+\_\+shutdown}}
\index{ecore\+\_\+drm\+\_\+shutdown@{ecore\+\_\+drm\+\_\+shutdown}!Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm\+\_\+shutdown()}{ecore\_drm\_shutdown()}}
{\footnotesize\ttfamily int ecore\+\_\+drm\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shutdown the Ecore\+\_\+\+Drm library. 

\begin{DoxyReturn}{Returns}
The number of times the library has been initialized without being shutdown. 0 is returned if an error occurs. 
\end{DoxyReturn}


References ecore\+\_\+event\+\_\+type\+\_\+flush, and E\+RR.

\mbox{\Hypertarget{group__Ecore__Drm__Init__Group_gab8a44d5df445d362eb87fe7ab1f3d781}\label{group__Ecore__Drm__Init__Group_gab8a44d5df445d362eb87fe7ab1f3d781}} 
\index{Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}!ecore\+\_\+drm2\+\_\+event\+\_\+handle@{ecore\+\_\+drm2\+\_\+event\+\_\+handle}}
\index{ecore\+\_\+drm2\+\_\+event\+\_\+handle@{ecore\+\_\+drm2\+\_\+event\+\_\+handle}!Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+drm2\+\_\+event\+\_\+handle()}{ecore\_drm2\_event\_handle()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+drm2\+\_\+event\+\_\+handle (\begin{DoxyParamCaption}\item[{int}]{fd,  }\item[{\mbox{\hyperlink{struct__Ecore__Drm2__Context}{Ecore\+\_\+\+Drm2\+\_\+\+Context}} $\ast$}]{drmctx }\end{DoxyParamCaption})}



Read and process pending Drm events. 


\begin{DoxyParams}{Parameters}
{\em fd} & drm file descriptor \\
\hline
{\em ctx} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
0 on success, -\/1 otherwise
\end{DoxyReturn}
\begin{DoxyNote}{Note}
\+: Do not ever use this function in applications !!! This is a special-\/purpose A\+PI function and should not be used by application developers.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+19 
\end{DoxySince}
