home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / l / lzwbackup / !LZWbackup / h / LZWstuff < prev   
Encoding:
Text File  |  1994-09-17  |  923 b   |  38 lines

  1. /* this is the stuff that will be useful to all the programs */
  2.  
  3. #define LINE_LENGTH            255
  4. #define FILE_HEADER_LENGTH    100
  5. #define EXTRA_WORK_SPACE    1024
  6.  
  7. #ifndef FALSE
  8.     #define FALSE    0
  9.     #define TRUE    !FALSE
  10. #endif
  11.  
  12. /* these list the icon numbers in the main window */
  13.  
  14. #define MAIN_WINDOW_osize            1
  15. #define MAIN_WINDOW_csize            11
  16. #define MAIN_WINDOW_fspace            12
  17. #define MAIN_WINDOW_comment            9
  18. #define MAIN_WINDOW_source_fname    0
  19. #define MAIN_WINDOW_floppy_fname    6
  20. #define MAIN_WINDOW_go                3
  21. #define MAIN_WINDOW_abort            4
  22. #define MAIN_WINDOW_continue        7
  23. #define MAIN_WINDOW_inc_disc_name    13
  24. #define MAIN_WINDOW_inc_dirs        14
  25.  
  26. /* these list the states that the machine may be in */
  27.  
  28. #define STATE_no_backup    0
  29. #define STATE_load        1
  30. #define STATE_compress    2
  31. #define STATE_write_file        3
  32. #define STATE_write_directory    4
  33. #define STATE_wait_for_continue    256
  34.  
  35. /* file type for backup file on floppy */
  36.  
  37. #define BACKUP_FILE_TYPE    0x409
  38.