From 37bc6b5f813d5c2ace7486a38331748dd86f121d Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 6 Jan 2006 00:46:35 +0000 Subject: r12728: Revive testparm. It needs work to not dump defaults from loadparm.c, but otherwise it works. Andrew Bartlett (This used to be commit 1260fcf46579d708a406625f548add9be9fdc6fb) --- source4/lib/socket/socket.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/lib/socket/socket.h') diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h index a79d698716..165fbb6377 100644 --- a/source4/lib/socket/socket.h +++ b/source4/lib/socket/socket.h @@ -136,6 +136,9 @@ int socket_get_my_port(struct socket_context *sock); int socket_get_fd(struct socket_context *sock); NTSTATUS socket_dup(struct socket_context *sock); const struct socket_ops *socket_getops_byname(const char *name, enum socket_type type); +BOOL allow_access(TALLOC_CTX *mem_ctx, + const char **deny_list, const char **allow_list, + const char *cname, const char *caddr); BOOL socket_check_access(struct socket_context *sock, const char *service_name, const char **allow_list, const char **deny_list); -- cgit