summaryrefslogtreecommitdiff
path: root/binaryninjacore.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 /binaryninjacore.h
parent91eb7be1f537b15795559ffc62c1ee6ecdcdf412 (diff)
Add Database::TrimSnapshot api
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 05eb44fa..32c88fd2 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -2978,6 +2978,7 @@ extern "C"
BINARYNINJACOREAPI int64_t BNWriteDatabaseSnapshotData(BNDatabase* database, int64_t* parents, size_t parentCount,
BNBinaryView* file, const char* name, BNKeyValueStore* data, bool autoSave, void* ctxt,
bool (*progress)(void*, size_t, size_t));
+ BINARYNINJACOREAPI bool BNTrimDatabaseSnapshot(BNDatabase* database, int64_t id);
BINARYNINJACOREAPI bool BNRemoveDatabaseSnapshot(BNDatabase* database, int64_t id);
BINARYNINJACOREAPI char** BNGetDatabaseGlobalKeys(BNDatabase* database, size_t* count);
BINARYNINJACOREAPI int BNDatabaseHasGlobal(BNDatabase* database, const char* key);