1 #ifndef _WIMLIB_REGISTRY_H
2 #define _WIMLIB_REGISTRY_H
4 #include "wimlib/types.h"
14 HIVE_VALUE_IS_WRONG_TYPE,
16 HIVE_ITERATION_STOPPED,
19 extern enum hive_status
20 hive_validate(const void *hive_mem, size_t hive_size);
22 extern enum hive_status
23 hive_get_string(const struct regf *regf, const tchar *key_name,
24 const tchar *value_name, tchar **value_ret);
26 extern enum hive_status
27 hive_get_number(const struct regf *regf, const tchar *key_name,
28 const tchar *value_name, s64 *value_ret);
30 extern enum hive_status
31 hive_list_subkeys(const struct regf *regf, const tchar *key_name,
32 tchar ***subkeys_ret);
35 hive_free_subkeys_list(tchar **subkeys);
38 hive_status_to_string(enum hive_status status);
40 #endif /* _WIMLIB_REGISTRY_H */