--- petidomo.h 2001/01/20 14:29:28 1.20
+++ petidomo.h 2004/02/02 19:50:25 1.21
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/petidomo.h,v $
- $Revision: 1.20 $
+ $Revision: 1.21 $
Copyright (C) 2000 by CyberSolutions GmbH, Germany.
@@ -64,7 +64,8 @@
char * list_dir;
char * ack_queue_dir;
char * help_file;
- char * acl_file;
+ char * acl_file_pre;
+ char * acl_file_post;
char * index_file;
};
@@ -77,6 +78,12 @@
LIST_ACKED_ONCE
};
+typedef enum
+ {
+ ACL_PRE,
+ ACL_POST
+ } acl_type_t;
+
enum subscription_type_t
{
SUBSCRIPTION_PUBLIC,
@@ -99,7 +106,8 @@
char * desc_file;
char * sig_file;
char * header_file;
- char * acl_file;
+ char * acl_file_pre;
+ char * acl_file_post;
char * list_dir;
char * address_file;
char * ack_file;
@@ -156,7 +164,7 @@
/********** acl.c **********/
-int checkACL(struct Mail *, const char *, int *, char **);
+int checkACL(struct Mail *, const char *, int *, char **, acl_type_t);
enum
{
ACL_DROP,
|