home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Archivers / PPCxDMSWOS.lha / source.lha / src / pfile.h < prev    next >
Text File  |  1998-02-17  |  812b  |  44 lines

  1.  
  2.  
  3. /* Functions return codes */
  4. #define NO_PROBLEM 0
  5. #define FILE_END 1
  6. #define ERR_NOMEMORY 2
  7. #define ERR_CANTOPENIN 3
  8. #define ERR_CANTOPENOUT 4
  9. #define ERR_NOTDMS 5
  10. #define ERR_SREAD 6
  11. #define ERR_HCRC 7
  12. #define ERR_NOTTRACK 8
  13. #define ERR_BIGTRACK 9
  14. #define ERR_THCRC 10
  15. #define ERR_TDCRC 11
  16. #define ERR_CSUM 12
  17. #define ERR_CANTWRITE 13
  18. #define ERR_BADDECR 14
  19. #define ERR_UNKNMODE 15
  20. #define ERR_NOPASSWD 16
  21. #define ERR_BADPASSWD 17
  22. #define ERR_FMS 18
  23. #define ERR_GZIP 19
  24. #define ERR_READDISK 20
  25.  
  26.  
  27. /* Command to execute */
  28. #define CMD_VIEW 1
  29. #define CMD_VIEWFULL 2
  30. #define CMD_SHOWDIZ 3
  31. #define CMD_SHOWBANNER 4
  32. #define CMD_TEST 5
  33. #define CMD_UNPACK 6
  34. #define CMD_UNPKGZ 7
  35. #define CMD_EXTRACT 8
  36.  
  37.  
  38. #define OPT_VERBOSE 1
  39. #define OPT_QUIET 2
  40.  
  41.  
  42. USHORT Process_File(char *, char *, USHORT, USHORT, USHORT, USHORT);
  43.  
  44.