home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Applications / Eudora 1.3.1 / source / Include / hexbin.h < prev    next >
Encoding:
Text File  |  1993-03-16  |  837 b   |  19 lines  |  [TEXT/MPS ]

  1. /* Copyright (c) 1990-1992 by the University of Illinois Board of Trustees */
  2. /************************************************************************
  3.  * declarations for binhexing and unbinhexing macintosh files
  4.  ************************************************************************/
  5. short SaveHexBin(UHandle text,long size,long estMessageSize);
  6. void EndHexBin(void);
  7. void BeginHexBin(void);
  8.  
  9. /************************************************************************
  10.  * states for the converter
  11.  ************************************************************************/
  12. typedef enum {
  13.     NotHex, CollectName, CollectInfo, DataWrite, DataCrc1, DataCrc2,
  14.     RzWrite, RzCrc1, RzCrc2, Excess, HexDone, HexSLimit
  15. } HexBinStates;
  16. Boolean WantTheFile(UPtr name,short *vRef);
  17. Boolean AutoWantTheFile(UPtr name,short *vRef,Boolean ohYesYouDo);
  18.  
  19.