summaryrefslogtreecommitdiffhomepage
path: root/src/acl.h
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-12-06 23:30:23 +0100
committerMichael Adam <obnox@samba.org>2009-12-07 00:22:46 +0100
commit8cb182e1b873fde40db6e4258ee23b05f956f397 (patch)
treee233d504ea8d6dbb06c5e218aa9ffa0b3d652f80 /src/acl.h
parent6266197e9257df1501b1962ad0a3e3ba757092f3 (diff)
Add access_list to the config struct instead of a global variable in acl.c.
Change insert_acl, check_acl and flush_access_list to take a corresponding argument. Michael
Diffstat (limited to 'src/acl.h')
-rw-r--r--src/acl.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/acl.h b/src/acl.h
index e71444d..b1a5dee 100644
--- a/src/acl.h
+++ b/src/acl.h
@@ -23,8 +23,10 @@
typedef enum { ACL_ALLOW, ACL_DENY } acl_access_t;
-extern int insert_acl (char *location, acl_access_t access_type);
-extern int check_acl (const char *ip_address, const char *string_address);
-extern void flush_access_list (void);
+extern int insert_acl (char *location, acl_access_t access_type,
+ vector_t *access_list);
+extern int check_acl (const char *ip_address, const char *string_address,
+ vector_t access_list);
+extern void flush_access_list (vector_t access_list);
#endif