summaryrefslogblamecommitdiffstats
path: root/innbbsd/inntobbs.h
blob: 1026e6d75473dfa7d9214554f809c270644db39f (plain) (tree)






































                                                           
#ifndef INNTOBBS_H
#define INNTOBBS_H

enum HeaderValue {
SUBJECT_H, FROM_H, DATE_H, MID_H, NEWSGROUPS_H,
NNTPPOSTINGHOST_H, NNTPHOST_H, CONTROL_H, PATH_H,
ORGANIZATION_H, X_Auth_From_H, APPROVED_H, DISTRIBUTION_H, 
REFERENCES_H, KEYWORDS_H, SUMMARY_H,
LASTHEADER,
};

#if !defined(PalmBBS)
extern char *HEADER[];
extern char *BODY;
extern char *FROM, *SUBJECT, *SITE, *DATE, *POSTHOST, 
        *NNTPHOST, *PATH, *GROUPS, *MSGID, *CONTROL;
extern char *REMOTEHOSTNAME, *REMOTEUSERNAME;
#else
extern char **XHEADER;
extern char *BODY;
extern char *FROM, *SUBJECT, *SITE, *DATE, *POSTHOST, 
        *NNTPHOST, *XPATH, *GROUPS, *MSGID, *CONTROL;
extern char *REMOTEHOSTNAME, *REMOTEUSERNAME;
#endif

int receive_article();

#if defined(PalmBBS)
#ifndef INNTOBBS
#ifndef PATH
# define PATH XPATH
#endif
#ifndef HEADER
# define HEADER XHEADER
#endif
#endif
#endif

#endif