summaryrefslogtreecommitdiffhomepage
path: root/src/acl.h
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-17 20:52:45 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-04-17 20:52:45 +0000
commit44bbdb2623f2135d0104311052604484e417b993 (patch)
tree27dcd8925ae6e16c2403afd3bc7a2f7bc8ebbbc0 /src/acl.h
parent795f4f2fe784cf9fe807a778241f7fdd5653bf61 (diff)
Changed the check_acl() function to require the peer IP address and string
address from the calling function.
Diffstat (limited to 'src/acl.h')
-rw-r--r--src/acl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/acl.h b/src/acl.h
index 73ea83c..112bb36 100644
--- a/src/acl.h
+++ b/src/acl.h
@@ -1,4 +1,4 @@
-/* $Id: acl.h,v 1.2 2001-06-02 02:07:34 rjkaes Exp $
+/* $Id: acl.h,v 1.3 2002-04-17 20:52:45 rjkaes Exp $
*
* See 'acl.c' for detailed information.
*
@@ -21,6 +21,6 @@
typedef enum { ACL_ALLOW, ACL_DENY } acl_access_t;
extern int insert_acl(char *location, acl_access_t access_type);
-extern int check_acl(int fd);
+extern int check_acl(int fd, const char* ip_address, const char* string_address);
#endif