summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/ecore/src/lib/ecore_con/Ecore_Con.h4
-rw-r--r--legacy/ecore/src/lib/ecore_con/ecore_con.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
index bc7ba4d7c7..043dda36bd 100644
--- a/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
+++ b/legacy/ecore/src/lib/ecore_con/Ecore_Con.h
@@ -237,7 +237,7 @@ EAPI void ecore_con_server_client_limit_set(
237 int client_limit, 237 int client_limit,
238 char 238 char
239 reject_excess_clients); 239 reject_excess_clients);
240EAPI char * ecore_con_server_ip_get(Ecore_Con_Server *svr); 240EAPI const char * ecore_con_server_ip_get(Ecore_Con_Server *svr);
241EAPI void ecore_con_server_flush(Ecore_Con_Server *svr); 241EAPI void ecore_con_server_flush(Ecore_Con_Server *svr);
242 242
243EAPI int ecore_con_client_send(Ecore_Con_Client *cl, 243EAPI int ecore_con_client_send(Ecore_Con_Client *cl,
@@ -248,7 +248,7 @@ EAPI void * ecore_con_client_del(Ecore_Con_Client *cl);
248EAPI void ecore_con_client_data_set(Ecore_Con_Client *cl, 248EAPI void ecore_con_client_data_set(Ecore_Con_Client *cl,
249 const void *data); 249 const void *data);
250EAPI void * ecore_con_client_data_get(Ecore_Con_Client *cl); 250EAPI void * ecore_con_client_data_get(Ecore_Con_Client *cl);
251EAPI char * ecore_con_client_ip_get(Ecore_Con_Client *cl); 251EAPI const char * ecore_con_client_ip_get(Ecore_Con_Client *cl);
252EAPI void ecore_con_client_flush(Ecore_Con_Client *cl); 252EAPI void ecore_con_client_flush(Ecore_Con_Client *cl);
253 253
254EAPI int ecore_con_ssl_available_get(void); 254EAPI int ecore_con_ssl_available_get(void);
diff --git a/legacy/ecore/src/lib/ecore_con/ecore_con.c b/legacy/ecore/src/lib/ecore_con/ecore_con.c
index 2857028d99..9fa8e7db10 100644
--- a/legacy/ecore/src/lib/ecore_con/ecore_con.c
+++ b/legacy/ecore/src/lib/ecore_con/ecore_con.c
@@ -598,7 +598,7 @@ ecore_con_server_client_limit_set(Ecore_Con_Server *svr, int client_limit,
598 * deletion for the @p svr object. If no IP is known NULL is returned. 598 * deletion for the @p svr object. If no IP is known NULL is returned.
599 * @ingroup Ecore_Con_Server_Group 599 * @ingroup Ecore_Con_Server_Group
600 */ 600 */
601EAPI char * 601EAPI const char *
602ecore_con_server_ip_get(Ecore_Con_Server *svr) 602ecore_con_server_ip_get(Ecore_Con_Server *svr)
603{ 603{
604 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_CON_SERVER)) 604 if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_CON_SERVER))
@@ -811,7 +811,7 @@ ecore_con_client_data_get(Ecore_Con_Client *cl)
811 * deletion for the @p cl object. If no IP is known NULL is returned. 811 * deletion for the @p cl object. If no IP is known NULL is returned.
812 * @ingroup Ecore_Con_Client_Group 812 * @ingroup Ecore_Con_Client_Group
813 */ 813 */
814EAPI char * 814EAPI const char *
815ecore_con_client_ip_get(Ecore_Con_Client *cl) 815ecore_con_client_ip_get(Ecore_Con_Client *cl)
816{ 816{
817 if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_CON_CLIENT)) 817 if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_CON_CLIENT))