home *** CD-ROM | disk | FTP | other *** search
- /*
- * anne.h - for anne.jones.c
- */
-
- #define HAVESTRSTR /* have the strstr() function? */
- #ifndef HAVESTRSTR
- char *strstr();
- #endif /* !HAVESTRSTR */
- #define HAVEGETHOSTNAME /* have the gethostname() function? */
- #undef NOLINEBUF /* fprintf() doesn't flush stdout() */
-
- /* you're done */
-
- #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 5 /* the range from 1-n that *HAVE* to be in */
- #define NUMKNOWN 10 /* 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 ORGPOS 8
- #define DISTPOS 9
- #define SENDERPOS 10
-
- /* 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 ORGNAME "Organization:"
- #define DISTRNAME "Distribution:"
- #define SENDERNAME "Sender:"
-
- #define NOTFOUND -1
- #define NOTKNOWN -1
-
- static char *allheads="\
- Control:.....\
- Newsgroups:..\
- Path:........\
- From:........\
- Subject:.....\
- Message-ID:..\
- Date:........\
- Organization:\
- Distribution:\
- Sender:......";
-