\doxysection{Drm Library Init and Shutdown Functions}
\hypertarget{group__Ecore__Drm__Init__Group}{}\label{group__Ecore__Drm__Init__Group}\index{Drm Library Init and Shutdown Functions@{Drm Library Init and Shutdown Functions}}
\doxysubsubsection*{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 
EAPI int \mbox{\hyperlink{group__Ecore__Drm__Init__Group_ga871d33c83bb2991eb3e0cb3af1b78467}{ecore\+\_\+drm2\+\_\+event\+\_\+handle}} (Ecore\+\_\+\+Drm2\+\_\+\+Device \texorpdfstring{$\ast$}{*}dev, \mbox{\hyperlink{struct__Ecore__Drm2__Context}{Ecore\+\_\+\+Drm2\+\_\+\+Context}} \texorpdfstring{$\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}
\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 \mbox{\hyperlink{Ecore__Drm_8h_a3e03b42814fd2973aa07079b51a69e51}{ECORE\+\_\+\+DRM\+\_\+\+EVENT\+\_\+\+OUTPUT}}, \mbox{\hyperlink{Ecore__Drm_8h_a9372e946f1a4c64d8f503a73fac1b610}{ECORE\+\_\+\+DRM\+\_\+\+EVENT\+\_\+\+SEAT\+\_\+\+ADD}}, \mbox{\hyperlink{group__Ecore__Input__Group_gac7674e92b0aa4d30a9f6ebb7a7ce11d6}{ecore\+\_\+event\+\_\+init()}}, \mbox{\hyperlink{group__Ecore__Input__Group_gaaa308222199debcf043cea92a1b9211e}{ecore\+\_\+event\+\_\+shutdown()}}, \mbox{\hyperlink{group__Ecore__Event__Group_ga3fad8d8bfe3776c69d33aff1f056ba89}{ecore\+\_\+event\+\_\+type\+\_\+new()}}, \mbox{\hyperlink{group__Ecore__Init__Group_ga77757609684a2c922dc5ec398274751b}{ecore\+\_\+init()}}, \mbox{\hyperlink{group__Ecore__Init__Group_ga768298b932f18d7e7593a447493e5cde}{ecore\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eeze__Main_gab802d08096efb76b6fd9e04414fed3c4}{eeze\+\_\+init()}}, \mbox{\hyperlink{group__Eina__Main__Group_ga81b8137665b8a4d2cb38ca50017d4c74}{eina\+\_\+init()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga79d0a42ab10dd0e7760b33ae33a6aae0}{eina\+\_\+log\+\_\+domain\+\_\+register()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\+\_\+\+LOG\+\_\+\+ERR}}, and \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}.

\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 \mbox{\hyperlink{group__Ecore__Drm__Device__Group_gab206267ef3b8706b22c42391f0dee07e}{ecore\+\_\+drm\+\_\+device\+\_\+free()}}, \mbox{\hyperlink{group__Ecore__Drm__Device__Group_ga4e3e29d56d011506fde6c013dc4ae7e9}{ecore\+\_\+drm\+\_\+devices\+\_\+get()}}, \mbox{\hyperlink{Ecore__Drm_8h_a3e03b42814fd2973aa07079b51a69e51}{ECORE\+\_\+\+DRM\+\_\+\+EVENT\+\_\+\+OUTPUT}}, \mbox{\hyperlink{Ecore__Drm_8h_a9372e946f1a4c64d8f503a73fac1b610}{ECORE\+\_\+\+DRM\+\_\+\+EVENT\+\_\+\+SEAT\+\_\+\+ADD}}, \mbox{\hyperlink{group__Ecore__Input__Group_gaaa308222199debcf043cea92a1b9211e}{ecore\+\_\+event\+\_\+shutdown()}}, \mbox{\hyperlink{group__Ecore__Event__Group_gab7200780b0a2b7fca55f36a90119f0ce}{ecore\+\_\+event\+\_\+type\+\_\+flush}}, \mbox{\hyperlink{group__Ecore__Init__Group_ga768298b932f18d7e7593a447493e5cde}{ecore\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eeze__Main_ga908dda677760bf318a67428938a07d42}{eeze\+\_\+shutdown()}}, \mbox{\hyperlink{group__Eina__List__Group_gabffc00a6b64c1574d803e3663ca06e62}{eina\+\_\+list\+\_\+clone()}}, \mbox{\hyperlink{group__Eina__List__Group_gae27a2c686a0a11693f9b06957c9bba83}{EINA\+\_\+\+LIST\+\_\+\+FREE}}, \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}, and \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}.

\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 EAPI int ecore\+\_\+drm2\+\_\+event\+\_\+handle (\begin{DoxyParamCaption}\item[{Ecore\+\_\+\+Drm2\+\_\+\+Device \texorpdfstring{$\ast$}{*}}]{dev,  }\item[{\mbox{\hyperlink{struct__Ecore__Drm2__Context}{Ecore\+\_\+\+Drm2\+\_\+\+Context}} \texorpdfstring{$\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 \mbox{\hyperlink{group__Eina__Safety__Checks__Group_gab2b07061fc6500dedd9cd41c8d16f95d}{EINA\+\_\+\+SAFETY\+\_\+\+ON\+\_\+\+NULL\+\_\+\+RETURN\+\_\+\+VAL}}.

