/* * news.h: stuff to customise news. */ #ifndef _NEWS_D #define _NEWS_D #ifndef UNIX #define UNIX 0 #endif #ifndef ATARIST #define ATARIST 0 #endif #ifndef MSDOS #define MSDOS 0 #endif #ifndef OS2 #define OS2 0 #endif #if !(ATARIST|UNIX|MSDOS|OS2) You must define ATARIST=1, UNIX=1, OS2=1, or MSDOS=1 #endif /* nifty things to make defaults for, */ #define DEFAULT_EDITOR "vi" /* of course! */ #if UNIX #define CFG_DIR "/usr/etc" #elif ATARIST|MSDOS|OS2 #define CFG_DIR "c:/etc" #endif /* important globals */ extern char *SITE; /* our uucp sitename */ extern char *DOMAIN; /* what domain it lives in */ extern char *ORG; /* what we're organized for */ extern char *TZ; /* what time we live in */ extern char *NETDIR; /* where network control files live */ extern char *LOOPZAP; /* where article database lives */ extern char *EDITOR; /* getenv EDITOR (default: lv) */ extern char *SPOOL; /* where various spool things */ extern char *MAIL; /* where mail goes (non-bauble) */ extern char *PUBLIC; /* public directory for uucico */ extern char *NEWS; /* where news goes */ /* prototypes for the functions defined in the bauble library */ #ifdef __STDC__ extern char *basename(char*); extern char *EOS(char*); extern void *xmalloc(int); extern void *xrealloc(void*, int); extern char *xstrdup(char*); extern char *makepath(char*, char*, ...); #else extern char *basename(); extern char *EOS(); extern void *xmalloc(); extern void *xrealloc(); extern char *xstrdup(); extern char *makepath(); #endif #endif /*_NEWS_D*/