
/*
 * Define the preprocessor symbols that best match your environment.
 *
 * BSD
 *	use <strings.h> instead of <string.h>, index() instead of
 *	strchr(), bcopy() instead of memmove(), etc.
 *
 */

#ifdef __hpux
#undef BSD
#undef NO_VFORK
#endif

#ifndef DEBUG
#define NDEBUG
#endif

/*
 * Some include files that are nearly all used by nearly all modules.
 */

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#ifndef BSD
#include <string.h>
#else
#include <strings.h>
#endif
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>
#include <time.h>
#include <sys/types.h>

#define GARBAGE_COLLECTOR 0
#if GARBAGE_COLLECTOR
#include <gc.h>
#define malloc(n) GC_malloc(n)
#define calloc(m, n) GC_malloc((m)*(n))
#define realloc(p, s) ((p) ? GC_realloc(p, s) : GC_malloc(s))
#define free(p) GC_free(p)
#endif

#include "export.h"

/*
 * Default NNTP server. Used only by ag-nntp.
 */
#define NNTPSERVER "freya.let.rug.nl"

/*
 * Default agent-config file. Associates agents with protocols.
 */
#define AGENT_CONFIG "agent-config"

/*
 * Default .newsrc file for (un)subscribed newsgroups
 * (Will be looked for in user's home directory)
 */
#define NEWSRC ".newsrc"

/*
 * The user's personal mail folders are by default looked for in the
 * Mail directory. If they are located elsewhere, define the
 * following.
 */
/* #define MAIL_DIRECTORY "Mail" */

/*
 * The incoming mail box is usually located in /usr/mail/%s, where
 * %s will be replaced by the user's login name. If not, define the
 * following. This file will be read by the ag-mbox agent, when it is
 * asked for the folder named `!'.
 */
/* #define INCOMING_MAILBOX "/usr/mail/%s" */

/*
 * The special mail folder name `>' is by default an abbreviation for
 * `received'. You can define it differently with the following. The
 * name is relative to MAIL_DIRECTORY.
 */
/* #define RECEIVED_FOLDER "received" */

/*
 * The special mail folder name `<' is by default an abbreviation for
 * `sent'. You can define it differently with the following. The
 * name is relative to MAIL_DIRECTORY.
 */
/* #define SENT_FOLDER "sent" */

/*
 * METAMAIL_CMD is used by the Extern viewer when it invokes the
 * metamail program to display data that is not otherwise handled.
 * It must be a command that starts metamail; if metamail is in the
 * path, an absolute pathname is not necessary.
 */
#define METAMAIL_CMD "metamail -m Argo -q -x"

/*
 * SHELL_PATH must be the path of a shell that accepts METAMAIL_CMD
 * as a command. SHELL_NAME is the name that will become argv[0] of
 * the shell process.
 */
#define SHELL_PATH "/bin/posix/sh"
#define SHELL_NAME "sh"

/*
 * Booleans
 */
#ifndef Bool
#define Bool int
#endif

#ifndef TRUE
#define TRUE (1)
#endif

#ifndef FALSE
#define FALSE (0)
#endif
