summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 27e2c565..46d675f2 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -1355,6 +1355,14 @@ namespace BinaryNinja
std::string latestVersion;
static std::vector<UpdateChannel> GetList();
+
+ bool AreUpdatesAvailable();
+
+ BNUpdateResult UpdateToVersion(const std::string& version);
+ BNUpdateResult UpdateToVersion(const std::string& version,
+ const std::function<void(uint64_t progress, uint64_t total)>& progress);
+ BNUpdateResult UpdateToLatestVersion();
+ BNUpdateResult UpdateToLatestVersion(const std::function<void(uint64_t progress, uint64_t total)>& progress);
};
struct UpdateVersion