Lines Matching defs:thesocket
40 apr_socket_t *thesocket = sock;
41 int sd = thesocket->socketdes;
44 if (thesocket->bound && thesocket->local_addr->family == APR_UNIX) {
46 unlink(thesocket->local_addr->hostname);
52 thesocket->socketdes = -1;
59 thesocket->socketdes = sd;
67 apr_socket_t *thesocket = sock;
68 if (close(thesocket->socketdes) == 0) {
69 thesocket->socketdes = -1;
205 apr_status_t apr_socket_shutdown(apr_socket_t *thesocket,
208 return (shutdown(thesocket->socketdes, how) == -1) ? errno : APR_SUCCESS;
211 apr_status_t apr_socket_close(apr_socket_t *thesocket)
213 return apr_pool_cleanup_run(thesocket->pool, thesocket, socket_cleanup);