summaryrefslogblamecommitdiffstats
path: root/innbbsd/inntobbs.h
blob: 6d910252057d52bf2da37c3bf82dc373a1121621 (plain) (tree)
1
2
3
4
5
6
7
8
9



                  




                                                              


                     




                                                                          
     




                                                                           

      
                                  



                    
                  

              
                      




      
#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