\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 \hyperlink{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{evil\+\_\+init} (void)
\begin{DoxyCompactList}\small\item\em Initialize the Evil library. \end{DoxyCompactList}\item 
int \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}
\hypertarget{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{\index{Main@{Main}!evil\+\_\+init@{evil\+\_\+init}}
\index{evil\+\_\+init@{evil\+\_\+init}!Main@{Main}}
\subsubsection[{evil\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}int evil\+\_\+init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}


Initialize the Evil library. 

This function initializes the Evil library. It must be called before using \hyperlink{group__Evil__Unistd__Group_ga618a57ccf0e29811e85de383ddb086cb}{evil\+\_\+time\+\_\+get()}, gettimeofday() or \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 \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().

\hypertarget{group__Evil__Main__Group_ga511a773c53b0e955b9e08ef12f8711f8}{\index{Main@{Main}!evil\+\_\+shutdown@{evil\+\_\+shutdown}}
\index{evil\+\_\+shutdown@{evil\+\_\+shutdown}!Main@{Main}}
\subsubsection[{evil\+\_\+shutdown}]{\setlength{\rightskip}{0pt plus 5cm}int evil\+\_\+shutdown (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Evil__Main__Group_ga511a773c53b0e955b9e08ef12f8711f8}


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 \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 \hyperlink{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{evil\+\_\+init()} documentation anymore . You must call \hyperlink{group__Evil__Main__Group_ga4c201ce6c079c6129894e4b073a11829}{evil\+\_\+init()} again to use these functions again. 

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



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

