home *** CD-ROM | disk | FTP | other *** search
/ ftp.whtech.com / ftp.whtech.com.7z / ftp.whtech.com / emulators / v9t9 / linux / sources / V9t9 / source / config.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-10-19  |  639 b   |  29 lines

  1.  
  2. #ifndef __CONFIG_H__
  3. #define __CONFIG_H__
  4.  
  5. #include "command.h"
  6.  
  7. /*
  8.  *    Escape an outgoing quoted string
  9.  */
  10. char *escape(const char *str, int quote);
  11.  
  12. DECL_SYMBOL_ACTION(load_config);
  13. DECL_SYMBOL_ACTION(save_config);
  14. DECL_SYMBOL_ACTION(load_session);
  15. DECL_SYMBOL_ACTION(save_session);
  16.  
  17. int 
  18. config_load_spec(const OSSpec *spec, bool session);
  19. int 
  20. config_save_spec(const OSSpec *spec, bool session);
  21. int
  22. config_find_file(const char *filename, const char *path, OSSpec *spec);
  23. int 
  24. config_load_file(const char *path, const char *filename, bool session);
  25. int 
  26. config_save_file(const char *path, const char *filename, bool session);
  27.  
  28. #endif
  29.