/*
 * W-NEWS       A simple NEWS processing package.
 *
 *              N e w s   P a c k a g e   D e f i n i t i o n s
 *
 * Author:      Fred N. van Kempen, <waltje@Infomagic.COM>
 *              Copyright 1988-1993 MicroWalt Corporation
 *		Copyright 1994,1995 Cistron Software C.V.
 *
 *              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 of the License, or (at your option) any later version.
 */
#ifndef	_WNEWS_H
#define	_WNEWS_H


/* Include the default options for the compilation platform */
#include "custom.h"



/* Check if we have been successfully configured. */
#ifndef _WNEWS_CONFIG_H
#error "No compile platform defined! Please check your Makefile !!!"
#endif


#ifndef MINIX
#include <stdio.h>
#endif
#include <ctype.h>
#include <dirent.h>
#include <fcntl.h>
#include <pwd.h>
#ifdef SHADOW_PASSWD
#include <shadow/shadow.h>
#endif
#include <signal.h>
#ifndef COH3
#include <stdlib.h>
#endif
#include <string.h>
#include <sys/stat.h>
#ifndef COH3
#include <sys/wait.h>
#endif
#include <time.h>
#include <unistd.h>
#ifdef MINIX
#include <stdio.h>
#endif
#ifdef LINUX
#include <getopt.h>
#else
extern int getopt (), optind;
extern char *optarg;
#endif
#ifndef COHERENT
extern int opterr;
#endif
#ifdef COHERENT
#include <errno.h>
#endif

#include "wtypes.h"
#include "libwnews.h"

/* Global wnews defines which are similar to every platform */

/* These definitions are for the "pnews" program. */
#define DFLT_DIST       "world"		/* dflt distribution (pnews)	*/

/* It should not be necessary to change these. */
#define BATCHLIM        50000		/* maxsize of a batch		*/
#define USENET          "usenet"	/* NEWS administrator		*/
#define NEWSGRP		"news"		/* NEWS group			*/

#define RNEWSHDR	"#! rnews "	/* article separator header     */

#ifndef F_OK
#define F_OK	0
#endif

#endif /* _WNEWS_H */
