diff options
| author | kat <kat@vector35.com> | 2024-02-06 19:28:16 -0500 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-02-06 19:28:16 -0500 |
| commit | 75ee61e20cea015448771efe816b841bb2147f34 (patch) | |
| tree | 846b09fffc5dc7529fafe5a8d22a3f411e2d44cb /binaryninjacore.h | |
| parent | 7264a843e47cd11aa3252bf5886719f8bda93a04 (diff) | |
New Tab Redesign
- Adds some fixes for Animation, an Update info support class and other small things required
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 39 |
1 files changed, 31 insertions, 8 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 9090fdd5..085c52fb 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2314,6 +2314,35 @@ extern "C" char* latestVersion; } BNUpdateChannel; + typedef struct BNVersionInfo { + uint32_t major; + uint32_t minor; + uint32_t build; + char* channel; + } BNVersionInfo; + + typedef struct BNChangelogEntry { + BNVersionInfo version; + char* notes; + uint64_t time; + } BNChangelogEntry; + + typedef struct BNUpdateVersionNew { + BNVersionInfo version; + char* name; + uint64_t time; + } BNUpdateVersionNew; + + typedef struct BNUpdateChannelFullInfo { + BNUpdateVersionNew* versions; + uint64_t versionCount; + BNChangelogEntry* changelogEntries; + uint64_t changelogEntryCount; + char* name; + char* desc; + char* latestVersion; + } BNUpdateChannelFullInfo; + typedef struct BNUpdateVersion { char* version; @@ -3051,14 +3080,6 @@ extern "C" bool (*deleteData)(void* ctxt, const char* key); } BNSecretsProviderCallbacks; - typedef struct BNVersionInfo - { - uint32_t major; - uint32_t minor; - uint32_t build; - const char* channel; - } BNVersionInfo; - typedef struct BNMergedVariable { BNVariable target; @@ -5969,6 +5990,8 @@ extern "C" BINARYNINJACOREAPI void BNFreeUpdateChannelList(BNUpdateChannel* list, size_t count); BINARYNINJACOREAPI BNUpdateVersion* BNGetUpdateChannelVersions(const char* channel, size_t* count, char** errors); BINARYNINJACOREAPI void BNFreeUpdateChannelVersionList(BNUpdateVersion* list, size_t count); + BINARYNINJACOREAPI BNUpdateChannelFullInfo* BNGetFullInfoUpdateChannels(size_t* count, char** errors); + BINARYNINJACOREAPI void BNFreeFullInfoUpdateChannels(BNUpdateChannelFullInfo* list, size_t count); BINARYNINJACOREAPI bool BNAreUpdatesAvailable( const char* channel, uint64_t* expireTime, uint64_t* serverTime, char** errors); |
