summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2018-11-21 18:43:14 -0500
committerBrian Potchik <brian@vector35.com>2018-11-21 18:43:14 -0500
commit5b9c47a16f30c36e5ba992c72b50984d2be2c4fc (patch)
tree36f1d1ff63720bf0edf8c52bae2572055b487af1 /binaryninjacore.h
parent419a05cf5227029a5fe69799a7f7466a6b60d849 (diff)
Add ability to serialize/deserialize settings from BinaryViews.
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 14e8fb4f..beb7e9b3 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -3689,6 +3689,8 @@ extern "C"
BINARYNINJACOREAPI bool BNSettingsUpdateStringListProperty(const char* registry, const char* id, const char* property, const char** value, size_t size);
BINARYNINJACOREAPI char* BNSettingsGetSchema(const char* registry);
+ BINARYNINJACOREAPI bool BNDeserializeSettings(const char* registry, const char* contents, BNBinaryView* view, BNSettingsScope scope);
+ BINARYNINJACOREAPI char* BNSerializeSettings(const char* registry, BNBinaryView* view, BNSettingsScope scope);
BINARYNINJACOREAPI bool BNSettingsReset(const char* registry, const char* id, BNBinaryView* view, BNSettingsScope scope);
BINARYNINJACOREAPI bool BNSettingsResetAll(const char* registry, BNBinaryView* view, BNSettingsScope scope);