summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2022-04-13 22:40:28 -0400
committerGlenn Smith <glenn@vector35.com>2022-04-13 22:40:28 -0400
commit43730ec61dc280d0915a9db0fdbd38bb1cdc8f9a (patch)
tree0a7f4cf3296407743949f18b6a6491403de38280 /binaryninjaapi.h
parent91eb7be1f537b15795559ffc62c1ee6ecdcdf412 (diff)
Add Database::TrimSnapshot api
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 04cdfd12..95a3a677 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -962,6 +962,7 @@ namespace BinaryNinja {
Ref<Snapshot> GetCurrentSnapshot();
int64_t WriteSnapshotData(std::vector<int64_t> parents, Ref<BinaryView> file, const std::string& name,
const Ref<KeyValueStore>& data, bool autoSave, const std::function<bool(size_t, size_t)>& progress);
+ void TrimSnapshot(int64_t id);
void RemoveSnapshot(int64_t id);
std::vector<std::string> GetGlobalKeys() const;