~mdw
/
fwd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make syslog a separate option, and do it better.
[fwd]
/
acl.h
diff --git
a/acl.h
b/acl.h
index
8b8588c
..
21f398d
100644
(file)
--- a/
acl.h
+++ b/
acl.h
@@
-1,10
+1,10
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: acl.h,v 1.
1 1999/07/01 08:56:2
3 mdw Exp $
+ * $Id: acl.h,v 1.
3 1999/07/27 18:30:5
3 mdw Exp $
*
* Access control list handling
*
*
* Access control list handling
*
- * (c) 1999
Mark Wooding
+ * (c) 1999
Straylight/Edgeware
*/
/*----- Licensing notice --------------------------------------------------*
*/
/*----- Licensing notice --------------------------------------------------*
@@
-29,8
+29,14
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: acl.h,v $
/*----- 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 <stdio.h>
#include <stdio.h>
+#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <netinet/in.h>
@@
-88,6
+95,17
@@
extern int acl_check(acl_entry */*a*/, struct in_addr /*addr*/);
extern void acl_dump(acl_entry */*a*/, FILE */*fp*/);
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
/* --- @acl_add@ --- *
*
* Arguments: @acl_entry ***a@ = address of pointer to list tail