From 5ab92a703fe01634e086cbf278dc8ca36c438a54 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 27 Aug 2025 21:02:59 -0400 Subject: Add auto downloading of project file dependencies, clean up download APIs --- binaryninjacore.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'binaryninjacore.h') diff --git a/binaryninjacore.h b/binaryninjacore.h index 9dd9c80e..b0248d52 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -37,14 +37,14 @@ // Current ABI version for linking to the core. This is incremented any time // there are changes to the API that affect linking, including new functions, // new types, or modifications to existing functions or types. -#define BN_CURRENT_CORE_ABI_VERSION 146 +#define BN_CURRENT_CORE_ABI_VERSION 147 // Minimum ABI version that is supported for loading of plugins. Plugins that // are linked to an ABI version less than this will not be able to load and // will require rebuilding. The minimum version is increased when there are // incompatible changes that break binary compatibility, such as changes to // existing types or functions. -#define BN_MINIMUM_CORE_ABI_VERSION 146 +#define BN_MINIMUM_CORE_ABI_VERSION 147 #ifdef __GNUC__ #ifdef BINARYNINJACORE_LIBRARY @@ -8449,7 +8449,8 @@ extern "C" BINARYNINJACOREAPI bool BNRemoteFilePullSnapshots(BNRemoteFile* file, BNProgressFunction progress, void* progressContext); BINARYNINJACOREAPI BNCollaborationSnapshot* BNRemoteFileCreateSnapshot(BNRemoteFile* file, const char* name, uint8_t* contents, size_t contentsSize, uint8_t* analysisCacheContents, size_t analysisCacheContentsSize, uint8_t* fileContents, size_t fileContentsSize, const char** parentIds, size_t parentIdCount, BNProgressFunction progress, void* progressContext); BINARYNINJACOREAPI bool BNRemoteFileDeleteSnapshot(BNRemoteFile* file, BNCollaborationSnapshot* snapshot); - BINARYNINJACOREAPI bool BNRemoteFileDownload(BNRemoteFile* file, BNProgressFunction progress, void* progressCtxt, uint8_t** data, size_t* size); + BINARYNINJACOREAPI bool BNRemoteFileDownload(BNRemoteFile* file, BNProgressFunction progress, void* progressCtxt); + BINARYNINJACOREAPI bool BNRemoteFileDownloadContents(BNRemoteFile* file, BNProgressFunction progress, void* progressCtxt, uint8_t** data, size_t* size); BINARYNINJACOREAPI char* BNRemoteFileRequestUserPositions(BNRemoteFile* file); BINARYNINJACOREAPI char* BNRemoteFileRequestChatLog(BNRemoteFile* file); -- cgit v1.3.1