download_operations.h
Go to the documentation of this file.
#include "definitions.h"
#include "../libUplink.h"
napi_value download_infoc(napi_env env, napi_callback_info info);
//
napi_value close_downloadc(napi_env env, napi_callback_info info);
//
napi_value download_readc(napi_env env, napi_callback_info info);
//
napi_value download_objectc(napi_env env, napi_callback_info info);
download_infoc
napi_value download_infoc(napi_env env, napi_callback_info info)
download_infoc function is called from the javascript file download_info returns information about th...
Definition: download_operations.cc:13
downloadObjectObj::deferred
napi_deferred deferred
Definition: definitions.h:65
downloadObjectPromiseExecute
void downloadObjectPromiseExecute(napi_env env, void *data)
downloadObjectPromiseExecute used to implement the uplink-c library function downloadClosePromiseExec...
Definition: promises_execute.cc:75
downloadReadObj
Definition: definitions.h:51
downloadObjectObj::work
napi_async_work work
Definition: definitions.h:66
downloadReadObj::work
napi_async_work work
Definition: definitions.h:54
downloadInfoObj::download_result
UplinkDownload download_result
Definition: definitions.h:36
downloadReadOperationComplete
void downloadReadOperationComplete(napi_env env, napi_status status, void *data)
downloadReadOperationComplete creates the handle for download_read
Definition: promises_complete.cc:154
downloadReadObj::bufferlength
size_t bufferlength
Definition: definitions.h:57
download_operations.h
download_readc
napi_value download_readc(napi_env env, napi_callback_info info)
download_readc function is called from the javascript file download_readc reads the download .
Definition: download_operations.cc:164
downloadInfoPromiseExecute
void downloadInfoPromiseExecute(napi_env env, void *data)
downloadInfoPromiseExecute used to implement the uplink-c library function downloadInfoPromiseExecute...
Definition: promises_execute.cc:41
downloadObjectObj::objectkey
char * objectkey
Definition: definitions.h:69
downloadObjectObj::downloadoptionSet
int downloadoptionSet
Definition: definitions.h:73
downloadCloseObj::download_result
UplinkDownload download_result
Definition: definitions.h:46
downloadReadPromiseExecute
void downloadReadPromiseExecute(napi_env env, void *data)
downloadReadPromiseExecute used to implement the uplink-c library function downloadReadPromiseExecute...
Definition: promises_execute.cc:62
downloadCloseOperationComplete
void downloadCloseOperationComplete(napi_env env, napi_status status, void *data)
downloadCloseOperationComplete creates the handle for close_download .
Definition: promises_complete.cc:123
downloadReadObj::bufferPtr
void * bufferPtr
Definition: definitions.h:56
downloadInfoObj
Definition: definitions.h:31
download_infoc
napi_value download_infoc(napi_env env, napi_callback_info info)
download_infoc function is called from the javascript file download_info returns information about th...
Definition: download_operations.cc:13
close_downloadc
napi_value close_downloadc(napi_env env, napi_callback_info info)
close_downloadc function is called from the javascript file close_downloadc closes the download .
Definition: download_operations.cc:90
downloadCloseObj
Definition: definitions.h:41
downloadInfoObj::deferred
napi_deferred deferred
Definition: definitions.h:33
downloadCloseObj::deferred
napi_deferred deferred
Definition: definitions.h:43
definitions.h
downloadObjectObj::project
UplinkProject project
Definition: definitions.h:70
downloadObjectOperationComplete
void downloadObjectOperationComplete(napi_env env, napi_status status, void *data)
downloadobjectOperationComplete creates the handle for download_object it shows null if download has ...
Definition: promises_complete.cc:197
downloadObjectObj::downloadOption
UplinkDownloadOptions downloadOption
Definition: definitions.h:72
downloadReadObj::deferred
napi_deferred deferred
Definition: definitions.h:53
downloadCloseObj::work
napi_async_work work
Definition: definitions.h:44
download_readc
napi_value download_readc(napi_env env, napi_callback_info info)
download_readc function is called from the javascript file download_readc reads the download .
Definition: download_operations.cc:164
downloadInfoOperationComplete
void downloadInfoOperationComplete(napi_env env, napi_status status, void *data)
downloadInfoOperationComplete creates the handle for download_info
Definition: promises_complete.cc:91
downloadObjectObj
Definition: definitions.h:63
download_objectc
napi_value download_objectc(napi_env env, napi_callback_info info)
download_objectc function is called from the javascript file download_objectc starts download to the ...
Definition: download_operations.cc:272
downloadClosePromiseExecute
void downloadClosePromiseExecute(napi_env env, void *data)
downloadClosePromiseExecute used to implement the uplink-c library function downloadClosePromiseExecu...
Definition: promises_execute.cc:51
downloadReadObj::download_result
UplinkDownload download_result
Definition: definitions.h:58
close_downloadc
napi_value close_downloadc(napi_env env, napi_callback_info info)
close_downloadc function is called from the javascript file close_downloadc closes the download .
Definition: download_operations.cc:90
downloadInfoObj::work
napi_async_work work
Definition: definitions.h:34
downloadObjectObj::bucketname
char * bucketname
Definition: definitions.h:68
download_objectc
napi_value download_objectc(napi_env env, napi_callback_info info)
download_objectc function is called from the javascript file download_objectc starts download to the ...
Definition: download_operations.cc:272