diff options
| author | Josh Ferrell <josh@vector35.com> | 2025-08-27 21:02:59 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2025-11-04 22:09:16 -0500 |
| commit | 5ab92a703fe01634e086cbf278dc8ca36c438a54 (patch) | |
| tree | 8d3e7341ffa1e896cb51afe075ba32ea0d330ec8 /binaryninjacore.h | |
| parent | ae1dbe7e69e3a1d5cc69fa5362fba1b85ba5b6b8 (diff) | |
Add auto downloading of project file dependencies, clean up download APIs
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 7 |
1 files changed, 4 insertions, 3 deletions
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); |
