s3/selftest: Move samba3.raw.read to ad_dc_smb1
[Samba.git] / lib / util / access.h
blob73f71b6e4fdfdd08db686510844f0472fde452fc
1 /*
2 This module is an adaption of code from the tcpd-1.4 package written
3 by Wietse Venema, Eindhoven University of Technology, The Netherlands.
5 The code is used here with permission.
7 The code has been considerably changed from the original. Bug reports
8 should be sent to samba-technical@lists.samba.org
10 Updated for IPv6 by Jeremy Allison (C) 2007.
13 #ifndef _UTIL_ACCESS_H_
14 #define _UTIL_ACCESS_H_
16 bool client_match(const char *tok, const void *item);
17 bool list_match(const char **list,const void *item,
18 bool (*match_fn)(const char *, const void *));
19 bool allow_access_nolog(const char **deny_list,
20 const char **allow_list,
21 const char *cname,
22 const char *caddr);
23 bool allow_access(const char **deny_list,
24 const char **allow_list,
25 const char *cname,
26 const char *caddr);
28 #endif