home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 024 / psi110g.zip / MAILUTIL.H < prev    next >
C/C++ Source or Header  |  1994-04-17  |  1KB  |  46 lines

  1. #ifndef _MAILUTIL_H
  2. #define _MAILUTIL_H
  3.   
  4. #include <stdio.h>
  5.   
  6. /* Header types */
  7. #define NOHEADER    -1
  8. #define APPROVED    0
  9. #define FROM        1
  10. #define TO      2
  11. #define DATE        3
  12. #define MSGID       4
  13. #define SUBJECT     5
  14. #define RECEIVED    6
  15. #define SENDER      7
  16. #define REPLYTO     8
  17. #define STATUS      9
  18. #define BBSTYPE     10
  19. #define XFORWARD    11
  20. #define CC      12
  21. #define RRECEIPT    13
  22. #define APPARTO     14
  23. #define ERRORSTO    15
  24. #define ORGANIZATION    16
  25. #define NEWSGROUPS  17
  26. #define PATH        18
  27. #define XBBSHOLD    19
  28. #define UNKNOWN     20
  29.   
  30. extern char *Hdrs[];
  31. extern char shortversion[];
  32. extern char *Mbfwdinfo;
  33.   
  34. int recvmail __ARGS((int s, char *buf, unsigned len, FILE *fp, int trace));
  35. int copymail __ARGS((char *filename,char *buf,
  36. unsigned len, FILE *fp, int trace));
  37.   
  38. int mlock __ARGS((char *dir,char *id));
  39. int rmlock __ARGS((char *dir,char *id));
  40. char *getname __ARGS((char *cp));
  41. char *getaddress __ARGS((char *string,int cont));
  42. int htype __ARGS((char *s));
  43. char *rewrite_address __ARGS((char *addr));
  44.   
  45. #endif  /* _MAILUTIL_H */
  46.