diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..9d0b71a3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +build +dist diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ab40ba1..b2c36992 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,72 +1,78 @@ -# Storj-Nodejs Changelog - -## [1.0.7] - 24-08-2020 -* Updated Make file - -## [1.0.6] - 10-08-2020 -* Changed function structures -* Updates documentation -* Updated HelloStorj.js - -## [1.0.5] - 13-07-2020 -* Added Testcases -* Updates documentation - -## [1.0.5] - 29-06-2020 -* Bugs fixed -* Removed docs folder - -## [1.0.4] - 25-06-2020 -* Asyncronous function -* Changed HelloStorj.js -* Splitted c files - -## [1.0.3] - 09-06-2020 -### Changelog: -* Updated ReadMe -* Removed Warnings -* Improved Memory managment and memory leaks -* Changed module name - -## [1.0.2] - 09-05-2020 -### Changelog: -* Updated module version - -## [0.10.2] - 06-05-2020 -### Changelog: -* Updated README.md -* Add Makefile -* Resloved MacOS Image not fount issue - -## [0.10.1] - 14-04-2020 -### Changelog: -* Updated README.md - -## [0.10.0] - 13-04-2020 -### Changelog: -* Updated README.md -* Updated Project according to RC 1.0 -* Resolved windows issue - -## [0.9.2] - 05-02-2020 -### Changelog: -* Updated README.md -* Updated Error statements - -## [0.9.1] - 27-01-2020 -### Changelog: -* Automated creation of libuplink.so file. -* Removed dependency from ref modules - -## [0.8.8] - 25-11-2019 -### Changelog: -* Removed download_file and upload_file function from library. - -## [0.8.7] - 18-11-2019 -### Changelog: -* Updated new_uplink fucntion parameters -* Changes made in UplinkConfig->Volatile structure - -## [0.8.6] - 14-11-2019 -### Changelog: -* Updated package to reads path from .env config file +# Storj-Nodejs Changelog + +## [1.0.9] - 27-11-2020 +* Merged PR + +## [1.0.7] - 03-09-2020 +* Added functions and updated code according to uplink-c v1.1.0 master branch + +## [1.0.7] - 24-08-2020 +* Updated Make file + +## [1.0.6] - 10-08-2020 +* Changed function structures +* Updates documentation +* Updated HelloStorj.js + +## [1.0.5] - 13-07-2020 +* Added Testcases +* Updates documentation + +## [1.0.5] - 29-06-2020 +* Bugs fixed +* Removed docs folder + +## [1.0.4] - 25-06-2020 +* Asyncronous function +* Changed HelloStorj.js +* Splitted c files + +## [1.0.3] - 09-06-2020 +### Changelog: +* Updated ReadMe +* Removed Warnings +* Improved Memory managment and memory leaks +* Changed module name + +## [1.0.2] - 09-05-2020 +### Changelog: +* Updated module version + +## [0.10.2] - 06-05-2020 +### Changelog: +* Updated README.md +* Add Makefile +* Resloved MacOS Image not fount issue + +## [0.10.1] - 14-04-2020 +### Changelog: +* Updated README.md + +## [0.10.0] - 13-04-2020 +### Changelog: +* Updated README.md +* Updated Project according to RC 1.0 +* Resolved windows issue + +## [0.9.2] - 05-02-2020 +### Changelog: +* Updated README.md +* Updated Error statements + +## [0.9.1] - 27-01-2020 +### Changelog: +* Automated creation of libuplink.so file. +* Removed dependency from ref modules + +## [0.8.8] - 25-11-2019 +### Changelog: +* Removed download_file and upload_file function from library. + +## [0.8.7] - 18-11-2019 +### Changelog: +* Updated new_uplink fucntion parameters +* Changes made in UplinkConfig->Volatile structure + +## [0.8.6] - 14-11-2019 +### Changelog: +* Updated package to reads path from .env config file diff --git a/HelloStorj.js b/HelloStorj.js index f5b6a0de..67cbae01 100644 --- a/HelloStorj.js +++ b/HelloStorj.js @@ -59,7 +59,7 @@ function getDateTime(unixTimestamp) { } // async function accessshare(uplink,access){ - var permission = new storj.Permission(true,true,true,false,0,0); + var permission = new storj.Permission(false,false,false,true,0,0); var sharePrefix = storj.SharePrefix; var sharePrefixListArray = []; sharePrefix.bucket = "change-me-to-desired-bucket-name"; @@ -72,9 +72,24 @@ async function accessshare(uplink,access){ // console.log("Parsing access share..."); await uplink.parseAccess(stringResult).then(async (parsedSharedAccess) => { + // + console.log("\nDeriving encryption key"); + // + var encryption = await libUplink.uplinkDeriveEncryptionKey("test",[4,5,6]).catch((error) => { + console.log("Failed to derive encryption key"); + console.log(error); + }); + // + console.log("Over riding encryption key"); + // + await parsedSharedAccess.overrideEncryptionKey(sharePrefix.bucket,sharePrefix.prefix,encryption["encryption_key"]).catch((err) => { + console.log("Failed to over write encryption key"); + console.log(err); + }); // console.log("Opening project using paresed shared access"); await parsedSharedAccess.openProject().then(async (project) => { + // // console.log("\nOpened Project using share access"); await project.deleteObject(storjConfig.bucketName,storjConfig.uploadPath).then((objectInfo) => { @@ -414,4 +429,4 @@ var access = libUplink.requestAccessWithPassphrase(storjConfig.satelliteURL,stor }).catch((err) => { console.log("Failed to get access"); console.log(err); -}); +}); \ No newline at end of file diff --git a/HelloStorjTS.ts b/HelloStorjTS.ts new file mode 100644 index 00000000..eba30ffc --- /dev/null +++ b/HelloStorjTS.ts @@ -0,0 +1,845 @@ +const fs = require("fs"); + +/* + * Include the Node.js-Storj bindings module + */ +/* eslint-disable */ +import storj = require("uplink-nodejs"); +const BUFFER_SIZE = 80000, + checkFileSize = 0, + defaultConversion = 100, + defaultFileRead = 0, + defaultValue = 0, + fixedValue = 4, + // + incrementValue = 1, + initialValue = 0, + // + libUplink = new storj.Uplink(), + // File names to be uploaded or downloaded as + localFullFileName = { + "dest": "change-me-to-destination-file-name-at-local-system", + "src": "change-me-to-destination-file-name-at-local-system" + }, + // Object for all the function for uplink + + /* + * + * Demo Storj (V3) configuration + */ + storjConfig = { + "apiKey": "change-me-to-the-api-key-created-in-satellite-gui", + "bucketName": "change-me-to-desired-bucket-name", + "encryptionPassphrase": "you'll never guess this", + "satelliteURL": "us-central-1.tardigrade.io:7777", + "uploadPath": "optionalpath/requiredfilename" + }, + // + subString = -2, + // Object for all error for uplink + uplinkError = storj.errorhandle, + + /** + * Convert unixTimestamp to other date format + * @param {number} unixTimestamp Date in unixtimestamp format + * @returns {date} in format YYYY-MM-DD + */ + getDateTime = (unixTimestamp: number) => { + + const converionValue = 1000, + dateTime = new Date(unixTimestamp * converionValue), + date = `0${dateTime.getDate()}`, + // Hours part from the timestamp + hours = `0${dateTime.getHours()}`, + // Minutes part from the timestamp + minutes = `0${dateTime.getMinutes()}`, + months = [ + "Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec" + ], + month = months[dateTime.getMonth()], + // Seconds part from the timestamp + seconds = `0${dateTime.getSeconds()}`, + year = dateTime.getFullYear(), + // Will display date time in YYYY-Mon-DD HH:MM:SS format + formattedDateTime = `${year}-${month}-${date.substr(subString)} ${hours.substr(subString)}:${minutes.substr(subString)}:${seconds.substr(subString)}`; + + return formattedDateTime; + + }, + // + /** + * Creates access share of the object on storj V3 network + * @param {uplink} uplink uplink object + * @param {access} access access object + * @returns {void} + */ + accessshare = async (uplink: any, access: any) => { + + const permission = new storj.Permission( + true, + true, + true, + false, + defaultValue, + defaultValue + ), + sharePrefix = new storj.SharePrefix(), + sharePrefixListArray = []; + + sharePrefix.bucket = "change-me-to-desired-bucket-name"; + sharePrefix.prefix = "change-me-to-desired-object-prefix-with-/"; + sharePrefixListArray.push(sharePrefix); + await access.share( + permission, + sharePrefixListArray, + sharePrefixListArray.length + ).then(async (sharedAccess: any) => { + + // + console.log("Serilazing share access"); + await sharedAccess.serialize().then(async (stringResult: any) => { + + // + console.log("Parsing access share..."); + await uplink.parseAccess(stringResult).then(async (parsedSharedAccess: any) => { + + // + console.log("\nDeriving encryption key"); + // + const encryption = await libUplink.uplinkDeriveEncryptionKey( + "test", + [ + 4, + 5, + 6 + ] + ).catch((error: any) => { + + console.log("Failed to derive encryption key"); + console.log(error); + + }); + // + + console.log("Over riding encryption key"); + // + await parsedSharedAccess.overrideEncryptionKey( + sharePrefix.bucket, + sharePrefix.prefix, + encryption.encryption_key + ).catch((err) => { + + console.log("Failed to over write encryption key"); + console.log(err); + + }); + // + console.log("Opening project using paresed shared access"); + await parsedSharedAccess.openProject().then(async (project: any) => { + + // + console.log("\nOpened Project using share access"); + await project.deleteObject( + storjConfig.bucketName, + storjConfig.uploadPath + ).then((objectInfo: any) => { + + console.log("\nObject Deleted successfully !!"); + console.log( + "Object Name : ", + objectInfo.key, + "Object Size : ", + objectInfo.system.content_length + ); + + }). + catch((err: any) => { + + console.log("Failed to delete object on storj V3 network using shared access"); + console.log(err); + + }); + // + await project.close().then(() => { + + console.log("Project Closed !!"); + + }). + catch((err: any) => { + + console.log("Failed to close project"); + console.log(err); + + }); + + }). + catch((err: any) => { + + console.log("Failed to open project using shared access"); + console.log(err); + + }); + + }). + catch((err: any) => { + + console.log("Failed to parse share access"); + console.log(err); + + }); + + }). + catch((err: any) => { + + console.log("Failed to serilaze Access"); + console.log(err); + + }); + + }). + catch((err: any) => { + + console.log("Failed to create share access"); + console.log(err); + + }); + + }, + + /** + * Downloads file from storj V3 network + * @param {project} project project handle + * @returns {null} null + */ + downloadfile = async (project : any) => { + + const downloadOptions = new storj.DownloadOptions(); + + downloadOptions.offset = defaultFileRead; + downloadOptions.length = -1; + // Downloading file + console.log("Downloading file"); + await project.downloadObject( + storjConfig.bucketName, + storjConfig.uploadPath, + downloadOptions + ).then(async (download :any) => { + + let objectsize = defaultFileRead; + // + + console.log("Fetching download object info"); + await download.info().then((objectInfo: any) => { + + objectsize = objectInfo.system.content_length; + + }). + catch((err: any) => { + + console.log("Failed to get downloading object info"); + console.log(err); + + }); + // + let buffer = Buffer.alloc(BUFFER_SIZE), + // + fileHandle = await fs.openSync( + localFullFileName.dest, + "w" + ), + // + loop = true; + const size = {"actuallyWritten": defaultFileRead, + "downloaded": defaultFileRead, + "totalWritten": defaultFileRead}; + + while (loop) { + + if (objectsize - size.totalWritten > checkFileSize && objectsize - size.totalWritten < BUFFER_SIZE) { + + buffer = Buffer.alloc(objectsize - size.totalWritten); + + } + // Reading data from storj V3 network + await download.read( + buffer, + buffer.length + ).then(async (bytesread : any) => { + + size.downloaded = bytesread.bytes_read; + size.actuallyWritten = await fs.writeSync( + fileHandle, + buffer, + initialValue, + size.downloaded, + size.totalWritten + ); + size.totalWritten += size.actuallyWritten; + if (size.actuallyWritten >= objectsize) { + + loop = false; + + } + if (size.totalWritten > checkFileSize && objectsize > checkFileSize) { + + console.log( + "File Dowloaded : ", + (Number(size.totalWritten) / Number(objectsize) * defaultConversion).toFixed(fixedValue), + " %" + ); + + } + + }). + catch((err: any) => { + + console.log("Failed to read data from storj V3 network "); + console.log(err); + loop = false; + + }); + + if (size.totalWritten >= objectsize) { + + break; + + } + + } + fs.closeSync(fileHandle); + // Closing download + await download.close().then(() => { + + console.log("Object Downloaded Successfully"); + + }). + catch((err: any) => { + + console.log("Failed to download object"); + console.log(err); + + }); + + }). + catch((err: any) => { + + console.log("Failed to download file"); + console.log(err); + + }); + + }, + + /** + * Uploads file on storj V3 network + * @param {project} project project handle + * @returns {void} + */ + uploadfile = async (project: any) => { + + console.log("Getting Upload Object...."); + // + const uploadOptions = new storj.UploadOptions(); + // + + uploadOptions.expires = 0; + // Uploading object on storj V3 network + await project.uploadObject( + storjConfig.bucketName, + storjConfig.uploadPath, + uploadOptions + ).then(async (upload: any) => { + + console.log( + localFullFileName.src, + " File: UPLOADED as ", + storjConfig.uploadPath, + "!" + ); + let buffer = Buffer.alloc(BUFFER_SIZE), + bytesRead = initialValue, + fileHandle = await fs.openSync( + localFullFileName.src, + "rs" + ), + loop = true; + const size = { + "actuallyWritten": defaultFileRead, + "file": Number(`${await fs.statSync(localFullFileName.src).size}`), + "toWrite": defaultFileRead, + "totalWritten": defaultFileRead + }; + + while (loop) { + + // + size.toWrite = size.file - size.totalWritten; + // + if (size.toWrite > BUFFER_SIZE) { + + size.toWrite = BUFFER_SIZE; + + } else if (size.toWrite === checkFileSize) { + + break; + + } + // + bytesRead = await fs.readSync( + fileHandle, + buffer, + defaultFileRead, + size.toWrite, + size.totalWritten + ); + + /* + * + * Writing data on storj V3 network + */ + await upload.write( + buffer, + bytesRead + ).then((writeResult: any) => { + + size.actuallyWritten = writeResult.bytes_written; + size.totalWritten += size.actuallyWritten; + if (size.totalWritten > checkFileSize && size.file > checkFileSize) { + + console.log( + "File Uploaded On Storj : ", + (Number(size.totalWritten) / Number(size.file) * defaultConversion).toFixed(fixedValue), + " %" + ); + + } + + }). + catch((err: any) => { + + console.log("Failed to write data on storj V3 network"); + console.log(err); + loop = false; + + }); + if (size.totalWritten >= size.file) { + + break; + + } + + } + // + const customMetadataEntry1 = new storj.CustomMetadataEntry(), + customMetadataEntry2 = new storj.CustomMetadataEntry(); + + customMetadataEntry1.key = "testing"; + customMetadataEntry1.key_length = customMetadataEntry1.key.length; + customMetadataEntry1.value = "testing1"; + customMetadataEntry1.value_length = customMetadataEntry1.value.length; + + customMetadataEntry2.key = "value"; + customMetadataEntry2.key_length = customMetadataEntry2.key.length; + customMetadataEntry2.value = "value1"; + customMetadataEntry2.value_length = customMetadataEntry2.value.length; + + const customMetadata = new storj.CustomMetadata(), + customMetadataEntryArray = [ + customMetadataEntry1, + customMetadataEntry2 + ]; + + customMetadata.count = customMetadataEntryArray.length; + customMetadata.entries = customMetadataEntryArray; + // Adding custom meta to upload object + await upload.setCustomMetadata(customMetadata).then(() => { + + console.log("\nCustom Metadata set successfully"); + + }). + catch((err: any) => { + + console.log("Failed to set custom metadata"); + console.log(err); + + }); + // Commiting object on storj V3 network + await upload.commit().then(() => { + + console.log("\nObject on storj V3 network successfully"); + + }). + catch((err: any) => { + + console.log("Failed to commit object on storj V3 network"); + console.log(err); + + }); + // Fetching info of uploaded object on storj V3 network + await upload.info().then((object: any) => { + + console.log("\nObject Info"); + console.log( + "Object Name : ", + object.key, + "\nObject Size : ", + object.system.content_length + ); + + }). + catch((err: any) => { + + console.log("Failed to fetch information about object"); + console.log(err); + + }); + // + fs.closeSync(fileHandle); + + }). + catch((err: any) => { + + console.log("Failed to upload object on storj V3"); + console.log(err); + + }); + + }; + +/* + * + * Connecting to storj network using Satellite Address , Storj API key , Encryption phassphrase + */ +console.log( + "Getting Access\nSatellite Address : ", + storjConfig.satelliteURL, + "\nAPI key : ", + storjConfig.apiKey, + "\nEncryption Passphrase : ", + storjConfig.encryptionPassphrase +); +libUplink.requestAccessWithPassphrase( + storjConfig.satelliteURL, + storjConfig.apiKey, + storjConfig.encryptionPassphrase +).then((access: any) => { + + console.log("Access : Granted !!"); + // Opening project on storj V3 network using created access. + console.log("Opening Storj Project..."); + access.openProject().then(async (project: any) => { + + console.log("Desired Storj Project: OPENED!"); + // Fetching bucket info from the storj V3 network + console.log( + "Fetching Information About Bucket : ", + storjConfig.bucketName + ); + // + await project.statBucket(storjConfig.bucketName).then((bucketInfo: any) => { + + console.log( + "\nBucket Information : \n Bucket Name : ", + bucketInfo.name, + "\n Bucket Created : ", + getDateTime(bucketInfo.created) + ); + + }). + catch((err: any) => { + + console.log("Failed to get bucket Info"); + console.log(err); + + }); + + /* + * + * Creating bucket on storj V3 Network + */ + console.log( + "\nCreating Bucket : ", + storjConfig.bucketName + ); + await project.createBucket(storjConfig.bucketName).then((bucketInfo: any) => { + + console.log( + "\nBucket Information : \n Bucket Name : ", + bucketInfo.name, + "\n Bucket Created : ", + getDateTime(bucketInfo.created) + ); + + }). + catch((err: any) => { + + console.log("Failed to create bucket on storj V3 network"); + console.log(err); + + }); + // Ensuring bucket exists on storj V3 network + console.log("\nFetching Info of newly created bucket"); + await project.ensureBucket(storjConfig.bucketName).then((bucketInfo: any) => { + + console.log( + "\nBucket Information : \n Bucket Name : ", + bucketInfo.name, + "\n Bucket Created : ", + getDateTime(bucketInfo.created) + ); + + }). + catch((err: any) => { + + console.log("Failed to fetch bucket Info"); + console.log(err); + + }); + + /* + * + * Listing buckets on storj V3 network + */ + const listBucketsOptions = new storj.ListBucketsOptions(); + + await project.listBuckets(listBucketsOptions).then((bucketListResult: any) => { + + const {bucketList} = bucketListResult; + + console.log("S.No. \t Created On \t\t Bucket Name"); + console.log("===== \t ========== \t\t ==========="); + let index = initialValue; + + for (const bucketinfo in bucketList) { + + if (bucketList[bucketinfo]) { + + console.log( + index, + " ", + getDateTime(bucketList[bucketinfo].created), + "\t", + bucketList[bucketinfo].name + ); + index += incrementValue; + + } + + } + + }). + catch((err: any) => { + + console.log("Failed to list bucket"); + console.log(err); + + }); + // Uploading file on storj V3 network + await uploadfile(project); + + /* + * + * Fetching info of uploaded object + */ + console.log("Fetching object Info..."); + await project.statObject( + storjConfig.bucketName, + storjConfig.uploadPath + ).then((objectinfo: any) => { + + console.log( + "Object : ", + objectinfo.key, + "\nSize : ", + objectinfo.system.content_length, + "\nCreated : ", + getDateTime(objectinfo.system.created) + ); + + }). + catch((err: any) => { + + console.log("Failed to fetch object info"); + console.log(err); + + }); + // Listing object on storj V3 network within specified bucket + console.log("\nListing Object...."); + const listObjectsOptions = new storj.ListObjectsOptions(); + + listObjectsOptions.recursive = true; + listObjectsOptions.custom = true; + listObjectsOptions.system = true; + listObjectsOptions.prefix = "change-me-to-desired-object-prefix-with-/"; + + await project.listObjects( + storjConfig.bucketName, + listObjectsOptions + ).then((objectlist: any) => { + + console.log("S.No. \t Created On \t\t\t FileName \t\t FileSize"); + console.log("===== \t ========== \t\t\t =========== \t\t ==========="); + let index = initialValue; + + for (const objectInfo in objectlist) { + + if (objectlist[objectInfo]) { + + const numb = `0${(index + incrementValue).toString()}`; + + console.log( + numb.substr(subString), + " ", + getDateTime(objectlist[objectInfo].system.created), + "\t\t", + objectlist[objectInfo].key, + "\t\t", + objectlist[objectInfo].system.content_length + ); + index += incrementValue; + + } + + } + + }). + catch((err: any) => { + + console.log("Error while listing object"); + console.log(err); + + }); + // Downloading object from storj v3 network + await downloadfile(project); + // Creating share access + await accessshare( + libUplink, + access + ); + + /* + * + * Deleting bucket from the storj V3 network + */ + console.log( + "Deleting Bucket : ", + storjConfig.bucketName + ); + await project.deleteBucket(storjConfig.bucketName).then((bucketInfo: any) => { + + console.log( + "\nBucket Deleted : \n Bucket Name : ", + bucketInfo.name, + "\n Bucket Created : ", + getDateTime(bucketInfo.created) + ); + + }). + catch(async (err: any) => { + + // Checking error type + if (err instanceof uplinkError.BucketNotEmptyError) { + + // Delete object from the network + console.log("Bucket is not empty !!\nDeleting object from storj V3 bucket..."); + await project.deleteObject( + storjConfig.bucketName, + storjConfig.uploadPath + ).then((objectinfo: any) => { + + console.log( + "Object ", + storjConfig.uploadPath, + " Deleted" + ); + console.log( + "Object Size : ", + objectinfo.system.content_length + ); + + }). + catch((errDeleteObject: any) => { + + console.log("Failed to delete object"); + console.log(errDeleteObject); + + }); + + } else { + + console.log("Failed to delete bucket"); + console.log(err); + + } + + }); + + /* + * + * + */ + console.log( + "Deleting Bucket : ", + storjConfig.bucketName + ); + await project.deleteBucket(storjConfig.bucketName).then((bucketInfo: any) => { + + console.log( + "\nBucket Deleted : \n Bucket Name : ", + bucketInfo.name, + "\n Bucket Created : ", + getDateTime(bucketInfo.created) + ); + + }). + catch((err: any) => { + + console.log("Failed to delete bucket"); + console.log(err); + + }); + + /* + * + * + * Closing opened project + */ + await project.close().then(() => { + + console.log("\nProject closed successfully"); + + }). + catch((errCloseProject: any) => { + + console.log("Failed to close project"); + console.log(errCloseProject); + + }); + + }). + catch((err: any) => { + + console.log("Failed to open project"); + console.log(err); + + }); + +}). + catch((err: any) => { + + console.log("Failed to get access"); + console.log(err); + + }); +/* eslint-enable */ diff --git a/Makefile b/Makefile index eeed8c3b..87eea850 100644 --- a/Makefile +++ b/Makefile @@ -7,13 +7,16 @@ GOGET=$(GOCMD) get # Uplink-c GIT_REPO=https://github.com/storj/uplink-c UPLINKC_NAME=uplink-c -UPLINKC_VERSION=v1.0.5 +UPLINKC_VERSION=v1.2.0 #Library Name LIBRARY_NAME_LINUX=libuplinkc.so LIBRARY_NAME_DARWIN=libuplinkc.dylib LIBRARY_NAME_WIN=libuplinkc.dll -LIBRARY_UPLINK=uplink_definitions.h +LIBRARY_UPLINK=*.h DELETE_LIBRARY_HEADER=libuplinkc.h +#JSFOLDER +JSFOLDER=dist +JSFOLDERLIB=libuplinkc.* #Color RED_COLOR=\033[31m GREEN_COLOR=\033[32m @@ -30,10 +33,10 @@ else git clone -b $(UPLINKC_VERSION) $(GIT_REPO);\ fi;\ if [ $(shell uname) = Darwin ]; then\ - cd $(UPLINKC_NAME);$(GOBUILD) -o ../$(LIBRARY_NAME_DARWIN) -buildmode=c-shared;mv $(LIBRARY_UPLINK) ../;cd ../;\ + cd $(UPLINKC_NAME);$(GOBUILD) -o ../$(LIBRARY_NAME_DARWIN) -buildmode=c-shared;mv $(LIBRARY_UPLINK) ../;cd ../;cp ./$(JSFOLDERLIB) ./$(JSFOLDER)/;\ fi;\ if [ $(shell uname) = Linux ]; then\ - cd $(UPLINKC_NAME);$(GOBUILD) -o ../$(LIBRARY_NAME_LINUX) -buildmode=c-shared;mv $(LIBRARY_UPLINK) ../;cd ../;\ + cd $(UPLINKC_NAME);$(GOBUILD) -o ../$(LIBRARY_NAME_LINUX) -buildmode=c-shared;mv $(LIBRARY_UPLINK) ../;cd ../;cp ./$(JSFOLDERLIB) ./$(JSFOLDER)/;\ fi;\ if test -d ./$(UPLINKC_NAME); then rm -rf ./$(UPLINKC_NAME); fi;\ echo ' $(GREEN_COLOR) \n Successfully build $(RESET_COLOR)'; @@ -52,4 +55,4 @@ else if test -f $(LIBRARY_NAME_LINUX); then rm $(LIBRARY_NAME_LINUX); fi;\ fi; endif - @echo ' $(GREEN_COLOR) \n Successfully cleaned $(RESET_COLOR)'; \ No newline at end of file + @echo ' $(GREEN_COLOR) \n Successfully cleaned $(RESET_COLOR)'; diff --git a/README.assets/HOME.md b/README.assets/HOME.md index ea6346a6..74b11ec4 100644 --- a/README.assets/HOME.md +++ b/README.assets/HOME.md @@ -2,8 +2,6 @@ ![](https://github.com/storj-thirdparty/uplink-nodejs/blob/master/README.assets/arch.drawio.png) - - ## Binding Functions >Note: All the functions, if unsuccessful, throw an exception that can be caught using try-except block. For implementation, refer to *hello_storj.js*. @@ -32,10 +30,8 @@ An access grant is always associated with exactly one Project on one Satellite. |api_key| Storj V3 network API key |string | |passphrase| Any passphrase |string | - ### configRequestAccessWithPassphrase(Object, String, String, String) - #### Description This function configRequestAccessWithPassphrase requests satellite for a new access grant @@ -52,9 +48,7 @@ This function accepts 4 arguments Satellite URL, API Key, encryptionpassphrase a |api_key| Storj V3 network API key |string | |passphrase| Any passphrase string |string | - -#### parse_access(String) - +### parse_access(String) #### Description @@ -71,6 +65,20 @@ This should be the main way to instantiate an access grant for opening a project | --- | --- | --- | |serialized_access| Serialized access string returned by access.serialize function | string | +### uplinkDeriveEncryptionKey(String, Array) + +#### Description: + +uplinkDeriveEncryptionKey function derives a salted encryption key for passphrase using the salt. This function is useful for deriving a salted encryption key for users when implementing multitenancy in a single app bucket.\ +This function takes 2 argumeents Encryption Passphrase and a byte array. +It returns the Salted Encryption Key. + +#### Arguments: + +| arguments | Description | Type | +| --- | --- | --- | +| encryptionPassphrase | Any passphrase | string | +| salt | Any byte array | Array | ## Access Functions @@ -100,7 +108,7 @@ in the list.\ It returns an access object on successful execution which can be used to call other functions which are bound to it. -##### Arguments: +#### Arguments: | arguments | Description | Type | | --- | --- | --- | @@ -121,7 +129,7 @@ It allows you to manage buckets and objects within buckets. ### configOpenProject(Object) -##### Description +#### Description configOpenProject function opens project using access grant and config.\ requestAccessWithPassphrase or configRequestAccessWithPassphrase function @@ -130,12 +138,27 @@ library.\ it returns an project object on successful execution which can be used to call other functions which are bound to it. -##### Arguments: +#### Arguments: | arguments | Description | Type | | --- | --- | --- | |config| Create using storj library | object | +### overrideEncryptionKey(String, String, Object) + +#### Description: + +overrideEncryptionKey function overrides the root encryption key for the prefix in bucket with encryptionKey. This function is useful for overriding the encryption key in user-specific access grants when implementing multitenancy in a single app bucket. +This function accepts 3 arguemnts Bucket name, Prefix and Encryption key. + +#### Arguments: + +| arguments | Description | Type | +| --- | --- | --- | +| bucketName | Storj bucket name | string | +| prefix | Storj prefix | string | +| encryptionKey | Create using storj library | object | + ## Project Related Functions These functions require Project(Object) for calling. @@ -158,7 +181,7 @@ It returns an bucket object on successful execution it can be used to get other properties which are bound to it. -##### Arguments +#### Arguments | arguments | Description | Type | | --- | --- | --- | @@ -200,7 +223,7 @@ used to get other properties which are bound to it. ### listBuckets() -##### Description +#### Description lsitBuckets function lists buckets and openProject function is required as a pre-requisite for this function.\ @@ -230,7 +253,7 @@ properties which are bound to it. ### statObject(String, String) -##### Description +#### Description statObject function information about an object at the specific key and openProject function is required as a pre-requisite for this function.\ @@ -238,7 +261,7 @@ This function accepts 2 argument bucket name which is access from storj configur It returns an objectinfo object on successful execution it can be used to get other properties which are bound to it. -##### Arguments +#### Arguments | arguments | Description | Type | | --- | --- | --- | @@ -247,7 +270,7 @@ properties which are bound to it. ### listObjects(String, Object) -##### Description +#### Description listObjects function lists objects, openProject function is required as a pre-requisite for this function.\ @@ -256,7 +279,7 @@ which is access from storj library ListObjectsOptions defines object listing opt it returns an objectList object, on successful execution it can be used to get other properties which are bound to it. -##### Arguments +#### Arguments | arguments | Description | Type | | --- | --- | --- | @@ -265,7 +288,7 @@ other properties which are bound to it. ### deleteObject(String, String) -##### Description +#### Description deleteObject function deletes an object at the specific key, openProject function is required as a pre-requisite for this function.\ @@ -274,7 +297,7 @@ which is access from storj configuration.\ It returns an objectinfo object, on successful execution it can be used to get other properties which are bound to it. -##### Arguments +#### Arguments | arguments | Description | Type | | --- | --- | --- | @@ -283,7 +306,7 @@ execution it can be used to get other properties which are bound to it. ### uploadObject(String, String, Object) -##### Description +#### Description uploadObject function starts an upload to the specified key, openProject function is required as a pre-requisite for this function.\ @@ -293,7 +316,7 @@ configuration and uploadOptions which is access from storj library UploadOptions contains additional options for uploading.\ It returns an upload object, on successful execution it can be used to call other properties which are bound to it. -##### Arguments +#### Arguments | arguments | Description | Type | | --- | --- | --- | @@ -303,7 +326,7 @@ It returns an upload object, on successful execution it can be used to call othe ### downloadObject(String, String, Object) -##### Description +#### Description downloadObject function starts download to the specified key, openProject function is required as a pre-requisite for this function.\ @@ -312,7 +335,7 @@ which is access from storj configuration, ObjectKey which is access from storj configuration and downloadOptions which is access from storj library.\ It returns an download object, on successful execution it can be used to call other properties which are bound to it. -##### Arguments +#### Arguments | arguments | Description | Type | | --- | --- | --- | @@ -320,32 +343,28 @@ It returns an download object, on successful execution it can be used to call ot |objectName| Path to object already uploaded on storj V3 network | string | |download_options| Create using storj library | object | - ## Upload Funcitons These functions require Upload(Object) for calling. - ### setCustomMetadata(Object) -##### Description: +#### Description: setCustomMetadata function set custom meta information, upload_object function is required as a pre-requisite for this function.\ This function accepts 1 argument CustomMetaData object which is access from storj library CustomMetadata contains custom user metadata about the object it returns an error object, if successful execution is not occurred. -##### Arguments: +#### Arguments: | arguments | Description | Type | | --- | --- | --- | |CustomMetaData| Create using storj library | object | - - ### write(Buffer, Int) -##### Description: +#### Description: write function uploads len(p) bytes from p to the object's data stream It returns the number of bytes written from p (0 <= n <= len(p)) and any error encountered @@ -355,35 +374,32 @@ for this function. This function accepts 2 argument buffer object which is acces Length is data file is being read it returns an writeresult object.\ On successful execution it can be used to get other properties which are bound to it. -##### Arguments: +#### Arguments: | arguments | Description | Type | | --- | --- | --- | |buffer| Buffer | object | |lenght| length of data to be upload on storj V3 network | Int | - ### info() -##### Description: +#### Description: info function returns the last information about the uploaded object, upload_object function is required as a pre-requisite for this function.\ It returns an Object, on successful execution it can be use to get property which are bound to it. - ### commit() -##### Description: +#### Description: commit function commits the uploaded data, upload_object function is required as a pre-requisite for this function. it returns an error object, if successful execution is not occurred. - ### abort() -##### Description: +#### Description: abort function aborts an upload, upload_object function is required as a pre-requisite for this function. it returns an error object, @@ -395,17 +411,15 @@ These functions require Download(Object) for calling. ### close() -##### Description: +#### Description: close function closes the download, download_object function is required as a pre-requisite for this function. it returns an error object, if successful execution is not occurred. - - ### read(Buffer, Int) -##### Description: +#### Description: read function downloads from object's data stream into bytes up to length amount, download_object function is required as a pre-requisite for this function.\ @@ -413,27 +427,23 @@ This function accepts 2 argument download(object) which is buffer object which i It returns an readresult object, On successful execution it can be used to get other properties which are bound to it. - -##### Arguments: +#### Arguments: | arguments | Description | Type | | --- | --- | --- | |buffer| Buffer | Int | |Length| buffer length | Int | - ### info() -##### Description: +#### Description: Info function returns the last information about the object, download_object function is required as a pre-requisite for this function.\ it returns an download object. On successful execution it can be used to get other properties which are bound to it. - >NOTE: All the binding functions are asynchronous functions and return promises. - ## Testing Create file with name secret.txt at uplink-nodejs module root directory and paste storj API key in same file. diff --git a/README.md b/README.md index be3eb1f0..8d38ef69 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ [![Codacy Badge](https://api.codacy.com/project/badge/Grade/6acbf8b6d3dc42e98a30df0324334ca2)](https://app.codacy.com/gh/storj-thirdparty/uplink-nodejs?utm_source=github.com&utm_medium=referral&utm_content=storj-thirdparty/uplink-nodejs&utm_campaign=Badge_Grade_Dashboard) -#### *Developed using v1.0.5 storj/uplink-c* +#### *Developed using v1.1.0 storj/uplink-c* + +#### Binding is not tagged to any release and will use uplink-c master branch. [API documentation and tutorial](https://storj-thirdparty.github.io/uplink-nodejs/#/) @@ -36,7 +38,7 @@ $ npm install uplink-nodejs >NOTE: please ensure *node-gyp* dependencies is already installed. - +>NOTE: please ensure *@types/node* dependencies is installed for running module in typescript. ## Documentation For more information on function definations and diagrams, check out the [Detail](//github.com/storj-thirdparty/uplink-nodejs/wiki/Home) or jump to: diff --git a/access.js b/access.js deleted file mode 100644 index a189bc29..00000000 --- a/access.js +++ /dev/null @@ -1,60 +0,0 @@ -var uplink = require("bindings")("uplink"); -const ProjectResultStruct = require('./project.js'); -const errorhandle = require('./error.js'); - -// -class AccessResultStruct { - constructor(access){ - this.access = access; - } - - //function opens Storj(V3) project using access grant. - //Input : None - //Output : Project(Object) - async openProject(){ - var project = await uplink.open_project(this.access).catch((error) => { - errorhandle.storjException(error.error.code,error.error.message); - }); - var projectResultReturn = new ProjectResultStruct(project.project); - return(projectResultReturn); - } - - //function opens Storj(V3) project using access grant and custom configuration. - //Input : None - //Output : Project(Object) - async configOpenProject(){ - var project = await uplink.config_open_project(this.access).catch((error) => { - errorhandle.storjException(error.error.code,error.error.message); - }); - var projectResultReturn = new ProjectResultStruct(project.project); - return(projectResultReturn); - } - - // - //function Share creates a new access grant with specific permissions. - //Access grants can only have their existing permissions restricted, and the resulting - //access grant will only allow for the intersection of all previous Share calls in the - //access grant construction chain. - //Prefixes, if provided, restrict the access grant (and internal encryption information) - //to only contain enough information to allow access to just those prefixes. - //Input : Permission (Object) , sharePrefixListArray (Array) , sharePrefixListArraylength (Int) - //Output : Project(Object) - async share(permission,sharePrefixListArray,sharePrefixListArraylength){ - var sharedAccess = await uplink.access_share(this.access,permission,sharePrefixListArray,sharePrefixListArraylength).catch((error) => { - errorhandle.storjException(error.error.code,error.error.message); - }); - var sharedAccessResultReturn = new AccessResultStruct(sharedAccess.access); - return(sharedAccessResultReturn); - } - - //function serializes an access grant such that it can be used later with ParseAccess or other tools. - //Input : None - //Output : SharedString (String) - async serialize(){ - var stringResult = await uplink.access_serialize(this.access).catch((error) => { - errorhandle.storjException(error.error.code,error.error.message); - }); - return stringResult; - } -} -module.exports = AccessResultStruct; \ No newline at end of file diff --git a/access.ts b/access.ts new file mode 100644 index 00000000..b3e23d1a --- /dev/null +++ b/access.ts @@ -0,0 +1,144 @@ +/* eslint-disable */ +import bindings = require("bindings"); +const uplink = bindings("uplink"); + +import {ProjectResultStruct} from "./project.js"; +const errorhandle = require("./error.js"); + +// +export class AccessResultStruct { + + access: any; + + constructor (access: any) { + + this.access = access; + + } + + /* + * Function opens Storj(V3) project using access grant. + * Input : None + * Output : Project(Object) + */ + async openProject (): Promise { + + const project = await uplink.open_project(this.access).catch((error: any) => { + + errorhandle.storjException( + error.error.code, + error.error.message + ); + + }), + projectResultReturn = new ProjectResultStruct(project.project); + + + return projectResultReturn; + + } + + /* + * Function opens Storj(V3) project using access grant and custom configuration. + * Input : None + * Output : Project(Object) + */ + async configOpenProject (): Promise { + + const project = await uplink.config_open_project(this.access).catch((error: any) => { + + errorhandle.storjException( + error.error.code, + error.error.message + ); + + }), + projectResultReturn = new ProjectResultStruct(project.project); + + + return projectResultReturn; + + } + + /* + * + * Function Share creates a new access grant with specific permissions. + * Access grants can only have their existing permissions restricted, and the resulting + * access grant will only allow for the intersection of all previous Share calls in the + * access grant construction chain. + * Prefixes, if provided, restrict the access grant (and internal encryption information) + * to only contain enough information to allow access to just those prefixes. + * Input : Permission (Object) , sharePrefixListArray (Array) , sharePrefixListArraylength (Int) + * Output : Project(Object) + */ + async share (permission: Record, sharePrefixListArray: Array, sharePrefixListArraylength: number): Promise { + + const sharedAccess = await uplink.access_share( + this.access, + permission, + sharePrefixListArray, + sharePrefixListArraylength + ).catch((error: any) => { + + errorhandle.storjException( + error.error.code, + error.error.message + ); + + }), + sharedAccessResultReturn = new AccessResultStruct(sharedAccess.access); + + + return sharedAccessResultReturn; + + } + + /* + * Function serializes an access grant such that it can be used later with ParseAccess or other tools. + * Input : None + * Output : SharedString (String) + */ + async serialize (): Promise { + + const stringResult = await uplink.access_serialize(this.access).catch((error: any) => { + + errorhandle.storjException( + error.error.code, + error.error.message + ); + + }); + + + return stringResult; + + } + + /* + * Function serializes an access grant such that it can be used later with ParseAccess or other tools. + * Input : bucket (String) , prefix (String) and Encrption key + * Output : None + */ + async overrideEncryptionKey (bucket: string, prefix:string, encryption_key:any): Promise { + + const stringResult = await uplink.access_override_encryption_key( + this.access, + bucket, + prefix, + encryption_key + ).catch((error:any) => { + + errorhandle.storjException( + error.error.code, + error.error.message + ); + + }); + + + return stringResult; + + } + +} +/* eslint-enable */ diff --git a/binding.gyp b/binding.gyp index 5fa02645..e8ffafc7 100644 --- a/binding.gyp +++ b/binding.gyp @@ -20,7 +20,7 @@ "sources":["libUplink_win.cc" , "./functions_win/promises_execute_win.cc", "./functions_win/promises_complete_win.cc", "./functions_win/project_operations_win.cc", "./functions_win/download_operations_win.cc", "./functions_win/upload_operations_win.cc", "./functions_win/access_operations_win.cc", "./functions_win/bucket_operations_win.cc", "./functions_win/object_operations_win.cc"], "copies":[{ "destination":"<(module_root_dir)/build/Release", - "files":["<(module_root_dir)/libuplinkc.dll","<(module_root_dir)/libuplinkc.h","<(module_root_dir)/uplink_definitions.h"] + "files":["<(module_root_dir)/libuplinkc.dll","<(module_root_dir)/libuplinkc.h","<(module_root_dir)/uplink_definitions.h","<(module_root_dir)/uplink_combat.h"] }], "ldflags":["-Wl,-rpath","build/Release"], }, diff --git a/cloudbuild.yaml b/cloudbuild.yaml index f1c85d2c..9340fe99 100644 --- a/cloudbuild.yaml +++ b/cloudbuild.yaml @@ -5,7 +5,7 @@ steps: # storing storj API key in file - name: gcr.io/cloud-builders/gcloud entrypoint: 'bash' - args: ["-c","gcloud secrets versions access latest --secret=StorjAPIKey >>secret.txt" ] + args: ["-c","gcloud secrets versions access latest --secret=StorjAPIKey >>./dist/secret.txt" ] # running npm install command - name: 'gcr.io/${PROJECT_ID}/npm' entrypoint: 'npm' @@ -14,6 +14,10 @@ steps: - name: 'gcr.io/${PROJECT_ID}/npm' entrypoint: 'bash' args: ["-c","make && node-gyp configure && node-gyp rebuild"] +# install typescript + - name: 'gcr.io/${PROJECT_ID}/npm' + entrypoint: 'bash' + args: ["-c","npm install -g typescript && tsc && tsc ./test/testcase.ts"] # running testcases - name: 'gcr.io/${PROJECT_ID}/npm' entrypoint: 'npm' diff --git a/docs/.nojekyll b/docs/.nojekyll deleted file mode 100644 index e69de29b..00000000 diff --git a/docs/_navbar.md b/docs/_navbar.md index acc2c61a..d6b9370c 100644 --- a/docs/_navbar.md +++ b/docs/_navbar.md @@ -4,7 +4,7 @@ * Documentation * [uplink-nodejs Binding Functions](/library.md) - * uplink-nodejs API Documentation + * uplink-nodejs API Documentation * [Types, Errors and Constants](/types.md) * [Create Your Own Project](/tutorial.md) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 24f4c142..7bf31120 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -3,6 +3,6 @@ * Documentation * [uplink-nodejs Binding Functions](/library.md) - * uplink-nodejs API Documentation + * uplink-nodejs API Documentation * [Types, Errors and Constants](/types.md) * [Create Your Own Project](/tutorial.md) diff --git a/docs/access__operations_8cc.html b/docs/access__operations_8cc.html deleted file mode 100644 index 7a73a099..00000000 --- a/docs/access__operations_8cc.html +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - -Node JS Bindings: access_operations.cc File Reference - - - - - - - - - - - - - - -
-
- - - - - - - -
-
Node JS Bindings -
-
- - - - - - -
-
-
- - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
access_operations.cc File Reference
-
-
-
-Include dependency graph for access_operations.cc:
-
-
- - - - - -
-
- - - - - - - - - - - -

