summaryrefslogtreecommitdiff
path: root/source4/lib/socket/socket.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-03 09:34:06 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-05-03 07:37:07 +0200
commitb96389d3e17013fd22a64b6ce54478bd912d06b3 (patch)
treeacb87a3e14212376e93c6554423f8233af0999be /source4/lib/socket/socket.h
parent80f1d49b61560f326fb55f2df09cc4f30e7a85ea (diff)
downloadsamba-b96389d3e17013fd22a64b6ce54478bd912d06b3.tar.gz
samba-b96389d3e17013fd22a64b6ce54478bd912d06b3.tar.bz2
samba-b96389d3e17013fd22a64b6ce54478bd912d06b3.zip
s4-socket: rename allow_access() to socket_allow_access()
this prevents a symbol collision with s3 Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/socket/socket.h')
-rw-r--r--source4/lib/socket/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/socket/socket.h b/source4/lib/socket/socket.h
index 4a744797b3..88360ac8f3 100644
--- a/source4/lib/socket/socket.h
+++ b/source4/lib/socket/socket.h
@@ -179,9 +179,9 @@ _PUBLIC_ void socket_address_set_port(struct socket_address *a,
struct socket_address *socket_address_copy(TALLOC_CTX *mem_ctx,
const struct socket_address *oaddr);
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_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);