\hypertarget{group__Ecore__Wl__Init__Group}{\section{Wayland Library Init and Shutdown Functions}
\label{group__Ecore__Wl__Init__Group}\index{Wayland Library Init and Shutdown Functions@{Wayland Library Init and Shutdown Functions}}
}


Functions that start and shutdown the Ecore Wayland Library.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} int \hyperlink{group__Ecore__Wl__Init__Group_gaf158fc255ed0fbbe4721475a87d86828}{ecore\-\_\-wl\-\_\-init} (const char $\ast$name)
\begin{DoxyCompactList}\small\item\em Initialize the Wayland display connection to the given display. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\-A\-P\-I} int \hyperlink{group__Ecore__Wl__Init__Group_gad9028b2f0a563f646802d6411173b1a4}{ecore\-\_\-wl\-\_\-shutdown} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore Wayland Library. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that start and shutdown the Ecore Wayland Library. 

\subsection{Function Documentation}
\hypertarget{group__Ecore__Wl__Init__Group_gaf158fc255ed0fbbe4721475a87d86828}{\index{Wayland Library Init and Shutdown Functions@{Wayland Library Init and Shutdown Functions}!ecore\-\_\-wl\-\_\-init@{ecore\-\_\-wl\-\_\-init}}
\index{ecore\-\_\-wl\-\_\-init@{ecore\-\_\-wl\-\_\-init}!Wayland Library Init and Shutdown Functions@{Wayland Library Init and Shutdown Functions}}
\subsubsection[{ecore\-\_\-wl\-\_\-init}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-A\-P\-I} int ecore\-\_\-wl\-\_\-init (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{name}
\end{DoxyParamCaption}
)}}\label{group__Ecore__Wl__Init__Group_gaf158fc255ed0fbbe4721475a87d86828}


Initialize the Wayland 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 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\-\_\-\-W\-L\-\_\-\-E\-V\-E\-N\-T\-\_\-\-D\-A\-T\-A\-\_\-\-S\-O\-U\-R\-C\-E\-\_\-\-C\-A\-N\-C\-E\-L\-L\-E\-D, E\-C\-O\-R\-E\-\_\-\-W\-L\-\_\-\-E\-V\-E\-N\-T\-\_\-\-D\-A\-T\-A\-\_\-\-S\-O\-U\-R\-C\-E\-\_\-\-S\-E\-N\-D, E\-C\-O\-R\-E\-\_\-\-W\-L\-\_\-\-E\-V\-E\-N\-T\-\_\-\-D\-A\-T\-A\-\_\-\-S\-O\-U\-R\-C\-E\-\_\-\-T\-A\-R\-G\-E\-T, E\-C\-O\-R\-E\-\_\-\-W\-L\-\_\-\-E\-V\-E\-N\-T\-\_\-\-D\-N\-D\-\_\-\-E\-N\-D, E\-C\-O\-R\-E\-\_\-\-W\-L\-\_\-\-E\-V\-E\-N\-T\-\_\-\-I\-N\-T\-E\-R\-F\-A\-C\-E\-S\-\_\-\-B\-O\-U\-N\-D, E\-C\-O\-R\-E\-\_\-\-W\-L\-\_\-\-E\-V\-E\-N\-T\-\_\-\-S\-E\-L\-E\-C\-T\-I\-O\-N\-\_\-\-D\-A\-T\-A\-\_\-\-R\-E\-A\-D\-Y, 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, and eina\-\_\-shutdown().

\hypertarget{group__Ecore__Wl__Init__Group_gad9028b2f0a563f646802d6411173b1a4}{\index{Wayland Library Init and Shutdown Functions@{Wayland Library Init and Shutdown Functions}!ecore\-\_\-wl\-\_\-shutdown@{ecore\-\_\-wl\-\_\-shutdown}}
\index{ecore\-\_\-wl\-\_\-shutdown@{ecore\-\_\-wl\-\_\-shutdown}!Wayland Library Init and Shutdown Functions@{Wayland Library Init and Shutdown Functions}}
\subsubsection[{ecore\-\_\-wl\-\_\-shutdown}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\-A\-P\-I} int ecore\-\_\-wl\-\_\-shutdown (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}}\label{group__Ecore__Wl__Init__Group_gad9028b2f0a563f646802d6411173b1a4}


Shuts down the Ecore Wayland Library. 

In shutting down the library, the Wayland 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}


References E\-I\-N\-A\-\_\-\-T\-R\-U\-E.

