home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 32 / hot34.iso / ficheros / DTOOL / INTER57E.ZIP / INTSUM16.ZIP / ERR_EXIT.HPP < prev    next >
C/C++ Source or Header  |  1995-07-15  |  782b  |  29 lines

  1. //*********************************************************
  2. //  ERR_EXIT.HPP - Header for semi-standard error handler  
  3. //                                                         
  4. //  Written by:   Daniel D. Miller                         
  5. //                                                         
  6. //  Last Update:  06-23-95 08:23am                         
  7. //                                                         
  8. //*********************************************************
  9.  
  10. enum error_code {
  11. USAGE=0,
  12. OUT_OF_MEMORY,
  13. NO_LIST_FILE,
  14. NO_READ_FILE,
  15. NO_WRITE_FILE,
  16. BAD_FORMAT,
  17. BAD_USAGE_LEN,
  18. BAD_SEARCH,
  19. NO_INI_FILE,
  20. NO_DEBUG_FILE,
  21. BAD_REV_SEARCH,
  22. OLD_DOS_VERSION,
  23. INV_ERRCODE } ;
  24.  
  25. extern char *errmsg[] ;
  26.  
  27. void error_exit(int err_code, char* errstr);
  28.  
  29.