-Functions

napi_value parse_accessc (napi_env env, napi_callback_info info)
 
napi_value access_sharec (napi_env env, napi_callback_info info)
 
napi_value config_request_access_with_passphrasec (napi_env env, napi_callback_info info)
 
napi_value request_access_with_passphrasec (napi_env env, napi_callback_info info)
 
napi_value access_serializec (napi_env env, napi_callback_info info)
 
-

Function Documentation

- -

◆ access_serializec()

- -
-
- - - - - - - - - - - - - - - - - - -
napi_value access_serializec (napi_env env,
napi_callback_info info 
)
-
- -

access_serializec function is called from the javascript file access_serialize serializes access grant into a string.

-
-Here is the call graph for this function:
-
-
- - - - - - - -
-
-Here is the caller graph for this function:
-
-
- - - - -
- -
-
- -

◆ access_sharec()

- -
-
- - - - - - - - - - - - - - - - - - -
napi_value access_sharec (napi_env env,
napi_callback_info info 
)
-
- -

parse_accessc function is called from the javascript file access_share creates new access grant with specific permission. Permission will be applied to prefixes when defined.

-
-Here is the call graph for this function:
-
-
- - - - - - - - -
-
-Here is the caller graph for this function:
-
-
- - - - -
- -
-
- -

