diff options
Diffstat (limited to 'plugins/CloudFile/src/Services/dropbox_service.h')
-rw-r--r-- | plugins/CloudFile/src/Services/dropbox_service.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/CloudFile/src/Services/dropbox_service.h b/plugins/CloudFile/src/Services/dropbox_service.h index 362a9751fc..c498b52178 100644 --- a/plugins/CloudFile/src/Services/dropbox_service.h +++ b/plugins/CloudFile/src/Services/dropbox_service.h @@ -10,9 +10,9 @@ private: void HandleJsonError(JSONNode &node); char* UploadFile(const char *data, size_t size, char *path); - void StartUploadSession(const char *data, size_t size, char *sessionId); - void AppendToUploadSession(const char *data, size_t size, const char *sessionId, size_t offset); - char* FinishUploadSession(const char *data, size_t size, const char *sessionId, size_t offset, char *path); + void CreateUploadSession(const char *chunk, size_t chunkSize, char *sessionId); + void UploadFileChunk(const char *chunk, size_t chunkSize, const char *sessionId, size_t offset); + char* CommitUploadSession(const char *chunk, size_t chunkSize, const char *sessionId, size_t offset, char *path); void CreateFolder(const char *path); void CreateSharedLink(const char *path, char *url); |