\hypertarget{group__Emile__Group}{}\doxysection{Top level functions}
\label{group__Emile__Group}\index{Top level functions@{Top level functions}}


Function that affect Emile as a whole.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
EAPI int \mbox{\hyperlink{group__Emile__Group_ga612ed9079d6ab739f2dbcb93f9ccb151}{emile\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize the Emile library. \end{DoxyCompactList}\item 
EAPI int \mbox{\hyperlink{group__Emile__Group_ga075c27ac4c77467dc986de44fa3c2d01}{emile\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shut down the Emile library. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Function that affect Emile as a whole. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__Emile__Group_ga612ed9079d6ab739f2dbcb93f9ccb151}\label{group__Emile__Group_ga612ed9079d6ab739f2dbcb93f9ccb151}} 
\index{Top level functions@{Top level functions}!emile\_init@{emile\_init}}
\index{emile\_init@{emile\_init}!Top level functions@{Top level functions}}
\doxysubsubsection{\texorpdfstring{emile\_init()}{emile\_init()}}
{\footnotesize\ttfamily EAPI int emile\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialize the Emile library. 

The first time this function is called, it will perform all the internal initialization required for the library to function properly and increment the initialization counter. Any subsequent call only increment this counter and return its new value, so it\textquotesingle{}s safe to call this function more than once.

\begin{DoxyReturn}{Returns}
The new init count. Will be 0 if initialization failed.
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References \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_ga2e33caeeeb6051526c01b7fea4d6c91b}{EINA\+\_\+\+LOG\+\_\+\+ERR}}, \mbox{\hyperlink{group__Eina__Log__Group_ga079e9de9602815a6de0d5188b65c07a2}{EINA\+\_\+\+LOG\+\_\+\+STATE\+\_\+\+INIT}}, \mbox{\hyperlink{group__Eina__Log__Group_gga125f3b55502884020a1546d0575ae052adcc235504e74cbd641635c0af36e9d47}{EINA\+\_\+\+LOG\+\_\+\+STATE\+\_\+\+STOP}}, \mbox{\hyperlink{group__Eina__Log__Group_gaceb7074e48242643ec8d3d664a32801e}{eina\+\_\+log\+\_\+timing()}}, and \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga96388997453269f58bde7873811af6d5}{ecore\+\_\+con\+\_\+url\+\_\+init()}}, and \mbox{\hyperlink{group__Eet__Group_ga9903687bfa20fe9a9e59d4c1d213e89a}{eet\+\_\+init()}}.

\mbox{\Hypertarget{group__Emile__Group_ga075c27ac4c77467dc986de44fa3c2d01}\label{group__Emile__Group_ga075c27ac4c77467dc986de44fa3c2d01}} 
\index{Top level functions@{Top level functions}!emile\_shutdown@{emile\_shutdown}}
\index{emile\_shutdown@{emile\_shutdown}!Top level functions@{Top level functions}}
\doxysubsubsection{\texorpdfstring{emile\_shutdown()}{emile\_shutdown()}}
{\footnotesize\ttfamily EAPI int emile\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shut down the Emile library. 

If \mbox{\hyperlink{group__Emile__Group_ga612ed9079d6ab739f2dbcb93f9ccb151}{emile\+\_\+init()}} was called more than once for the running application, \mbox{\hyperlink{group__Emile__Group_ga075c27ac4c77467dc986de44fa3c2d01}{emile\+\_\+shutdown()}} will decrement the initialization counter and return its new value, without doing anything else. When the counter reaches 0, all of the internal elements will be shutdown and any memory used freed.

\begin{DoxyReturn}{Returns}
The new init count. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}


References \mbox{\hyperlink{group__Eina__Log__Group_ga61776fa99e910e2d40f77c688c9bee5a}{eina\+\_\+log\+\_\+domain\+\_\+unregister()}}, \mbox{\hyperlink{group__Eina__Log__Group_ga527ad9352599d503a53bf834868d3461}{EINA\+\_\+\+LOG\+\_\+\+STATE\+\_\+\+SHUTDOWN}}, \mbox{\hyperlink{group__Eina__Log__Group_gga125f3b55502884020a1546d0575ae052a42e956e3a69ea29632f7e9d27a269903}{EINA\+\_\+\+LOG\+\_\+\+STATE\+\_\+\+START}}, \mbox{\hyperlink{group__Eina__Log__Group_gaceb7074e48242643ec8d3d664a32801e}{eina\+\_\+log\+\_\+timing()}}, and \mbox{\hyperlink{group__Eina__Main__Group_ga5bf35513199d5220341437c05696285d}{eina\+\_\+shutdown()}}.



Referenced by \mbox{\hyperlink{group__Ecore__Con__Url__Group_ga96388997453269f58bde7873811af6d5}{ecore\+\_\+con\+\_\+url\+\_\+init()}}, \mbox{\hyperlink{group__Ecore__Con__Url__Group_gaabcdae26e4a474dc5b9c43f60e4d00d4}{ecore\+\_\+con\+\_\+url\+\_\+shutdown()}}, and \mbox{\hyperlink{group__Eet__Group_gacbc7583179399d3b3e7b003e911f866f}{eet\+\_\+shutdown()}}.

