aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/win32/erlsrv/erlsrv_registry.h
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2013-04-18 14:55:47 +0200
committerDan Gudmundsson <[email protected]>2013-05-20 13:36:27 +0200
commitee23d4b549618044d4a4f800db839483b359cb9f (patch)
treed7527dfddaf63d98f0662c8e93f66ef8a4f89436 /erts/etc/win32/erlsrv/erlsrv_registry.h
parentc7cda78643561ac76e108d37a91eeb67f899696a (diff)
downloadotp-ee23d4b549618044d4a4f800db839483b359cb9f.tar.gz
otp-ee23d4b549618044d4a4f800db839483b359cb9f.tar.bz2
otp-ee23d4b549618044d4a4f800db839483b359cb9f.zip
erts: Windows, convert erlsrv to use widestring
Diffstat (limited to 'erts/etc/win32/erlsrv/erlsrv_registry.h')
-rw-r--r--erts/etc/win32/erlsrv/erlsrv_registry.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/erts/etc/win32/erlsrv/erlsrv_registry.h b/erts/etc/win32/erlsrv/erlsrv_registry.h
index fbccc5416a..4be10e9ff2 100644
--- a/erts/etc/win32/erlsrv/erlsrv_registry.h
+++ b/erts/etc/win32/erlsrv/erlsrv_registry.h
@@ -20,20 +20,20 @@
#define _ERLSRV_REGISTRY_H
typedef struct _reg_entry {
- char *name;
+ wchar_t *name;
DWORD type;
union {
- char *bytes;
+ wchar_t *string;
DWORD value;
struct {
- char *bytes;
- char *unexpanded;
+ wchar_t *string;
+ wchar_t *unexpanded;
} expand;
} data;
} RegEntry;
typedef struct _reg_entry_desc {
- char *servicename;
+ wchar_t *servicename;
RegEntry *entries;
} RegEntryDesc;
@@ -67,10 +67,10 @@ extern int num_reg_entries;
RegEntry *empty_reg_tab(void);
void free_keys(RegEntry *keys);
void free_all_keys(RegEntryDesc *descs);
-RegEntry *get_keys(char *servicename);
-int set_keys(char *servicename, RegEntry *keys);
+RegEntry *get_keys(wchar_t *servicename);
+int set_keys(wchar_t *servicename, RegEntry *keys);
RegEntryDesc *get_all_keys(void);
-int remove_keys(char *servicename);
+int remove_keys(wchar_t *servicename);
int register_logkeys(void);
#endif /* _ERLSRV_REGISTRY_H */