home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / INTERNET / UPC2S1.ZIP / MAILLIB.H < prev    next >
C/C++ Source or Header  |  1992-11-26  |  2KB  |  51 lines

  1. /*--------------------------------------------------------------------*/
  2. /*    maillib.h                                                       */
  3. /*                                                                    */
  4. /*    descriptions of mail user agent subroutines                     */
  5. /*                                                                    */
  6. /*    Changes copyright 1990, Andrew H. Derbyshire                    */
  7. /*                                                                    */
  8. /*    Change History:                                                 */
  9. /*                                                                    */
  10. /*       3 May 90 Create from mail.c                                  */
  11. /*       8 Jul 90 Make LSIZE BUFSIZ                                   */
  12. /*--------------------------------------------------------------------*/
  13.  
  14. /*--------------------------------------------------------------------*/
  15. /*                        Function prototypes                         */
  16. /*--------------------------------------------------------------------*/
  17.  
  18. boolean Pager(const int msgnum,
  19.               boolean external,
  20.               copyopt received,
  21.               const boolean reset);
  22.  
  23. void PageReset( void );
  24.  
  25. boolean PageLine(char *line);
  26.  
  27. boolean CopyMsg(int msgnum, FILE *f, copyopt headers, boolean indent);
  28.  
  29.  void Sub_Pager(const char *tmailbag,
  30.                         boolean builtin );
  31.  
  32.  boolean Numeric( const char *number);
  33.                                  /* return 1 if number all digits,
  34.                                     else return 0                    */
  35.  
  36.  boolean RetrieveLine(long adr, char *line, const size_t len);
  37.  
  38.  void    ReturnAddress(char *line, struct ldesc *ld);
  39.  
  40. void sayoptions( FLAGTABLE *flags);
  41.  
  42. /*--------------------------------------------------------------------*/
  43. /*                          Global variables                          */
  44. /*--------------------------------------------------------------------*/
  45.  
  46. extern FILE* fmailbox;
  47.  
  48. extern struct ldesc *letters;
  49.  
  50. extern int letternum;
  51.