summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2020-12-08 21:28:10 -0500
committerGlenn Smith <glenn@vector35.com>2021-07-01 16:01:06 -0400
commit61f05f9b89be4c3b7ec2ad2038597a8e689ed346 (patch)
tree8e0019dca2876e6a3ed328c8bb978ef13eae9965 /binaryninjaapi.h
parentb5a68720fd48925688afd52dcdafc14954a50fdc (diff)
Chunked uploads and cancelling uploads
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index d1467d0f..5c3e0cde 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -4939,7 +4939,7 @@ __attribute__ ((format (printf, 1, 2)))
int PerformRequest(const std::string& url, BNDownloadInstanceOutputCallbacks* callbacks);
int PerformCustomRequest(const std::string& method, const std::string& url, const std::unordered_map<std::string, std::string>& headers, Response& response, BNDownloadInstanceInputOutputCallbacks* callbacks);
- uint64_t ReadDataCallback(uint8_t* data, uint64_t len);
+ int64_t ReadDataCallback(uint8_t* data, uint64_t len);
uint64_t WriteDataCallback(uint8_t* data, uint64_t len);
bool NotifyProgressCallback(uint64_t progress, uint64_t total);
void SetError(const std::string& error);