Functions | |
EAPI int | ecore_con_client_send (Ecore_Con_Client *cl, void *data, int size) |
Sends the given data to the given client. | |
EAPI Ecore_Con_Server * | ecore_con_client_server_get (Ecore_Con_Client *cl) |
Retrieves the server representing the socket the client has connected to. | |
EAPI void * | ecore_con_client_del (Ecore_Con_Client *cl) |
Closes the connection and frees memory allocated to the given client. | |
EAPI void | ecore_con_client_data_set (Ecore_Con_Client *cl, const void *data) |
Sets the data associated with the given client to data . | |
EAPI void * | ecore_con_client_data_get (Ecore_Con_Client *cl) |
Retrieves the data associated with the given client. | |
EAPI char * | ecore_con_client_ip_get (Ecore_Con_Client *cl) |
Gets the IP address of a cleint that has connected. | |
EAPI void | ecore_con_client_flush (Ecore_Con_Client *cl) |
Flushes all pending data to the given client. | |
EAPI int | ecore_con_ssl_available_get (void) |
Returns if SSL support is available. | |
EAPI int | ecore_ipc_ssl_available_get (void) |
Returns if SSL support is available. |
EAPI void* ecore_con_client_data_get | ( | Ecore_Con_Client * | cl | ) |
Retrieves the data associated with the given client.
cl | The given client. |
cl
. EAPI void ecore_con_client_data_set | ( | Ecore_Con_Client * | cl, | |
const void * | data | |||
) |
Sets the data associated with the given client to data
.
cl | The given client. | |
data | What to set the data to. |
EAPI void* ecore_con_client_del | ( | Ecore_Con_Client * | cl | ) |
Closes the connection and frees memory allocated to the given client.
cl | The given client. |
EAPI void ecore_con_client_flush | ( | Ecore_Con_Client * | cl | ) |
Flushes all pending data to the given client.
Will return when done.
cl | The given client. |
EAPI char* ecore_con_client_ip_get | ( | Ecore_Con_Client * | cl | ) |
Gets the IP address of a cleint that has connected.
cl | The given client. |
cl
object. If no IP is known NULL is returned. EAPI int ecore_con_client_send | ( | Ecore_Con_Client * | cl, | |
void * | data, | |||
int | size | |||
) |
Sends the given data to the given client.
cl | The given client. | |
data | The given data. | |
size | Length of the data, in bytes, to send. |
0
will be returned if there is an error. EAPI Ecore_Con_Server* ecore_con_client_server_get | ( | Ecore_Con_Client * | cl | ) |
Retrieves the server representing the socket the client has connected to.
cl | The given client. |
EAPI int ecore_con_ssl_available_get | ( | void | ) |
Returns if SSL support is available.
EAPI int ecore_ipc_ssl_available_get | ( | void | ) |
Returns if SSL support is available.