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


Functions that deal with I\+PC client objects.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__IPC__Client__Group_ga982c4fa7ecccfb5e89bb6d368a74fd2a}{ecore\+\_\+ipc\+\_\+client\+\_\+send}} (\mbox{\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\+PC client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}} $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Client__Group_ga6fef6153dc1ed497d78265103518feed}{ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Retrieves the I\+PC server that the given I\+PC client is connected to. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Client__Group_ga33d563f3d055c9dbec3d3200cce36913}{ecore\+\_\+ipc\+\_\+client\+\_\+del}} (\mbox{\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\+PC client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__IPC__Client__Group_ga7cdfcf0051c9d1bcc7e72aac33a0acd7}{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set}} (\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$cl, const void $\ast$data)
\begin{DoxyCompactList}\small\item\em Sets the I\+PC data associated with the given I\+PC client to {\ttfamily data}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Client__Group_gab3285d8275d0662676c55f612dbaa49f}{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get}} (\mbox{\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\+PC client. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__IPC__Client__Group_ga7be3fd240390eb78344973a0e0b7a848}{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+set}} (\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$cl, int size)
\begin{DoxyCompactList}\small\item\em Sets the max data payload size for an Ipc message in bytes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int \mbox{\hyperlink{group__Ecore__IPC__Client__Group_gadee9ddd697032fa36798cbd857225b7c}{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Gets the max data payload size for an Ipc message in bytes. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char $\ast$ \mbox{\hyperlink{group__Ecore__IPC__Client__Group_ga658902a6d8bc6e67517bed600b609dc4}{ecore\+\_\+ipc\+\_\+client\+\_\+ip\+\_\+get}} (\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Gets the IP address of a client that has been connected to. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void \mbox{\hyperlink{group__Ecore__IPC__Client__Group_ga4302e25c2db00f3dc7a08b72329b952d}{ecore\+\_\+ipc\+\_\+client\+\_\+flush}} (\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$cl)
\begin{DoxyCompactList}\small\item\em Flushes all pending data to the given client. \end{DoxyCompactList}\end{DoxyCompactItemize}


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



\subsection{Function Documentation}
\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_ga982c4fa7ecccfb5e89bb6d368a74fd2a}\label{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{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+send()}{ecore\_ipc\_client\_send()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+ipc\+\_\+client\+\_\+send (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{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})}



Sends a message to the given I\+PC client. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given I\+PC 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}
\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_ga6fef6153dc1ed497d78265103518feed}\label{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{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get()}{ecore\_ipc\_client\_server\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} \mbox{\hyperlink{group__Ecore__IPC__Group_ga521ebc02e6c6c94364c64fee18c462fb}{Ecore\+\_\+\+Ipc\+\_\+\+Server}}$\ast$ ecore\+\_\+ipc\+\_\+client\+\_\+server\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



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


\begin{DoxyParams}{Parameters}
{\em cl} & The given I\+PC client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The I\+PC server the I\+PC client is connected to. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_ga33d563f3d055c9dbec3d3200cce36913}\label{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{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+del()}{ecore\_ipc\_client\_del()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void$\ast$ ecore\+\_\+ipc\+\_\+client\+\_\+del (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



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


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


References eina\+\_\+list\+\_\+remove().



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

\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_ga7cdfcf0051c9d1bcc7e72aac33a0acd7}\label{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{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set()}{ecore\_ipc\_client\_data\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl,  }\item[{const void $\ast$}]{data }\end{DoxyParamCaption})}



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


\begin{DoxyParams}{Parameters}
{\em cl} & The given I\+PC client. \\
\hline
{\em data} & The data to associate with the I\+PC client. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_gab3285d8275d0662676c55f612dbaa49f}\label{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{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get()}{ecore\_ipc\_client\_data\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void$\ast$ ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



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


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The data associated with the I\+PC client. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_ga7be3fd240390eb78344973a0e0b7a848}\label{group__Ecore__IPC__Client__Group_ga7be3fd240390eb78344973a0e0b7a848}} 
\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+set@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+set}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+set@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+set}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+set()}{ecore\_ipc\_client\_data\_size\_max\_set()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+set (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl,  }\item[{int}]{size }\end{DoxyParamCaption})}



Sets the max data payload size for an Ipc message in bytes. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
{\em size} & The maximum data payload size in bytes. \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_gadee9ddd697032fa36798cbd857225b7c}\label{group__Ecore__IPC__Client__Group_gadee9ddd697032fa36798cbd857225b7c}} 
\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+get}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+get()}{ecore\_ipc\_client\_data\_size\_max\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} int ecore\+\_\+ipc\+\_\+client\+\_\+data\+\_\+size\+\_\+max\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Gets the max data payload size for an Ipc message in bytes. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The maximum data payload size in bytes on success, {\ttfamily -\/1} on failure. 
\end{DoxyReturn}
\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_ga658902a6d8bc6e67517bed600b609dc4}\label{group__Ecore__IPC__Client__Group_ga658902a6d8bc6e67517bed600b609dc4}} 
\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+ip\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+ip\+\_\+get}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+ip\+\_\+get@{ecore\+\_\+ipc\+\_\+client\+\_\+ip\+\_\+get}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+ip\+\_\+get()}{ecore\_ipc\_client\_ip\_get()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} const char$\ast$ ecore\+\_\+ipc\+\_\+client\+\_\+ip\+\_\+get (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Gets the IP address of a client that has been connected to. 


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A pointer to an internal string that contains the IP address of the connected server in the form \char`\"{}\+X\+X\+X.\+Y\+Y\+Y.\+Z\+Z\+Z.\+A\+A\+A\char`\"{} IP notation. This string should not be modified or trusted to stay valid after deletion for the {\ttfamily cl} object. If no IP is known {\ttfamily N\+U\+LL} is returned. 
\end{DoxyReturn}


References efl\+\_\+isa().

\mbox{\Hypertarget{group__Ecore__IPC__Client__Group_ga4302e25c2db00f3dc7a08b72329b952d}\label{group__Ecore__IPC__Client__Group_ga4302e25c2db00f3dc7a08b72329b952d}} 
\index{I\+P\+C Client Functions@{I\+P\+C Client Functions}!ecore\+\_\+ipc\+\_\+client\+\_\+flush@{ecore\+\_\+ipc\+\_\+client\+\_\+flush}}
\index{ecore\+\_\+ipc\+\_\+client\+\_\+flush@{ecore\+\_\+ipc\+\_\+client\+\_\+flush}!I\+P\+C Client Functions@{I\+P\+C Client Functions}}
\subsubsection{\texorpdfstring{ecore\+\_\+ipc\+\_\+client\+\_\+flush()}{ecore\_ipc\_client\_flush()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+PI}} void ecore\+\_\+ipc\+\_\+client\+\_\+flush (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{group__Ecore__IPC__Group_gae1166d54c71fd0595df0a4f59779b47f}{Ecore\+\_\+\+Ipc\+\_\+\+Client}} $\ast$}]{cl }\end{DoxyParamCaption})}



Flushes all pending data to the given client. 

Will return when done.


\begin{DoxyParams}{Parameters}
{\em cl} & The given client. \\
\hline
\end{DoxyParams}


References E\+I\+N\+A\+\_\+\+T\+R\+UE.

