add apr stub to get the real OS socket

This commit is contained in:
Michael Jerris committed 2012-08-09 11:56:29 -05:00
1 parent f254f2a5fe
commit f044f46250
3 files changed
+14

No files matched your search

+5
View File
@@ -665,6 +665,11 @@ SWITCH_DECLARE(switch_status_t) switch_thread_create(switch_thread_t ** new_thre
/* socket stubs */
SWITCH_DECLARE(switch_status_t) switch_os_sock_get(switch_os_socket_t *thesock, switch_socket_t *sock)
{
return apr_os_sock_get(thesock, sock);
}
SWITCH_DECLARE(switch_status_t) switch_socket_addr_get(switch_sockaddr_t ** sa, switch_bool_t remote, switch_socket_t *sock)
{
return apr_socket_addr_get(sa, (apr_interface_e) remote, sock);