\hypertarget{group__Ecore__IPC__Client__Group}{}\section{I\+P\+C Client Functions}
\label{group__Ecore__IPC__Client__Group}\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}}


Functions that deal with I\+P\+C client objects.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__IPC__Client__Group_ga982c4fa7ecccfb5e89bb6d368a74fd2a}{ecore\+\_\+ipc\+\_\+client\+\_\+send} (\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$cl, int major, int minor, int ref, int ref\+\_\+to, int response, const void $\ast$data, int size)
\begin{DoxyCompactList}\small\item\em Sends a message to the given I\+P\+C client. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server} $\ast$ \hyperlink{group__Ecore__IPC__Client__Group_ga6fef6153dc1ed497d78265103518feed}{ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get} (\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Retrieves the I\+P\+C server that the given I\+P\+C client is connected to. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Ecore__IPC__Client__Group_ga33d563f3d055c9dbec3d3200cce36913}{ecore\+\_\+ipc\+\_\+client\+\_\+del} (\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Closes the connection and frees memory allocated to the given I\+P\+C client. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__IPC__Client__Group_ga7cdfcf0051c9d1bcc7e72aac33a0acd7}{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set} (\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$cl, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Sets the I\+P\+C data associated with the given I\+P\+C client to {\ttfamily data}. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Ecore__IPC__Client__Group_gab3285d8275d0662676c55f612dbaa49f}{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get} (\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Retrieves the data that has been associated with the given I\+P\+C client. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Functions that deal with I\+P\+C client objects. 



\subsection{Function Documentation}
\hypertarget{group__Ecore__IPC__Client__Group_ga982c4fa7ecccfb5e89bb6d368a74fd2a}{}\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+send@{ecore\+\_\+ipc\+\_\+client\+\_\+send}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+send@{ecore\+\_\+ipc\+\_\+client\+\_\+send}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection[{ecore\+\_\+ipc\+\_\+client\+\_\+send(\+Ecore\+\_\+\+Ipc\+\_\+\+Client $\ast$cl, int major, int minor, int ref, int ref\+\_\+to, int response, const void $\ast$data, int size)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+ipc\+\_\+client\+\_\+send (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$}]{cl, }
\item[{int}]{major, }
\item[{int}]{minor, }
\item[{int}]{ref, }
\item[{int}]{ref\+\_\+to, }
\item[{int}]{response, }
\item[{const void $\ast$}]{data, }
\item[{int}]{size}
\end{DoxyParamCaption}
)}\label{group__Ecore__IPC__Client__Group_ga982c4fa7ecccfb5e89bb6d368a74fd2a}


Sends a message to the given I\+P\+C client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given I\+P\+C client. \\
\hline
{\em major} & Major opcode of the message. \\
\hline
{\em minor} & Minor opcode of the message. \\
\hline
{\em ref} & Reference number of the message. \\
\hline
{\em ref\+\_\+to} & Reference number of the message this message refers to. \\
\hline
{\em response} & Requires response. \\
\hline
{\em data} & The data to send as part of the message. \\
\hline
{\em size} & Length of the data, in bytes, to send. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The number of bytes sent. {\ttfamily 0} will be returned if there is an error.
\end{DoxyReturn}


References ecore\+\_\+con\+\_\+client\+\_\+connected\+\_\+get(), and ecore\+\_\+con\+\_\+client\+\_\+send().

\hypertarget{group__Ecore__IPC__Client__Group_ga6fef6153dc1ed497d78265103518feed}{}\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection[{ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get(\+Ecore\+\_\+\+Ipc\+\_\+\+Client $\ast$cl)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Ecore\+\_\+\+Ipc\+\_\+\+Server}$\ast$ ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$}]{cl}
\end{DoxyParamCaption}
)}\label{group__Ecore__IPC__Client__Group_ga6fef6153dc1ed497d78265103518feed}


Retrieves the I\+P\+C server that the given I\+P\+C client is connected to. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given I\+P\+C client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The I\+P\+C server the I\+P\+C client is connected to. 
\end{DoxyReturn}
\hypertarget{group__Ecore__IPC__Client__Group_ga33d563f3d055c9dbec3d3200cce36913}{}\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+del@{ecore\+\_\+ipc\+\_\+client\+\_\+del}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+del@{ecore\+\_\+ipc\+\_\+client\+\_\+del}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection[{ecore\+\_\+ipc\+\_\+client\+\_\+del(\+Ecore\+\_\+\+Ipc\+\_\+\+Client $\ast$cl)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void$\ast$ ecore\+\_\+ipc\+\_\+client\+\_\+del (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$}]{cl}
\end{DoxyParamCaption}
)}\label{group__Ecore__IPC__Client__Group_ga33d563f3d055c9dbec3d3200cce36913}


Closes the connection and frees memory allocated to the given I\+P\+C client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Data associated with the client. 
\end{DoxyReturn}


References ecore\+\_\+con\+\_\+client\+\_\+del(), and eina\+\_\+list\+\_\+remove().



Referenced by ecore\+\_\+ipc\+\_\+server\+\_\+del().

\hypertarget{group__Ecore__IPC__Client__Group_ga7cdfcf0051c9d1bcc7e72aac33a0acd7}{}\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection[{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set(\+Ecore\+\_\+\+Ipc\+\_\+\+Client $\ast$cl, const void $\ast$data)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$}]{cl, }
\item[{const void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Ecore__IPC__Client__Group_ga7cdfcf0051c9d1bcc7e72aac33a0acd7}


Sets the I\+P\+C data associated with the given I\+P\+C client to {\ttfamily data}. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given I\+P\+C client. \\
\hline
{\em data} & The data to associate with the I\+P\+C client. \\
\hline
\end{DoxyParams}
\hypertarget{group__Ecore__IPC__Client__Group_gab3285d8275d0662676c55f612dbaa49f}{}\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection[{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get(\+Ecore\+\_\+\+Ipc\+\_\+\+Client $\ast$cl)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void$\ast$ ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{{\bf Ecore\+\_\+\+Ipc\+\_\+\+Client} $\ast$}]{cl}
\end{DoxyParamCaption}
)}\label{group__Ecore__IPC__Client__Group_gab3285d8275d0662676c55f612dbaa49f}


Retrieves the data that has been associated with the given I\+P\+C client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data associated with the I\+P\+C client. 
\end{DoxyReturn}
