|
37 | 37 | // Current ABI version for linking to the core. This is incremented any time |
38 | 38 | // there are changes to the API that affect linking, including new functions, |
39 | 39 | // new types, or modifications to existing functions or types. |
40 | | -#define BN_CURRENT_CORE_ABI_VERSION 136 |
| 40 | +#define BN_CURRENT_CORE_ABI_VERSION 137 |
41 | 41 |
|
42 | 42 | // Minimum ABI version that is supported for loading of plugins. Plugins that |
43 | 43 | // are linked to an ABI version less than this will not be able to load and |
@@ -312,6 +312,14 @@ extern "C" |
312 | 312 | typedef struct BNIndirectBranchInfo BNIndirectBranchInfo; |
313 | 313 | typedef struct BNArchitectureAndAddress BNArchitectureAndAddress; |
314 | 314 |
|
| 315 | + typedef struct BNRemoteFileSearchMatch |
| 316 | + { |
| 317 | + char* projectId; |
| 318 | + char* projectName; |
| 319 | + char* fileId; |
| 320 | + char* fileName; |
| 321 | + } BNRemoteFileSearchMatch; |
| 322 | + |
315 | 323 | typedef bool(*BNProgressFunction)(void*, size_t, size_t); |
316 | 324 |
|
317 | 325 | //! Console log levels |
@@ -8240,6 +8248,8 @@ extern "C" |
8240 | 8248 | BINARYNINJACOREAPI BNCollaborationUser* BNRemoteGetUserByUsername(BNRemote* remote, const char* username); |
8241 | 8249 | BINARYNINJACOREAPI BNCollaborationUser* BNRemoteGetCurrentUser(BNRemote* remote); |
8242 | 8250 | BINARYNINJACOREAPI bool BNRemoteSearchUsers(BNRemote* remote, const char* prefix, char*** userIds, char*** usernames, size_t* count); |
| 8251 | + BINARYNINJACOREAPI BNRemoteFileSearchMatch* BNRemoteFindFiles(BNRemote* remote, const char* name, size_t* count); |
| 8252 | + BINARYNINJACOREAPI void BNFreeRemoteFileSearchMatchList(BNRemoteFileSearchMatch* matches, size_t count); |
8243 | 8253 | BINARYNINJACOREAPI bool BNRemotePullUsers(BNRemote* remote, BNProgressFunction progress, void* progressContext); |
8244 | 8254 | BINARYNINJACOREAPI BNCollaborationUser* BNRemoteCreateUser(BNRemote* remote, const char* username, const char* email, bool isActive, const char* password, const uint64_t* groupIds, size_t groupIdCount, const uint64_t* userPermissionIds, size_t userPermissionIdCount); |
8245 | 8255 | BINARYNINJACOREAPI bool BNRemotePushUser(BNRemote* remote, BNCollaborationUser* user, const char** extraFieldKeys, const char** extraFieldValues, size_t extraFieldCount); |
|
0 commit comments