upload_operations.h
Go to the documentation of this file.
#include "definitions.h"
#include "../libUplink.h"
napi_value upload_set_custom_metadatac(napi_env env, napi_callback_info info);
//
napi_value upload_abortc(napi_env env, napi_callback_info info);
//
napi_value upload_infoc(napi_env env, napi_callback_info info);
//
napi_value upload_commitc(napi_env env, napi_callback_info info);
//
napi_value upload_writec(napi_env env, napi_callback_info info);
//
napi_value upload_objectc(napi_env env, napi_callback_info info);
uploadobjectObj::async_action_status
int async_action_status
Definition: definitions.h:129
uploadSetMetaObj::work
napi_async_work work
Definition: definitions.h:80
uploadAbortPromiseExecute
void uploadAbortPromiseExecute(napi_env env, void *data)
uploadAbortPromiseExecute used to implement the uplink-c library function uploadAbortPromiseExecute a...
Definition: promises_execute.cc:103
upload_set_custom_metadatac
napi_value upload_set_custom_metadatac(napi_env env, napi_callback_info info)
upload_set_custom_metadatac function is called from the javascript file there are restrictions on wha...
Definition: upload_operations.cc:14
uploadWriteObj::deferred
napi_deferred deferred
Definition: definitions.h:119
uploadObjectComplete
void uploadObjectComplete(napi_env env, napi_status status, void *data)
uploadObjectComplete creates the handle for upload_object . it shows null if upload option set contai...
Definition: promises_complete.cc:389
uploadWritePromiseExecute
void uploadWritePromiseExecute(napi_env env, void *data)
uploadWritePromiseExecute used to implement the uplink-c library function uploadWritePromiseExecute w...
Definition: promises_execute.cc:134
uploadCommitObj::deferred
napi_deferred deferred
Definition: definitions.h:110
upload_commitc
napi_value upload_commitc(napi_env env, napi_callback_info info)
upload_commitc function is called from the javascript file upload_commitc commits the uploaded data.
Definition: upload_operations.cc:373
upload_objectc
napi_value upload_objectc(napi_env env, napi_callback_info info)
upload_objectc function is called from the javascript file upload_objectc starts an upload to the spe...
Definition: upload_operations.cc:572
uploadAbortPromiseObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:93
uploadCommitObj
Definition: definitions.h:108
uploadWriteObj::bytesread
size_t bytesread
Definition: definitions.h:123
uploadAbortPromiseComplete
void uploadAbortPromiseComplete(napi_env env, napi_status status, void *data)
uploadAbortPromiseComplete creates the handle for upload_abort
Definition: promises_complete.cc:259
uploadCommitObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:113
uploadCommitOperationComplete
void uploadCommitOperationComplete(napi_env env, napi_status status, void *data)
uploadCommitOperationComplete creates the handle for upload_commit
Definition: promises_complete.cc:318
uploadobjectObj::deferred
napi_deferred deferred
Definition: definitions.h:130
upload_writec
napi_value upload_writec(napi_env env, napi_callback_info info)
upload_writec function is called from the javascript file upload_write uploads len(p) bytes from p to...
Definition: upload_operations.cc:453
upload_set_custom_metadatac
napi_value upload_set_custom_metadatac(napi_env env, napi_callback_info info)
upload_set_custom_metadatac function is called from the javascript file there are restrictions on wha...
Definition: upload_operations.cc:14
uploadObjectExecute
void uploadObjectExecute(napi_env env, void *data)
uploadObjectExecute used to implement the uplink-c library function uploadObjectExecute uploads the o...
Definition: promises_execute.cc:147
uploadobjectObj::work
napi_async_work work
Definition: definitions.h:131
uploadobjectObj::uploadOptions
UplinkUploadOptions uploadOptions
Definition: definitions.h:137
upload_abortc
napi_value upload_abortc(napi_env env, napi_callback_info info)
upload_abortc function is called from the javascript file upload_abortc function aborts the upload
Definition: upload_operations.cc:222
uploadAbortPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:90
upload_abortc
napi_value upload_abortc(napi_env env, napi_callback_info info)
upload_abortc function is called from the javascript file upload_abortc function aborts the upload
Definition: upload_operations.cc:222
upload_objectc
napi_value upload_objectc(napi_env env, napi_callback_info info)
upload_objectc function is called from the javascript file upload_objectc starts an upload to the spe...
Definition: upload_operations.cc:572
uploadSetMetaObj::customMetadata
UplinkCustomMetadata customMetadata
Definition: definitions.h:83
upload_operations.h
uploadWriteObj
Definition: definitions.h:117
uploadWriteObj::bufferPtr
void * bufferPtr
Definition: definitions.h:122
definitions.h
uploadInfoObj
Definition: definitions.h:98
uploadWriteObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:124
uploadobjectObj::bucketname
char * bucketname
Definition: definitions.h:133
uploadWriteObj::work
napi_async_work work
Definition: definitions.h:120
uploadInfoObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:103
uploadAbortPromiseObj::work
napi_async_work work
Definition: definitions.h:91
uploadInfoPromiseExecute
void uploadInfoPromiseExecute(napi_env env, void *data)
uploadInfoPromiseExecute used to implement the uplink-c library function uploadInfoPromiseExecute upl...
Definition: promises_execute.cc:113
uploadInfoOperationComplete
void uploadInfoOperationComplete(napi_env env, napi_status status, void *data)
uploadInfoOperationComplete creates the handle for upload_info
Definition: promises_complete.cc:288
uploadobjectObj::objectkey
char * objectkey
Definition: definitions.h:134
uploadSetMetaPromiseComplete
void uploadSetMetaPromiseComplete(napi_env env, napi_status status, void *data)
uploadSetMetaPromiseComplete creates the handle for upload_set_custom_metadata
Definition: promises_complete.cc:229
uploadSetMetaObj::deferred
napi_deferred deferred
Definition: definitions.h:79
upload_infoc
napi_value upload_infoc(napi_env env, napi_callback_info info)
upload_infoc function is called from the javascript file upload_infoc upload the information .
Definition: upload_operations.cc:294
uploadobjectObj::uploadoptionSet
int uploadoptionSet
Definition: definitions.h:138
upload_writec
napi_value upload_writec(napi_env env, napi_callback_info info)
upload_writec function is called from the javascript file upload_write uploads len(p) bytes from p to...
Definition: upload_operations.cc:453
upload_infoc
napi_value upload_infoc(napi_env env, napi_callback_info info)
upload_infoc function is called from the javascript file upload_infoc upload the information .
Definition: upload_operations.cc:294
uploadSetMetaObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:82
uploadobjectObj
Definition: definitions.h:128
uploadInfoObj::deferred
napi_deferred deferred
Definition: definitions.h:100
uploadCommitPromiseExecute
void uploadCommitPromiseExecute(napi_env env, void *data)
uploadCommitPromiseExecute used to implement the uplink-c library function uploadCommitPromiseExecute...
Definition: promises_execute.cc:124
uploadAbortPromiseObj
Definition: definitions.h:88
uploadWriteObj::async_action_status
int async_action_status
Definition: definitions.h:118
uploadobjectObj::project
UplinkProject project
Definition: definitions.h:135
uploadSetMetaPromiseExecute
void uploadSetMetaPromiseExecute(napi_env env, void *data)
uploadSetMetaPromiseExecute used to implement the uplink-c library function uploadSetMetaPromiseExecu...
Definition: promises_execute.cc:92
uploadWriteOperationComplete
void uploadWriteOperationComplete(napi_env env, napi_status status, void *data)
uploadWriteOperationComplete creates the handle for upload_write
Definition: promises_complete.cc:348
uploadSetMetaObj
Definition: definitions.h:77
uploadInfoObj::work
napi_async_work work
Definition: definitions.h:101
uploadCommitObj::work
napi_async_work work
Definition: definitions.h:111
upload_commitc
napi_value upload_commitc(napi_env env, napi_callback_info info)
upload_commitc function is called from the javascript file upload_commitc commits the uploaded data.
Definition: upload_operations.cc:373