◆ config_request_access_with_passphrasec()

- -
-
- - - - - - - - - - - - - - - - - - -
napi_value config_request_access_with_passphrasec (napi_env env,
napi_callback_info info 
)
-
- -

config_request_access_with_passphrasec function is called from the javascript file config_request_access_with_passphrase requests for a new access grant using a passhprase..

-
-Here is the call graph for this function:
-
-
- - - - - - - -
-
-Here is the caller graph for this function:
-
-
- - - - -
- -
-
- -

◆ parse_accessc()

- -
-
- - - - - - - - - - - - - - - - - - -
napi_value parse_accessc (napi_env env,
napi_callback_info info 
)
-
- -

parse_accessc function is called from the javascript file parse_access parses serialized access grant string.

-
-Here is the call graph for this function:
-
-
- - - - - - - -
-
-Here is the caller graph for this function:
-
-
- - - - -
- -
-
- -

◆ request_access_with_passphrasec()

- -
-
- - - - - - - - - - - - - - - - - - -
napi_value request_access_with_passphrasec (napi_env env,
napi_callback_info info 
)
-
- -

request_access_with_passphrase function is called from the javascript file request_access_with_passphrasec requests for a new access grant using a passhprase.

-
-Here is the call graph for this function:
-
-
- - - - - - - -
-
-Here is the caller graph for this function:
-
-
- - - - -
- -
-
-
-
-
napi_value config_open_projectc(napi_env env, napi_callback_info info)
config_open_projectc function is called from the javascript file config_open_project opens project us...
Definition: project_operations.cc:95
-
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
-
void accessSerializePromiseComplete(napi_env env, napi_status status, void *data)
accessSerializePromiseComplete creates the handle for access_serialize
Definition: promises_complete.cc:748
-
napi_value stat_bucketc(napi_env env, napi_callback_info info)
stat_bucket function is called from the javascript file stat_bucket returns information about a bucke...
Definition: bucket_operations.cc:13
-
void downloadObjectPromiseExecute(napi_env env, void *data)
downloadObjectPromiseExecute used to implement the uplink-c library function downloadClosePromiseExec...
Definition: promises_execute.cc:75
-
void uploadAbortPromiseExecute(napi_env env, void *data)
uploadAbortPromiseExecute used to implement the uplink-c library function uploadAbortPromiseExecute a...
Definition: promises_execute.cc:103
-
void ShareAccessPromiseComplete(napi_env env, napi_status status, void *data)
ShareAccessPromiseComplete creates the handle for access_share.
Definition: promises_complete.cc:647
-
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
-
napi_value ensure_bucketc(napi_env env, napi_callback_info info)
ensure_bucket function is called from the javascript file ensure_bucket creates a new bucket and igno...
Definition: bucket_operations.cc:224
-
napi_value access_sharec(napi_env env, napi_callback_info info)
parse_accessc function is called from the javascript file access_share creates new access grant with ...
Definition: access_operations.cc:89
-
void listObjectPromiseExecute(napi_env env, void *data)
listObjectPromiseExecute used to implement the uplink-c library function ListObjectPromiseExecute ret...
Definition: promises_execute.cc:24
-
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
-
void downloadReadOperationComplete(napi_env env, napi_status status, void *data)
downloadReadOperationComplete creates the handle for download_read
Definition: promises_complete.cc:154
-
napi_value delete_bucketc(napi_env env, napi_callback_info info)
delete_bucket function is called from the javascript file delete_bucket deletes the bucket....
Definition: bucket_operations.cc:330
-
napi_value config_request_access_with_passphrasec(napi_env env, napi_callback_info info)
config_request_access_with_passphrasec function is called from the javascript file config_request_acc...
Definition: access_operations.cc:345
-
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
-
void uploadWritePromiseExecute(napi_env env, void *data)
uploadWritePromiseExecute used to implement the uplink-c library function uploadWritePromiseExecute w...
Definition: promises_execute.cc:134
-
void downloadInfoPromiseExecute(napi_env env, void *data)
downloadInfoPromiseExecute used to implement the uplink-c library function downloadInfoPromiseExecute...
Definition: promises_execute.cc:41
-
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
-
void ListBucketsPromiseExecute(napi_env env, void *data)
ListBucketPromiseExecute used to implement the uplink-c library function ListBucketPromiseExecute pro...
Definition: promises_execute.cc:216
-
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
-
void ShareAccessPromiseExecute(napi_env env, void *data)
ShareAccessPromiseExecute used to implement the uplink-c library function ShareAccessPromiseExecute c...
Definition: promises_execute.cc:257
- -
napi_value delete_objectc(napi_env env, napi_callback_info info)
delete_objectc function is called from the javascript file delete_objectc deletes an object.
Definition: object_operations.cc:137
-
void uploadAbortPromiseComplete(napi_env env, napi_status status, void *data)
uploadAbortPromiseComplete creates the handle for upload_abort
Definition: promises_complete.cc:259
-
void uploadCommitOperationComplete(napi_env env, napi_status status, void *data)
uploadCommitOperationComplete creates the handle for upload_commit
Definition: promises_complete.cc:318
-
napi_value stat_objectc(napi_env env, napi_callback_info info)
stat_objectc function is called from the javascript file stat_objectc returns information about an ob...
Definition: object_operations.cc:13
-
void downloadReadPromiseExecute(napi_env env, void *data)
downloadReadPromiseExecute used to implement the uplink-c library function downloadReadPromiseExecute...
Definition: promises_execute.cc:62
-
void ensureBucketPromiseExecute(napi_env env, void *data)
ensureBucketPromiseExecute creates the handle for ensure_bucket
Definition: promises_execute.cc:198
- -
void closeProjectPromiseExecute(napi_env env, void *data)
closeProjectPromiseExecute used to implement the uplink-c library function closeProjectPromiseExecute...
Definition: promises_execute.cc:229
-
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
-
void downloadCloseOperationComplete(napi_env env, napi_status status, void *data)
downloadCloseOperationComplete creates the handle for close_download .
Definition: promises_complete.cc:123
- -
void deleteBucketPromiseExecute(napi_env env, void *data)
deleteBucketPromiseExecute creates the handle for delete_bucket
Definition: promises_execute.cc:206
- -
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
-
napi_value create_bucketc(napi_env env, napi_callback_info info)
stat_bucket function is called from the javascript file create_bucket creates a new bucket....
Definition: bucket_operations.cc:118
-
void createBucketPromiseExecute(napi_env env, void *data)
createBucketPromiseExecute creates the handle for create_bucket
Definition: promises_execute.cc:190
- -
void RequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void *data)
RequestAccessWithEncryptionPromiseComplete creates the handle for request_access_with_passphrase.
Definition: promises_complete.cc:714
- -
void stateObjectPromiseExecute(napi_env env, void *data)
stateObjectPromiseExecute creates the handle for stat_object
Definition: promises_execute.cc:162
-
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
- -
napi_value parse_accessc(napi_env env, napi_callback_info info)
parse_accessc function is called from the javascript file parse_access parses serialized access grant...
Definition: access_operations.cc:14
-
void accessSerializePromiseExecute(napi_env env, void *data)
accessSerializePromiseExecute used to implement the uplink-c library function accessSerializePromiseE...
Definition: promises_execute.cc:287
-
void ConfigRequestAccessWithEncryption(napi_env env, void *data)
ConfigRequestAccessWithEncryption used to implement the uplink-c library function ConfigRequestAccess...
Definition: promises_execute.cc:267
- - -
void stateBucketPromiseExecute(napi_env env, void *data)
stateBucketPromiseExecute creates the handle for stat_bucket
Definition: promises_execute.cc:182
-
napi_value close_projectc(napi_env env, napi_callback_info info)
close_projectc function is called from the javascript file close_projectc closes the project
Definition: project_operations.cc:14
- -
napi_value access_serializec(napi_env env, napi_callback_info info)
access_serializec function is called from the javascript file access_serialize serializes access gran...
Definition: access_operations.cc:699
-
void RequestAccessWithEncryption(napi_env env, void *data)
RequestAccessWithEncryption used to implement the uplink-c library function RequestAccessWithEncrypti...
Definition: promises_execute.cc:277
-
void configOpenProjectPromiseExecute(napi_env env, void *data)
configOpenProjectPromiseExecute used to implement the uplink-c library function configOpenProjectProm...
Definition: promises_execute.cc:238
-
void uploadInfoPromiseExecute(napi_env env, void *data)
uploadInfoPromiseExecute used to implement the uplink-c library function uploadInfoPromiseExecute upl...
Definition: promises_execute.cc:113
-
void openProjectPromiseComplete(napi_env env, napi_status status, void *data)
openProjectPromiseComplete creates the handle for open_project
Definition: promises_complete.cc:13
-
void uploadInfoOperationComplete(napi_env env, napi_status status, void *data)
uploadInfoOperationComplete creates the handle for upload_info
Definition: promises_complete.cc:288
-
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
-
void uploadSetMetaPromiseComplete(napi_env env, napi_status status, void *data)
uploadSetMetaPromiseComplete creates the handle for upload_set_custom_metadata
Definition: promises_complete.cc:229
-
napi_value open_projectc(napi_env env, napi_callback_info info)
open_projectc function is called from the javascript file open_projectc opens the project
Definition: project_operations.cc:295
-
void configOpenProjectPromiseComplete(napi_env env, napi_status status, void *data)
configOpenProjectPromiseComplete creates the handle for config_open_project
Definition: promises_complete.cc:580
-
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
-
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
-
void closeProjectPromiseComplete(napi_env env, napi_status status, void *data)
closeProjectPromiseComplete creates the handle for close_project
Definition: promises_complete.cc:551
-
void downloadInfoOperationComplete(napi_env env, napi_status status, void *data)
downloadInfoOperationComplete creates the handle for download_info
Definition: promises_complete.cc:91
-
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
-
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
-
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
-
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:452
-
void ListBucketsPromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:485
-
void deleteObjectPromiseExecute(napi_env env, void *data)
deleteObjectPromiseExecute creates the handle for delete_object
Definition: promises_execute.cc:173
-
void uploadCommitPromiseExecute(napi_env env, void *data)
uploadCommitPromiseExecute used to implement the uplink-c library function uploadCommitPromiseExecute...
Definition: promises_execute.cc:124
-
void downloadClosePromiseExecute(napi_env env, void *data)
downloadClosePromiseExecute used to implement the uplink-c library function downloadClosePromiseExecu...
Definition: promises_execute.cc:51
-
void uploadSetMetaPromiseExecute(napi_env env, void *data)
uploadSetMetaPromiseExecute used to implement the uplink-c library function uploadSetMetaPromiseExecu...
Definition: promises_execute.cc:92
-
void uploadWriteOperationComplete(napi_env env, napi_status status, void *data)
uploadWriteOperationComplete creates the handle for upload_write
Definition: promises_complete.cc:348
-
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
-
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
-
void ConfigRequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void *data)
ConfigRequestAccessWithEncryptionPromiseComplete creates the handle for config_request_access_with_pa...
Definition: promises_complete.cc:679
-
napi_value request_access_with_passphrasec(napi_env env, napi_callback_info info)
request_access_with_passphrase function is called from the javascript file request_access_with_passph...
Definition: access_operations.cc:582
-
void ParseAccessPromiseComplete(napi_env env, napi_status status, void *data)
ParseAccessPromiseComplete creates the handle for parse_access.
Definition: promises_complete.cc:614
- - - - diff --git a/docs/access__operations_8cc.js b/docs/access__operations_8cc.js deleted file mode 100644 index 3aec4204..00000000 --- a/docs/access__operations_8cc.js +++ /dev/null @@ -1,8 +0,0 @@ -var access__operations_8cc = -[ - [ "access_serializec", "access__operations_8cc.html#ae1dcf97eb1c0a06d491355c627cb5000", null ], - [ "access_sharec", "access__operations_8cc.html#ac2d6031216e6786399943d5b80d2e250", null ], - [ "config_request_access_with_passphrasec", "access__operations_8cc.html#ad1ad6e328d17546077efb9cad66351da", null ], - [ "parse_accessc", "access__operations_8cc.html#a7bc1930fa62634db41978a6ed56ae3c9", null ], - [ "request_access_with_passphrasec", "access__operations_8cc.html#a1b24e58dd7f4843b6d3d9e1b7422158e", null ] -]; \ No newline at end of file diff --git a/docs/access__operations_8cc__incl.map b/docs/access__operations_8cc__incl.map deleted file mode 100644 index 5fa3359e..00000000 --- a/docs/access__operations_8cc__incl.map +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/docs/access__operations_8cc__incl.md5 b/docs/access__operations_8cc__incl.md5 deleted file mode 100644 index 2b6d8e2c..00000000 --- a/docs/access__operations_8cc__incl.md5 +++ /dev/null @@ -1 +0,0 @@ -03800e69a379e88f22e471112e52178b \ No newline at end of file diff --git a/docs/access__operations_8cc__incl.png b/docs/access__operations_8cc__incl.png deleted file mode 100644 index 7fb306d7..00000000 Binary files a/docs/access__operations_8cc__incl.png and /dev/null differ diff --git a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map b/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map deleted file mode 100644 index 8a5821d5..00000000 --- a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 b/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 deleted file mode 100644 index 106cd066..00000000 --- a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -f4467f2a8e790a4a96565c50fd6815fa \ No newline at end of file diff --git a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png b/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png deleted file mode 100644 index a2835f49..00000000 Binary files a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.map b/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.map deleted file mode 100644 index daafc229..00000000 --- a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.md5 b/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.md5 deleted file mode 100644 index f93b6138..00000000 --- a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -9da5e1fda472963b20bbcadc0f6de5c4 \ No newline at end of file diff --git a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.png b/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.png deleted file mode 100644 index 5eb3db85..00000000 Binary files a/docs/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_icgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map b/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map deleted file mode 100644 index 2d76d77e..00000000 --- a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 b/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 deleted file mode 100644 index 7a0cb0bc..00000000 --- a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -a8ac53ee2734ce9ee4d2531ada28be94 \ No newline at end of file diff --git a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png b/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png deleted file mode 100644 index a885e8a9..00000000 Binary files a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.map b/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.map deleted file mode 100644 index c1cedff0..00000000 --- a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.md5 b/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.md5 deleted file mode 100644 index eaf88330..00000000 --- a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -ecb83878a7147d6b8d7c00aa7672370d \ No newline at end of file diff --git a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.png b/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.png deleted file mode 100644 index 41493971..00000000 Binary files a/docs/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_icgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.map b/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.map deleted file mode 100644 index f020607e..00000000 --- a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.map +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 b/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 deleted file mode 100644 index 91b44c72..00000000 --- a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -e0450921ffe00d9ea1a3094133c590a6 \ No newline at end of file diff --git a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.png b/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.png deleted file mode 100644 index f69dc737..00000000 Binary files a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.map b/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.map deleted file mode 100644 index 1e42e477..00000000 --- a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.md5 b/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.md5 deleted file mode 100644 index a782d360..00000000 --- a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -deddb920f145b8ca60a97c390d6b4565 \ No newline at end of file diff --git a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.png b/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.png deleted file mode 100644 index 780e190e..00000000 Binary files a/docs/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_icgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.map b/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.map deleted file mode 100644 index f80269bb..00000000 --- a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 b/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 deleted file mode 100644 index 508fda79..00000000 --- a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -6008b62ad84491c67f9319f79c509951 \ No newline at end of file diff --git a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.png b/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.png deleted file mode 100644 index f02fb94c..00000000 Binary files a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.map b/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.map deleted file mode 100644 index 6c9be63d..00000000 --- a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.md5 b/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.md5 deleted file mode 100644 index 1f0aa97b..00000000 --- a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -17e5dee57dfe03865f143a5bb304b7fe \ No newline at end of file diff --git a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.png b/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.png deleted file mode 100644 index 0ca4d3cd..00000000 Binary files a/docs/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_icgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map b/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map deleted file mode 100644 index e2e1ceb8..00000000 --- a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 b/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 deleted file mode 100644 index 3ea52a4a..00000000 --- a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -0e959e3e52b99fb99fef4213bc4cba2a \ No newline at end of file diff --git a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png b/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png deleted file mode 100644 index 89de993a..00000000 Binary files a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png and /dev/null differ diff --git a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.map b/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.map deleted file mode 100644 index d9bf180e..00000000 --- a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.map +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.md5 b/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.md5 deleted file mode 100644 index e9fa1e73..00000000 --- a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.md5 +++ /dev/null @@ -1 +0,0 @@ -86c7e96d9098a00e6b94407a52db9f21 \ No newline at end of file diff --git a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.png b/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.png deleted file mode 100644 index 8533dc58..00000000 Binary files a/docs/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_icgraph.png and /dev/null differ diff --git a/docs/api-doc/access__operations_8cc.html b/docs/api-doc/access__operations_8cc.html new file mode 100644 index 00000000..8012db27 --- /dev/null +++ b/docs/api-doc/access__operations_8cc.html @@ -0,0 +1,430 @@ + + + + + + + +Uplink-Nodejs: access_operations.cc File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
access_operations.cc File Reference
+
+
+
#include "access_operations.h"
+#include <string>
+
+Include dependency graph for access_operations.cc:
+
+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Functions

