promises_complete.h
Go to the documentation of this file.
#include "definitions.h"
#include "../libUplink.h"
#include "download_operations.h"
#include "upload_operations.h"
#include "bucket_operations.h"
#include "object_operations.h"
void openProjectPromiseComplete(napi_env env, napi_status status, void* data);
void listObjectPromiseComplete(napi_env env, napi_status status, void* data);
void downloadInfoOperationComplete(napi_env env, napi_status status, void* data);
void downloadCloseOperationComplete(napi_env env, napi_status status, void* data);
void downloadReadOperationComplete(napi_env env, napi_status status, void* data);
void downloadObjectOperationComplete(napi_env env, napi_status status, void* data);
void uploadSetMetaPromiseComplete(napi_env env, napi_status status, void* data);
void uploadAbortPromiseComplete(napi_env env, napi_status status, void* data);
void uploadInfoOperationComplete(napi_env env, napi_status status, void* data);
void uploadCommitOperationComplete(napi_env env, napi_status status, void* data);
void uploadWriteOperationComplete(napi_env env, napi_status status, void* data);
void uploadObjectComplete(napi_env env, napi_status status, void* data);
void objectOperationComplete(napi_env env, napi_status status, void* data);
void bucketOperationComplete(napi_env env, napi_status status, void* data);
void ListBucketsPromiseComplete(napi_env env, napi_status status, void* data);
void closeProjectPromiseComplete(napi_env env, napi_status status, void* data);
void configOpenProjectPromiseComplete(napi_env env, napi_status status, void* data);
void ParseAccessPromiseComplete(napi_env env, napi_status status, void* data);
void ShareAccessPromiseComplete(napi_env env, napi_status status, void* data);
void ConfigRequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void* data);
void RequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void* data);
void accessSerializePromiseComplete(napi_env env, napi_status status, void* data);
void deriveEncrpPromiseComplete(napi_env env, napi_status status, void* data);
void accessOverRidePromiseComplete(napi_env env, napi_status status, void* data);
downloadObjectObj::deferred
napi_deferred deferred
Definition: definitions.h:65
RequestAccessPromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:218
RequestAccessPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:215
deriveEncrpPromiseObj
Definition: definitions.h:254
listObjectPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:20
uploadSetMetaObj::work
napi_async_work work
Definition: definitions.h:80
accessSerializePromiseComplete
void accessSerializePromiseComplete(napi_env env, napi_status status, void *data)
accessSerializePromiseComplete creates the handle for access_serialize
Definition: promises_complete.cc:771
downloadReadObj
Definition: definitions.h:51
deriveEncrpPromiseObj::work
napi_async_work work
Definition: definitions.h:257
downloadObjectObj::work
napi_async_work work
Definition: definitions.h:66
ShareAccessPromiseComplete
void ShareAccessPromiseComplete(napi_env env, napi_status status, void *data)
ShareAccessPromiseComplete creates the handle for access_share.
Definition: promises_complete.cc:670
downloadReadObj::work
napi_async_work work
Definition: definitions.h:54
ListBucketsPromiseComplete
void ListBucketsPromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:508
listObjectPromiseComplete
void listObjectPromiseComplete(napi_env env, napi_status status, void *data)
listObjectPromiseComplete creates the handle for list_objects it shows null if zero objects found in ...
Definition: promises_complete.cc:48
bucketOperationObj::work
napi_async_work work
Definition: definitions.h:155
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
accessOverRidePromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:268
downloadReadOperationComplete
void downloadReadOperationComplete(napi_env env, napi_status status, void *data)
downloadReadOperationComplete creates the handle for download_read
Definition: promises_complete.cc:154
uploadWriteObj::deferred
napi_deferred deferred
Definition: definitions.h:119
bucketOperationComplete
void bucketOperationComplete(napi_env env, napi_status status, void *data)
bucketOperationComplete used to implement the uplink-c library function bucketOperationComplete opera...
Definition: promises_complete.cc:466
openProjectPromiseComplete
void openProjectPromiseComplete(napi_env env, napi_status status, void *data)
openProjectPromiseComplete creates the handle for open_project
Definition: promises_complete.cc:13
object_operations.h
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
objectOperationObj::deferred
napi_deferred deferred
Definition: definitions.h:143
ParseAccessPromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:207
uploadInfoObj::object_result
UplinkObjectResult object_result
Definition: definitions.h:104
download_operations.h
AccessSharePromiseObj
Definition: definitions.h:221
ConfigRequestAccessPromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:241
ConfigRequestAccessPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:238
promises_complete.h
uploadCommitObj::deferred
napi_deferred deferred
Definition: definitions.h:110
configOpenProjectPromiseComplete
void configOpenProjectPromiseComplete(napi_env env, napi_status status, void *data)
configOpenProjectPromiseComplete creates the handle for config_open_project
Definition: promises_complete.cc:603
downloadCloseOperationComplete
void downloadCloseOperationComplete(napi_env env, napi_status status, void *data)
downloadCloseOperationComplete creates the handle for close_download .
Definition: promises_complete.cc:123
uploadCommitObj::error_result
UplinkError * error_result
Definition: definitions.h:114
uploadCommitObj
Definition: definitions.h:108
uploadAbortPromiseComplete
void uploadAbortPromiseComplete(napi_env env, napi_status status, void *data)
uploadAbortPromiseComplete creates the handle for upload_abort
Definition: promises_complete.cc:259
closeProjectPromiseComplete
void closeProjectPromiseComplete(napi_env env, napi_status status, void *data)
closeProjectPromiseComplete creates the handle for close_project
Definition: promises_complete.cc:574
ListBucketsPromiseObj::bucket_resultIterator
UplinkBucketIterator * bucket_resultIterator
Definition: definitions.h:165
listObjectPromiseComplete
void listObjectPromiseComplete(napi_env env, napi_status status, void *data)
listObjectPromiseComplete creates the handle for list_objects it shows null if zero objects found in ...
Definition: promises_complete.cc:48
uploadAbortPromiseComplete
void uploadAbortPromiseComplete(napi_env env, napi_status status, void *data)
uploadAbortPromiseComplete creates the handle for upload_abort
Definition: promises_complete.cc:259
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
accessOverRidePromiseComplete
void accessOverRidePromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:832
deriveEncrpPromiseComplete
void deriveEncrpPromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:800
downloadReadObj::read_result
UplinkReadResult read_result
Definition: definitions.h:59
downloadCloseOperationComplete
void downloadCloseOperationComplete(napi_env env, napi_status status, void *data)
downloadCloseOperationComplete creates the handle for close_download .
Definition: promises_complete.cc:123
downloadReadOperationComplete
void downloadReadOperationComplete(napi_env env, napi_status status, void *data)
downloadReadOperationComplete creates the handle for download_read
Definition: promises_complete.cc:154
RequestAccessPromiseObj
Definition: definitions.h:210
downloadObjectObj::download_result
UplinkDownloadResult download_result
Definition: definitions.h:71
accessSerializePromiseComplete
void accessSerializePromiseComplete(napi_env env, napi_status status, void *data)
accessSerializePromiseComplete creates the handle for access_serialize
Definition: promises_complete.cc:771
configOpenProjectPromiseObj::project_Result
UplinkProjectResult project_Result
Definition: definitions.h:188
uploadobjectObj::work
napi_async_work work
Definition: definitions.h:131
RequestAccessPromiseObj::work
napi_async_work work
Definition: definitions.h:216
AccessSharePromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:227
closeProjectPromiseObj::error_result
UplinkError * error_result
Definition: definitions.h:179
uploadAbortPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:90
RequestAccessWithEncryptionPromiseComplete
void RequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void *data)
RequestAccessWithEncryptionPromiseComplete creates the handle for request_access_with_passphrase.
Definition: promises_complete.cc:737
downloadInfoOperationComplete
void downloadInfoOperationComplete(napi_env env, napi_status status, void *data)
downloadInfoOperationComplete creates the handle for download_info
Definition: promises_complete.cc:91
objectOperationObj::work
napi_async_work work
Definition: definitions.h:144
listObjectPromiseObj::objectIterator
UplinkObjectIterator * objectIterator
Definition: definitions.h:25
openProjectPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:194
ConfigRequestAccessPromiseObj
Definition: definitions.h:233
AccessSharePromiseObj::work
napi_async_work work
Definition: definitions.h:224
downloadInfoObj
Definition: definitions.h:31
configOpenProjectPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:184
listObjectPromiseObj::work
napi_async_work work
Definition: definitions.h:21
closeProjectPromiseObj::work
napi_async_work work
Definition: definitions.h:176
RequestAccessWithEncryptionPromiseComplete
void RequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void *data)
RequestAccessWithEncryptionPromiseComplete creates the handle for request_access_with_passphrase.
Definition: promises_complete.cc:737
openProjectPromiseObj
Definition: definitions.h:192
downloadCloseObj
Definition: definitions.h:41
bucketOperationObj::deferred
napi_deferred deferred
Definition: definitions.h:154
downloadInfoObj::deferred
napi_deferred deferred
Definition: definitions.h:33
downloadCloseObj::deferred
napi_deferred deferred
Definition: definitions.h:43
deriveEncrpPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:256
upload_operations.h
accessOverRidePromiseObj::work
napi_async_work work
Definition: definitions.h:269
openProjectPromiseObj::work
napi_async_work work
Definition: definitions.h:195
uploadWriteObj
Definition: definitions.h:117
bucketOperationObj
Definition: definitions.h:152
ListBucketsPromiseObj
Definition: definitions.h:162
uploadWriteObj::write_result
UplinkWriteResult write_result
Definition: definitions.h:125
bucketOperationObj::bucket_Result
UplinkBucketResult bucket_Result
Definition: definitions.h:159
closeProjectPromiseObj
Definition: definitions.h:173
definitions.h
openProjectPromiseObj::project_Result
UplinkProjectResult project_Result
Definition: definitions.h:198
uploadInfoObj
Definition: definitions.h:98
uploadCommitOperationComplete
void uploadCommitOperationComplete(napi_env env, napi_status status, void *data)
uploadCommitOperationComplete creates the handle for upload_commit
Definition: promises_complete.cc:318
ParseAccessPromiseObj::work
napi_async_work work
Definition: definitions.h:205
uploadWriteObj::work
napi_async_work work
Definition: definitions.h:120
accessOverRidePromiseObj
Definition: definitions.h:266
uploadAbortPromiseObj::work
napi_async_work work
Definition: definitions.h:91
openProjectPromiseComplete
void openProjectPromiseComplete(napi_env env, napi_status status, void *data)
openProjectPromiseComplete creates the handle for open_project
Definition: promises_complete.cc:13
ListBucketsPromiseObj::work
napi_async_work work
Definition: definitions.h:168
listObjectPromiseObj
Definition: definitions.h:18
ParseAccessPromiseComplete
void ParseAccessPromiseComplete(napi_env env, napi_status status, void *data)
ParseAccessPromiseComplete creates the handle for parse_access.
Definition: promises_complete.cc:637
uploadInfoOperationComplete
void uploadInfoOperationComplete(napi_env env, napi_status status, void *data)
uploadInfoOperationComplete creates the handle for upload_info
Definition: promises_complete.cc:288
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
AccessSharePromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:223
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
closeProjectPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:175
ListBucketsPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:167
configOpenProjectPromiseComplete
void configOpenProjectPromiseComplete(napi_env env, napi_status status, void *data)
configOpenProjectPromiseComplete creates the handle for config_open_project
Definition: promises_complete.cc:603
downloadReadObj::deferred
napi_deferred deferred
Definition: definitions.h:53
downloadCloseObj::work
napi_async_work work
Definition: definitions.h:44
ParseAccessPromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:204
accessOverRidePromiseComplete
void accessOverRidePromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:832
ConfigRequestAccessPromiseObj::work
napi_async_work work
Definition: definitions.h:239
objectOperationObj
Definition: definitions.h:141
objectOperationComplete
void objectOperationComplete(napi_env env, napi_status status, void *data)
objectOperationComplete used to implement the uplink-c library function objectOperationComplete signi...
Definition: promises_complete.cc:422
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
deriveEncrpPromiseComplete
void deriveEncrpPromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:800
uploadInfoOperationComplete
void uploadInfoOperationComplete(napi_env env, napi_status status, void *data)
uploadInfoOperationComplete creates the handle for upload_info
Definition: promises_complete.cc:288
closeProjectPromiseComplete
void closeProjectPromiseComplete(napi_env env, napi_status status, void *data)
closeProjectPromiseComplete creates the handle for close_project
Definition: promises_complete.cc:574
downloadInfoOperationComplete
void downloadInfoOperationComplete(napi_env env, napi_status status, void *data)
downloadInfoOperationComplete creates the handle for download_info
Definition: promises_complete.cc:91
deriveEncrpPromiseObj::encryptionResult
UplinkEncryptionKeyResult encryptionResult
Definition: definitions.h:263
downloadObjectObj
Definition: definitions.h:63
uploadAbortPromiseObj::error_result
UplinkError * error_result
Definition: definitions.h:94
accessOverRidePromiseObj::error_result
UplinkError * error_result
Definition: definitions.h:275
uploadWriteOperationComplete
void uploadWriteOperationComplete(napi_env env, napi_status status, void *data)
uploadWriteOperationComplete creates the handle for upload_write
Definition: promises_complete.cc:348
uploadSetMetaObj::error_result
UplinkError * error_result
Definition: definitions.h:84
accessSerializePromiseObj::string_result
UplinkStringResult string_result
Definition: definitions.h:251
bucketOperationComplete
void bucketOperationComplete(napi_env env, napi_status status, void *data)
bucketOperationComplete used to implement the uplink-c library function bucketOperationComplete opera...
Definition: promises_complete.cc:466
ParseAccessPromiseObj
Definition: definitions.h:201
configOpenProjectPromiseObj
Definition: definitions.h:182
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
ListBucketsPromiseComplete
void ListBucketsPromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:508
uploadobjectObj
Definition: definitions.h:128
objectOperationComplete
void objectOperationComplete(napi_env env, napi_status status, void *data)
objectOperationComplete used to implement the uplink-c library function objectOperationComplete signi...
Definition: promises_complete.cc:422
ShareAccessPromiseComplete
void ShareAccessPromiseComplete(napi_env env, napi_status status, void *data)
ShareAccessPromiseComplete creates the handle for access_share.
Definition: promises_complete.cc:670
accessSerializePromiseObj::work
napi_async_work work
Definition: definitions.h:248
uploadInfoObj::deferred
napi_deferred deferred
Definition: definitions.h:100
downloadCloseObj::error_result
UplinkError * error_result
Definition: definitions.h:47
uploadAbortPromiseObj
Definition: definitions.h:88
uploadWriteOperationComplete
void uploadWriteOperationComplete(napi_env env, napi_status status, void *data)
uploadWriteOperationComplete creates the handle for upload_write
Definition: promises_complete.cc:348
configOpenProjectPromiseObj::work
napi_async_work work
Definition: definitions.h:185
uploadobjectObj::upload_result
UplinkUploadResult upload_result
Definition: definitions.h:136
accessSerializePromiseObj::deferred
napi_deferred deferred
Definition: definitions.h:247
uploadSetMetaObj
Definition: definitions.h:77
uploadInfoObj::work
napi_async_work work
Definition: definitions.h:101
downloadInfoObj::work
napi_async_work work
Definition: definitions.h:34
objectOperationObj::object_result
UplinkObjectResult object_result
Definition: definitions.h:149
bucket_operations.h
uploadCommitObj::work
napi_async_work work
Definition: definitions.h:111
ConfigRequestAccessWithEncryptionPromiseComplete
void ConfigRequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void *data)
ConfigRequestAccessWithEncryptionPromiseComplete creates the handle for config_request_access_with_pa...
Definition: promises_complete.cc:702
ParseAccessPromiseComplete
void ParseAccessPromiseComplete(napi_env env, napi_status status, void *data)
ParseAccessPromiseComplete creates the handle for parse_access.
Definition: promises_complete.cc:637
downloadInfoObj::object_result
UplinkObjectResult object_result
Definition: definitions.h:37
accessSerializePromiseObj
Definition: definitions.h:245
ConfigRequestAccessWithEncryptionPromiseComplete
void ConfigRequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void *data)
ConfigRequestAccessWithEncryptionPromiseComplete creates the handle for config_request_access_with_pa...
Definition: promises_complete.cc:702