forked from enlightenment/efl
these functions return a const char *, so they should actually return a const char *
SVN revision: 50622
This commit is contained in:
parent
1b41ba0fb1
commit
920c508d86
|
@ -237,7 +237,7 @@ EAPI void ecore_con_server_client_limit_set(
|
||||||
int client_limit,
|
int client_limit,
|
||||||
char
|
char
|
||||||
reject_excess_clients);
|
reject_excess_clients);
|
||||||
EAPI char * ecore_con_server_ip_get(Ecore_Con_Server *svr);
|
EAPI const char * ecore_con_server_ip_get(Ecore_Con_Server *svr);
|
||||||
EAPI void ecore_con_server_flush(Ecore_Con_Server *svr);
|
EAPI void ecore_con_server_flush(Ecore_Con_Server *svr);
|
||||||
|
|
||||||
EAPI int ecore_con_client_send(Ecore_Con_Client *cl,
|
EAPI int ecore_con_client_send(Ecore_Con_Client *cl,
|
||||||
|
@ -248,7 +248,7 @@ EAPI void * ecore_con_client_del(Ecore_Con_Client *cl);
|
||||||
EAPI void ecore_con_client_data_set(Ecore_Con_Client *cl,
|
EAPI void ecore_con_client_data_set(Ecore_Con_Client *cl,
|
||||||
const void *data);
|
const void *data);
|
||||||
EAPI void * ecore_con_client_data_get(Ecore_Con_Client *cl);
|
EAPI void * ecore_con_client_data_get(Ecore_Con_Client *cl);
|
||||||
EAPI char * ecore_con_client_ip_get(Ecore_Con_Client *cl);
|
EAPI const char * ecore_con_client_ip_get(Ecore_Con_Client *cl);
|
||||||
EAPI void ecore_con_client_flush(Ecore_Con_Client *cl);
|
EAPI void ecore_con_client_flush(Ecore_Con_Client *cl);
|
||||||
|
|
||||||
EAPI int ecore_con_ssl_available_get(void);
|
EAPI int ecore_con_ssl_available_get(void);
|
||||||
|
|
|
@ -598,7 +598,7 @@ ecore_con_server_client_limit_set(Ecore_Con_Server *svr, int client_limit,
|
||||||
* deletion for the @p svr object. If no IP is known NULL is returned.
|
* deletion for the @p svr object. If no IP is known NULL is returned.
|
||||||
* @ingroup Ecore_Con_Server_Group
|
* @ingroup Ecore_Con_Server_Group
|
||||||
*/
|
*/
|
||||||
EAPI char *
|
EAPI const char *
|
||||||
ecore_con_server_ip_get(Ecore_Con_Server *svr)
|
ecore_con_server_ip_get(Ecore_Con_Server *svr)
|
||||||
{
|
{
|
||||||
if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_CON_SERVER))
|
if (!ECORE_MAGIC_CHECK(svr, ECORE_MAGIC_CON_SERVER))
|
||||||
|
@ -811,7 +811,7 @@ ecore_con_client_data_get(Ecore_Con_Client *cl)
|
||||||
* deletion for the @p cl object. If no IP is known NULL is returned.
|
* deletion for the @p cl object. If no IP is known NULL is returned.
|
||||||
* @ingroup Ecore_Con_Client_Group
|
* @ingroup Ecore_Con_Client_Group
|
||||||
*/
|
*/
|
||||||
EAPI char *
|
EAPI const char *
|
||||||
ecore_con_client_ip_get(Ecore_Con_Client *cl)
|
ecore_con_client_ip_get(Ecore_Con_Client *cl)
|
||||||
{
|
{
|
||||||
if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_CON_CLIENT))
|
if (!ECORE_MAGIC_CHECK(cl, ECORE_MAGIC_CON_CLIENT))
|
||||||
|
|
Loading…
Reference in New Issue