Rename some functions for consistency

This commit is contained in:
Gustavo Lopes 2012-11-06 13:38:57 +01:00
parent 8fb1aa6184
commit b18bd8904e
3 changed files with 6 additions and 6 deletions

View File

@ -1723,7 +1723,7 @@ PHP_FUNCTION(socket_cmsg_space)
RETURN_LONG((long)CMSG_SPACE(entry->size + n * entry->var_el_size));
}
void _socket_sendrecvmsg_init(INIT_FUNC_ARGS)
void php_socket_sendrecvmsg_init(INIT_FUNC_ARGS)
{
/* IPv6 ancillary data
* Note that support for sticky options via setsockopt() is not implemented
@ -1763,7 +1763,7 @@ void _socket_sendrecvmsg_init(INIT_FUNC_ARGS)
#endif
}
void _socket_sendrecvmsg_shutdown(SHUTDOWN_FUNC_ARGS)
void php_socket_sendrecvmsg_shutdown(SHUTDOWN_FUNC_ARGS)
{
#ifdef ZTS
tsrm_mutex_free(ancillary_mutex);

View File

@ -4,5 +4,5 @@ PHP_FUNCTION(socket_sendmsg);
PHP_FUNCTION(socket_recvmsg);
PHP_FUNCTION(socket_cmsg_space);
void _socket_sendrecvmsg_init(INIT_FUNC_ARGS);
void _socket_sendrecvmsg_shutdown(SHUTDOWN_FUNC_ARGS);
void php_socket_sendrecvmsg_init(INIT_FUNC_ARGS);
void php_socket_sendrecvmsg_shutdown(SHUTDOWN_FUNC_ARGS);

View File

@ -751,7 +751,7 @@ PHP_MINIT_FUNCTION(sockets)
REGISTER_LONG_CONSTANT("IPV6_UNICAST_HOPS", IPV6_UNICAST_HOPS, CONST_CS | CONST_PERSISTENT);
#endif
_socket_sendrecvmsg_init(INIT_FUNC_ARGS_PASSTHRU);
php_socket_sendrecvmsg_init(INIT_FUNC_ARGS_PASSTHRU);
return SUCCESS;
}
@ -774,7 +774,7 @@ PHP_RSHUTDOWN_FUNCTION(sockets)
efree(SOCKETS_G(strerror_buf));
SOCKETS_G(strerror_buf) = NULL;
}
_socket_sendrecvmsg_shutdown(SHUTDOWN_FUNC_ARGS_PASSTHRU);
php_socket_sendrecvmsg_shutdown(SHUTDOWN_FUNC_ARGS_PASSTHRU);
return SUCCESS;
}