\hypertarget{group__Evil__Main__Group}{}\section{Main}
\label{group__Evil__Main__Group}\index{Main@{Main}}


This header provides functions to initialize and shut down the Evil library.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \mbox{\hyperlink{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{evil\+\_\+init}} (void)
\begin{DoxyCompactList}\small\item\em Initialize the Evil library. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{group__Evil__Main__Group_ga511a773c53b0e955b9e08ef12f8711f8}{evil\+\_\+shutdown}} (void)
\begin{DoxyCompactList}\small\item\em Shut down the Evil library. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This header provides functions to initialize and shut down the Evil library. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}\label{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}} 
\index{Main@{Main}!evil\+\_\+init@{evil\+\_\+init}}
\index{evil\+\_\+init@{evil\+\_\+init}!Main@{Main}}
\subsubsection{\texorpdfstring{evil\+\_\+init()}{evil\_init()}}
{\footnotesize\ttfamily int evil\+\_\+init (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Initialize the Evil library. 

This function initializes the Evil library. It must be called before using \mbox{\hyperlink{group__Evil__Unistd__Group_ga618a57ccf0e29811e85de383ddb086cb}{evil\+\_\+time\+\_\+get()}}, gettimeofday() or \mbox{\hyperlink{group__Escape__Unistd__Group_ga5ecdf33dcbe17677f251c99743b545ce}{pipe()}}. It returns 0 on failure, otherwise it returns the number of times it has already been called.

When Evil is not used anymore, call \mbox{\hyperlink{group__Evil__Main__Group_ga511a773c53b0e955b9e08ef12f8711f8}{evil\+\_\+shutdown()}} to shut down the Evil library. 

References evil\+\_\+sockets\+\_\+init().



Referenced by ecore\+\_\+con\+\_\+init(), ecore\+\_\+init(), and evas\+\_\+init().

\mbox{\Hypertarget{group__Evil__Main__Group_ga511a773c53b0e955b9e08ef12f8711f8}\label{group__Evil__Main__Group_ga511a773c53b0e955b9e08ef12f8711f8}} 
\index{Main@{Main}!evil\+\_\+shutdown@{evil\+\_\+shutdown}}
\index{evil\+\_\+shutdown@{evil\+\_\+shutdown}!Main@{Main}}
\subsubsection{\texorpdfstring{evil\+\_\+shutdown()}{evil\_shutdown()}}
{\footnotesize\ttfamily int evil\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shut down the Evil library. 

\begin{DoxyReturn}{Returns}
0 when the Evil library is completely shut down, 1 or greater otherwise.
\end{DoxyReturn}
This function shuts down the Evil library. It returns 0 when it has been called the same number of times than \mbox{\hyperlink{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{evil\+\_\+init()}}.

Once this function succeeds (that is, {\ttfamily 0} is returned), you must not call any of the Evil function listed in \mbox{\hyperlink{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{evil\+\_\+init()}} documentation anymore . You must call \mbox{\hyperlink{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{evil\+\_\+init()}} again to use these functions again. 

References evil\+\_\+sockets\+\_\+shutdown().

