\hypertarget{group__Ecore__Drm__Init__Group}{}\doxysection{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.  


\doxysubsection*{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{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} int \mbox{\hyperlink{group__Ecore__Drm__Init__Group_ga871d33c83bb2991eb3e0cb3af1b78467}{ecore\+\_\+drm2\+\_\+event\+\_\+handle}} (Ecore\+\_\+\+Drm2\+\_\+\+Device $\ast$dev, \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}


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



\doxysubsection{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}}
\doxysubsubsection{\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(), EINA\+\_\+\+LOG\+\_\+\+ERR, 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}}
\doxysubsubsection{\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 ERR.

\mbox{\Hypertarget{group__Ecore__Drm__Init__Group_ga871d33c83bb2991eb3e0cb3af1b78467}\label{group__Ecore__Drm__Init__Group_ga871d33c83bb2991eb3e0cb3af1b78467}} 
\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}}
\doxysubsubsection{\texorpdfstring{ecore\_drm2\_event\_handle()}{ecore\_drm2\_event\_handle()}}
{\footnotesize\ttfamily \mbox{\hyperlink{Elua_8h_a3db3556eec8ef18cb8ddb43816974ac8}{EAPI}} int ecore\+\_\+drm2\+\_\+event\+\_\+handle (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Device $\ast$}]{dev,  }\item[{\mbox{\hyperlink{struct__Ecore__Drm2__Context}{Ecore\+\_\+\+Drm2\+\_\+\+Context}} $\ast$}]{drmctx }\end{DoxyParamCaption})}



Read and process pending Drm events. 


\begin{DoxyParams}{Parameters}
{\em dev} & drm device \\
\hline
{\em drmctx} & \\
\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 API function and should not be used by application developers.
\end{DoxyNote}
\begin{DoxySince}{Since}
1.\+19 
\end{DoxySince}


References EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL.

