source: golgotha/src/i4/app/registry.hh

Last change on this file was 80, checked in by Sam Hocevar, 11 years ago
  • Adding the Golgotha source code. Not sure what's going to be interesting in there, but since it's all public domain, there's certainly stuff to pick up.
File size: 1.0 KB
Line 
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
9#ifndef I4_REGISTRY_HH
10#define I4_REGISTRY_HH
11
12#include "arch.hh"
13
14enum i4_registry_type
15{
16  I4_REGISTRY_MACHINE,  // associated with machine
17  I4_REGISTRY_USER      // associated with user
18};
19
20
21i4_bool i4_get_registry(i4_registry_type type,
22                        char *path,
23                        char *key_name,
24                        char *buffer, int buf_length);
25
26i4_bool i4_set_registry(i4_registry_type type,
27                        char *path,
28                        char *key_name,
29                        char *buffer);
30
31
32
33#endif
Note: See TracBrowser for help on using the repository browser.