napi_value parse_accessc (napi_env env, napi_callback_info info)
 parse_accessc function is called from the javascript file parse_access parses serialized access grant string. More...
 
napi_value access_sharec (napi_env env, napi_callback_info info)
 parse_accessc function is called from the javascript file access_share creates new access grant with specific permission. Permission will be applied to prefixes when defined. More...
 
napi_value config_request_access_with_passphrasec (napi_env env, napi_callback_info info)
 config_request_access_with_passphrasec function is called from the javascript file config_request_access_with_passphrase requests for a new access grant using a passhprase.. More...
 
napi_value request_access_with_passphrasec (napi_env env, napi_callback_info info)
 request_access_with_passphrase function is called from the javascript file request_access_with_passphrasec requests for a new access grant using a passhprase. More...
 
napi_value access_serializec (napi_env env, napi_callback_info info)
 access_serializec function is called from the javascript file access_serialize serializes access grant into a string. More...
 
napi_value uplink_derive_encryption_keyc (napi_env env, napi_callback_info info)
 uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_keyc derives a salted encryption key for passphrase using the salt. More...
 
napi_value uplink_access_override_encryption_keyc (napi_env env, napi_callback_info info)
 uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_override_encryption_keyc overrides the root encryption key for the prefix in bucket with encryptionKey. This function is useful for overriding the encryption key in user-specific access grants when implementing multitenancy in a single app bucket. More...
 
+

Function Documentation

+ +

◆ access_serializec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value access_serializec (napi_env env,
napi_callback_info info 
)
+
+ +

access_serializec function is called from the javascript file access_serialize serializes access grant into a string.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ access_sharec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value access_sharec (napi_env env,
napi_callback_info info 
)
+
+ +

parse_accessc function is called from the javascript file access_share creates new access grant with specific permission. Permission will be applied to prefixes when defined.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ config_request_access_with_passphrasec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value config_request_access_with_passphrasec (napi_env env,
napi_callback_info info 
)
+
+ +

config_request_access_with_passphrasec function is called from the javascript file config_request_access_with_passphrase requests for a new access grant using a passhprase..

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ parse_accessc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value parse_accessc (napi_env env,
napi_callback_info info 
)
+
+ +

parse_accessc function is called from the javascript file parse_access parses serialized access grant string.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ request_access_with_passphrasec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value request_access_with_passphrasec (napi_env env,
napi_callback_info info 
)
+
+ +

request_access_with_passphrase function is called from the javascript file request_access_with_passphrasec requests for a new access grant using a passhprase.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ uplink_access_override_encryption_keyc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value uplink_access_override_encryption_keyc (napi_env env,
napi_callback_info info 
)
+
+ +

uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_override_encryption_keyc overrides the root encryption key for the prefix in bucket with encryptionKey. This function is useful for overriding the encryption key in user-specific access grants when implementing multitenancy in a single app bucket.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ uplink_derive_encryption_keyc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value uplink_derive_encryption_keyc (napi_env env,
napi_callback_info info 
)
+
+ +

uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_keyc derives a salted encryption key for passphrase using the salt.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+
+
+ + + + diff --git a/docs/api-doc/access__operations_8cc.js b/docs/api-doc/access__operations_8cc.js new file mode 100644 index 00000000..40e0e81d --- /dev/null +++ b/docs/api-doc/access__operations_8cc.js @@ -0,0 +1,10 @@ +var access__operations_8cc = +[ + [ "access_serializec", "access__operations_8cc.html#ae1dcf97eb1c0a06d491355c627cb5000", null ], + [ "access_sharec", "access__operations_8cc.html#ac2d6031216e6786399943d5b80d2e250", null ], + [ "config_request_access_with_passphrasec", "access__operations_8cc.html#ad1ad6e328d17546077efb9cad66351da", null ], + [ "parse_accessc", "access__operations_8cc.html#a7bc1930fa62634db41978a6ed56ae3c9", null ], + [ "request_access_with_passphrasec", "access__operations_8cc.html#a1b24e58dd7f4843b6d3d9e1b7422158e", null ], + [ "uplink_access_override_encryption_keyc", "access__operations_8cc.html#a6dd8182186a98b1924334ffd7395a984", null ], + [ "uplink_derive_encryption_keyc", "access__operations_8cc.html#a9d3dd54845a58aedb9961cac67f7d24a", null ] +]; \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc__incl.map b/docs/api-doc/access__operations_8cc__incl.map new file mode 100644 index 00000000..0b3f318a --- /dev/null +++ b/docs/api-doc/access__operations_8cc__incl.map @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/docs/api-doc/access__operations_8cc__incl.md5 b/docs/api-doc/access__operations_8cc__incl.md5 new file mode 100644 index 00000000..3a7763a7 --- /dev/null +++ b/docs/api-doc/access__operations_8cc__incl.md5 @@ -0,0 +1 @@ +125c6f785a6b2f4509d0a711304f6623 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc__incl.png b/docs/api-doc/access__operations_8cc__incl.png new file mode 100644 index 00000000..ed54e4e2 Binary files /dev/null and b/docs/api-doc/access__operations_8cc__incl.png differ diff --git a/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map b/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map new file mode 100644 index 00000000..57066ea2 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 b/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 new file mode 100644 index 00000000..fed2b275 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 @@ -0,0 +1 @@ +1a6763ed7e3db035fc7d16636bb26b8c \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png b/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png new file mode 100644 index 00000000..ab965356 Binary files /dev/null and b/docs/api-doc/access__operations_8cc_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png differ diff --git a/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.map b/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.map new file mode 100644 index 00000000..bff10712 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.md5 b/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.md5 new file mode 100644 index 00000000..7f101db0 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.md5 @@ -0,0 +1 @@ +7427a666ab75ad2d790d60797dcd2212 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.png b/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.png new file mode 100644 index 00000000..ef176823 Binary files /dev/null and b/docs/api-doc/access__operations_8cc_a6dd8182186a98b1924334ffd7395a984_cgraph.png differ diff --git a/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map b/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map new file mode 100644 index 00000000..1c3b24e4 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 b/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 new file mode 100644 index 00000000..f0aad582 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 @@ -0,0 +1 @@ +4fec8009b11393e044f901359c4816e6 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png b/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png new file mode 100644 index 00000000..08791fad Binary files /dev/null and b/docs/api-doc/access__operations_8cc_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png differ diff --git a/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.map b/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.map new file mode 100644 index 00000000..4a852d58 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.md5 b/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.md5 new file mode 100644 index 00000000..66c4196b --- /dev/null +++ b/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.md5 @@ -0,0 +1 @@ +cf40f0a5973b70016f9397b274ea5ad4 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.png b/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.png new file mode 100644 index 00000000..4827540e Binary files /dev/null and b/docs/api-doc/access__operations_8cc_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.png differ diff --git a/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.map b/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.map new file mode 100644 index 00000000..ac0431fc --- /dev/null +++ b/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 b/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 new file mode 100644 index 00000000..53309a68 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 @@ -0,0 +1 @@ +a4d74d57b63fe733538718ff05b48b86 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.png b/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.png new file mode 100644 index 00000000..4e4ddfcd Binary files /dev/null and b/docs/api-doc/access__operations_8cc_ac2d6031216e6786399943d5b80d2e250_cgraph.png differ diff --git a/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.map b/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.map new file mode 100644 index 00000000..39e87042 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 b/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 new file mode 100644 index 00000000..db647d13 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 @@ -0,0 +1 @@ +3e60dd948d55b27d2d4bd0262ee50689 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.png b/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.png new file mode 100644 index 00000000..5bce60d2 Binary files /dev/null and b/docs/api-doc/access__operations_8cc_ad1ad6e328d17546077efb9cad66351da_cgraph.png differ diff --git a/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map b/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map new file mode 100644 index 00000000..c07f26aa --- /dev/null +++ b/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 b/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 new file mode 100644 index 00000000..6f8b2da5 --- /dev/null +++ b/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 @@ -0,0 +1 @@ +c1e865629a99d85e70a31df1c185f8c7 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png b/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png new file mode 100644 index 00000000..92a6d6cb Binary files /dev/null and b/docs/api-doc/access__operations_8cc_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h.html b/docs/api-doc/access__operations_8h.html new file mode 100644 index 00000000..999cdffe --- /dev/null +++ b/docs/api-doc/access__operations_8h.html @@ -0,0 +1,439 @@ + + + + + + + +Uplink-Nodejs: access_operations.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
access_operations.h File Reference
+
+
+
#include "definitions.h"
+#include "../libUplink.h"
+
+Include dependency graph for access_operations.h:
+
+
+ + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + +

+Functions

napi_value parse_accessc (napi_env env, napi_callback_info info)
 parse_accessc function is called from the javascript file parse_access parses serialized access grant string. More...
 
napi_value access_sharec (napi_env env, napi_callback_info info)
 parse_accessc function is called from the javascript file access_share creates new access grant with specific permission. Permission will be applied to prefixes when defined. More...
 
napi_value config_request_access_with_passphrasec (napi_env env, napi_callback_info info)
 config_request_access_with_passphrasec function is called from the javascript file config_request_access_with_passphrase requests for a new access grant using a passhprase.. More...
 
napi_value request_access_with_passphrasec (napi_env env, napi_callback_info info)
 request_access_with_passphrase function is called from the javascript file request_access_with_passphrasec requests for a new access grant using a passhprase. More...
 
napi_value access_serializec (napi_env env, napi_callback_info info)
 access_serializec function is called from the javascript file access_serialize serializes access grant into a string. More...
 
napi_value uplink_derive_encryption_keyc (napi_env env, napi_callback_info info)
 uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_keyc derives a salted encryption key for passphrase using the salt. More...
 
napi_value uplink_access_override_encryption_keyc (napi_env env, napi_callback_info info)
 uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_override_encryption_keyc overrides the root encryption key for the prefix in bucket with encryptionKey. This function is useful for overriding the encryption key in user-specific access grants when implementing multitenancy in a single app bucket. More...
 
+

Function Documentation

+ +

◆ access_serializec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value access_serializec (napi_env env,
napi_callback_info info 
)
+
+ +

access_serializec function is called from the javascript file access_serialize serializes access grant into a string.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ access_sharec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value access_sharec (napi_env env,
napi_callback_info info 
)
+
+ +

parse_accessc function is called from the javascript file access_share creates new access grant with specific permission. Permission will be applied to prefixes when defined.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ config_request_access_with_passphrasec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value config_request_access_with_passphrasec (napi_env env,
napi_callback_info info 
)
+
+ +

config_request_access_with_passphrasec function is called from the javascript file config_request_access_with_passphrase requests for a new access grant using a passhprase..

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ parse_accessc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value parse_accessc (napi_env env,
napi_callback_info info 
)
+
+ +

parse_accessc function is called from the javascript file parse_access parses serialized access grant string.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ request_access_with_passphrasec()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value request_access_with_passphrasec (napi_env env,
napi_callback_info info 
)
+
+ +

request_access_with_passphrase function is called from the javascript file request_access_with_passphrasec requests for a new access grant using a passhprase.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ uplink_access_override_encryption_keyc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value uplink_access_override_encryption_keyc (napi_env env,
napi_callback_info info 
)
+
+ +

uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_override_encryption_keyc overrides the root encryption key for the prefix in bucket with encryptionKey. This function is useful for overriding the encryption key in user-specific access grants when implementing multitenancy in a single app bucket.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ uplink_derive_encryption_keyc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value uplink_derive_encryption_keyc (napi_env env,
napi_callback_info info 
)
+
+ +

uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_keyc derives a salted encryption key for passphrase using the salt.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+
+
+ + + + diff --git a/docs/api-doc/access__operations_8h.js b/docs/api-doc/access__operations_8h.js new file mode 100644 index 00000000..4dfb0707 --- /dev/null +++ b/docs/api-doc/access__operations_8h.js @@ -0,0 +1,10 @@ +var access__operations_8h = +[ + [ "access_serializec", "access__operations_8h.html#ae1dcf97eb1c0a06d491355c627cb5000", null ], + [ "access_sharec", "access__operations_8h.html#ac2d6031216e6786399943d5b80d2e250", null ], + [ "config_request_access_with_passphrasec", "access__operations_8h.html#ad1ad6e328d17546077efb9cad66351da", null ], + [ "parse_accessc", "access__operations_8h.html#a7bc1930fa62634db41978a6ed56ae3c9", null ], + [ "request_access_with_passphrasec", "access__operations_8h.html#a1b24e58dd7f4843b6d3d9e1b7422158e", null ], + [ "uplink_access_override_encryption_keyc", "access__operations_8h.html#a6dd8182186a98b1924334ffd7395a984", null ], + [ "uplink_derive_encryption_keyc", "access__operations_8h.html#a9d3dd54845a58aedb9961cac67f7d24a", null ] +]; \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h__dep__incl.map b/docs/api-doc/access__operations_8h__dep__incl.map new file mode 100644 index 00000000..d58f3c6c --- /dev/null +++ b/docs/api-doc/access__operations_8h__dep__incl.map @@ -0,0 +1,4 @@ + + + + diff --git a/docs/api-doc/access__operations_8h__dep__incl.md5 b/docs/api-doc/access__operations_8h__dep__incl.md5 new file mode 100644 index 00000000..cf27be1c --- /dev/null +++ b/docs/api-doc/access__operations_8h__dep__incl.md5 @@ -0,0 +1 @@ +6c75c4c945f2ebc3c4125f3ad92f008c \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h__dep__incl.png b/docs/api-doc/access__operations_8h__dep__incl.png new file mode 100644 index 00000000..f6bc070f Binary files /dev/null and b/docs/api-doc/access__operations_8h__dep__incl.png differ diff --git a/docs/api-doc/access__operations_8h__incl.map b/docs/api-doc/access__operations_8h__incl.map new file mode 100644 index 00000000..5e48853f --- /dev/null +++ b/docs/api-doc/access__operations_8h__incl.map @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/docs/api-doc/access__operations_8h__incl.md5 b/docs/api-doc/access__operations_8h__incl.md5 new file mode 100644 index 00000000..59c58422 --- /dev/null +++ b/docs/api-doc/access__operations_8h__incl.md5 @@ -0,0 +1 @@ +e8bf4151f896cbb6a77e6cf35e2214fd \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h__incl.png b/docs/api-doc/access__operations_8h__incl.png new file mode 100644 index 00000000..af2f747a Binary files /dev/null and b/docs/api-doc/access__operations_8h__incl.png differ diff --git a/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map b/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map new file mode 100644 index 00000000..57066ea2 --- /dev/null +++ b/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 b/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 new file mode 100644 index 00000000..fed2b275 --- /dev/null +++ b/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.md5 @@ -0,0 +1 @@ +1a6763ed7e3db035fc7d16636bb26b8c \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png b/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png new file mode 100644 index 00000000..ab965356 Binary files /dev/null and b/docs/api-doc/access__operations_8h_a1b24e58dd7f4843b6d3d9e1b7422158e_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.map b/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.map new file mode 100644 index 00000000..bff10712 --- /dev/null +++ b/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.md5 b/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.md5 new file mode 100644 index 00000000..7f101db0 --- /dev/null +++ b/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.md5 @@ -0,0 +1 @@ +7427a666ab75ad2d790d60797dcd2212 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.png b/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.png new file mode 100644 index 00000000..ef176823 Binary files /dev/null and b/docs/api-doc/access__operations_8h_a6dd8182186a98b1924334ffd7395a984_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map b/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map new file mode 100644 index 00000000..1c3b24e4 --- /dev/null +++ b/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 b/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 new file mode 100644 index 00000000..f0aad582 --- /dev/null +++ b/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.md5 @@ -0,0 +1 @@ +4fec8009b11393e044f901359c4816e6 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png b/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png new file mode 100644 index 00000000..08791fad Binary files /dev/null and b/docs/api-doc/access__operations_8h_a7bc1930fa62634db41978a6ed56ae3c9_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.map b/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.map new file mode 100644 index 00000000..4a852d58 --- /dev/null +++ b/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.md5 b/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.md5 new file mode 100644 index 00000000..66c4196b --- /dev/null +++ b/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.md5 @@ -0,0 +1 @@ +cf40f0a5973b70016f9397b274ea5ad4 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.png b/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.png new file mode 100644 index 00000000..4827540e Binary files /dev/null and b/docs/api-doc/access__operations_8h_a9d3dd54845a58aedb9961cac67f7d24a_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.map b/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.map new file mode 100644 index 00000000..ac0431fc --- /dev/null +++ b/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 b/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 new file mode 100644 index 00000000..53309a68 --- /dev/null +++ b/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.md5 @@ -0,0 +1 @@ +a4d74d57b63fe733538718ff05b48b86 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.png b/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.png new file mode 100644 index 00000000..4e4ddfcd Binary files /dev/null and b/docs/api-doc/access__operations_8h_ac2d6031216e6786399943d5b80d2e250_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.map b/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.map new file mode 100644 index 00000000..39e87042 --- /dev/null +++ b/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 b/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 new file mode 100644 index 00000000..db647d13 --- /dev/null +++ b/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.md5 @@ -0,0 +1 @@ +3e60dd948d55b27d2d4bd0262ee50689 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.png b/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.png new file mode 100644 index 00000000..5bce60d2 Binary files /dev/null and b/docs/api-doc/access__operations_8h_ad1ad6e328d17546077efb9cad66351da_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map b/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map new file mode 100644 index 00000000..c07f26aa --- /dev/null +++ b/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 b/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 new file mode 100644 index 00000000..6f8b2da5 --- /dev/null +++ b/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.md5 @@ -0,0 +1 @@ +c1e865629a99d85e70a31df1c185f8c7 \ No newline at end of file diff --git a/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png b/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png new file mode 100644 index 00000000..92a6d6cb Binary files /dev/null and b/docs/api-doc/access__operations_8h_ae1dcf97eb1c0a06d491355c627cb5000_cgraph.png differ diff --git a/docs/api-doc/access__operations_8h_source.html b/docs/api-doc/access__operations_8h_source.html new file mode 100644 index 00000000..160c63b1 --- /dev/null +++ b/docs/api-doc/access__operations_8h_source.html @@ -0,0 +1,189 @@ + + + + + + + +Uplink-Nodejs: access_operations.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
access_operations.h
+
+
+Go to the documentation of this file.
1 #include "definitions.h"
+
2 #include "../libUplink.h"
+
3 
+
4 napi_value parse_accessc(napi_env env, napi_callback_info info);
+
5 //
+
6 napi_value access_sharec(napi_env env, napi_callback_info info);
+
7 //
+
8 napi_value config_request_access_with_passphrasec(napi_env env, napi_callback_info info);
+
9 //
+
10 napi_value request_access_with_passphrasec(napi_env env, napi_callback_info info);
+
11 
+
12 napi_value access_serializec(napi_env env, napi_callback_info info);
+
13 //
+
14 napi_value uplink_derive_encryption_keyc(napi_env env, napi_callback_info info);
+
15 //
+
16 napi_value uplink_access_override_encryption_keyc(napi_env env, napi_callback_info info);
+
+
+
napi_deferred deferred
Definition: definitions.h:215
+
int64_t saltSize
Definition: definitions.h:261
+
Definition: definitions.h:254
+
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
+
void accessSerializePromiseComplete(napi_env env, napi_status status, void *data)
accessSerializePromiseComplete creates the handle for access_serialize
Definition: promises_complete.cc:771
+
napi_value uplink_derive_encryption_keyc(napi_env env, napi_callback_info info)
uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_ke...
Definition: access_operations.cc:783
+ +
napi_async_work work
Definition: definitions.h:257
+
int async_action_status
Definition: definitions.h:203
+
UplinkAccess access
Definition: definitions.h:250
+
void ShareAccessPromiseComplete(napi_env env, napi_status status, void *data)
ShareAccessPromiseComplete creates the handle for access_share.
Definition: promises_complete.cc:670
+
napi_deferred deferred
Definition: definitions.h:268
+
napi_value access_sharec(napi_env env, napi_callback_info info)
parse_accessc function is called from the javascript file access_share creates new access grant with ...
Definition: access_operations.cc:91
+
napi_value config_request_access_with_passphrasec(napi_env env, napi_callback_info info)
config_request_access_with_passphrasec function is called from the javascript file config_request_acc...
Definition: access_operations.cc:347
+
Definition: definitions.h:221
+
napi_deferred deferred
Definition: definitions.h:238
+
UplinkConfig config
Definition: definitions.h:242
+
char * accessString
Definition: definitions.h:202
+
napi_value request_access_with_passphrasec(napi_env env, napi_callback_info info)
request_access_with_passphrase function is called from the javascript file request_access_with_passph...
Definition: access_operations.cc:584
+
napi_value uplink_access_override_encryption_keyc(napi_env env, napi_callback_info info)
uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_over...
Definition: access_operations.cc:897
+
napi_value config_request_access_with_passphrasec(napi_env env, napi_callback_info info)
config_request_access_with_passphrasec function is called from the javascript file config_request_acc...
Definition: access_operations.cc:347
+
void ShareAccessPromiseExecute(napi_env env, void *data)
ShareAccessPromiseExecute used to implement the uplink-c library function ShareAccessPromiseExecute c...
Definition: promises_execute.cc:257
+
napi_value access_sharec(napi_env env, napi_callback_info info)
parse_accessc function is called from the javascript file access_share creates new access grant with ...
Definition: access_operations.cc:91
+
void deriveEncrpPromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:800
+
napi_value parse_accessc(napi_env env, napi_callback_info info)
parse_accessc function is called from the javascript file parse_access parses serialized access grant...
Definition: access_operations.cc:15
+
Definition: definitions.h:210
+
napi_async_work work
Definition: definitions.h:216
+
UplinkEncryptionKey encryptionKey
Definition: definitions.h:274
+
napi_value uplink_access_override_encryption_keyc(napi_env env, napi_callback_info info)
uplink_access_override_encryption_keyc function is called from the javascript file uplink_access_over...
Definition: access_operations.cc:897
+
UplinkSharePrefix * SharePrefixListPointer
Definition: definitions.h:229
+
char * prefix
Definition: definitions.h:273
+
char * passphrase
Definition: definitions.h:213
+
void RequestAccessWithEncryptionPromiseComplete(napi_env env, napi_status status, void *data)
RequestAccessWithEncryptionPromiseComplete creates the handle for request_access_with_passphrase.
Definition: promises_complete.cc:737
+
napi_value access_serializec(napi_env env, napi_callback_info info)
access_serializec function is called from the javascript file access_serialize serializes access gran...
Definition: access_operations.cc:702
+
Definition: definitions.h:233
+
napi_async_work work
Definition: definitions.h:224
+
UplinkAccess access
Definition: definitions.h:271
+
void accessOverRidePromiseExecute(napi_env env, void *data)
Definition: promises_execute.cc:308
+
napi_value parse_accessc(napi_env env, napi_callback_info info)
parse_accessc function is called from the javascript file parse_access parses serialized access grant...
Definition: access_operations.cc:15
+
void accessSerializePromiseExecute(napi_env env, void *data)
accessSerializePromiseExecute used to implement the uplink-c library function accessSerializePromiseE...
Definition: promises_execute.cc:287
+
void ConfigRequestAccessWithEncryption(napi_env env, void *data)
ConfigRequestAccessWithEncryption used to implement the uplink-c library function ConfigRequestAccess...
Definition: promises_execute.cc:267
+
napi_deferred deferred
Definition: definitions.h:256
+
napi_async_work work
Definition: definitions.h:269
+
napi_value access_serializec(napi_env env, napi_callback_info info)
access_serializec function is called from the javascript file access_serialize serializes access gran...
Definition: access_operations.cc:702
+
UplinkAccess access
Definition: definitions.h:226
+
void RequestAccessWithEncryption(napi_env env, void *data)
RequestAccessWithEncryption used to implement the uplink-c library function RequestAccessWithEncrypti...
Definition: promises_execute.cc:277
+ +
char * bucket
Definition: definitions.h:272
+
int64_t SharePrefixSize
Definition: definitions.h:228
+
napi_async_work work
Definition: definitions.h:205
+
Definition: definitions.h:266
+
int async_action_status
Definition: definitions.h:214
+
void deriveEncrpPromiseExecute(napi_env env, void *data)
accessSerializePromiseExecute used to implement the uplink-c library function accessSerializePromiseE...
Definition: promises_execute.cc:297
+
napi_deferred deferred
Definition: definitions.h:223
+
UplinkPermission permission
Definition: definitions.h:230
+
char * api_key
Definition: definitions.h:212
+
napi_deferred deferred
Definition: definitions.h:204
+
void accessOverRidePromiseComplete(napi_env env, napi_status status, void *data)
Definition: promises_complete.cc:832
+
char * passphrase
Definition: definitions.h:236
+
char * passphrase
Definition: definitions.h:260
+
napi_async_work work
Definition: definitions.h:239
+
char * satellite_address
Definition: definitions.h:211
+
napi_value uplink_derive_encryption_keyc(napi_env env, napi_callback_info info)
uplink_derive_encryption_keyc function is called from the javascript file uplink_derive_encryption_ke...
Definition: access_operations.cc:783
+
char * api_key
Definition: definitions.h:235
+
Definition: definitions.h:201
+
char * satellite_address
Definition: definitions.h:234
+
napi_async_work work
Definition: definitions.h:248
+
char * saltCharArrayPointer
Definition: definitions.h:262
+
napi_deferred deferred
Definition: definitions.h:247
+
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
+
napi_value request_access_with_passphrasec(napi_env env, napi_callback_info info)
request_access_with_passphrase function is called from the javascript file request_access_with_passph...
Definition: access_operations.cc:584
+
void ParseAccessPromiseComplete(napi_env env, napi_status status, void *data)
ParseAccessPromiseComplete creates the handle for parse_access.
Definition: promises_complete.cc:637
+
Definition: definitions.h:245
+ + + + diff --git a/docs/api-doc/annotated.html b/docs/api-doc/annotated.html new file mode 100644 index 00000000..261397c8 --- /dev/null +++ b/docs/api-doc/annotated.html @@ -0,0 +1,127 @@ + + + + + + + +Uplink-Nodejs: Class List + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs/api-doc/annotated_dup.js b/docs/api-doc/annotated_dup.js new file mode 100644 index 00000000..d24b43ab --- /dev/null +++ b/docs/api-doc/annotated_dup.js @@ -0,0 +1,27 @@ +var annotated_dup = +[ + [ "accessOverRidePromiseObj", "structaccess_over_ride_promise_obj.html", "structaccess_over_ride_promise_obj" ], + [ "accessSerializePromiseObj", "structaccess_serialize_promise_obj.html", "structaccess_serialize_promise_obj" ], + [ "AccessSharePromiseObj", "struct_access_share_promise_obj.html", "struct_access_share_promise_obj" ], + [ "bucketOperationObj", "structbucket_operation_obj.html", "structbucket_operation_obj" ], + [ "closeProjectPromiseObj", "structclose_project_promise_obj.html", "structclose_project_promise_obj" ], + [ "configOpenProjectPromiseObj", "structconfig_open_project_promise_obj.html", "structconfig_open_project_promise_obj" ], + [ "ConfigRequestAccessPromiseObj", "struct_config_request_access_promise_obj.html", "struct_config_request_access_promise_obj" ], + [ "deriveEncrpPromiseObj", "structderive_encrp_promise_obj.html", "structderive_encrp_promise_obj" ], + [ "downloadCloseObj", "structdownload_close_obj.html", "structdownload_close_obj" ], + [ "downloadInfoObj", "structdownload_info_obj.html", "structdownload_info_obj" ], + [ "downloadObjectObj", "structdownload_object_obj.html", "structdownload_object_obj" ], + [ "downloadReadObj", "structdownload_read_obj.html", "structdownload_read_obj" ], + [ "ListBucketsPromiseObj", "struct_list_buckets_promise_obj.html", "struct_list_buckets_promise_obj" ], + [ "listObjectPromiseObj", "structlist_object_promise_obj.html", "structlist_object_promise_obj" ], + [ "objectOperationObj", "structobject_operation_obj.html", "structobject_operation_obj" ], + [ "openProjectPromiseObj", "structopen_project_promise_obj.html", "structopen_project_promise_obj" ], + [ "ParseAccessPromiseObj", "struct_parse_access_promise_obj.html", "struct_parse_access_promise_obj" ], + [ "RequestAccessPromiseObj", "struct_request_access_promise_obj.html", "struct_request_access_promise_obj" ], + [ "uploadAbortPromiseObj", "structupload_abort_promise_obj.html", "structupload_abort_promise_obj" ], + [ "uploadCommitObj", "structupload_commit_obj.html", "structupload_commit_obj" ], + [ "uploadInfoObj", "structupload_info_obj.html", "structupload_info_obj" ], + [ "uploadobjectObj", "structuploadobject_obj.html", "structuploadobject_obj" ], + [ "uploadSetMetaObj", "structupload_set_meta_obj.html", "structupload_set_meta_obj" ], + [ "uploadWriteObj", "structupload_write_obj.html", "structupload_write_obj" ] +]; \ No newline at end of file diff --git a/docs/bc_s.png b/docs/api-doc/bc_s.png similarity index 100% rename from docs/bc_s.png rename to docs/api-doc/bc_s.png diff --git a/docs/bdwn.png b/docs/api-doc/bdwn.png similarity index 100% rename from docs/bdwn.png rename to docs/api-doc/bdwn.png diff --git a/docs/api-doc/bucket__operations_8cc.html b/docs/api-doc/bucket__operations_8cc.html new file mode 100644 index 00000000..80791f00 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc.html @@ -0,0 +1,301 @@ + + + + + + + +Uplink-Nodejs: bucket_operations.cc File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
bucket_operations.cc File Reference
+
+
+
#include "bucket_operations.h"
+#include <string>
+
+Include dependency graph for bucket_operations.cc:
+
+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +

+Functions

napi_value stat_bucketc (napi_env env, napi_callback_info info)
 stat_bucket function is called from the javascript file stat_bucket returns information about a bucket. More...
 
napi_value create_bucketc (napi_env env, napi_callback_info info)
 stat_bucket function is called from the javascript file create_bucket creates a new bucket. When bucket already exists it returns a valid Bucket and ErrBucketExists. More...
 
napi_value ensure_bucketc (napi_env env, napi_callback_info info)
 ensure_bucket function is called from the javascript file ensure_bucket creates a new bucket and ignores the error when it already exists. When bucket already exists it returns a valid Bucket and ErrBucketExists. More...
 
napi_value delete_bucketc (napi_env env, napi_callback_info info)
 delete_bucket function is called from the javascript file delete_bucket deletes the bucket. When bucket is not empty it returns ErrBucketNotEmpty. More...
 
+

Function Documentation

+ +

◆ create_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value create_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

stat_bucket function is called from the javascript file create_bucket creates a new bucket. When bucket already exists it returns a valid Bucket and ErrBucketExists.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ delete_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value delete_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

delete_bucket function is called from the javascript file delete_bucket deletes the bucket. When bucket is not empty it returns ErrBucketNotEmpty.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ ensure_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value ensure_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

ensure_bucket function is called from the javascript file ensure_bucket creates a new bucket and ignores the error when it already exists. When bucket already exists it returns a valid Bucket and ErrBucketExists.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ stat_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value stat_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

stat_bucket function is called from the javascript file stat_bucket returns information about a bucket.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+
+
+ + + + diff --git a/docs/bucket__operations_8cc.js b/docs/api-doc/bucket__operations_8cc.js similarity index 100% rename from docs/bucket__operations_8cc.js rename to docs/api-doc/bucket__operations_8cc.js diff --git a/docs/api-doc/bucket__operations_8cc__incl.map b/docs/api-doc/bucket__operations_8cc__incl.map new file mode 100644 index 00000000..4f3980c8 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc__incl.map @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/docs/api-doc/bucket__operations_8cc__incl.md5 b/docs/api-doc/bucket__operations_8cc__incl.md5 new file mode 100644 index 00000000..36afcc38 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc__incl.md5 @@ -0,0 +1 @@ +ec8bfa3d21fcdf5ce8ced62c39ae8837 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8cc__incl.png b/docs/api-doc/bucket__operations_8cc__incl.png new file mode 100644 index 00000000..98180a88 Binary files /dev/null and b/docs/api-doc/bucket__operations_8cc__incl.png differ diff --git a/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.map b/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.map new file mode 100644 index 00000000..9226c81d --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.md5 b/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.md5 new file mode 100644 index 00000000..eeb0aea4 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.md5 @@ -0,0 +1 @@ +7ce77d1e72dbc9a152a1ed69df7f18f3 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.png b/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.png new file mode 100644 index 00000000..9249c84f Binary files /dev/null and b/docs/api-doc/bucket__operations_8cc_a0541fcd6deaa815c027a557f33c7c44f_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.map b/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.map new file mode 100644 index 00000000..ef3c9397 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.md5 b/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.md5 new file mode 100644 index 00000000..19338fd8 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.md5 @@ -0,0 +1 @@ +cd3206a17292b468d74665ba91c69c3e \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.png b/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.png new file mode 100644 index 00000000..d8cec57a Binary files /dev/null and b/docs/api-doc/bucket__operations_8cc_a4d7e31696e654549a3b5b799f03c99c6_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.map b/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.map new file mode 100644 index 00000000..933cad44 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.md5 b/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.md5 new file mode 100644 index 00000000..953ac9dd --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.md5 @@ -0,0 +1 @@ +3e58e78e8ff82ff376fab703099b7821 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.png b/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.png new file mode 100644 index 00000000..6f79a0d5 Binary files /dev/null and b/docs/api-doc/bucket__operations_8cc_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.map b/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.map new file mode 100644 index 00000000..e60d1a71 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.md5 b/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.md5 new file mode 100644 index 00000000..eaee0c57 --- /dev/null +++ b/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.md5 @@ -0,0 +1 @@ +df58f257804a86b6c38023f11a05de75 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.png b/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.png new file mode 100644 index 00000000..89e53dec Binary files /dev/null and b/docs/api-doc/bucket__operations_8cc_ae71b54239e182c072b747d16b057c5be_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8h.html b/docs/api-doc/bucket__operations_8h.html new file mode 100644 index 00000000..fa061cbe --- /dev/null +++ b/docs/api-doc/bucket__operations_8h.html @@ -0,0 +1,312 @@ + + + + + + + +Uplink-Nodejs: bucket_operations.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
bucket_operations.h File Reference
+
+
+
#include "definitions.h"
+#include "../libUplink.h"
+
+Include dependency graph for bucket_operations.h:
+
+
+ + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

