X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=hivex%2Fhivex.h;h=f4ce83401aa90592f6929f05650d1bc0db9fdf99;hb=4fe4c9f274da647fac452bf943176f82f9f05dc1;hp=56718b4edb0e9ea66ff471507a80d80dd2c9cf89;hpb=dd1a57f8b76e5acd8f86d7edad07b9ea1d316de2;p=hivex.git diff --git a/hivex/hivex.h b/hivex/hivex.h index 56718b4..f4ce834 100644 --- a/hivex/hivex.h +++ b/hivex/hivex.h @@ -110,6 +110,20 @@ struct hivex_visitor { extern int hivex_visit (hive_h *h, const struct hivex_visitor *visitor, size_t len, void *opaque, int flags); extern int hivex_visit_node (hive_h *h, hive_node_h node, const struct hivex_visitor *visitor, size_t len, void *opaque, int flags); +extern int hivex_commit (hive_h *h, const char *filename, int flags); +extern hive_node_h hivex_node_add_child (hive_h *h, hive_node_h parent, const char *name); +extern int hivex_node_delete_child (hive_h *h, hive_node_h node); + +struct hive_set_value { + char *key; + hive_type t; + size_t len; + char *value; +}; +typedef struct hive_set_value hive_set_value; + +extern int hivex_node_set_values (hive_h *h, hive_node_h node, size_t nr_values, const hive_set_value *values, int flags); + #ifdef __cplusplus } #endif