diff options
| author | WeiN76LQh <WeiN76LQh@github.com> | 2024-11-28 18:52:19 +0000 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-02-17 21:05:02 -0500 |
| commit | 9fa3dd7b2f00fe2e988e319d3fdb83ee99e30cd0 (patch) | |
| tree | 525177007cf41ddb69150955d462d5a51bbdd7c5 /view/sharedcache/api/sharedcachecore.h | |
| parent | a30831a814503b75a1fa6efeea1cd0a673c240d7 (diff) | |
[SharedCache] Define BackingCacheType
Split out from https://github.com/WeiN76LQh/binaryninja-api/tree/process-local-symbols
Diffstat (limited to 'view/sharedcache/api/sharedcachecore.h')
| -rw-r--r-- | view/sharedcache/api/sharedcachecore.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/view/sharedcache/api/sharedcachecore.h b/view/sharedcache/api/sharedcachecore.h index c2e1c7bd..54899919 100644 --- a/view/sharedcache/api/sharedcachecore.h +++ b/view/sharedcache/api/sharedcachecore.h @@ -64,6 +64,12 @@ extern "C" LoadProgressFinished, } BNDSCViewLoadProgress; + typedef enum BNBackingCacheType { + BackingCacheTypePrimary, + BackingCacheTypeSecondary, + BackingCacheTypeSymbols, + } BNBackingCacheType; + typedef struct BNBinaryView BNBinaryView; typedef struct BNSharedCache BNSharedCache; typedef struct BNStringRef BNStringRef; @@ -98,7 +104,7 @@ extern "C" typedef struct BNDSCBackingCache { char* path; - bool isPrimary; + BNBackingCacheType cacheType; BNDSCBackingCacheMapping* mappings; size_t mappingCount; } BNDSCBackingCache; |
