Functions

Functions that deal with IPC client objects. More...

Functions

EAPI int ecore_ipc_client_send (Ecore_Ipc_Client *cl, int major, int minor, int ref, int ref_to, int response, const void *data, int size)
 Sends a message to the given IPC client. More...
 
EAPI Ecore_Ipc_Serverecore_ipc_client_server_get (Ecore_Ipc_Client *cl)
 Retrieves the IPC server that the given IPC client is connected to. More...
 
EAPI void * ecore_ipc_client_del (Ecore_Ipc_Client *cl)
 Closes the connection and frees memory allocated to the given IPC client. More...
 
EAPI void ecore_ipc_client_data_set (Ecore_Ipc_Client *cl, const void *data)
 Sets the IPC data associated with the given IPC client to data. More...
 
EAPI void * ecore_ipc_client_data_get (Ecore_Ipc_Client *cl)
 Retrieves the data that has been associated with the given IPC client. More...
 

Detailed Description

Functions that deal with IPC client objects.

Function Documentation

§ ecore_ipc_client_send()

EAPI int ecore_ipc_client_send ( Ecore_Ipc_Client cl,
int  major,
int  minor,
int  ref,
int  ref_to,
int  response,
const void *  data,
int  size 
)

Sends a message to the given IPC client.

Parameters
clThe given IPC client.
majorMajor opcode of the message.
minorMinor opcode of the message.
refReference number of the message.
ref_toReference number of the message this message refers to.
responseRequires response.
dataThe data to send as part of the message.
sizeLength of the data, in bytes, to send.
Returns
The number of bytes sent. 0 will be returned if there is an error.

§ ecore_ipc_client_server_get()

EAPI Ecore_Ipc_Server* ecore_ipc_client_server_get ( Ecore_Ipc_Client cl)

Retrieves the IPC server that the given IPC client is connected to.

Parameters
clThe given IPC client.
Returns
The IPC server the IPC client is connected to.

§ ecore_ipc_client_del()

EAPI void* ecore_ipc_client_del ( Ecore_Ipc_Client cl)

Closes the connection and frees memory allocated to the given IPC client.

Parameters
clThe given client.
Returns
Data associated with the client.

References ecore_con_client_del(), and eina_list_remove().

Referenced by ecore_ipc_server_del(), and ecore_ipc_ssl_available_get().

§ ecore_ipc_client_data_set()

EAPI void ecore_ipc_client_data_set ( Ecore_Ipc_Client cl,
const void *  data 
)

Sets the IPC data associated with the given IPC client to data.

Parameters
clThe given IPC client.
dataThe data to associate with the IPC client.

§ ecore_ipc_client_data_get()

EAPI void* ecore_ipc_client_data_get ( Ecore_Ipc_Client cl)

Retrieves the data that has been associated with the given IPC client.

Parameters
clThe given client.
Returns
The data associated with the IPC client.