X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/blobdiff_plain/e82f7154f65062d9ac8b9677862774498b331058..17be1d6b52cc22403bcfec5e8547bf612d214690:/acl.h diff --git a/acl.h b/acl.h index 8b8588c..21f398d 100644 --- a/acl.h +++ b/acl.h @@ -1,10 +1,10 @@ /* -*-c-*- * - * $Id: acl.h,v 1.1 1999/07/01 08:56:23 mdw Exp $ + * $Id: acl.h,v 1.3 1999/07/27 18:30:53 mdw Exp $ * * Access control list handling * - * (c) 1999 Mark Wooding + * (c) 1999 Straylight/Edgeware */ /*----- Licensing notice --------------------------------------------------* @@ -29,8 +29,14 @@ /*----- Revision history --------------------------------------------------* * * $Log: acl.h,v $ - * Revision 1.1 1999/07/01 08:56:23 mdw - * Initial revision + * Revision 1.3 1999/07/27 18:30:53 mdw + * Various minor portability fixes. + * + * Revision 1.2 1999/07/26 23:28:16 mdw + * Minor modifications for new design. + * + * Revision 1.1.1.1 1999/07/01 08:56:23 mdw + * Initial revision. * */ @@ -45,6 +51,7 @@ #include +#include #include #include @@ -88,6 +95,17 @@ extern int acl_check(acl_entry */*a*/, struct in_addr /*addr*/); extern void acl_dump(acl_entry */*a*/, FILE */*fp*/); +/* --- @acl_free@ --- * + * + * Arguments: @acl_entry *a@ = pointer to a list of ACLs + * + * Returns: --- + * + * Use: Frees all of the memory used by an ACL. + */ + +extern void acl_free(acl_entry */*a*/); + /* --- @acl_add@ --- * * * Arguments: @acl_entry ***a@ = address of pointer to list tail