Lines Matching refs:cleanup_fn
30 #define SAFE_SOCKET(cleanup_fn, domain, type, protocol) \
31 safe_socket(__FILE__, __LINE__, (cleanup_fn), domain, type, protocol)
33 #define SAFE_BIND(cleanup_fn, socket, address, address_len) \
34 safe_bind(__FILE__, __LINE__, (cleanup_fn), socket, address, \
37 #define SAFE_LISTEN(cleanup_fn, socket, backlog) \
38 safe_listen(__FILE__, __LINE__, (cleanup_fn), socket, backlog)
40 #define SAFE_CONNECT(cleanup_fn, sockfd, addr, addrlen) \
41 safe_connect(__FILE__, __LINE__, (cleanup_fn), sockfd, addr, addrlen)
43 #define SAFE_GETSOCKNAME(cleanup_fn, sockfd, addr, addrlen) \
44 safe_getsockname(__FILE__, __LINE__, (cleanup_fn), sockfd, addr, \