Uplink-Nodejs 1.0.8 Nods.js binding fo libUplink

promises_execute.h
Go to the documentation of this file.
1 #include "definitions.h"
2
3 void openProjectPromiseExecute(napi_env env, void* data);
4
5 void listObjectPromiseExecute(napi_env env, void* data);
6
7 void downloadInfoPromiseExecute(napi_env env, void* data);
8
9 void downloadClosePromiseExecute(napi_env env, void* data);
10
11 void downloadReadPromiseExecute(napi_env env, void* data);
12
13 void downloadObjectPromiseExecute(napi_env env, void* data);
14
15 void uploadSetMetaPromiseExecute(napi_env env, void* data);
16
17 void uploadAbortPromiseExecute(napi_env env, void* data);
18
19 void uploadInfoPromiseExecute(napi_env env, void* data);
20
21 void uploadCommitPromiseExecute(napi_env env, void* data);
22
23 void uploadWritePromiseExecute(napi_env env, void* data);
24
25 void uploadObjectExecute(napi_env env, void* data);
26
27 void stateObjectPromiseExecute(napi_env env, void* data);
28 //
29 void deleteObjectPromiseExecute(napi_env env, void* data);
30
31 void stateBucketPromiseExecute(napi_env env, void* data);
32 //
33 void createBucketPromiseExecute(napi_env env, void* data);
34 //
35 void ensureBucketPromiseExecute(napi_env env, void* data);
36 //
37 void deleteBucketPromiseExecute(napi_env env, void* data);
38
39 void ListBucketsPromiseExecute(napi_env env, void* data);
40
41 void closeProjectPromiseExecute(napi_env env, void* data);
42
43 void configOpenProjectPromiseExecute(napi_env env, void* data);
44
45 void ParseAccess(napi_env env, void* data);
46
47 void ShareAccessPromiseExecute(napi_env env, void* data);
48
49 void ConfigRequestAccessWithEncryption(napi_env env, void* data);
50
51 void RequestAccessWithEncryption(napi_env env, void* data);
52
53 void accessSerializePromiseExecute(napi_env env, void* data);
54
55 void deriveEncrpPromiseExecute(napi_env env, void* data);
56
57 void accessOverRidePromiseExecute(napi_env env, void* data);
RequestAccessPromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:218
ListBucketsPromiseObj::project_result
UplinkProject project_result
Definition: definitions.h:163
deriveEncrpPromiseObj::saltSize
int64_t saltSize
Definition: definitions.h:261
deriveEncrpPromiseObj
Definition: definitions.h:254
ParseAccess
void ParseAccess(napi_env env, void *data)
ParseAccess used to implement the uplink-c library function ParseAccess parses serialized access gran...
Definition: promises_execute.cc:248
configOpenProjectPromiseObj::access
UplinkAccess access
Definition: definitions.h:187
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
uploadAbortPromiseExecute
void uploadAbortPromiseExecute(napi_env env, void *data)
uploadAbortPromiseExecute used to implement the uplink-c library function uploadAbortPromiseExecute a...
Definition: promises_execute.cc:103
accessSerializePromiseObj::access
UplinkAccess access
Definition: definitions.h:250
listObjectPromiseExecute
void listObjectPromiseExecute(napi_env env, void *data)
listObjectPromiseExecute used to implement the uplink-c library function ListObjectPromiseExecute ret...
Definition: promises_execute.cc:24
downloadInfoObj::download_result
UplinkDownload download_result
Definition: definitions.h:36
uploadInfoPromiseExecute
void uploadInfoPromiseExecute(napi_env env, void *data)
uploadInfoPromiseExecute used to implement the uplink-c library function uploadInfoPromiseExecute upl...
Definition: promises_execute.cc:113
downloadReadObj::bufferlength
size_t bufferlength
Definition: definitions.h:57
ParseAccessPromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:207
uploadInfoObj::object_result
UplinkObjectResult object_result
Definition: definitions.h:104
AccessSharePromiseObj
Definition: definitions.h:221
ConfigRequestAccessPromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:241
ConfigRequestAccessPromiseObj::config
UplinkConfig config
Definition: definitions.h:242
uploadWritePromiseExecute
void uploadWritePromiseExecute(napi_env env, void *data)
uploadWritePromiseExecute used to implement the uplink-c library function uploadWritePromiseExecute w...
Definition: promises_execute.cc:134
ParseAccessPromiseObj::accessString
char * accessString
Definition: definitions.h:202
downloadInfoPromiseExecute
void downloadInfoPromiseExecute(napi_env env, void *data)
downloadInfoPromiseExecute used to implement the uplink-c library function downloadInfoPromiseExecute...
Definition: promises_execute.cc:41
ListBucketsPromiseExecute
void ListBucketsPromiseExecute(napi_env env, void *data)
ListBucketPromiseExecute used to implement the uplink-c library function ListBucketPromiseExecute pro...
Definition: promises_execute.cc:216
ParseAccess
void ParseAccess(napi_env env, void *data)
ParseAccess used to implement the uplink-c library function ParseAccess parses serialized access gran...
Definition: promises_execute.cc:248
uploadCommitObj::error_result
UplinkError * error_result
Definition: definitions.h:114
listObjectPromiseObj::project_result
UplinkProject project_result
Definition: definitions.h:23
uploadAbortPromiseObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:93
uploadCommitObj
Definition: definitions.h:108
ShareAccessPromiseExecute
void ShareAccessPromiseExecute(napi_env env, void *data)
ShareAccessPromiseExecute used to implement the uplink-c library function ShareAccessPromiseExecute c...
Definition: promises_execute.cc:257
objectOperationObj::project
UplinkProject project
Definition: definitions.h:148
uploadWriteObj::bytesread
size_t bytesread
Definition: definitions.h:123
downloadObjectObj::objectkey
char * objectkey
Definition: definitions.h:69
ListBucketsPromiseObj::bucket_resultIterator
UplinkBucketIterator * bucket_resultIterator
Definition: definitions.h:165
uploadSetMetaPromiseExecute
void uploadSetMetaPromiseExecute(napi_env env, void *data)
uploadSetMetaPromiseExecute used to implement the uplink-c library function uploadSetMetaPromiseExecu...
Definition: promises_execute.cc:92
downloadClosePromiseExecute
void downloadClosePromiseExecute(napi_env env, void *data)
downloadClosePromiseExecute used to implement the uplink-c library function downloadClosePromiseExecu...
Definition: promises_execute.cc:51
downloadObjectObj::downloadoptionSet
int downloadoptionSet
Definition: definitions.h:73
uploadCommitObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:113
deriveEncrpPromiseExecute
void deriveEncrpPromiseExecute(napi_env env, void *data)
accessSerializePromiseExecute used to implement the uplink-c library function accessSerializePromiseE...
Definition: promises_execute.cc:297
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
ensureBucketPromiseExecute
void ensureBucketPromiseExecute(napi_env env, void *data)
ensureBucketPromiseExecute creates the handle for ensure_bucket
Definition: promises_execute.cc:198
closeProjectPromiseExecute
void closeProjectPromiseExecute(napi_env env, void *data)
closeProjectPromiseExecute used to implement the uplink-c library function closeProjectPromiseExecute...
Definition: promises_execute.cc:229
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
downloadReadObj::read_result
UplinkReadResult read_result
Definition: definitions.h:59
RequestAccessPromiseObj
Definition: definitions.h:210
downloadObjectObj::download_result
UplinkDownloadResult download_result
Definition: definitions.h:71
configOpenProjectPromiseObj::project_Result
UplinkProjectResult project_Result
Definition: definitions.h:188
AccessSharePromiseObj::access_Result
UplinkAccessResult access_Result
Definition: definitions.h:227
deleteBucketPromiseExecute
void deleteBucketPromiseExecute(napi_env env, void *data)
deleteBucketPromiseExecute creates the handle for delete_bucket
Definition: promises_execute.cc:206
accessOverRidePromiseObj::encryptionKey
UplinkEncryptionKey encryptionKey
Definition: definitions.h:274
AccessSharePromiseObj::SharePrefixListPointer
UplinkSharePrefix * SharePrefixListPointer
Definition: definitions.h:229
uploadobjectObj::uploadOptions
UplinkUploadOptions uploadOptions
Definition: definitions.h:137
uploadWritePromiseExecute
void uploadWritePromiseExecute(napi_env env, void *data)
uploadWritePromiseExecute used to implement the uplink-c library function uploadWritePromiseExecute w...
Definition: promises_execute.cc:134
objectOperationObj::objectkey
char * objectkey
Definition: definitions.h:147
listObjectPromiseObj::listObjectSet
int listObjectSet
Definition: definitions.h:27
accessOverRidePromiseObj::prefix
char * prefix
Definition: definitions.h:273
downloadReadObj::bufferPtr
void * bufferPtr
Definition: definitions.h:56
openProjectPromiseObj::access
UplinkAccess access
Definition: definitions.h:197
closeProjectPromiseObj::error_result
UplinkError * error_result
Definition: definitions.h:179
RequestAccessPromiseObj::passphrase
char * passphrase
Definition: definitions.h:213
ListBucketsPromiseExecute
void ListBucketsPromiseExecute(napi_env env, void *data)
ListBucketPromiseExecute used to implement the uplink-c library function ListBucketPromiseExecute pro...
Definition: promises_execute.cc:216
createBucketPromiseExecute
void createBucketPromiseExecute(napi_env env, void *data)
createBucketPromiseExecute creates the handle for create_bucket
Definition: promises_execute.cc:190
uploadCommitPromiseExecute
void uploadCommitPromiseExecute(napi_env env, void *data)
uploadCommitPromiseExecute used to implement the uplink-c library function uploadCommitPromiseExecute...
Definition: promises_execute.cc:124
listObjectPromiseObj::objectIterator
UplinkObjectIterator * objectIterator
Definition: definitions.h:25
downloadObjectPromiseExecute
void downloadObjectPromiseExecute(napi_env env, void *data)
downloadObjectPromiseExecute used to implement the uplink-c library function downloadClosePromiseExec...
Definition: promises_execute.cc:75
ConfigRequestAccessPromiseObj
Definition: definitions.h:233
accessSerializePromiseExecute
void accessSerializePromiseExecute(napi_env env, void *data)
accessSerializePromiseExecute used to implement the uplink-c library function accessSerializePromiseE...
Definition: promises_execute.cc:287
deleteObjectPromiseExecute
void deleteObjectPromiseExecute(napi_env env, void *data)
deleteObjectPromiseExecute creates the handle for delete_object
Definition: promises_execute.cc:173
stateObjectPromiseExecute
void stateObjectPromiseExecute(napi_env env, void *data)
stateObjectPromiseExecute creates the handle for stat_object
Definition: promises_execute.cc:162
downloadInfoObj
Definition: definitions.h:31
openProjectPromiseExecute
void openProjectPromiseExecute(napi_env env, void *data)
openProjectPromiseExecute function called when async operation get complete and convert c data type i...
Definition: promises_execute.cc:15
accessOverRidePromiseObj::access
UplinkAccess access
Definition: definitions.h:271
accessOverRidePromiseExecute
void accessOverRidePromiseExecute(napi_env env, void *data)
Definition: promises_execute.cc:308
deleteBucketPromiseExecute
void deleteBucketPromiseExecute(napi_env env, void *data)
deleteBucketPromiseExecute creates the handle for delete_bucket
Definition: promises_execute.cc:206
accessSerializePromiseExecute
void accessSerializePromiseExecute(napi_env env, void *data)
accessSerializePromiseExecute used to implement the uplink-c library function accessSerializePromiseE...
Definition: promises_execute.cc:287
ConfigRequestAccessWithEncryption
void ConfigRequestAccessWithEncryption(napi_env env, void *data)
ConfigRequestAccessWithEncryption used to implement the uplink-c library function ConfigRequestAccess...
Definition: promises_execute.cc:267
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
openProjectPromiseObj
Definition: definitions.h:192
stateBucketPromiseExecute
void stateBucketPromiseExecute(napi_env env, void *data)
stateBucketPromiseExecute creates the handle for stat_bucket
Definition: promises_execute.cc:182
downloadCloseObj
Definition: definitions.h:41
uploadSetMetaObj::customMetadata
UplinkCustomMetadata customMetadata
Definition: definitions.h:83
uploadWriteObj
Definition: definitions.h:117
configOpenProjectPromiseObj::config
UplinkConfig config
Definition: definitions.h:189
downloadReadPromiseExecute
void downloadReadPromiseExecute(napi_env env, void *data)
downloadReadPromiseExecute used to implement the uplink-c library function downloadReadPromiseExecute...
Definition: promises_execute.cc:62
bucketOperationObj
Definition: definitions.h:152
ListBucketsPromiseObj
Definition: definitions.h:162
createBucketPromiseExecute
void createBucketPromiseExecute(napi_env env, void *data)
createBucketPromiseExecute creates the handle for create_bucket
Definition: promises_execute.cc:190
uploadWriteObj::bufferPtr
void * bufferPtr
Definition: definitions.h:122
uploadWriteObj::write_result
UplinkWriteResult write_result
Definition: definitions.h:125
AccessSharePromiseObj::access
UplinkAccess access
Definition: definitions.h:226
RequestAccessWithEncryption
void RequestAccessWithEncryption(napi_env env, void *data)
RequestAccessWithEncryption used to implement the uplink-c library function RequestAccessWithEncrypti...
Definition: promises_execute.cc:277
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
downloadObjectObj::project
UplinkProject project
Definition: definitions.h:70
uploadWriteObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:124
accessOverRidePromiseObj::bucket
char * bucket
Definition: definitions.h:272
accessOverRidePromiseExecute
void accessOverRidePromiseExecute(napi_env env, void *data)
Definition: promises_execute.cc:308
configOpenProjectPromiseExecute
void configOpenProjectPromiseExecute(napi_env env, void *data)
configOpenProjectPromiseExecute used to implement the uplink-c library function configOpenProjectProm...
Definition: promises_execute.cc:238
uploadobjectObj::bucketname
char * bucketname
Definition: definitions.h:133
RequestAccessWithEncryption
void RequestAccessWithEncryption(napi_env env, void *data)
RequestAccessWithEncryption used to implement the uplink-c library function RequestAccessWithEncrypti...
Definition: promises_execute.cc:277
listObjectPromiseExecute
void listObjectPromiseExecute(napi_env env, void *data)
listObjectPromiseExecute used to implement the uplink-c library function ListObjectPromiseExecute ret...
Definition: promises_execute.cc:24
AccessSharePromiseObj::SharePrefixSize
int64_t SharePrefixSize
Definition: definitions.h:228
accessOverRidePromiseObj
Definition: definitions.h:266
uploadInfoObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:103
uploadInfoPromiseExecute
void uploadInfoPromiseExecute(napi_env env, void *data)
uploadInfoPromiseExecute used to implement the uplink-c library function uploadInfoPromiseExecute upl...
Definition: promises_execute.cc:113
deriveEncrpPromiseExecute
void deriveEncrpPromiseExecute(napi_env env, void *data)
accessSerializePromiseExecute used to implement the uplink-c library function accessSerializePromiseE...
Definition: promises_execute.cc:297
ShareAccessPromiseExecute
void ShareAccessPromiseExecute(napi_env env, void *data)
ShareAccessPromiseExecute used to implement the uplink-c library function ShareAccessPromiseExecute c...
Definition: promises_execute.cc:257
listObjectPromiseObj
Definition: definitions.h:18
uploadobjectObj::objectkey
char * objectkey
Definition: definitions.h:134
ListBucketsPromiseObj::listBucketOptionSet
int listBucketOptionSet
Definition: definitions.h:170
AccessSharePromiseObj::permission
UplinkPermission permission
Definition: definitions.h:230
ConfigRequestAccessWithEncryption
void ConfigRequestAccessWithEncryption(napi_env env, void *data)
ConfigRequestAccessWithEncryption used to implement the uplink-c library function ConfigRequestAccess...
Definition: promises_execute.cc:267
downloadObjectObj::downloadOption
UplinkDownloadOptions downloadOption
Definition: definitions.h:72
listObjectPromiseObj::bucketName
char * bucketName
Definition: definitions.h:24
RequestAccessPromiseObj::api_key
char * api_key
Definition: definitions.h:212
bucketOperationObj::project
UplinkProject project
Definition: definitions.h:158
ConfigRequestAccessPromiseObj::passphrase
char * passphrase
Definition: definitions.h:236
deriveEncrpPromiseObj::passphrase
char * passphrase
Definition: definitions.h:260
objectOperationObj
Definition: definitions.h:141
uploadobjectObj::uploadoptionSet
int uploadoptionSet
Definition: definitions.h:138
uploadAbortPromiseExecute
void uploadAbortPromiseExecute(napi_env env, void *data)
uploadAbortPromiseExecute used to implement the uplink-c library function uploadAbortPromiseExecute a...
Definition: promises_execute.cc:103
bucketOperationObj::bucketname
char * bucketname
Definition: definitions.h:157
RequestAccessPromiseObj::satellite_address
char * satellite_address
Definition: definitions.h:211
stateObjectPromiseExecute
void stateObjectPromiseExecute(napi_env env, void *data)
stateObjectPromiseExecute creates the handle for stat_object
Definition: promises_execute.cc:162
deriveEncrpPromiseObj::encryptionResult
UplinkEncryptionKeyResult encryptionResult
Definition: definitions.h:263
openProjectPromiseExecute
void openProjectPromiseExecute(napi_env env, void *data)
openProjectPromiseExecute function called when async operation get complete and convert c data type i...
Definition: promises_execute.cc:15
downloadObjectObj
Definition: definitions.h:63
ListBucketsPromiseObj::listBucketsOptions
UplinkListBucketsOptions listBucketsOptions
Definition: definitions.h:164
uploadAbortPromiseObj::error_result
UplinkError * error_result
Definition: definitions.h:94
accessOverRidePromiseObj::error_result
UplinkError * error_result
Definition: definitions.h:275
uploadSetMetaObj::error_result
UplinkError * error_result
Definition: definitions.h:84
accessSerializePromiseObj::string_result
UplinkStringResult string_result
Definition: definitions.h:251
ConfigRequestAccessPromiseObj::api_key
char * api_key
Definition: definitions.h:235
objectOperationObj::bucketname
char * bucketname
Definition: definitions.h:146
promises_execute.h
ParseAccessPromiseObj
Definition: definitions.h:201
ConfigRequestAccessPromiseObj::satellite_address
char * satellite_address
Definition: definitions.h:234
ensureBucketPromiseExecute
void ensureBucketPromiseExecute(napi_env env, void *data)
ensureBucketPromiseExecute creates the handle for ensure_bucket
Definition: promises_execute.cc:198
configOpenProjectPromiseObj
Definition: definitions.h:182
listObjectPromiseObj::list_object_options
UplinkListObjectsOptions list_object_options
Definition: definitions.h:26
uploadSetMetaObj::upload_result
UplinkUpload upload_result
Definition: definitions.h:82
stateBucketPromiseExecute
void stateBucketPromiseExecute(napi_env env, void *data)
stateBucketPromiseExecute creates the handle for stat_bucket
Definition: promises_execute.cc:182
uploadobjectObj
Definition: definitions.h:128
deleteObjectPromiseExecute
void deleteObjectPromiseExecute(napi_env env, void *data)
deleteObjectPromiseExecute creates the handle for delete_object
Definition: promises_execute.cc:173
closeProjectPromiseExecute
void closeProjectPromiseExecute(napi_env env, void *data)
closeProjectPromiseExecute used to implement the uplink-c library function closeProjectPromiseExecute...
Definition: promises_execute.cc:229
downloadCloseObj::error_result
UplinkError * error_result
Definition: definitions.h:47
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
downloadClosePromiseExecute
void downloadClosePromiseExecute(napi_env env, void *data)
downloadClosePromiseExecute used to implement the uplink-c library function downloadClosePromiseExecu...
Definition: promises_execute.cc:51
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
closeProjectPromiseObj::project_result
UplinkProject project_result
Definition: definitions.h:178
deriveEncrpPromiseObj::saltCharArrayPointer
char * saltCharArrayPointer
Definition: definitions.h:262
uploadobjectObj::upload_result
UplinkUploadResult upload_result
Definition: definitions.h:136
configOpenProjectPromiseExecute
void configOpenProjectPromiseExecute(napi_env env, void *data)
configOpenProjectPromiseExecute used to implement the uplink-c library function configOpenProjectProm...
Definition: promises_execute.cc:238
uploadSetMetaObj
Definition: definitions.h:77
downloadReadObj::download_result
UplinkDownload download_result
Definition: definitions.h:58
downloadInfoPromiseExecute
void downloadInfoPromiseExecute(napi_env env, void *data)
downloadInfoPromiseExecute used to implement the uplink-c library function downloadInfoPromiseExecute...
Definition: promises_execute.cc:41
objectOperationObj::object_result
UplinkObjectResult object_result
Definition: definitions.h:149
downloadObjectObj::bucketname
char * bucketname
Definition: definitions.h:68
downloadInfoObj::object_result
UplinkObjectResult object_result
Definition: definitions.h:37
accessSerializePromiseObj
Definition: definitions.h:245