napi_value stat_bucketc (napi_env env, napi_callback_info info)
 stat_bucket function is called from the javascript file stat_bucket returns information about a bucket. More...
 
napi_value create_bucketc (napi_env env, napi_callback_info info)
 stat_bucket function is called from the javascript file create_bucket creates a new bucket. When bucket already exists it returns a valid Bucket and ErrBucketExists. More...
 
napi_value ensure_bucketc (napi_env env, napi_callback_info info)
 ensure_bucket function is called from the javascript file ensure_bucket creates a new bucket and ignores the error when it already exists. When bucket already exists it returns a valid Bucket and ErrBucketExists. More...
 
napi_value delete_bucketc (napi_env env, napi_callback_info info)
 delete_bucket function is called from the javascript file delete_bucket deletes the bucket. When bucket is not empty it returns ErrBucketNotEmpty. More...
 
+

Function Documentation

+ +

◆ create_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value create_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

stat_bucket function is called from the javascript file create_bucket creates a new bucket. When bucket already exists it returns a valid Bucket and ErrBucketExists.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ delete_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value delete_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

delete_bucket function is called from the javascript file delete_bucket deletes the bucket. When bucket is not empty it returns ErrBucketNotEmpty.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ ensure_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value ensure_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

ensure_bucket function is called from the javascript file ensure_bucket creates a new bucket and ignores the error when it already exists. When bucket already exists it returns a valid Bucket and ErrBucketExists.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ stat_bucketc()

+ +
+
+ + + + + + + + + + + + + + + + + + +
napi_value stat_bucketc (napi_env env,
napi_callback_info info 
)
+
+ +

stat_bucket function is called from the javascript file stat_bucket returns information about a bucket.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+
+
+ + + + diff --git a/docs/api-doc/bucket__operations_8h.js b/docs/api-doc/bucket__operations_8h.js new file mode 100644 index 00000000..24650b82 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h.js @@ -0,0 +1,7 @@ +var bucket__operations_8h = +[ + [ "create_bucketc", "bucket__operations_8h.html#ae71b54239e182c072b747d16b057c5be", null ], + [ "delete_bucketc", "bucket__operations_8h.html#a0541fcd6deaa815c027a557f33c7c44f", null ], + [ "ensure_bucketc", "bucket__operations_8h.html#a52f6abad2725d06efa100cc28ba6a6b5", null ], + [ "stat_bucketc", "bucket__operations_8h.html#a4d7e31696e654549a3b5b799f03c99c6", null ] +]; \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8h__dep__incl.map b/docs/api-doc/bucket__operations_8h__dep__incl.map new file mode 100644 index 00000000..5eeb695e --- /dev/null +++ b/docs/api-doc/bucket__operations_8h__dep__incl.map @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/api-doc/bucket__operations_8h__dep__incl.md5 b/docs/api-doc/bucket__operations_8h__dep__incl.md5 new file mode 100644 index 00000000..344a8bb1 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h__dep__incl.md5 @@ -0,0 +1 @@ +fcacdcd3a3d89422c4160d7e83c0dcb9 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8h__dep__incl.png b/docs/api-doc/bucket__operations_8h__dep__incl.png new file mode 100644 index 00000000..16495b52 Binary files /dev/null and b/docs/api-doc/bucket__operations_8h__dep__incl.png differ diff --git a/docs/api-doc/bucket__operations_8h__incl.map b/docs/api-doc/bucket__operations_8h__incl.map new file mode 100644 index 00000000..1f20ac9e --- /dev/null +++ b/docs/api-doc/bucket__operations_8h__incl.map @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/docs/api-doc/bucket__operations_8h__incl.md5 b/docs/api-doc/bucket__operations_8h__incl.md5 new file mode 100644 index 00000000..e537081f --- /dev/null +++ b/docs/api-doc/bucket__operations_8h__incl.md5 @@ -0,0 +1 @@ +8816ab2ac47db2611720ea9e443d1375 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8h__incl.png b/docs/api-doc/bucket__operations_8h__incl.png new file mode 100644 index 00000000..0be9ed0b Binary files /dev/null and b/docs/api-doc/bucket__operations_8h__incl.png differ diff --git a/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.map b/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.map new file mode 100644 index 00000000..9226c81d --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.md5 b/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.md5 new file mode 100644 index 00000000..eeb0aea4 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.md5 @@ -0,0 +1 @@ +7ce77d1e72dbc9a152a1ed69df7f18f3 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.png b/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.png new file mode 100644 index 00000000..9249c84f Binary files /dev/null and b/docs/api-doc/bucket__operations_8h_a0541fcd6deaa815c027a557f33c7c44f_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.map b/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.map new file mode 100644 index 00000000..ef3c9397 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.md5 b/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.md5 new file mode 100644 index 00000000..19338fd8 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.md5 @@ -0,0 +1 @@ +cd3206a17292b468d74665ba91c69c3e \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.png b/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.png new file mode 100644 index 00000000..d8cec57a Binary files /dev/null and b/docs/api-doc/bucket__operations_8h_a4d7e31696e654549a3b5b799f03c99c6_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.map b/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.map new file mode 100644 index 00000000..933cad44 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.md5 b/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.md5 new file mode 100644 index 00000000..953ac9dd --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.md5 @@ -0,0 +1 @@ +3e58e78e8ff82ff376fab703099b7821 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.png b/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.png new file mode 100644 index 00000000..6f79a0d5 Binary files /dev/null and b/docs/api-doc/bucket__operations_8h_a52f6abad2725d06efa100cc28ba6a6b5_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.map b/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.map new file mode 100644 index 00000000..e60d1a71 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.md5 b/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.md5 new file mode 100644 index 00000000..eaee0c57 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.md5 @@ -0,0 +1 @@ +df58f257804a86b6c38023f11a05de75 \ No newline at end of file diff --git a/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.png b/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.png new file mode 100644 index 00000000..89e53dec Binary files /dev/null and b/docs/api-doc/bucket__operations_8h_ae71b54239e182c072b747d16b057c5be_cgraph.png differ diff --git a/docs/api-doc/bucket__operations_8h_source.html b/docs/api-doc/bucket__operations_8h_source.html new file mode 100644 index 00000000..9bfe2df2 --- /dev/null +++ b/docs/api-doc/bucket__operations_8h_source.html @@ -0,0 +1,132 @@ + + + + + + + +Uplink-Nodejs: bucket_operations.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
bucket_operations.h
+
+
+Go to the documentation of this file.
1 #include "definitions.h"
+
2 #include "../libUplink.h"
+
3 
+
4 napi_value stat_bucketc(napi_env env, napi_callback_info info);
+
5 //
+
6 napi_value create_bucketc(napi_env env, napi_callback_info info);
+
7 //
+
8 napi_value ensure_bucketc(napi_env env, napi_callback_info info);
+
9 //
+
10 napi_value delete_bucketc(napi_env env, napi_callback_info info);
+
11 //
+
+
+
napi_value stat_bucketc(napi_env env, napi_callback_info info)
stat_bucket function is called from the javascript file stat_bucket returns information about a bucke...
Definition: bucket_operations.cc:13
+
napi_async_work work
Definition: definitions.h:155
+
napi_value ensure_bucketc(napi_env env, napi_callback_info info)
ensure_bucket function is called from the javascript file ensure_bucket creates a new bucket and igno...
Definition: bucket_operations.cc:224
+
napi_value delete_bucketc(napi_env env, napi_callback_info info)
delete_bucket function is called from the javascript file delete_bucket deletes the bucket....
Definition: bucket_operations.cc:330
+
void ensureBucketPromiseExecute(napi_env env, void *data)
ensureBucketPromiseExecute creates the handle for ensure_bucket
Definition: promises_execute.cc:198
+
void deleteBucketPromiseExecute(napi_env env, void *data)
deleteBucketPromiseExecute creates the handle for delete_bucket
Definition: promises_execute.cc:206
+
napi_value create_bucketc(napi_env env, napi_callback_info info)
stat_bucket function is called from the javascript file create_bucket creates a new bucket....
Definition: bucket_operations.cc:118
+
void createBucketPromiseExecute(napi_env env, void *data)
createBucketPromiseExecute creates the handle for create_bucket
Definition: promises_execute.cc:190
+
napi_value delete_bucketc(napi_env env, napi_callback_info info)
delete_bucket function is called from the javascript file delete_bucket deletes the bucket....
Definition: bucket_operations.cc:330
+
void stateBucketPromiseExecute(napi_env env, void *data)
stateBucketPromiseExecute creates the handle for stat_bucket
Definition: promises_execute.cc:182
+
napi_deferred deferred
Definition: definitions.h:154
+
Definition: definitions.h:152
+ +
napi_value ensure_bucketc(napi_env env, napi_callback_info info)
ensure_bucket function is called from the javascript file ensure_bucket creates a new bucket and igno...
Definition: bucket_operations.cc:224
+
UplinkProject project
Definition: definitions.h:158
+
napi_value stat_bucketc(napi_env env, napi_callback_info info)
stat_bucket function is called from the javascript file stat_bucket returns information about a bucke...
Definition: bucket_operations.cc:13
+
char * bucketname
Definition: definitions.h:157
+
napi_value create_bucketc(napi_env env, napi_callback_info info)
stat_bucket function is called from the javascript file create_bucket creates a new bucket....
Definition: bucket_operations.cc:118
+
int async_action_status
Definition: definitions.h:153
+
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
+ + + + + diff --git a/docs/api-doc/classes.html b/docs/api-doc/classes.html new file mode 100644 index 00000000..2e4ce810 --- /dev/null +++ b/docs/api-doc/classes.html @@ -0,0 +1,157 @@ + + + + + + + +Uplink-Nodejs: Class Index + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
Class Index
+
+
+
a | b | c | d | l | o | p | r | u
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
  a  
+
configOpenProjectPromiseObj   
  l  
+
  r  
+
uploadSetMetaObj   
ConfigRequestAccessPromiseObj   uploadWriteObj   
accessOverRidePromiseObj   
  d  
+
ListBucketsPromiseObj   RequestAccessPromiseObj   
accessSerializePromiseObj   listObjectPromiseObj   
  u  
+
AccessSharePromiseObj   deriveEncrpPromiseObj   
  o  
+
  b  
+
downloadCloseObj   uploadAbortPromiseObj   
downloadInfoObj   objectOperationObj   uploadCommitObj   
bucketOperationObj   downloadObjectObj   openProjectPromiseObj   uploadInfoObj   
  c  
+
downloadReadObj   
  p  
+
uploadobjectObj   
closeProjectPromiseObj   ParseAccessPromiseObj   
+
a | b | c | d | l | o | p | r | u
+
+
+ + + + diff --git a/docs/closed.png b/docs/api-doc/closed.png similarity index 100% rename from docs/closed.png rename to docs/api-doc/closed.png diff --git a/docs/api-doc/definitions_8h.html b/docs/api-doc/definitions_8h.html new file mode 100644 index 00000000..bbbf89b3 --- /dev/null +++ b/docs/api-doc/definitions_8h.html @@ -0,0 +1,225 @@ + + + + + + + +Uplink-Nodejs: definitions.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
definitions.h File Reference
+
+
+
#include <assert.h>
+#include <node_api.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <iostream>
+#include "../uplink_definitions.h"
+#include "../libuplinkc.h"
+
+Include dependency graph for definitions.h:
+
+
+ + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + + + + + + + + + + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Classes

struct  listObjectPromiseObj
 
struct  downloadInfoObj
 
struct  downloadCloseObj
 
struct  downloadReadObj
 
struct  downloadObjectObj
 
struct  uploadSetMetaObj
 
struct  uploadAbortPromiseObj
 
struct  uploadInfoObj
 
struct  uploadCommitObj
 
struct  uploadWriteObj
 
struct  uploadobjectObj
 
struct  objectOperationObj
 
struct  bucketOperationObj
 
struct  ListBucketsPromiseObj
 
struct  closeProjectPromiseObj
 
struct  configOpenProjectPromiseObj
 
struct  openProjectPromiseObj
 
struct  ParseAccessPromiseObj
 
struct  RequestAccessPromiseObj
 
struct  AccessSharePromiseObj
 
struct  ConfigRequestAccessPromiseObj
 
struct  accessSerializePromiseObj
 
struct  deriveEncrpPromiseObj
 
struct  accessOverRidePromiseObj
 
+ + + +

+Macros

#define UPLINK_DISABLE_NAMESPACE_COMPAT   NULL
 
+

Macro Definition Documentation

+ +

◆ UPLINK_DISABLE_NAMESPACE_COMPAT

