summaryrefslogtreecommitdiff
path: root/source3/registry/reg_parse_internal.h
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2011-07-12 13:04:37 +0200
committerMichael Adam <obnox@samba.org>2011-10-12 22:45:53 +0200
commit6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7 (patch)
treea6d254333a3eabfc2a02539f170e77af22b12a32 /source3/registry/reg_parse_internal.h
parent85b145d7450fc9d9e9c93b0300c899dd94e2e861 (diff)
downloadsamba-6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7.tar.gz
samba-6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7.tar.bz2
samba-6b28a517e3a7d128ae6018dbbe6545d4f33cfdb7.zip
s3:registry add function srprs_hive()
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/registry/reg_parse_internal.h')
-rw-r--r--source3/registry/reg_parse_internal.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/source3/registry/reg_parse_internal.h b/source3/registry/reg_parse_internal.h
index 14fed89aa9..bd364a5851 100644
--- a/source3/registry/reg_parse_internal.h
+++ b/source3/registry/reg_parse_internal.h
@@ -56,7 +56,22 @@ struct hive_info {
size_t long_name_len;
};
-const struct hive_info* hive_info(const char* name, int nlen);
+extern const struct hive_info HIVE_INFO_HKLM;
+extern const struct hive_info HIVE_INFO_HKCU;
+extern const struct hive_info HIVE_INFO_HKCR;
+extern const struct hive_info HIVE_INFO_HKU;
+extern const struct hive_info HIVE_INFO_HKCC;
+extern const struct hive_info HIVE_INFO_HKDD;
+extern const struct hive_info HIVE_INFO_HKPD;
+extern const struct hive_info HIVE_INFO_HKPT;
+extern const struct hive_info HIVE_INFO_HKPN;
+
+extern const struct hive_info* HIVE_INFO[];
+
+const struct hive_info* hive_info(const char* name);
+bool srprs_hive(const char** ptr, const struct hive_info** result);
+
+
const char* get_charset(const char* c);