home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / c / library / dos / communic / pcmail / daemon / ms_parse.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-05  |  964 b   |  39 lines

  1. /*++
  2.  
  3. /* NAME
  4.  
  5. /*      ms_parse 5
  6.  
  7. /* SUMMARY
  8.  
  9. /*      message parser
  10.  
  11. /* PROJECT
  12.  
  13. /*      pc-mail
  14.  
  15. /* PACKAGE
  16.  
  17. /*    nfs
  18.  
  19. /* SYNOPSIS
  20.  
  21. /*    #include "ms_parse.h"
  22.  
  23. /* DESCRIPTION
  24.  
  25. /* .nf
  26.  
  27.  
  28.  
  29.  /* status codes returned by ms_parse() */
  30.  
  31.  
  32.  
  33. #define MS_UUCP        0        /* UUCP-style From_ line */
  34.  
  35. #define MS_HEADER    1        /* RFC822-like header line */
  36.  
  37. #define MS_CONT        2        /* Continued header line */
  38.  
  39. #define MS_BODY        3        /* Line within message body */
  40.  
  41.  
  42.  
  43.  /* entry points of the ms_parse module */
  44.  
  45.  
  46.  
  47. extern int hscanf();            /* extract info from header line */
  48.  
  49. extern int ms_parse();            /* parse one line */
  50.  
  51.  
  52.  
  53. /* AUTHOR(S)
  54.  
  55. /*      W.Z. Venema
  56.  
  57. /*      Eindhoven University of Technology
  58.  
  59. /*      Department of Mathematics and Computer Science
  60.  
  61. /*      Den Dolech 2, P.O. Box 513, 5600 MB Eindhoven, The Netherlands
  62.  
  63. /* CREATION DATE
  64.  
  65. /*    Sat Dec  9 18:50:35 MET 1989
  66.  
  67. /* LAST MODIFICATION
  68.  
  69. /*    1/6/90 19:45:22
  70.  
  71. /* VERSION/RELEASE
  72.  
  73. /*    1.6
  74.  
  75. /*--*/
  76.  
  77.