+ +
+
+ + + + +
#define UPLINK_DISABLE_NAMESPACE_COMPAT   NULL
+
+ +
+
+
+
+ + + + diff --git a/docs/api-doc/definitions_8h.js b/docs/api-doc/definitions_8h.js new file mode 100644 index 00000000..3cf7391c --- /dev/null +++ b/docs/api-doc/definitions_8h.js @@ -0,0 +1,28 @@ +var definitions_8h = +[ + [ "listObjectPromiseObj", "structlist_object_promise_obj.html", "structlist_object_promise_obj" ], + [ "downloadInfoObj", "structdownload_info_obj.html", "structdownload_info_obj" ], + [ "downloadCloseObj", "structdownload_close_obj.html", "structdownload_close_obj" ], + [ "downloadReadObj", "structdownload_read_obj.html", "structdownload_read_obj" ], + [ "downloadObjectObj", "structdownload_object_obj.html", "structdownload_object_obj" ], + [ "uploadSetMetaObj", "structupload_set_meta_obj.html", "structupload_set_meta_obj" ], + [ "uploadAbortPromiseObj", "structupload_abort_promise_obj.html", "structupload_abort_promise_obj" ], + [ "uploadInfoObj", "structupload_info_obj.html", "structupload_info_obj" ], + [ "uploadCommitObj", "structupload_commit_obj.html", "structupload_commit_obj" ], + [ "uploadWriteObj", "structupload_write_obj.html", "structupload_write_obj" ], + [ "uploadobjectObj", "structuploadobject_obj.html", "structuploadobject_obj" ], + [ "objectOperationObj", "structobject_operation_obj.html", "structobject_operation_obj" ], + [ "bucketOperationObj", "structbucket_operation_obj.html", "structbucket_operation_obj" ], + [ "ListBucketsPromiseObj", "struct_list_buckets_promise_obj.html", "struct_list_buckets_promise_obj" ], + [ "closeProjectPromiseObj", "structclose_project_promise_obj.html", "structclose_project_promise_obj" ], + [ "configOpenProjectPromiseObj", "structconfig_open_project_promise_obj.html", "structconfig_open_project_promise_obj" ], + [ "openProjectPromiseObj", "structopen_project_promise_obj.html", "structopen_project_promise_obj" ], + [ "ParseAccessPromiseObj", "struct_parse_access_promise_obj.html", "struct_parse_access_promise_obj" ], + [ "RequestAccessPromiseObj", "struct_request_access_promise_obj.html", "struct_request_access_promise_obj" ], + [ "AccessSharePromiseObj", "struct_access_share_promise_obj.html", "struct_access_share_promise_obj" ], + [ "ConfigRequestAccessPromiseObj", "struct_config_request_access_promise_obj.html", "struct_config_request_access_promise_obj" ], + [ "accessSerializePromiseObj", "structaccess_serialize_promise_obj.html", "structaccess_serialize_promise_obj" ], + [ "deriveEncrpPromiseObj", "structderive_encrp_promise_obj.html", "structderive_encrp_promise_obj" ], + [ "accessOverRidePromiseObj", "structaccess_over_ride_promise_obj.html", "structaccess_over_ride_promise_obj" ], + [ "UPLINK_DISABLE_NAMESPACE_COMPAT", "definitions_8h.html#ab294e6708b3c4a5d8c8c05e647111e92", null ] +]; \ No newline at end of file diff --git a/docs/api-doc/definitions_8h__dep__incl.map b/docs/api-doc/definitions_8h__dep__incl.map new file mode 100644 index 00000000..ef040a92 --- /dev/null +++ b/docs/api-doc/definitions_8h__dep__incl.map @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/docs/api-doc/definitions_8h__dep__incl.md5 b/docs/api-doc/definitions_8h__dep__incl.md5 new file mode 100644 index 00000000..b9a95b3d --- /dev/null +++ b/docs/api-doc/definitions_8h__dep__incl.md5 @@ -0,0 +1 @@ +b70c7c8b3a313634d1464129c67db958 \ No newline at end of file diff --git a/docs/api-doc/definitions_8h__dep__incl.png b/docs/api-doc/definitions_8h__dep__incl.png new file mode 100644 index 00000000..6a34a337 Binary files /dev/null and b/docs/api-doc/definitions_8h__dep__incl.png differ diff --git a/docs/api-doc/definitions_8h__incl.map b/docs/api-doc/definitions_8h__incl.map new file mode 100644 index 00000000..177a786c --- /dev/null +++ b/docs/api-doc/definitions_8h__incl.map @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/docs/api-doc/definitions_8h__incl.md5 b/docs/api-doc/definitions_8h__incl.md5 new file mode 100644 index 00000000..394122fd --- /dev/null +++ b/docs/api-doc/definitions_8h__incl.md5 @@ -0,0 +1 @@ +7b72f3998d329f62bb3a0e92813e4377 \ No newline at end of file diff --git a/docs/api-doc/definitions_8h__incl.png b/docs/api-doc/definitions_8h__incl.png new file mode 100644 index 00000000..33db76cc Binary files /dev/null and b/docs/api-doc/definitions_8h__incl.png differ diff --git a/docs/api-doc/definitions_8h_source.html b/docs/api-doc/definitions_8h_source.html new file mode 100644 index 00000000..445a7bfb --- /dev/null +++ b/docs/api-doc/definitions_8h_source.html @@ -0,0 +1,583 @@ + + + + + + + +Uplink-Nodejs: definitions.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
definitions.h
+
+
+Go to the documentation of this file.
1 #ifndef DEFINITIONS_H
+
2 #define DEFINITIONS_H
+
3 
+
4 #define UPLINK_DISABLE_NAMESPACE_COMPAT NULL
+
5 
+
6 #include <assert.h>
+
7 #include <node_api.h>
+
8 #include <stdio.h>
+
9 #include <stdlib.h>
+
10 #include <string.h>
+
11 #include <iostream>
+
12 #include "../uplink_definitions.h"
+
13 #include "../libuplinkc.h"
+
14 using std::string;
+
15 using std::swap;
+
16 
+
17 
+
18  typedef struct {
+ +
20  napi_deferred deferred;
+
21  napi_async_work work;
+
22  napi_value result;
+
23  UplinkProject project_result;
+
24  char *bucketName;
+
25  UplinkObjectIterator *objectIterator;
+
26  UplinkListObjectsOptions list_object_options;
+ + +
29 
+
30 
+
31  typedef struct {
+ +
33  napi_deferred deferred;
+
34  napi_async_work work;
+
35  napi_value result;
+
36  UplinkDownload download_result;
+
37  UplinkObjectResult object_result;
+ +
39 
+
40 //
+
41  typedef struct {
+ +
43  napi_deferred deferred;
+
44  napi_async_work work;
+
45  napi_value result;
+
46  UplinkDownload download_result;
+
47  UplinkError* error_result;
+ +
49 
+
50 //
+
51  typedef struct {
+ +
53  napi_deferred deferred;
+
54  napi_async_work work;
+
55  napi_value result;
+
56  void *bufferPtr;
+
57  size_t bufferlength;
+
58  UplinkDownload download_result;
+
59  UplinkReadResult read_result;
+ +
61 
+
62 //
+
63  typedef struct {
+ +
65  napi_deferred deferred;
+
66  napi_async_work work;
+
67  napi_value result;
+
68  char* bucketname;
+
69  char* objectkey;
+
70  UplinkProject project;
+
71  UplinkDownloadResult download_result;
+
72  UplinkDownloadOptions downloadOption;
+ + +
75 
+
76 //
+
77  typedef struct {
+ +
79  napi_deferred deferred;
+
80  napi_async_work work;
+
81  napi_value result;
+
82  UplinkUpload upload_result;
+
83  UplinkCustomMetadata customMetadata;
+
84  UplinkError* error_result;
+ +
86 
+
87 //
+
88  typedef struct {
+ +
90  napi_deferred deferred;
+
91  napi_async_work work;
+
92  napi_value result;
+
93  UplinkUpload upload_result;
+
94  UplinkError* error_result;
+ +
96 
+
97 //
+
98  typedef struct {
+ +
100  napi_deferred deferred;
+
101  napi_async_work work;
+
102  napi_value result;
+
103  UplinkUpload upload_result;
+
104  UplinkObjectResult object_result;
+
105 } uploadInfoObj;
+
106 
+
107 //
+
108  typedef struct {
+ +
110  napi_deferred deferred;
+
111  napi_async_work work;
+
112  napi_value result;
+
113  UplinkUpload upload_result;
+
114  UplinkError* error_result;
+ +
116 
+
117  typedef struct {
+ +
119  napi_deferred deferred;
+
120  napi_async_work work;
+
121  napi_value result;
+
122  void *bufferPtr;
+
123  size_t bytesread;
+
124  UplinkUpload upload_result;
+
125  UplinkWriteResult write_result;
+ +
127 
+
128  typedef struct {
+ +
130  napi_deferred deferred;
+
131  napi_async_work work;
+
132  napi_value result;
+
133  char* bucketname;
+
134  char* objectkey;
+
135  UplinkProject project;
+
136  UplinkUploadResult upload_result;
+
137  UplinkUploadOptions uploadOptions;
+ + +
140 
+
141 typedef struct {
+ +
143  napi_deferred deferred;
+
144  napi_async_work work;
+
145  napi_value result;
+
146  char* bucketname;
+
147  char* objectkey;
+
148  UplinkProject project;
+
149  UplinkObjectResult object_result;
+ +
151 
+
152 typedef struct {
+ +
154  napi_deferred deferred;
+
155  napi_async_work work;
+
156  napi_value result;
+
157  char* bucketname;
+
158  UplinkProject project;
+
159  UplinkBucketResult bucket_Result;
+ +
161 
+
162 typedef struct{
+
163  UplinkProject project_result;
+
164  UplinkListBucketsOptions listBucketsOptions;
+
165  UplinkBucketIterator *bucket_resultIterator;
+ +
167  napi_deferred deferred;
+
168  napi_async_work work;
+
169  napi_value result;
+ + +
172 
+
173 typedef struct {
+ +
175  napi_deferred deferred;
+
176  napi_async_work work;
+
177  napi_value result;
+
178  UplinkProject project_result;
+
179  UplinkError* error_result;
+ +
181 
+
182 typedef struct {
+ +
184  napi_deferred deferred;
+
185  napi_async_work work;
+
186  napi_value result;
+
187  UplinkAccess access;
+
188  UplinkProjectResult project_Result;
+
189  UplinkConfig config;
+ +
191 
+
192 typedef struct {
+ +
194  napi_deferred deferred;
+
195  napi_async_work work;
+
196  napi_value result;
+
197  UplinkAccess access;
+
198  UplinkProjectResult project_Result;
+ +
200 
+
201 typedef struct {
+ + +
204  napi_deferred deferred;
+
205  napi_async_work work;
+
206  napi_value result;
+
207  UplinkAccessResult access_Result;
+ +
209 
+
210 typedef struct {
+ +
212  char* api_key;
+
213  char* passphrase;
+ +
215  napi_deferred deferred;
+
216  napi_async_work work;
+
217  napi_value result;
+
218  UplinkAccessResult access_Result;
+ +
220 
+
221 typedef struct {
+ +
223  napi_deferred deferred;
+
224  napi_async_work work;
+
225  napi_value result;
+
226  UplinkAccess access;
+
227  UplinkAccessResult access_Result;
+ +
229  UplinkSharePrefix* SharePrefixListPointer;
+
230  UplinkPermission permission;
+ +
232 
+
233 typedef struct {
+ +
235  char* api_key;
+
236  char* passphrase;
+ +
238  napi_deferred deferred;
+
239  napi_async_work work;
+
240  napi_value result;
+
241  UplinkAccessResult access_Result;
+
242  UplinkConfig config;
+ +
244 
+
245 typedef struct {
+ +
247  napi_deferred deferred;
+
248  napi_async_work work;
+
249  napi_value result;
+
250  UplinkAccess access;
+
251  UplinkStringResult string_result;
+ +
253 
+
254 typedef struct {
+ +
256  napi_deferred deferred;
+
257  napi_async_work work;
+
258  napi_value result;
+
259  UplinkAccess access;
+
260  char* passphrase;
+
261  int64_t saltSize;
+ +
263  UplinkEncryptionKeyResult encryptionResult;
+ +
265 
+
266 typedef struct {
+ +
268  napi_deferred deferred;
+
269  napi_async_work work;
+
270  napi_value result;
+
271  UplinkAccess access;
+
272  char* bucket;
+
273  char* prefix;
+
274  UplinkEncryptionKey encryptionKey;
+
275  UplinkError* error_result;
+ +
277 
+
278 
+
279 #endif //DEFINITIONS_H
+
+
+
napi_deferred deferred
Definition: definitions.h:65
+
UplinkAccessResult access_Result
Definition: definitions.h:218
+
int async_action_status
Definition: definitions.h:129
+
UplinkProject project_result
Definition: definitions.h:163
+
napi_deferred deferred
Definition: definitions.h:215
+
int64_t saltSize
Definition: definitions.h:261
+
Definition: definitions.h:254
+
napi_deferred deferred
Definition: definitions.h:20
+
napi_async_work work
Definition: definitions.h:80
+
UplinkAccess access
Definition: definitions.h:187
+
int async_action_status
Definition: definitions.h:78
+
Definition: definitions.h:51
+
napi_async_work work
Definition: definitions.h:257
+
napi_async_work work
Definition: definitions.h:66
+
int async_action_status
Definition: definitions.h:203
+
UplinkAccess access
Definition: definitions.h:250
+
int async_action_status
Definition: definitions.h:52
+
napi_value result
Definition: definitions.h:225
+
napi_async_work work
Definition: definitions.h:54
+
napi_async_work work
Definition: definitions.h:155
+
napi_deferred deferred
Definition: definitions.h:268
+
napi_value result
Definition: definitions.h:249
+
napi_value result
Definition: definitions.h:102
+
UplinkDownload download_result
Definition: definitions.h:36
+
napi_deferred deferred
Definition: definitions.h:119
+
size_t bufferlength
Definition: definitions.h:57
+
napi_value result
Definition: definitions.h:258
+
napi_deferred deferred
Definition: definitions.h:143
+
napi_value result
Definition: definitions.h:67
+
UplinkAccessResult access_Result
Definition: definitions.h:207
+
UplinkObjectResult object_result
Definition: definitions.h:104
+
Definition: definitions.h:221
+
UplinkAccessResult access_Result
Definition: definitions.h:241
+
napi_deferred deferred
Definition: definitions.h:238
+
int async_action_status
Definition: definitions.h:237
+
UplinkConfig config
Definition: definitions.h:242
+
int async_action_status
Definition: definitions.h:89
+
char * accessString
Definition: definitions.h:202
+
napi_deferred deferred
Definition: definitions.h:110
+
UplinkError * error_result
Definition: definitions.h:114
+
UplinkProject project_result
Definition: definitions.h:23
+
UplinkUpload upload_result
Definition: definitions.h:93
+
Definition: definitions.h:108
+
napi_value result
Definition: definitions.h:169
+
UplinkProject project
Definition: definitions.h:148
+
size_t bytesread
Definition: definitions.h:123
+
char * objectkey
Definition: definitions.h:69
+
UplinkBucketIterator * bucket_resultIterator
Definition: definitions.h:165
+
int async_action_status
Definition: definitions.h:19
+
int downloadoptionSet
Definition: definitions.h:73
+
UplinkUpload upload_result
Definition: definitions.h:113
+
napi_deferred deferred
Definition: definitions.h:130
+
int async_action_status
Definition: definitions.h:109
+
int async_action_status
Definition: definitions.h:99
+
UplinkDownload download_result
Definition: definitions.h:46
+
UplinkReadResult read_result
Definition: definitions.h:59
+
Definition: definitions.h:210
+
UplinkDownloadResult download_result
Definition: definitions.h:71
+
napi_value result
Definition: definitions.h:177
+
UplinkProjectResult project_Result
Definition: definitions.h:188
+
napi_async_work work
Definition: definitions.h:131
+
napi_value result
Definition: definitions.h:186
+
napi_async_work work
Definition: definitions.h:216
+
UplinkAccessResult access_Result
Definition: definitions.h:227
+
UplinkEncryptionKey encryptionKey
Definition: definitions.h:274
+
UplinkSharePrefix * SharePrefixListPointer
Definition: definitions.h:229
+
UplinkUploadOptions uploadOptions
Definition: definitions.h:137
+
char * objectkey
Definition: definitions.h:147
+
int listObjectSet
Definition: definitions.h:27
+
char * prefix
Definition: definitions.h:273
+
void * bufferPtr
Definition: definitions.h:56
+
UplinkAccess access
Definition: definitions.h:197
+
UplinkError * error_result
Definition: definitions.h:179
+
char * passphrase
Definition: definitions.h:213
+
napi_deferred deferred
Definition: definitions.h:90
+
napi_async_work work
Definition: definitions.h:144
+
napi_value result
Definition: definitions.h:92
+
UplinkObjectIterator * objectIterator
Definition: definitions.h:25
+
napi_deferred deferred
Definition: definitions.h:194
+
napi_value result
Definition: definitions.h:196
+
Definition: definitions.h:233
+
int async_action_status
Definition: definitions.h:222
+
napi_async_work work
Definition: definitions.h:224
+
Definition: definitions.h:31
+
int async_action_status
Definition: definitions.h:174
+
napi_deferred deferred
Definition: definitions.h:184
+
napi_value result
Definition: definitions.h:35
+
UplinkAccess access
Definition: definitions.h:271
+
napi_async_work work
Definition: definitions.h:21
+
napi_async_work work
Definition: definitions.h:176
+
Definition: definitions.h:192
+
napi_value result
Definition: definitions.h:156
+
Definition: definitions.h:41
+
napi_deferred deferred
Definition: definitions.h:154
+
int async_action_status
Definition: definitions.h:32
+
napi_deferred deferred
Definition: definitions.h:33
+
napi_deferred deferred
Definition: definitions.h:43
+
napi_deferred deferred
Definition: definitions.h:256
+
UplinkCustomMetadata customMetadata
Definition: definitions.h:83
+
napi_async_work work
Definition: definitions.h:269
+
napi_async_work work
Definition: definitions.h:195
+
Definition: definitions.h:117
+
int async_action_status
Definition: definitions.h:246
+
UplinkConfig config
Definition: definitions.h:189
+
Definition: definitions.h:152
+
Definition: definitions.h:162
+
napi_value result
Definition: definitions.h:270
+
void * bufferPtr
Definition: definitions.h:122
+
UplinkWriteResult write_result
Definition: definitions.h:125
+
UplinkAccess access
Definition: definitions.h:226
+
UplinkBucketResult bucket_Result
Definition: definitions.h:159
+
Definition: definitions.h:173
+
UplinkProjectResult project_Result
Definition: definitions.h:198
+
Definition: definitions.h:98
+
UplinkProject project
Definition: definitions.h:70
+
UplinkUpload upload_result
Definition: definitions.h:124
+
char * bucket
Definition: definitions.h:272
+
int async_action_status
Definition: definitions.h:193
+
char * bucketname
Definition: definitions.h:133
+
int64_t SharePrefixSize
Definition: definitions.h:228
+
napi_value result
Definition: definitions.h:206
+
napi_async_work work
Definition: definitions.h:205
+
napi_async_work work
Definition: definitions.h:120
+
Definition: definitions.h:266
+
UplinkUpload upload_result
Definition: definitions.h:103
+
napi_async_work work
Definition: definitions.h:91
+
int async_action_status
Definition: definitions.h:214
+
napi_async_work work
Definition: definitions.h:168
+
int async_action_status
Definition: definitions.h:64
+
Definition: definitions.h:18
+
UplinkAccess access
Definition: definitions.h:259
+
napi_value result
Definition: definitions.h:22
+
napi_value result
Definition: definitions.h:45
+
napi_value result
Definition: definitions.h:217
+
char * objectkey
Definition: definitions.h:134
+
napi_deferred deferred
Definition: definitions.h:223
+
int listBucketOptionSet
Definition: definitions.h:170
+
UplinkPermission permission
Definition: definitions.h:230
+
UplinkDownloadOptions downloadOption
Definition: definitions.h:72
+
char * bucketName
Definition: definitions.h:24
+
napi_deferred deferred
Definition: definitions.h:79
+
napi_deferred deferred
Definition: definitions.h:175
+
napi_deferred deferred
Definition: definitions.h:167
+
napi_deferred deferred
Definition: definitions.h:53
+
char * api_key
Definition: definitions.h:212
+
napi_async_work work
Definition: definitions.h:44
+
napi_value result
Definition: definitions.h:81
+
napi_deferred deferred
Definition: definitions.h:204
+
napi_value result
Definition: definitions.h:240
+
UplinkProject project
Definition: definitions.h:158
+
char * passphrase
Definition: definitions.h:236
+
char * passphrase
Definition: definitions.h:260
+
napi_value result
Definition: definitions.h:145
+
napi_async_work work
Definition: definitions.h:239
+
Definition: definitions.h:141
+
int uploadoptionSet
Definition: definitions.h:138
+
char * bucketname
Definition: definitions.h:157
+
char * satellite_address
Definition: definitions.h:211
+
int async_action_status
Definition: definitions.h:267
+
UplinkEncryptionKeyResult encryptionResult
Definition: definitions.h:263
+
Definition: definitions.h:63
+
int async_action_status
Definition: definitions.h:183
+
UplinkListBucketsOptions listBucketsOptions
Definition: definitions.h:164
+
UplinkError * error_result
Definition: definitions.h:94
+
napi_value result
Definition: definitions.h:132
+
UplinkError * error_result
Definition: definitions.h:275
+
int async_action_status
Definition: definitions.h:142
+
int async_action_status
Definition: definitions.h:153
+
UplinkError * error_result
Definition: definitions.h:84
+
UplinkStringResult string_result
Definition: definitions.h:251
+
char * api_key
Definition: definitions.h:235
+
char * bucketname
Definition: definitions.h:146
+
Definition: definitions.h:201
+
char * satellite_address
Definition: definitions.h:234
+
Definition: definitions.h:182
+
UplinkListObjectsOptions list_object_options
Definition: definitions.h:26
+
UplinkUpload upload_result
Definition: definitions.h:82
+
int async_action_status
Definition: definitions.h:255
+
Definition: definitions.h:128
+
napi_value result
Definition: definitions.h:55
+
napi_value result
Definition: definitions.h:121
+
napi_async_work work
Definition: definitions.h:248
+
napi_value result
Definition: definitions.h:112
+
napi_deferred deferred
Definition: definitions.h:100
+
UplinkError * error_result
Definition: definitions.h:47
+
Definition: definitions.h:88
+
int async_action_status
Definition: definitions.h:118
+
UplinkProject project
Definition: definitions.h:135
+
int async_action_status
Definition: definitions.h:166
+
UplinkProject project_result
Definition: definitions.h:178
+
int async_action_status
Definition: definitions.h:42
+
char * saltCharArrayPointer
Definition: definitions.h:262
+
napi_async_work work
Definition: definitions.h:185
+
UplinkUploadResult upload_result
Definition: definitions.h:136
+
napi_deferred deferred
Definition: definitions.h:247
+
Definition: definitions.h:77
+
UplinkDownload download_result
Definition: definitions.h:58
+
napi_async_work work
Definition: definitions.h:101
+
napi_async_work work
Definition: definitions.h:34
+
UplinkObjectResult object_result
Definition: definitions.h:149
+
char * bucketname
Definition: definitions.h:68
+
napi_async_work work
Definition: definitions.h:111
+
UplinkObjectResult object_result
Definition: definitions.h:37
+
Definition: definitions.h:245
+ + + + diff --git a/docs/api-doc/dir_275089585c7fc1b5fd5d7d42c69cb1da.html b/docs/api-doc/dir_275089585c7fc1b5fd5d7d42c69cb1da.html new file mode 100644 index 00000000..d7d42406 --- /dev/null +++ b/docs/api-doc/dir_275089585c7fc1b5fd5d7d42c69cb1da.html @@ -0,0 +1,106 @@ + + + + + + + +Uplink-Nodejs: D: Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
D: Directory Reference
+
+
+ + + + +

+Directories

directory  uplink-nodejs
 
+
+
+ + + + diff --git a/docs/api-doc/dir_6ace4c81e2682e10dbded9e748635b8c.html b/docs/api-doc/dir_6ace4c81e2682e10dbded9e748635b8c.html new file mode 100644 index 00000000..2f80be3b --- /dev/null +++ b/docs/api-doc/dir_6ace4c81e2682e10dbded9e748635b8c.html @@ -0,0 +1,138 @@ + + + + + + + +Uplink-Nodejs: functions Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
functions Directory Reference
+
+ +
+ + + + diff --git a/docs/api-doc/dir_f5907a2e4def43abfea992c94a2b0e4c.html b/docs/api-doc/dir_f5907a2e4def43abfea992c94a2b0e4c.html new file mode 100644 index 00000000..295948e0 --- /dev/null +++ b/docs/api-doc/dir_f5907a2e4def43abfea992c94a2b0e4c.html @@ -0,0 +1,106 @@ + + + + + + + +Uplink-Nodejs: uplink-nodejs Directory Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
uplink-nodejs Directory Reference
+
+
+ + + + +

+Directories

directory  functions
 
+
+
+ + + + diff --git a/docs/doc.png b/docs/api-doc/doc.png similarity index 100% rename from docs/doc.png rename to docs/api-doc/doc.png diff --git a/docs/api-doc/download__operations_8cc.html b/docs/api-doc/download__operations_8cc.html new file mode 100644 index 00000000..53bd24fa --- /dev/null +++ b/docs/api-doc/download__operations_8cc.html @@ -0,0 +1,301 @@ + + + + + + + +Uplink-Nodejs: download_operations.cc File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
download_operations.cc File Reference
+
+
+
#include "download_operations.h"
+#include <string>
+
+Include dependency graph for download_operations.cc:
+
+
+ + + + + + + + + + + + + + + +
+
+ + + + + + + + + + + + + +

+Functions

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 the downloaded object . More...
 
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 . More...
 
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 . More...
 
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 specified key. More...
 
+

Function Documentation

+ +

◆ 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 .

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ 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 the downloaded object .

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ 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 specified key.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ 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 .

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+
+
+ + + + diff --git a/docs/download__operations_8cc.js b/docs/api-doc/download__operations_8cc.js similarity index 100% rename from docs/download__operations_8cc.js rename to docs/api-doc/download__operations_8cc.js diff --git a/docs/api-doc/download__operations_8cc__incl.map b/docs/api-doc/download__operations_8cc__incl.map new file mode 100644 index 00000000..61ea9638 --- /dev/null +++ b/docs/api-doc/download__operations_8cc__incl.map @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/docs/api-doc/download__operations_8cc__incl.md5 b/docs/api-doc/download__operations_8cc__incl.md5 new file mode 100644 index 00000000..2f8eff2d --- /dev/null +++ b/docs/api-doc/download__operations_8cc__incl.md5 @@ -0,0 +1 @@ +89fb81f6959d53d160f32fe4844be3f0 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8cc__incl.png b/docs/api-doc/download__operations_8cc__incl.png new file mode 100644 index 00000000..94b332e9 Binary files /dev/null and b/docs/api-doc/download__operations_8cc__incl.png differ diff --git a/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.map b/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.map new file mode 100644 index 00000000..dc9c7773 --- /dev/null +++ b/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.md5 b/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.md5 new file mode 100644 index 00000000..5d5eb20d --- /dev/null +++ b/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.md5 @@ -0,0 +1 @@ +ddf02edcd940c8bab528d62a999ef612 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.png b/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.png new file mode 100644 index 00000000..8297549a Binary files /dev/null and b/docs/api-doc/download__operations_8cc_a1feb50082437a42729a8ae4bcd7eae14_cgraph.png differ diff --git a/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.map b/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.map new file mode 100644 index 00000000..8e8b2762 --- /dev/null +++ b/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.md5 b/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.md5 new file mode 100644 index 00000000..7ba19632 --- /dev/null +++ b/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.md5 @@ -0,0 +1 @@ +99b600c3d98e844ca2d15af9a83a2e8b \ No newline at end of file diff --git a/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.png b/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.png new file mode 100644 index 00000000..69cd5f4c Binary files /dev/null and b/docs/api-doc/download__operations_8cc_a5de3a645e81eab2c7327edb17b40d75d_cgraph.png differ diff --git a/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.map b/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.map new file mode 100644 index 00000000..82d6fbc2 --- /dev/null +++ b/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.md5 b/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.md5 new file mode 100644 index 00000000..02b3878c --- /dev/null +++ b/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.md5 @@ -0,0 +1 @@ +df5663f7182974686c41416fd6c67d09 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.png b/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.png new file mode 100644 index 00000000..6edd04a5 Binary files /dev/null and b/docs/api-doc/download__operations_8cc_a89a532e6b99165dfcd4612b48a75c386_cgraph.png differ diff --git a/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.map b/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.map new file mode 100644 index 00000000..cc6d5622 --- /dev/null +++ b/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.md5 b/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.md5 new file mode 100644 index 00000000..2a1af7ea --- /dev/null +++ b/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.md5 @@ -0,0 +1 @@ +e413cd9bfaf5536a0be70a204a003ac8 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.png b/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.png new file mode 100644 index 00000000..1a722e94 Binary files /dev/null and b/docs/api-doc/download__operations_8cc_aa96e740f72e5af01401007e3db45d20d_cgraph.png differ diff --git a/docs/api-doc/download__operations_8h.html b/docs/api-doc/download__operations_8h.html new file mode 100644 index 00000000..73958276 --- /dev/null +++ b/docs/api-doc/download__operations_8h.html @@ -0,0 +1,312 @@ + + + + + + + +Uplink-Nodejs: download_operations.h File Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
download_operations.h File Reference
+
+
+
#include "definitions.h"
+#include "../libUplink.h"
+
+Include dependency graph for download_operations.h:
+
+
+ + + + + + + + + + + + + +
+
+This graph shows which files directly or indirectly include this file:
+
+
+ + + + + + +
+
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

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 the downloaded object . More...
 
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 . More...
 
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 . More...
 
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 specified key. More...
 
+

Function Documentation

+ +

◆ 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 .

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ 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 the downloaded object .

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ 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 specified key.

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+ +

◆ 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 .

+
+Here is the call graph for this function:
+
+
+ + + + + +
+ +
+
+
+
+ + + + diff --git a/docs/api-doc/download__operations_8h.js b/docs/api-doc/download__operations_8h.js new file mode 100644 index 00000000..14a686d9 --- /dev/null +++ b/docs/api-doc/download__operations_8h.js @@ -0,0 +1,7 @@ +var download__operations_8h = +[ + [ "close_downloadc", "download__operations_8h.html#aa96e740f72e5af01401007e3db45d20d", null ], + [ "download_infoc", "download__operations_8h.html#a5de3a645e81eab2c7327edb17b40d75d", null ], + [ "download_objectc", "download__operations_8h.html#a1feb50082437a42729a8ae4bcd7eae14", null ], + [ "download_readc", "download__operations_8h.html#a89a532e6b99165dfcd4612b48a75c386", null ] +]; \ No newline at end of file diff --git a/docs/api-doc/download__operations_8h__dep__incl.map b/docs/api-doc/download__operations_8h__dep__incl.map new file mode 100644 index 00000000..cc8fc306 --- /dev/null +++ b/docs/api-doc/download__operations_8h__dep__incl.map @@ -0,0 +1,6 @@ + + + + + + diff --git a/docs/api-doc/download__operations_8h__dep__incl.md5 b/docs/api-doc/download__operations_8h__dep__incl.md5 new file mode 100644 index 00000000..9685b44d --- /dev/null +++ b/docs/api-doc/download__operations_8h__dep__incl.md5 @@ -0,0 +1 @@ +8f9f7e982c68ce1576e7b4eb0de25ee3 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8h__dep__incl.png b/docs/api-doc/download__operations_8h__dep__incl.png new file mode 100644 index 00000000..415f8635 Binary files /dev/null and b/docs/api-doc/download__operations_8h__dep__incl.png differ diff --git a/docs/api-doc/download__operations_8h__incl.map b/docs/api-doc/download__operations_8h__incl.map new file mode 100644 index 00000000..a0cb86bb --- /dev/null +++ b/docs/api-doc/download__operations_8h__incl.map @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/docs/api-doc/download__operations_8h__incl.md5 b/docs/api-doc/download__operations_8h__incl.md5 new file mode 100644 index 00000000..4e4ee2bd --- /dev/null +++ b/docs/api-doc/download__operations_8h__incl.md5 @@ -0,0 +1 @@ +442f9389a65a68ecd9098c6be8ea6492 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8h__incl.png b/docs/api-doc/download__operations_8h__incl.png new file mode 100644 index 00000000..44c4ea6e Binary files /dev/null and b/docs/api-doc/download__operations_8h__incl.png differ diff --git a/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.map b/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.map new file mode 100644 index 00000000..dc9c7773 --- /dev/null +++ b/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.md5 b/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.md5 new file mode 100644 index 00000000..5d5eb20d --- /dev/null +++ b/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.md5 @@ -0,0 +1 @@ +ddf02edcd940c8bab528d62a999ef612 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.png b/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.png new file mode 100644 index 00000000..8297549a Binary files /dev/null and b/docs/api-doc/download__operations_8h_a1feb50082437a42729a8ae4bcd7eae14_cgraph.png differ diff --git a/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.map b/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.map new file mode 100644 index 00000000..8e8b2762 --- /dev/null +++ b/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.md5 b/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.md5 new file mode 100644 index 00000000..7ba19632 --- /dev/null +++ b/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.md5 @@ -0,0 +1 @@ +99b600c3d98e844ca2d15af9a83a2e8b \ No newline at end of file diff --git a/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.png b/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.png new file mode 100644 index 00000000..69cd5f4c Binary files /dev/null and b/docs/api-doc/download__operations_8h_a5de3a645e81eab2c7327edb17b40d75d_cgraph.png differ diff --git a/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.map b/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.map new file mode 100644 index 00000000..82d6fbc2 --- /dev/null +++ b/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.md5 b/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.md5 new file mode 100644 index 00000000..02b3878c --- /dev/null +++ b/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.md5 @@ -0,0 +1 @@ +df5663f7182974686c41416fd6c67d09 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.png b/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.png new file mode 100644 index 00000000..6edd04a5 Binary files /dev/null and b/docs/api-doc/download__operations_8h_a89a532e6b99165dfcd4612b48a75c386_cgraph.png differ diff --git a/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.map b/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.map new file mode 100644 index 00000000..cc6d5622 --- /dev/null +++ b/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.map @@ -0,0 +1,5 @@ + + + + + diff --git a/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.md5 b/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.md5 new file mode 100644 index 00000000..2a1af7ea --- /dev/null +++ b/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.md5 @@ -0,0 +1 @@ +e413cd9bfaf5536a0be70a204a003ac8 \ No newline at end of file diff --git a/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.png b/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.png new file mode 100644 index 00000000..1a722e94 Binary files /dev/null and b/docs/api-doc/download__operations_8h_aa96e740f72e5af01401007e3db45d20d_cgraph.png differ diff --git a/docs/api-doc/download__operations_8h_source.html b/docs/api-doc/download__operations_8h_source.html new file mode 100644 index 00000000..2d7f628a --- /dev/null +++ b/docs/api-doc/download__operations_8h_source.html @@ -0,0 +1,150 @@ + + + + + + + +Uplink-Nodejs: download_operations.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
download_operations.h
+
+
+Go to the documentation of this file.
1 #include "definitions.h"
+
2 #include "../libUplink.h"
+
3 
+
4 napi_value download_infoc(napi_env env, napi_callback_info info);
+
5 //
+
6 napi_value close_downloadc(napi_env env, napi_callback_info info);
+
7 //
+
8 napi_value download_readc(napi_env env, napi_callback_info info);
+
9 //
+
10 napi_value download_objectc(napi_env env, napi_callback_info info);
+
+
+
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
+
napi_deferred deferred
Definition: definitions.h:65
+
void downloadObjectPromiseExecute(napi_env env, void *data)
downloadObjectPromiseExecute used to implement the uplink-c library function downloadClosePromiseExec...
Definition: promises_execute.cc:75
+
Definition: definitions.h:51
+
napi_async_work work
Definition: definitions.h:66
+
napi_async_work work
Definition: definitions.h:54
+
UplinkDownload download_result
Definition: definitions.h:36
+
void downloadReadOperationComplete(napi_env env, napi_status status, void *data)
downloadReadOperationComplete creates the handle for download_read
Definition: promises_complete.cc:154
+
size_t bufferlength
Definition: definitions.h:57
+ +
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
+
void downloadInfoPromiseExecute(napi_env env, void *data)
downloadInfoPromiseExecute used to implement the uplink-c library function downloadInfoPromiseExecute...
Definition: promises_execute.cc:41
+
char * objectkey
Definition: definitions.h:69
+
int downloadoptionSet
Definition: definitions.h:73
+
UplinkDownload download_result
Definition: definitions.h:46
+
void downloadReadPromiseExecute(napi_env env, void *data)
downloadReadPromiseExecute used to implement the uplink-c library function downloadReadPromiseExecute...
Definition: promises_execute.cc:62
+
void downloadCloseOperationComplete(napi_env env, napi_status status, void *data)
downloadCloseOperationComplete creates the handle for close_download .
Definition: promises_complete.cc:123
+
void * bufferPtr
Definition: definitions.h:56
+
Definition: definitions.h:31
+
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
+
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
+
Definition: definitions.h:41
+
napi_deferred deferred
Definition: definitions.h:33
+
napi_deferred deferred
Definition: definitions.h:43
+ +
UplinkProject project
Definition: definitions.h:70
+
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
+
UplinkDownloadOptions downloadOption
Definition: definitions.h:72
+
napi_deferred deferred
Definition: definitions.h:53
+
napi_async_work work
Definition: definitions.h:44
+
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
+
void downloadInfoOperationComplete(napi_env env, napi_status status, void *data)
downloadInfoOperationComplete creates the handle for download_info
Definition: promises_complete.cc:91
+
Definition: definitions.h:63
+
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
+
void downloadClosePromiseExecute(napi_env env, void *data)
downloadClosePromiseExecute used to implement the uplink-c library function downloadClosePromiseExecu...
Definition: promises_execute.cc:51
+
UplinkDownload download_result
Definition: definitions.h:58
+
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
+
napi_async_work work
Definition: definitions.h:34
+
char * bucketname
Definition: definitions.h:68
+
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
+ + + + diff --git a/docs/doxygen.css b/docs/api-doc/doxygen.css similarity index 99% rename from docs/doxygen.css rename to docs/api-doc/doxygen.css index 5e35db3f..f640966e 100644 --- a/docs/doxygen.css +++ b/docs/api-doc/doxygen.css @@ -1,4 +1,4 @@ -/* The standard CSS for doxygen 1.8.18 */ +/* The standard CSS for doxygen 1.8.20 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; @@ -66,7 +66,7 @@ p.startli, p.startdd { margin-top: 2px; } -th p.starttd, p.intertd, p.endtd { +th p.starttd, th p.intertd, th p.endtd { font-size: 100%; font-weight: 700; } @@ -1358,10 +1358,12 @@ dl.citelist dt { font-weight:bold; margin-right:10px; padding:5px; + text-align:right; + width:52px; } dl.citelist dd { - margin:2px 0; + margin:2px 0 2px 72px; padding:5px 0; } diff --git a/docs/api-doc/doxygen.svg b/docs/api-doc/doxygen.svg new file mode 100644 index 00000000..d42dad52 --- /dev/null +++ b/docs/api-doc/doxygen.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/docs/dynsections.js b/docs/api-doc/dynsections.js similarity index 100% rename from docs/dynsections.js rename to docs/api-doc/dynsections.js diff --git a/docs/api-doc/files.html b/docs/api-doc/files.html new file mode 100644 index 00000000..60b6da23 --- /dev/null +++ b/docs/api-doc/files.html @@ -0,0 +1,120 @@ + + + + + + + +Uplink-Nodejs: File List + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ + + + + + diff --git a/docs/api-doc/files_dup.js b/docs/api-doc/files_dup.js new file mode 100644 index 00000000..cc842b1a --- /dev/null +++ b/docs/api-doc/files_dup.js @@ -0,0 +1,20 @@ +var files_dup = +[ + [ "access_operations.cc", "access__operations_8cc.html", "access__operations_8cc" ], + [ "access_operations.h", "access__operations_8h.html", "access__operations_8h" ], + [ "bucket_operations.cc", "bucket__operations_8cc.html", "bucket__operations_8cc" ], + [ "bucket_operations.h", "bucket__operations_8h.html", "bucket__operations_8h" ], + [ "definitions.h", "definitions_8h.html", "definitions_8h" ], + [ "download_operations.cc", "download__operations_8cc.html", "download__operations_8cc" ], + [ "download_operations.h", "download__operations_8h.html", "download__operations_8h" ], + [ "object_operations.cc", "object__operations_8cc.html", "object__operations_8cc" ], + [ "object_operations.h", "object__operations_8h.html", "object__operations_8h" ], + [ "project_operations.cc", "project__operations_8cc.html", "project__operations_8cc" ], + [ "project_operations.h", "project__operations_8h.html", "project__operations_8h" ], + [ "promises_complete.cc", "promises__complete_8cc.html", "promises__complete_8cc" ], + [ "promises_complete.h", "promises__complete_8h.html", "promises__complete_8h" ], + [ "promises_execute.cc", "promises__execute_8cc.html", "promises__execute_8cc" ], + [ "promises_execute.h", "promises__execute_8h.html", "promises__execute_8h" ], + [ "upload_operations.cc", "upload__operations_8cc.html", "upload__operations_8cc" ], + [ "upload_operations.h", "upload__operations_8h.html", "upload__operations_8h" ] +]; \ No newline at end of file diff --git a/docs/folderclosed.png b/docs/api-doc/folderclosed.png similarity index 100% rename from docs/folderclosed.png rename to docs/api-doc/folderclosed.png diff --git a/docs/folderopen.png b/docs/api-doc/folderopen.png similarity index 100% rename from docs/folderopen.png rename to docs/api-doc/folderopen.png diff --git a/docs/api-doc/functions.html b/docs/api-doc/functions.html new file mode 100644 index 00000000..9109a505 --- /dev/null +++ b/docs/api-doc/functions.html @@ -0,0 +1,425 @@ + + + + + + + +Uplink-Nodejs: Class Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all class members with links to the classes they belong to:
+ +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- l -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+ + +

- w -

+
+
+ + + + diff --git a/docs/api-doc/functions_vars.html b/docs/api-doc/functions_vars.html new file mode 100644 index 00000000..5e74e48c --- /dev/null +++ b/docs/api-doc/functions_vars.html @@ -0,0 +1,425 @@ + + + + + + + +Uplink-Nodejs: Class Members - Variables + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- l -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+ + +

- w -

+
+
+ + + + diff --git a/docs/api-doc/globals.html b/docs/api-doc/globals.html new file mode 100644 index 00000000..cb3b55f2 --- /dev/null +++ b/docs/api-doc/globals.html @@ -0,0 +1,454 @@ + + + + + + + +Uplink-Nodejs: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
Here is a list of all file members with links to the files they belong to:
+ +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- l -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+
+
+ + + + diff --git a/docs/api-doc/globals_defs.html b/docs/api-doc/globals_defs.html new file mode 100644 index 00000000..0813f099 --- /dev/null +++ b/docs/api-doc/globals_defs.html @@ -0,0 +1,100 @@ + + + + + + + +Uplink-Nodejs: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
+ + + + diff --git a/docs/api-doc/globals_func.html b/docs/api-doc/globals_func.html new file mode 100644 index 00000000..fc89c0a4 --- /dev/null +++ b/docs/api-doc/globals_func.html @@ -0,0 +1,451 @@ + + + + + + + +Uplink-Nodejs: File Members + + + + + + + + + + + + + +
+
+ + + + + + +
+
Uplink-Nodejs +  1.0.8 +
+
Nods.js binding fo libUplink
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+  + +

- a -

+ + +

- b -

+ + +

- c -

+ + +

- d -

+ + +

- e -

+ + +

- l -

+ + +

- o -

+ + +

- p -

+ + +

- r -

+ + +

- s -

+ + +

- u -

+
+
+ + + + diff --git a/docs/graph_legend.html b/docs/api-doc/graph_legend.html similarity index 86% rename from docs/graph_legend.html rename to docs/api-doc/graph_legend.html index 4dc2d54d..e0899a2a 100644 --- a/docs/graph_legend.html +++ b/docs/api-doc/graph_legend.html @@ -3,9 +3,9 @@ - + -Node JS Bindings: Graph Legend +Uplink-Nodejs: Graph Legend @@ -16,11 +16,6 @@ - @@ -30,35 +25,32 @@ -
Node JS Bindings +
Uplink-Nodejs +  1.0.8
+
Nods.js binding fo libUplink
-
- - - - - - -
-
- + + + + +