home *** CD-ROM | disk | FTP | other *** search
- /*
- * anne.h - for anne.jones.c
- */
-
- #undef MINIMALIST /*
- * Use 'minimalist' Message ID's? (Pack
- * the info into 7 chars instead of 22 or
- * more .. credit for this whole thing goes
- * to palkovic@linac.fnal.gov (John Palkovic)
- */
-
- #define HAVESTRSTR /*
- * Have the strstr() function?
- * Test: nm /lib/libc.a | egrep strstr
- * Note: replace /lib/libc.a above with
- * wherever your libc.a is
- */
-
- #define HAVEGETHOSTNAME /*
- * Have the gethostname() function?
- * Test: nm /lib/libc.a | egrep gethostname
- */
-
- #undef NOLINEBUF /*
- * If fprintf() doesn't flush stdout()
- * define this. This came from rn; I
- * don't have a test for this .. suggestions
- * (or part of a Configure script) are welcome
- */
-
- /* you're done .. no more playing */
- #define MAXLINE 1000 /* maximum line length to be read in */
- #define MAXHEAD 30 /* maximum length from ^ to : of header */
- #define NUMHEADERS 50 /* max # of headers expected */
- #define NAMESIZE 30 /* size of mailname */
-
- #define ORDER 9 /* the range from 1-n that *HAVE* to be in */
- #define NUMKNOWN 11 /* how many we already know */
- #define KNOWSTART 1 /* # the below starts at */
- #define MSGIDLEN 60 /* length of message id string, with <>'s */
- #define DATELEN 30 /* length of date string */
- #define ORGLEN 80 /* length of organization's name */
-
- #define CTLNAMEPOS 1
- #define NGNAMEPOS 2
- #define PATHNAMEPOS 3
- #define FROMPOS 4
- #define SUBJECTPOS 5
- #define MSGIDPOS 6
- #define DATEPOS 7
- #define EXPIREPOS 8
- #define ORGPOS 9
- #define SENDERPOS 10
- #define DISTPOS 11
-
- /* these aren't used yet */
- #define CTLNAME "Control:"
- #define NGNAME "Newsgroups:"
- #define PATHNAME "Path:"
- #define FROMNAME "From:"
- #define SUBJECTHDR "Subject:"
- #define MSGIDNAME "Message-ID:"
- #define TYPONAME "Message-Id:"
- #define DATENAME "Date:"
- #define EXPIRENAME "Expires:"
- #define ORGNAME "Organization:"
- #define SENDERNAME "Sender:"
- #define DISTRNAME "Distribution:"
-
- /* don't play with this */
- #ifndef HAVESTRSTR
- char *strstr();
- #endif /* !HAVESTRSTR */
-
- #define NOTFOUND -1
- #define NOTKNOWN -1
-
- static char *allheads="\
- Control:.....\
- Newsgroups:..\
- Path:........\
- From:........\
- Subject:.....\
- Message-ID:..\
- Date:........\
- Expires:.....\
- Organization:\
- Sender:......\
- Distribution:";
-