\hypertarget{group__Ecore__X__Init__Group}{}\section{X Library Init and Shutdown Functions}
\label{group__Ecore__X__Init__Group}\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}


Functions that start and shut down the Ecore X Library.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{group__Ecore__X__Init__Group_ga91365a33d7fa9eb50cd6ff49e0aef9e9}{ecore\+\_\+x\+\_\+init} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Initialize the X display connection to the given display. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__X__Init__Group_ga627021baaaf0edca4e1b26828c318ec5}{ecore\+\_\+x\+\_\+shutdown} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore X library. \end{DoxyCompactList}\item 
int \hyperlink{group__Ecore__X__Init__Group_ga09de8939c4738ce736b2c3ebba607211}{ecore\+\_\+x\+\_\+disconnect} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore X library. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that start and shut down the Ecore X Library. 



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__X__Init__Group_ga91365a33d7fa9eb50cd6ff49e0aef9e9}\label{group__Ecore__X__Init__Group_ga91365a33d7fa9eb50cd6ff49e0aef9e9}} 
\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}!ecore\+\_\+x\+\_\+init@{ecore\+\_\+x\+\_\+init}}
\index{ecore\+\_\+x\+\_\+init@{ecore\+\_\+x\+\_\+init}!X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+x\+\_\+init()}{ecore\_x\_init()}}
{\footnotesize\ttfamily int ecore\+\_\+x\+\_\+init (\begin{DoxyParamCaption}\item[{const char $\ast$}]{name }\end{DoxyParamCaption})}



Initialize the X display connection to the given display. 


\begin{DoxyParams}{Parameters}
{\em name} & Display target name. If {\ttfamily N\+U\+LL}, the default display is assumed. \\
\hline
\end{DoxyParams}
\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 dlopen(), dlsym(), ecore\+\_\+event\+\_\+init(), ecore\+\_\+event\+\_\+shutdown(), ecore\+\_\+init(), ecore\+\_\+shutdown(), eina\+\_\+init(), eina\+\_\+log\+\_\+domain\+\_\+register(), eina\+\_\+log\+\_\+domain\+\_\+unregister(), E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+RR, eina\+\_\+shutdown(), E\+RR, R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+AL, and R\+T\+L\+D\+\_\+\+L\+A\+ZY.

\mbox{\Hypertarget{group__Ecore__X__Init__Group_ga627021baaaf0edca4e1b26828c318ec5}\label{group__Ecore__X__Init__Group_ga627021baaaf0edca4e1b26828c318ec5}} 
\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}!ecore\+\_\+x\+\_\+shutdown@{ecore\+\_\+x\+\_\+shutdown}}
\index{ecore\+\_\+x\+\_\+shutdown@{ecore\+\_\+x\+\_\+shutdown}!X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+x\+\_\+shutdown()}{ecore\_x\_shutdown()}}
{\footnotesize\ttfamily int ecore\+\_\+x\+\_\+shutdown (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shuts down the Ecore X library. 

In shutting down the library, the X display connection is terminated and any event handlers for it are removed.

\begin{DoxyReturn}{Returns}
The number of times the library has been initialized without being shut down.
\end{DoxyReturn}
In shutting down the library, the X display connection is terminated and any event handlers for it are removed.

\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 E\+I\+N\+A\+\_\+\+T\+R\+UE.

\mbox{\Hypertarget{group__Ecore__X__Init__Group_ga09de8939c4738ce736b2c3ebba607211}\label{group__Ecore__X__Init__Group_ga09de8939c4738ce736b2c3ebba607211}} 
\index{X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}!ecore\+\_\+x\+\_\+disconnect@{ecore\+\_\+x\+\_\+disconnect}}
\index{ecore\+\_\+x\+\_\+disconnect@{ecore\+\_\+x\+\_\+disconnect}!X Library Init and Shutdown Functions@{X Library Init and Shutdown Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+x\+\_\+disconnect()}{ecore\_x\_disconnect()}}
{\footnotesize\ttfamily int ecore\+\_\+x\+\_\+disconnect (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Shuts down the Ecore X library. 

As ecore\+\_\+x\+\_\+shutdown, except do not close Display, only connection.

\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}
As ecore\+\_\+x\+\_\+shutdown, except do not close Display, only connection. 

References E\+I\+N\+A\+\_\+\+F\+A\+L\+SE.

