--- config.c 2001/01/11 14:17:53 1.11
+++ config.c 2001/01/15 16:29:11 1.12
@@ -1,6 +1,6 @@
/*
$Source: /v/ossp/cvs/ossp-pkg/petidomo/Attic/config.c,v $
- $Revision: 1.11 $
+ $Revision: 1.12 $
Copyright (C) 2000 by CyberSolutions GmbH, Germany.
@@ -40,7 +40,8 @@
static char* help_file = DATADIR "/petidomo.conf";
static char* acl_file = SYSCONFDIR "/petidomo.acl";
static char* index_file = LOCALSTATEDIR "/index";
-static char* list_dir = LOCALSTATEDIR;
+static char* list_dir = LOCALSTATEDIR "/lists";
+static char* ack_queue_dir = LOCALSTATEDIR "/ack_queue";
int InitPetidomo(const char* masterconfig_path)
{
@@ -58,6 +59,7 @@
{ "Acl_File", CF_STRING, &acl_file },
{ "Index_File", CF_STRING, &index_file },
{ "List_Directory", CF_STRING, &list_dir },
+ { "Ack_Queue_Directory", CF_STRING, &ack_queue_dir },
{ NULL, 0, NULL}
};
@@ -116,6 +118,7 @@
MasterConfig->acl_file = acl_file;
MasterConfig->index_file = index_file;
MasterConfig->list_dir = list_dir;
+ MasterConfig->ack_queue_dir = ack_queue_dir;
return 0;
}
|