home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / unix / unxfiles.sit / source / Mac / Un*xFiles.h < prev   
Text File  |  1989-11-21  |  1KB  |  35 lines

  1. /* I can't figure out how to make THINK C 4 include a resource file
  2.  * in a project, so there's this:
  3.  */
  4.  
  5. /* #define DEBUG */
  6.  
  7. /* error codes */
  8.  
  9. #define OTHER    -1    /* something strange happened */
  10. #define NOERR    0    /* everything's hunky-dory */
  11. #define NOOPIN    1    /* opening input file */
  12. #define NOOPOUT    2    /* opening output file */
  13. #define NOREAD    3    /* reading input */
  14. #define NOWRITE    4    /* writing output */
  15. #define    NOCLIN    5    /* closing input */ 
  16. #define NOCLOUT    6    /* closing output */
  17. #define FORMAT    7    /* file is in an unreadable format */
  18. #define UEOF    8    /* unexpected end-of-file */
  19. #define DETRANS    9    /* decompression or translation error */
  20.  
  21. int uudecode ( char *source );
  22. int uuencode ( char *source, char *target );
  23.  
  24. #ifdef DEBUG
  25. void bitch ( char *message );
  26. #endif
  27.  
  28. void CrashSaver ( void );
  29. void InitMac ( void );
  30. void main ( void );
  31.  
  32. void CenterRect ( Rect *r );
  33. Point SFCenter ( int dlogID );
  34. int myAlert ( int theID, FilterProc dialogFilter );
  35. DialogPtr myGetNewDialog ( int dialogID, Ptr dStorage, WindowPtr behind );