summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2018-08-10 13:58:07 -0400
committerBrian Potchik <brian@vector35.com>2018-08-10 13:58:07 -0400
commit199092fb6960090d88c8fecba1a0dbe503a9f7e0 (patch)
treee4431ce420679b186ff4eef2a72099b276cb4df3 /binaryninjaapi.h
parent6ef32157e767aacd142012206bcf79c48266da2a (diff)
Finish DownloadProvider C++ API.
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index a11bef1c..6cfa49bf 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -3680,9 +3680,10 @@ namespace BinaryNinja
virtual int PerformRequest(const std::string& url) = 0;
int PerformRequest(const std::string& url, BNDownloadInstanceOutputCallbacks* callbacks);
-
- std::string GetError() const;
+ uint64_t WriteDataCallback(uint8_t* data, uint64_t len);
+ bool NotifyProgressCallback(uint64_t progress, uint64_t total);
void SetError(const std::string& error);
+ std::string GetError() const;
};
class CoreDownloadInstance: public DownloadInstance