home *** CD-ROM | disk | FTP | other *** search
/ PDA Software Library / pdasoftwarelib.iso / PSION / COMMS / PSIONMAI / PMFULLSO / SUNMAIL / SCCS / S1.H < prev    next >
Encoding:
Text File  |  1995-07-06  |  977 b   |  56 lines

  1. h02444
  2. s 00000/00002/00035
  3. d D 1.2 95/07/06 14:38:34 tim 2 1
  4. c removed first and last defines
  5. e
  6. s 00037/00000/00000
  7. d D 1.1 95/07/06 14:00:27 tim 1 0
  8. c 
  9. e
  10. u
  11. U
  12. f e 0
  13. t
  14. T
  15. I 1
  16. /* defines file for talking to the pop program and libs */
  17. #define POPCONF ".talktopoprc"
  18. #define POPNAME "pop-3"
  19. #define PROTNAME "tcp"
  20. #define POPSERVER "astir"
  21.  
  22. #define USERCMD "USER"
  23. #define PASSCMD "PASS"
  24. #define LISTCMD "LIST"
  25. #define RETRCMD "RETR"
  26. #define DELECMD "DELE"
  27. #define QUITCMD "QUIT"
  28. #define READY "."
  29. #define BADCHAR '-'
  30. #define OKCHAR '+'
  31.  
  32. /* standard defines */
  33. #define TRUE 1
  34. #define FALSE 0
  35.  
  36. /* error codes */
  37. #define NETERR -1
  38. #define NETOK -2
  39. #define GOODCMD 1
  40. #define BADCMD 0
  41. #define BADFILE BADCMD
  42.  
  43. /* sizes and stuff */
  44. #define MAXLINE 1024
  45. #define MAXSIZE 2048 /* max size of an email to get */
  46. #define MAXCOUNT 10 /* get 10 emails */
  47. D 2
  48. #define FIRST 1 
  49. #define LAST  -1
  50. E 2
  51.  
  52. /* skeleton for generating file names */
  53. #define INSKELETON "in%03d.msg"
  54.  
  55. E 1
  56.