1 #ifndef _WIMLIB_REGISTRY_H
2 #define _WIMLIB_REGISTRY_H
4 #include "wimlib/types.h"
14 HIVE_VALUE_IS_WRONG_TYPE,
18 extern enum hive_status
19 hive_validate(const void *hive_mem, size_t hive_size);
21 extern enum hive_status
22 hive_get_string(const struct regf *regf, const tchar *key_name,
23 const tchar *value_name, tchar **value_ret);
25 extern enum hive_status
26 hive_get_number(const struct regf *regf, const tchar *key_name,
27 const tchar *value_name, s64 *value_ret);
29 extern enum hive_status
30 hive_list_subkeys(const struct regf *regf, const tchar *key_name,
31 tchar ***subkeys_ret);
34 hive_free_subkeys_list(tchar **subkeys);
37 hive_status_to_string(enum hive_status status);
39 #endif /* _WIMLIB_REGISTRY_H */