home *** CD-ROM | disk | FTP | other *** search
/ High Voltage Shareware / high1.zip / high1 / DIR3 / KA9Q212.ZIP / BM.H < prev    next >
C/C++ Source or Header  |  1993-07-16  |  2KB  |  67 lines

  1. /****************************************************************************
  2. *    $Id: bm.h 1.3 93/07/16 11:43:01 ROOT_DOS Exp $
  3. *    08 May 93    1.2        GT    Fix warnings.                                    *
  4. ****************************************************************************/
  5. #ifndef _BM_H
  6. #define _BM_H
  7.  
  8. /* bm.h -- definitions for bmutil.c that aren't included elsewhere */
  9.  
  10. #ifndef _SMTP_H
  11. #include "smtp.h"
  12. #endif
  13.  
  14. /* Header types */
  15. #define    NOHEADER     -1
  16. #define APPROVED    0
  17. #define    FROM        1
  18. #define    TO        2
  19. #define    DATE        3
  20. #define    MSGID        4
  21. #define    SUBJECT        5
  22. #define    RECEIVED    6
  23. #define    SENDER        7
  24. #define    REPLYTO        8
  25. #define STATUS        9
  26. #define BBSTYPE        10
  27. #define XFORWARD    11
  28. #define CC        12
  29. #define RRECEIPT    13
  30. #define APPARTO        14
  31. #define ERRORSTO    15
  32. #define ORGANIZATION    17
  33. #define    UNKNOWN        18
  34.  
  35. /* number of columns and lines on a standard display, e.g. vt100 */
  36. #define    MAXCOL        80
  37. #define MAXLIN        24
  38.  
  39. /* message status */
  40. #define    BM_DELETE    1
  41. #define    BM_READ        2
  42. #define    BM_FORWARDED    4
  43.  
  44. #define BM_NLET        200    /* default size of letter array */
  45.  
  46. #define SLINELEN    64
  47. #define LINELEN        256
  48.  
  49. extern unsigned Maxlet;        /* max messages */
  50. extern char *fgets();
  51. extern char *Hdrs[];
  52.  
  53. void scanmail __ARGS((struct mbx *m));
  54. int msgtofile __ARGS((struct mbx *m,int msg,FILE *tfile,int noheader));
  55. int closenotes __ARGS((struct mbx *m));
  56. int mbx_reply __ARGS((int argc,char *argv[],struct mbx *m,struct list **cclist,char **rhdr));
  57. long isnewprivmail __ARGS((struct mbx *m));
  58. int dolistnotes __ARGS((int argc,char *argv[],void *p));
  59. int isarea __ARGS((char *name));
  60. int dodelmsg __ARGS((int argc,char *argv[],void *p));
  61. int doreadmsg __ARGS((int argc,char *argv[],void *p));
  62. int doreadnext __ARGS((int argc,char *argv[],void *p));
  63. int htype __ARGS((char *s));
  64. char *getaddress __ARGS((char *string,int cont));
  65.  
  66. #endif  /* _BM_H */
  67.