ossp-pkg/lmtp2nntp/lmtp2nntp_config.h
1.2
/*
** Copyright (c) 2001-2002 The OSSP Project <http://www.ossp.org/>
** Copyright (c) 2001-2002 Cable & Wireless Deutschland <http://www.cw.com/de/>
**
** This file is part of OSSP lmtp2nntp, an LMTP speaking local
** mailer which forwards mails as Usenet news articles via NNTP.
** It can be found at http://www.ossp.org/pkg/lmtp2nntp/.
**
** This program is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License
** as published by the Free Software Foundation; either version
** 2.0 of the License, or (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
** General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this file; if not, write to the Free Software
** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
** USA, or contact the OSSP project <ossp@ossp.org>.
**
** lmtp2nntp.c: LMTP to NNTP configuration parsing
*/
#include "lmtp2nntp_global.h"
void dotconftest(int, char **); //FIXME
typedef struct {
int option_childsmax;
char *option_logfile;
int option_groupmode;
int option_operationmode;
char *option_operationmodefakestatus;
char *option_operationmodefakedsn;
int option_maxmessagesize;
char *option_azHeaderValuePairs;
size_t option_asHeaderValuePairs;
int option_timeout_lmtp_accept;
int option_timeout_lmtp_read;
int option_timeout_lmtp_write;
int option_timeout_nntp_connect;
int option_timeout_nntp_read;
int option_timeout_nntp_write;
char *option_mailfrom;
char *option_restrictheader;
unsigned int option_levelmask;
char *option_pidfile;
int option_killflag;
uid_t option_uid;
int option_daemon;
int option_aclc;
//struct acl option_acl[MAXACLS];
int option_veryverbose;
} lmtp2nntp_config_t;