registry.hh 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /********************************************************************** <BR>
  2. This file is part of Crack dot Com's free source code release of
  3. Golgotha. <a href="http://www.crack.com/golgotha_release"> <BR> for
  4. information about compiling & licensing issues visit this URL</a>
  5. <PRE> If that doesn't help, contact Jonathan Clark at
  6. golgotha_source@usa.net (Subject should have "GOLG" in it)
  7. ***********************************************************************/
  8. #ifndef I4_REGISTRY_HH
  9. #define I4_REGISTRY_HH
  10. #include "arch.hh"
  11. enum i4_registry_type
  12. {
  13. I4_REGISTRY_MACHINE, // associated with machine
  14. I4_REGISTRY_USER // associated with user
  15. };
  16. i4_bool i4_get_registry(i4_registry_type type,
  17. char *path,
  18. char *key_name,
  19. char *buffer, int buf_length);
  20. i4_bool i4_set_registry(i4_registry_type type,
  21. char *path,
  22. char *key_name,
  23. char *buffer);
  24. #endif