\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}
\hypertarget{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[{ecore\+\_\+x\+\_\+init}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+x\+\_\+init (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Init__Group_ga91365a33d7fa9eb50cd6ff49e0aef9e9}


Initialize the X display connection to the given display. 


\begin{DoxyParams}{Parameters}
{\em name} & Display target name. If {\ttfamily N\+U\+L\+L}, 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\+\_\+event\+\_\+type\+\_\+new(), E\+C\+O\+R\+E\+\_\+\+F\+D\+\_\+\+R\+E\+A\+D, ecore\+\_\+idle\+\_\+enterer\+\_\+add(), ecore\+\_\+init(), ecore\+\_\+main\+\_\+fd\+\_\+handler\+\_\+add(), ecore\+\_\+shutdown(), E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+E\+V\+E\+N\+T\+\_\+\+A\+N\+Y, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+E\+V\+E\+N\+T\+\_\+\+G\+E\+N\+E\+R\+I\+C, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+E\+V\+E\+N\+T\+\_\+\+X\+K\+B\+\_\+\+N\+E\+W\+K\+B\+D\+\_\+\+N\+O\+T\+I\+F\+Y, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+N\+E\+T\+\_\+\+W\+M\+\_\+\+P\+R\+O\+T\+O\+C\+O\+L\+\_\+\+P\+I\+N\+G, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+N\+E\+T\+\_\+\+W\+M\+\_\+\+P\+R\+O\+T\+O\+C\+O\+L\+\_\+\+S\+Y\+N\+C\+\_\+\+R\+E\+Q\+U\+E\+S\+T, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+R\+A\+W\+\_\+\+B\+U\+T\+T\+O\+N\+\_\+\+P\+R\+E\+S\+S, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+R\+A\+W\+\_\+\+B\+U\+T\+T\+O\+N\+\_\+\+R\+E\+L\+E\+A\+S\+E, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+R\+A\+W\+\_\+\+M\+O\+T\+I\+O\+N, ecore\+\_\+x\+\_\+window\+\_\+override\+\_\+new(), E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+W\+M\+\_\+\+P\+R\+O\+T\+O\+C\+O\+L\+\_\+\+D\+E\+L\+E\+T\+E\+\_\+\+R\+E\+Q\+U\+E\+S\+T, E\+C\+O\+R\+E\+\_\+\+X\+\_\+\+W\+M\+\_\+\+P\+R\+O\+T\+O\+C\+O\+L\+\_\+\+T\+A\+K\+E\+\_\+\+F\+O\+C\+U\+S, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eina\+\_\+init(), eina\+\_\+log\+\_\+domain\+\_\+register(), eina\+\_\+log\+\_\+domain\+\_\+unregister(), E\+I\+N\+A\+\_\+\+L\+O\+G\+\_\+\+E\+R\+R, eina\+\_\+shutdown(), E\+I\+N\+A\+\_\+\+T\+R\+U\+E, E\+R\+R, R\+T\+L\+D\+\_\+\+G\+L\+O\+B\+A\+L, and R\+T\+L\+D\+\_\+\+L\+A\+Z\+Y.

\hypertarget{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[{ecore\+\_\+x\+\_\+shutdown}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+x\+\_\+shutdown (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Init__Group_ga627021baaaf0edca4e1b26828c318ec5}


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\+U\+E.

\hypertarget{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[{ecore\+\_\+x\+\_\+disconnect}]{\setlength{\rightskip}{0pt plus 5cm}int ecore\+\_\+x\+\_\+disconnect (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__X__Init__Group_ga09de8939c4738ce736b2c3ebba607211}


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\+S\+E.

