Searched refs:thesocket (Results 1 – 2 of 2) sorted by relevance
33 apr_socket_t *thesocket = sock; in socket_cleanup() local34 int sd = thesocket->socketdes; in socket_cleanup()39 thesocket->socketdes = -1; in socket_cleanup()46 thesocket->socketdes = sd; in socket_cleanup()175 apr_status_t apr_socket_shutdown(apr_socket_t *thesocket, in apr_socket_shutdown() argument178 return (shutdown(thesocket->socketdes, how) == -1) ? errno : APR_SUCCESS; in apr_socket_shutdown()181 apr_status_t apr_socket_close(apr_socket_t *thesocket) in apr_socket_close() argument183 return apr_pool_cleanup_run(thesocket->pool, thesocket, socket_cleanup); in apr_socket_close()
305 APR_DECLARE(apr_status_t) apr_socket_shutdown(apr_socket_t *thesocket,312 APR_DECLARE(apr_status_t) apr_socket_close(apr_socket_t *thesocket);