Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
char *print_canonical_sockaddr(TALLOC_CTX *ctx,
const struct sockaddr_storage *pss);
int get_socket_port(int fd);
-int client_socket_port(int fd);
bool is_a_socket(int fd);
void set_socket_options(int fd, const char *options);
NTSTATUS read_fd_with_timeout(int fd, char *buf,
#include "lib/util/sys_rw.h"
#include "lib/util/sys_rw_data.h"
-#if 0
-/* Not currently used. JRA. */
-int client_socket_port(int fd)
-{
- return get_socket_port(fd);
-}
-#endif
-
/****************************************************************************
Determine if a file descriptor is in fact a socket.
****************************************************************************/