diff options
| author | Glenn Smith <glenn@vector35.com> | 2022-09-06 18:18:27 -0400 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2022-10-12 01:40:27 -0400 |
| commit | f68aa8ba0145f17a9ad76f59b1885c998f5fffa5 (patch) | |
| tree | 472bd32181f0ad8d9bfad403b11792a9322e18cd | |
| parent | 69c92e0f3eaf366ea81390b37f73c470f3f11e38 (diff) | |
[Enterprise] API for license status callbacks
| -rw-r--r-- | binaryninjacore.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index c3209b80..18ceb971 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -2871,6 +2871,12 @@ extern "C" size_t sourceCount; }; + struct BNEnterpriseServerCallbacks + { + void* context; + void (*licenseStatusChanged)(void* ctxt, bool stillValid); + }; + BINARYNINJACOREAPI char* BNAllocString(const char* contents); BINARYNINJACOREAPI void BNFreeString(char* str); BINARYNINJACOREAPI char** BNAllocStringList(const char** contents, size_t size); @@ -2919,6 +2925,8 @@ extern "C" BINARYNINJACOREAPI uint64_t BNGetEnterpriseServerReservationTimeLimit(void); BINARYNINJACOREAPI bool BNIsEnterpriseServerLicenseStillActivated(void); BINARYNINJACOREAPI char* BNGetEnterpriseServerLastError(void); + BINARYNINJACOREAPI void BNRegisterEnterpriseServerNotification(BNEnterpriseServerCallbacks* notify); + BINARYNINJACOREAPI void BNUnregisterEnterpriseServerNotification(BNEnterpriseServerCallbacks* notify); BINARYNINJACOREAPI bool BNIsEnterpriseServerInitialized(void); BINARYNINJACOREAPI void BNRegisterObjectDestructionCallbacks(BNObjectDestructionCallbacks* callbacks); |
