diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-08-10 07:29:57 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-08-10 07:29:57 +0000 |
commit | 670c6addc322e69b86975fc4024c88a885b63d9f (patch) | |
tree | 1b439579fb86388780653722e878952059271c15 /source3/include/proto.h | |
parent | fa88efbbacbbe74b72ddb9e316265de2aab31260 (diff) | |
download | samba-670c6addc322e69b86975fc4024c88a885b63d9f.tar.gz samba-670c6addc322e69b86975fc4024c88a885b63d9f.tar.bz2 samba-670c6addc322e69b86975fc4024c88a885b63d9f.zip |
moved access.c into lib/ from smbd/ as it is needed by testparm. I
modified it not to need any smbd specific structures and instead pass
things from smbd.
(This used to be commit 162141d3b3fcf53fbc6a1f18702df85c2b7f1781)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r-- | source3/include/proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index d9a35aa33f..e3189a2d08 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1844,8 +1844,9 @@ BOOL api_wkssvc_rpc(pipes_struct *p, prs_struct *data); /*The following definitions come from smbd/access.c */ -BOOL check_access(int snum); -BOOL allow_access(char *deny_list,char *allow_list,char *cname,char *caddr); +BOOL allow_access(char *deny_list,char *allow_list, + char *cname,char *caddr); +BOOL check_access(int sock, char *allow_list, char *deny_list); /*The following definitions come from smbd/chgpasswd.c */ |