diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-17 20:52:45 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2002-04-17 20:52:45 +0000 |
commit | 44bbdb2623f2135d0104311052604484e417b993 (patch) | |
tree | 27dcd8925ae6e16c2403afd3bc7a2f7bc8ebbbc0 /src/acl.h | |
parent | 795f4f2fe784cf9fe807a778241f7fdd5653bf61 (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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |