harperdb 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +20 -11
- package/bin/BinObjects.jsc +0 -0
- package/bin/harperdb.jsc +0 -0
- package/bin/install.jsc +0 -0
- package/bin/register.jsc +0 -0
- package/bin/run.jsc +0 -0
- package/bin/stop.jsc +0 -0
- package/bin/upgrade.jsc +0 -0
- package/bin/utility.jsc +0 -0
- package/bin/version.jsc +0 -0
- package/coverage/lcov.info +7142 -6704
- package/data_layer/CreateAttributeObject.jsc +0 -0
- package/data_layer/CreateTableObject.jsc +0 -0
- package/data_layer/DataLayerObjects.jsc +0 -0
- package/data_layer/DeleteBeforeObject.jsc +0 -0
- package/data_layer/DeleteObject.jsc +0 -0
- package/data_layer/DropAttributeObject.jsc +0 -0
- package/data_layer/InsertObject.jsc +0 -0
- package/data_layer/ReadTransactionLogObject.jsc +0 -0
- package/data_layer/SQLSearch.jsc +0 -0
- package/data_layer/SearchByConditionsObject.jsc +0 -0
- package/data_layer/SearchByHashObject.jsc +0 -0
- package/data_layer/SearchObject.jsc +0 -0
- package/data_layer/SqlSearchObject.jsc +0 -0
- package/data_layer/UpdateObject.jsc +0 -0
- package/data_layer/UpsertObject.jsc +0 -0
- package/data_layer/bulkLoad.jsc +0 -0
- package/data_layer/data_objects/BulkLoadObjects.jsc +0 -0
- package/data_layer/data_objects/UpsertObject.jsc +0 -0
- package/data_layer/delete.jsc +0 -0
- package/data_layer/export.jsc +0 -0
- package/data_layer/harperBridge/BridgeMethods.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/checkForNewAttr.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/convertOperationToTransaction.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/evaluateTableGetAttributes.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/insertUpdateReturnObj.jsc +0 -0
- package/data_layer/harperBridge/bridgeUtility/insertUpdateValidate.jsc +0 -0
- package/data_layer/harperBridge/harperBridge.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/LMDBBridge.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/DeleteTransactionsBeforeResults.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateAttribute.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateSchema.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbCreateTable.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteRecordsBefore.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDeleteTransactionLogsBefore.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropAttribute.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropSchema.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbDropTable.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbGetDataByHash.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbGetDataByValue.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbReadTransactionLog.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByConditions.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByHash.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbSearchByValue.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbUpdateRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbMethods/lmdbUpsertRecords.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBCreateAttributeObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBDeleteTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBInsertTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBUpdateTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/LMDBUpsertTransactionObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/TableSizeObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/ThreadSearchObject.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/initializeHashSearch.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/initializePaths.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbCheckForNewAttributes.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbCreateTransactionsEnvironment.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbDropAllAttributes.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbGetTableSize.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbProcessRows.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbSearch.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbThreadSearch.jsc +0 -0
- package/data_layer/harperBridge/lmdbBridge/lmdbUtility/lmdbWriteTransaction.jsc +0 -0
- package/data_layer/hdbInfoController.jsc +0 -0
- package/data_layer/insert.jsc +0 -0
- package/data_layer/readTransactionLog.jsc +0 -0
- package/data_layer/schema.jsc +0 -0
- package/data_layer/schemaDescribe.jsc +0 -0
- package/data_layer/search.jsc +0 -0
- package/data_layer/update.jsc +0 -0
- package/events/ClusterStatusEmitter.jsc +0 -0
- package/events/SioServerStoppedEvent.jsc +0 -0
- package/events/SocketClusterStatusEmitter.jsc +0 -0
- package/license/LICENSE +91 -1
- package/node_modules/@msgpackr-extract/msgpackr-extract-linux-x64/README.md +1 -0
- package/node_modules/{node-addon-api/src/nothing.c → @msgpackr-extract/msgpackr-extract-linux-x64/index.js} +0 -0
- package/node_modules/@msgpackr-extract/msgpackr-extract-linux-x64/node.abi93.glibc.node +0 -0
- package/node_modules/@msgpackr-extract/msgpackr-extract-linux-x64/node.abi93.musl.node +0 -0
- package/node_modules/@msgpackr-extract/msgpackr-extract-linux-x64/node.napi.glibc.node +0 -0
- package/node_modules/@msgpackr-extract/msgpackr-extract-linux-x64/node.napi.musl.node +0 -0
- package/node_modules/@msgpackr-extract/msgpackr-extract-linux-x64/package.json +53 -0
- package/node_modules/{msgpackr-extract → lmdb-store}/.github/workflows/prebuild.yml +9 -10
- package/node_modules/lmdb-store/.idea/lmdb-store.iml +12 -0
- package/node_modules/lmdb-store/.idea/misc.xml +6 -0
- package/node_modules/lmdb-store/.idea/modules.xml +8 -0
- package/node_modules/lmdb-store/.idea/workspace.xml +4 -0
- package/node_modules/lmdb-store/README.md +393 -388
- package/node_modules/lmdb-store/benchmark/index.js +162 -162
- package/node_modules/lmdb-store/binding.gyp +79 -88
- package/node_modules/lmdb-store/caching.js +113 -113
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/COPYRIGHT +20 -20
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/Doxyfile +1631 -1631
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/LICENSE +47 -47
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/chacha8.c +183 -183
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/chacha8.h +14 -14
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/crypto.c +121 -121
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/intro.doc +192 -192
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb.c +12125 -12125
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_copy.1 +74 -74
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_copy.c +106 -106
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_drop.1 +53 -53
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_drop.c +154 -154
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_dump.1 +94 -94
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_dump.c +333 -333
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_load.1 +97 -97
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_load.c +530 -530
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_stat.1 +83 -83
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb_stat.c +276 -276
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/midl.c +452 -452
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/midl.h +208 -208
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/module.c +101 -101
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/module.h +16 -16
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest.c +178 -178
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest2.c +124 -124
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest3.c +133 -133
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest4.c +168 -168
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest5.c +135 -135
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest6.c +141 -141
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest_enc.c +190 -190
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest_enc2.c +189 -189
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/mtest_remap.c +177 -177
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/sample-bdb.txt +73 -73
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/sample-mdb.txt +62 -62
- package/node_modules/lmdb-store/dependencies/lmdb/libraries/liblmdb/tooltag +27 -27
- package/node_modules/lmdb-store/dependencies/lz4/LICENSE +11 -11
- package/node_modules/lmdb-store/dependencies/lz4/lib/README.md +137 -137
- package/node_modules/lmdb-store/dependencies/lz4/lib/dll/example/README.md +69 -69
- package/node_modules/lmdb-store/dependencies/lz4/lib/lz4frame.c +1899 -1899
- package/node_modules/lmdb-store/dependencies/lz4/lib/xxhash.c +1030 -1030
- package/node_modules/lmdb-store/dependencies/lz4/lib/xxhash.h +328 -328
- package/node_modules/lmdb-store/dist/index.cjs +2591 -0
- package/node_modules/lmdb-store/dist/index.cjs.map +1 -0
- package/node_modules/lmdb-store/index.d.ts +323 -323
- package/node_modules/lmdb-store/index.js +1274 -1274
- package/node_modules/lmdb-store/index.mjs +3 -3
- package/node_modules/lmdb-store/package.json +16 -11
- package/node_modules/lmdb-store/prebuilds/darwin-arm64/electron.abi98.node +0 -0
- package/node_modules/lmdb-store/prebuilds/darwin-arm64/node.abi83.node +0 -0
- package/node_modules/lmdb-store/prebuilds/darwin-arm64/node.abi93.node +0 -0
- package/node_modules/lmdb-store/prebuilds/darwin-x64/electron.abi98.node +0 -0
- package/node_modules/lmdb-store/prebuilds/darwin-x64/node.abi83.node +0 -0
- package/node_modules/lmdb-store/prebuilds/darwin-x64/node.abi93.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-arm64/electron.abi98.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-arm64/node.abi83.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-arm64/node.abi93.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-x64/electron.abi98.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-x64/node.abi83.musl.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-x64/node.abi83.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-x64/node.abi93.musl.node +0 -0
- package/node_modules/lmdb-store/prebuilds/linux-x64/node.abi93.node +0 -0
- package/node_modules/lmdb-store/prebuilds/win32-x64/electron.abi98.node +0 -0
- package/node_modules/lmdb-store/prebuilds/win32-x64/node.abi83.node +0 -0
- package/node_modules/lmdb-store/prebuilds/win32-x64/node.abi93.node +0 -0
- package/node_modules/lmdb-store/src/compression.cpp +181 -181
- package/node_modules/lmdb-store/src/cursor.cpp +407 -407
- package/node_modules/lmdb-store/src/dbi.cpp +354 -354
- package/node_modules/lmdb-store/src/env.cpp +1134 -1134
- package/node_modules/lmdb-store/src/misc.cpp +528 -528
- package/node_modules/lmdb-store/src/node-lmdb.cpp +44 -44
- package/node_modules/lmdb-store/src/node-lmdb.h +965 -965
- package/node_modules/lmdb-store/src/ordered-binary.cpp +337 -337
- package/node_modules/lmdb-store/src/txn.cpp +513 -513
- package/node_modules/lmdb-store/src/v8-fast-api-calls.h +419 -419
- package/node_modules/lmdb-store/src/windows.c +30 -30
- package/node_modules/lmdb-store/test/index.test.js +584 -584
- package/node_modules/lmdb-store/test/node-lmdb.test.js +1525 -1525
- package/node_modules/lmdb-store/test/threads.js +100 -100
- package/node_modules/lmdb-store/util/ArrayLikeIterable.js +136 -136
- package/node_modules/lmdb-store/util/WeakValueMap.js +40 -40
- package/node_modules/lmdb-store/util/upgrade-lmdb.js +46 -46
- package/node_modules/lmdb-store/util/when.js +8 -8
- package/node_modules/microtime/.github/workflows/release.yml +76 -0
- package/node_modules/microtime/.github/workflows/test.yml +46 -0
- package/node_modules/microtime/README.md +0 -2
- package/node_modules/microtime/binding.gyp +28 -10
- package/node_modules/microtime/package.json +25 -20
- package/node_modules/microtime/prebuilds/darwin-x64+arm64/electron.napi.node +0 -0
- package/node_modules/microtime/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/node_modules/microtime/prebuilds/linux-arm/node.napi.armv7.node +0 -0
- package/node_modules/microtime/prebuilds/linux-arm64/node.napi.armv8.node +0 -0
- package/node_modules/microtime/prebuilds/linux-x64/electron.napi.node +0 -0
- package/node_modules/microtime/prebuilds/linux-x64/node.napi.node +0 -0
- package/node_modules/microtime/prebuilds/win32-ia32/electron.napi.node +0 -0
- package/node_modules/microtime/prebuilds/win32-ia32/node.napi.node +0 -0
- package/node_modules/microtime/prebuilds/win32-x64/electron.napi.node +0 -0
- package/node_modules/microtime/prebuilds/win32-x64/node.napi.node +0 -0
- package/node_modules/msgpackr/dist/index.js +1929 -1917
- package/node_modules/msgpackr/dist/index.min.js +67 -68
- package/node_modules/msgpackr/dist/node.cjs +1994 -1980
- package/node_modules/msgpackr/dist/test.js +683 -1235
- package/node_modules/msgpackr/index.d.ts +23 -12
- package/node_modules/msgpackr/node-index.js +23 -21
- package/node_modules/msgpackr/pack.js +935 -931
- package/node_modules/msgpackr/package.json +24 -12
- package/node_modules/msgpackr/unpack.d.ts +52 -50
- package/node_modules/msgpackr/unpack.js +1061 -1053
- package/node_modules/msgpackr-extract/bin/download-prebuilds.js +11 -0
- package/node_modules/msgpackr-extract/binding.gyp +22 -5
- package/node_modules/msgpackr-extract/index.js +1 -1
- package/node_modules/msgpackr-extract/package.json +46 -21
- package/node_modules/msgpackr-extract/src/.vs/ProjectSettings.json +3 -0
- package/node_modules/msgpackr-extract/src/.vs/VSWorkspaceState.json +7 -0
- package/node_modules/msgpackr-extract/src/.vs/slnx.sqlite +0 -0
- package/node_modules/msgpackr-extract/src/.vs/src/v16/.suo +0 -0
- package/node_modules/msgpackr-extract/src/.vs/src/v16/Browse.VC.db +0 -0
- package/node_modules/msgpackr-extract/{prebuilds/darwin-x64/node.abi72.node → src/.vs/src/v16/Browse.VC.db-shm} +0 -0
- package/node_modules/msgpackr-extract/src/.vs/src/v16/Browse.VC.db-wal +0 -0
- package/node_modules/msgpackr-extract/src/extract.cpp +272 -269
- package/node_modules/nan/package.json +0 -1
- package/node_modules/node-addon-api/README.md +146 -53
- package/node_modules/node-addon-api/common.gypi +21 -0
- package/node_modules/node-addon-api/except.gypi +25 -0
- package/node_modules/node-addon-api/index.js +7 -41
- package/node_modules/node-addon-api/napi-inl.deprecated.h +8 -8
- package/node_modules/node-addon-api/napi-inl.h +2795 -633
- package/node_modules/node-addon-api/napi.h +1547 -597
- package/node_modules/node-addon-api/node_api.gyp +9 -0
- package/node_modules/node-addon-api/noexcept.gypi +26 -0
- package/node_modules/node-addon-api/nothing.c +0 -0
- package/node_modules/node-addon-api/package-support.json +21 -0
- package/node_modules/node-addon-api/package.json +203 -13
- package/node_modules/node-addon-api/tools/README.md +12 -6
- package/node_modules/node-addon-api/tools/clang-format.js +71 -0
- package/node_modules/node-addon-api/tools/conversion.js +4 -8
- package/node_modules/node-addon-api/tools/eslint-format.js +71 -0
- package/node_modules/node-gyp-build/README.md +17 -14
- package/node_modules/node-gyp-build/bin.js +28 -15
- package/node_modules/node-gyp-build/index.js +145 -34
- package/node_modules/node-gyp-build/package.json +18 -15
- package/node_modules/{lmdb-store/node_modules/node-gyp-build → node-gyp-build-optional-packages}/LICENSE +0 -0
- package/node_modules/{lmdb-store/node_modules/node-gyp-build → node-gyp-build-optional-packages}/README.md +0 -0
- package/node_modules/{lmdb-store/node_modules/node-gyp-build → node-gyp-build-optional-packages}/bin.js +1 -1
- package/node_modules/{lmdb-store/node_modules/node-gyp-build → node-gyp-build-optional-packages}/build-test.js +0 -0
- package/node_modules/{lmdb-store/node_modules/node-gyp-build → node-gyp-build-optional-packages}/index.js +17 -11
- package/node_modules/{lmdb-store/node_modules/node-gyp-build → node-gyp-build-optional-packages}/optional.js +0 -0
- package/node_modules/{msgpackr-extract/node_modules/node-gyp-build → node-gyp-build-optional-packages}/package.json +17 -17
- package/package.json +12 -11
- package/security/JWTObjects.jsc +0 -0
- package/security/auth.jsc +0 -0
- package/security/cryptoHash.jsc +0 -0
- package/security/data_objects/PermissionAttributeResponseObject.jsc +0 -0
- package/security/data_objects/PermissionResponseObject.jsc +0 -0
- package/security/data_objects/PermissionTableResponseObject.jsc +0 -0
- package/security/permissionsTranslator.jsc +0 -0
- package/security/role.jsc +0 -0
- package/security/tokenAuthentication.jsc +0 -0
- package/security/user.jsc +0 -0
- package/server/ClusteringOriginObject.jsc +0 -0
- package/server/JobObject.jsc +0 -0
- package/server/clustering/ClusterStatusObject.jsc +0 -0
- package/server/clustering/NodeObject.jsc +0 -0
- package/server/clustering/clusterUtilities.jsc +0 -0
- package/server/configuration.jsc +0 -0
- package/server/customFunctions/customFunctionsServer.jsc +0 -0
- package/server/customFunctions/helpers/getCORSOptions.jsc +0 -0
- package/server/customFunctions/helpers/getHeaderTimeoutConfig.jsc +0 -0
- package/server/customFunctions/helpers/getServerOptions.jsc +0 -0
- package/server/customFunctions/operations.jsc +0 -0
- package/server/customFunctions/operationsValidation.jsc +0 -0
- package/server/harperdb/hdbServer.jsc +0 -0
- package/server/ipc/IPCClient.jsc +0 -0
- package/server/ipc/hdbIpcServer.jsc +0 -0
- package/server/ipc/serverHandlers.jsc +0 -0
- package/server/ipc/utility/IPCEventObject.jsc +0 -0
- package/server/ipc/utility/ipcUtils.jsc +0 -0
- package/server/jobRunner.jsc +0 -0
- package/server/jobThread.jsc +0 -0
- package/server/jobs.jsc +0 -0
- package/server/serverHelpers/OperationFunctionObject.jsc +0 -0
- package/server/serverHelpers/requestTimePlugin.jsc +0 -0
- package/server/serverHelpers/serverHandlers.jsc +0 -0
- package/server/serverHelpers/serverUtilities.jsc +0 -0
- package/server/socketcluster/Server.jsc +0 -0
- package/server/socketcluster/broker.jsc +0 -0
- package/server/socketcluster/connector/HDBSocketConnector.jsc +0 -0
- package/server/socketcluster/connector/InterNodeSocketConnector.jsc +0 -0
- package/server/socketcluster/connector/SocketConnector.jsc +0 -0
- package/server/socketcluster/connector/spawnSCConnection.jsc +0 -0
- package/server/socketcluster/decisionMatrix/CoreDecisionMatrix.jsc +0 -0
- package/server/socketcluster/decisionMatrix/DecisionMatrixIF.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/AssignToHdbChildWorkerRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/CallRoomMsgHandlerRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/CleanDataObjectRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/CommandCollection.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/DummyRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/RulesIF.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/StripHdbHeaderRule.jsc +0 -0
- package/server/socketcluster/decisionMatrix/rules/TestRule.jsc +0 -0
- package/server/socketcluster/handlers/NodeConnectionsHandler.jsc +0 -0
- package/server/socketcluster/handlers/SCServer.jsc +0 -0
- package/server/socketcluster/handlers/ServerSocket.jsc +0 -0
- package/server/socketcluster/interNodeConnectionLauncher.jsc +0 -0
- package/server/socketcluster/messageQueue/MessageQueueIF.jsc +0 -0
- package/server/socketcluster/middleware/AuthMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/ConnectionNameCheckMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/GenericMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/MessagePrepMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/MiddlewareFactory.jsc +0 -0
- package/server/socketcluster/middleware/MiddlewareIF.jsc +0 -0
- package/server/socketcluster/middleware/OriginatorCheckMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/RequestDataValidMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/StampOriginatorMiddleware.jsc +0 -0
- package/server/socketcluster/middleware/StampRequestMiddleware.jsc +0 -0
- package/server/socketcluster/observer/EventableIF.jsc +0 -0
- package/server/socketcluster/room/AddUserRoom.jsc +0 -0
- package/server/socketcluster/room/AlterUserRoom.jsc +0 -0
- package/server/socketcluster/room/CoreRoom.jsc +0 -0
- package/server/socketcluster/room/CreateAttributeRoom.jsc +0 -0
- package/server/socketcluster/room/CreateSchemaRoom.jsc +0 -0
- package/server/socketcluster/room/CreateTableRoom.jsc +0 -0
- package/server/socketcluster/room/DropUserRoom.jsc +0 -0
- package/server/socketcluster/room/HDBNodeRoom.jsc +0 -0
- package/server/socketcluster/room/RoomIF.jsc +0 -0
- package/server/socketcluster/room/RoomMessageObjects.jsc +0 -0
- package/server/socketcluster/room/UsersRoom.jsc +0 -0
- package/server/socketcluster/room/WatchHDBWorkersRoom.jsc +0 -0
- package/server/socketcluster/room/WorkerRoom.jsc +0 -0
- package/server/socketcluster/room/roomFactory.jsc +0 -0
- package/server/socketcluster/socketClusterObjects.jsc +0 -0
- package/server/socketcluster/types.jsc +0 -0
- package/server/socketcluster/util/clusterData.jsc +0 -0
- package/server/socketcluster/util/socketClusterUtils.jsc +0 -0
- package/server/socketcluster/worker/ClusterWorker.jsc +0 -0
- package/server/socketcluster/worker/WorkerIF.jsc +0 -0
- package/server/socketcluster/worker/WorkerObjects.jsc +0 -0
- package/server/transactToClusteringUtilities.jsc +0 -0
- package/sqlTranslator/SelectValidator.jsc +0 -0
- package/sqlTranslator/alasqlFunctionImporter.jsc +0 -0
- package/sqlTranslator/conditionPatterns.jsc +0 -0
- package/sqlTranslator/deleteTranslator.jsc +0 -0
- package/sqlTranslator/index.jsc +0 -0
- package/sqlTranslator/sql_statement_bucket.jsc +0 -0
- package/upgrade/EnvironmentVariable.jsc +0 -0
- package/upgrade/UpgradeDirective.jsc +0 -0
- package/upgrade/UpgradeObjects.jsc +0 -0
- package/upgrade/directives/3-0-0.jsc +0 -0
- package/upgrade/directives/3-1-0.jsc +0 -0
- package/upgrade/directives/directivesController.jsc +0 -0
- package/upgrade/directives/upgrade_scripts/3_0_0_reindex_script.jsc +0 -0
- package/upgrade/directivesManager.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/DBIDefinition.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/OpenDBIObject.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/OpenEnvironmentObject.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/commonErrors.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/commonUtility.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/environmentUtility.jsc +0 -0
- package/upgrade/lmdb/nodeLMDB/terms.jsc +0 -0
- package/upgrade/upgradePrompt.jsc +0 -0
- package/upgrade/upgradeUtilities.jsc +0 -0
- package/utility/AWS/AWSConnector.jsc +0 -0
- package/utility/OperationFunctionCaller.jsc +0 -0
- package/utility/common_utils.jsc +0 -0
- package/utility/environment/SystemInformationObject.jsc +0 -0
- package/utility/environment/SystemInformationOperation.jsc +0 -0
- package/utility/environment/environmentManager.jsc +0 -0
- package/utility/environment/systemInformation.jsc +0 -0
- package/utility/errors/commonErrors.jsc +0 -0
- package/utility/errors/hdbError.jsc +0 -0
- package/utility/functions/date/dateFunctions.jsc +0 -0
- package/utility/functions/geo.jsc +0 -0
- package/utility/functions/math/avg.jsc +0 -0
- package/utility/functions/math/count.jsc +0 -0
- package/utility/functions/sql/alaSQLExtension.jsc +0 -0
- package/utility/functions/string/compare.jsc +0 -0
- package/utility/globalSchema.jsc +0 -0
- package/utility/hdbTerms.jsc +0 -0
- package/utility/install/checkJWTTokensExist.jsc +0 -0
- package/utility/install/installer.jsc +0 -0
- package/utility/install_user_permission.jsc +0 -0
- package/utility/lmdb/DBIDefinition.jsc +0 -0
- package/utility/lmdb/DeleteRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/InsertRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/OpenDBIObject.jsc +0 -0
- package/utility/lmdb/OpenEnvironmentObject.jsc +0 -0
- package/utility/lmdb/UpdateRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/UpsertRecordsResponseObject.jsc +0 -0
- package/utility/lmdb/cleanLMDBMap.jsc +0 -0
- package/utility/lmdb/commonUtility.jsc +0 -0
- package/utility/lmdb/deleteUtility.jsc +0 -0
- package/utility/lmdb/environmentUtility.jsc +0 -0
- package/utility/lmdb/searchCursorFunctions.jsc +0 -0
- package/utility/lmdb/searchUtility.jsc +0 -0
- package/utility/lmdb/terms.jsc +0 -0
- package/utility/lmdb/writeUtility.jsc +0 -0
- package/utility/logging/harper_logger.jsc +0 -0
- package/utility/mount_hdb.jsc +0 -0
- package/utility/npmUtilities.jsc +0 -0
- package/utility/operation_authorization.jsc +0 -0
- package/utility/password.jsc +0 -0
- package/utility/pm2/servicesConfig.jsc +0 -0
- package/utility/pm2/utilityFunctions.jsc +0 -0
- package/utility/psList.jsc +0 -0
- package/utility/registration/hdb_license.jsc +0 -0
- package/utility/registration/licenseObjects.jsc +0 -0
- package/utility/registration/registrationHandler.jsc +0 -0
- package/utility/scripts/restartHdb.jsc +0 -0
- package/utility/signalling.jsc +0 -0
- package/utility/system_info.jsc +0 -0
- package/validation/bulkDeleteValidator.jsc +0 -0
- package/validation/check_permissions.jsc +0 -0
- package/validation/clustering/configureValidator.jsc +0 -0
- package/validation/common_validators.jsc +0 -0
- package/validation/conditionalDeleteValidator.jsc +0 -0
- package/validation/deleteValidator.jsc +0 -0
- package/validation/fileLoadValidator.jsc +0 -0
- package/validation/insertValidator.jsc +0 -0
- package/validation/nodeSubscriptionValidator.jsc +0 -0
- package/validation/nodeValidator.jsc +0 -0
- package/validation/readLogValidator.jsc +0 -0
- package/validation/registration/license_key_object.jsc +0 -0
- package/validation/role_validation.jsc +0 -0
- package/validation/schemaMetadataValidator.jsc +0 -0
- package/validation/schema_validator.jsc +0 -0
- package/validation/searchValidator.jsc +0 -0
- package/validation/user_validation.jsc +0 -0
- package/validation/validationWrapper.jsc +0 -0
- package/node_modules/lmdb-store/build/Makefile +0 -324
- package/node_modules/lmdb-store/build/Release/.deps/Release/lmdb-store.node.d +0 -1
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/chacha8.o.d +0 -6
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb.o.d +0 -8
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/midl.o.d +0 -8
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/dependencies/lz4/lib/lz4.o.d +0 -5
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/compression.o.d +0 -72
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/cursor.o.d +0 -73
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/dbi.o.d +0 -73
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/env.o.d +0 -73
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/misc.o.d +0 -73
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/node-lmdb.o.d +0 -73
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/ordered-binary.o.d +0 -73
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/txn.o.d +0 -73
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store/src/windows.o.d +0 -3
- package/node_modules/lmdb-store/build/Release/.deps/Release/obj.target/lmdb-store.node.d +0 -1
- package/node_modules/lmdb-store/build/Release/lmdb-store.node +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/chacha8.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/mdb.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/dependencies/lmdb/libraries/liblmdb/midl.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/dependencies/lz4/lib/lz4.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/compression.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/cursor.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/dbi.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/env.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/misc.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/node-lmdb.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/ordered-binary.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/txn.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store/src/windows.o +0 -0
- package/node_modules/lmdb-store/build/Release/obj.target/lmdb-store.node +0 -0
- package/node_modules/lmdb-store/build/binding.Makefile +0 -6
- package/node_modules/lmdb-store/build/config.gypi +0 -426
- package/node_modules/lmdb-store/build/lmdb-store.target.mk +0 -206
- package/node_modules/lmdb-store/node_modules/node-gyp-build/package.json +0 -60
- package/node_modules/lmdb-store/prebuilds/darwin-x64/electron.abi87.node +0 -0
- package/node_modules/lmdb-store/prebuilds/darwin-x64/node.abi72.node +0 -0
- package/node_modules/lmdb-store/prebuilds/darwin-x64/node.abi88.node +0 -0
- package/node_modules/lmdb-store/prebuilds/win32-x64/electron.abi87.node +0 -0
- package/node_modules/lmdb-store/prebuilds/win32-x64/node.abi72.node +0 -0
- package/node_modules/lmdb-store/prebuilds/win32-x64/node.abi88.node +0 -0
- package/node_modules/microtime/prebuilds/darwin-x64/electron-napi.node +0 -0
- package/node_modules/microtime/prebuilds/darwin-x64/node-napi.node +0 -0
- package/node_modules/microtime/prebuilds/linux-arm/electron-napi.node +0 -0
- package/node_modules/microtime/prebuilds/linux-arm/node-napi.node +0 -0
- package/node_modules/microtime/prebuilds/linux-x64/electron-napi.node +0 -0
- package/node_modules/microtime/prebuilds/linux-x64/node-napi.node +0 -0
- package/node_modules/microtime/prebuilds/win32-x64/electron-napi.node +0 -0
- package/node_modules/microtime/prebuilds/win32-x64/node-napi.node +0 -0
- package/node_modules/msgpackr-extract/.circleci/config.yml +0 -19
- package/node_modules/msgpackr-extract/.travis.yml +0 -30
- package/node_modules/msgpackr-extract/node_modules/node-gyp-build/LICENSE +0 -21
- package/node_modules/msgpackr-extract/node_modules/node-gyp-build/README.md +0 -58
- package/node_modules/msgpackr-extract/node_modules/node-gyp-build/bin.js +0 -77
- package/node_modules/msgpackr-extract/node_modules/node-gyp-build/build-test.js +0 -19
- package/node_modules/msgpackr-extract/node_modules/node-gyp-build/index.js +0 -202
- package/node_modules/msgpackr-extract/node_modules/node-gyp-build/optional.js +0 -7
- package/node_modules/msgpackr-extract/prebuilds/darwin-arm64/electron.abi98.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-arm64/node.abi102.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-arm64/node.abi83.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-arm64/node.abi93.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-x64/electron.abi98.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-x64/node.abi102.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-x64/node.abi83.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-x64/node.abi88.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/darwin-x64/node.abi93.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-arm64/electron.abi98.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-arm64/node.abi102.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-arm64/node.abi83.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-arm64/node.abi93.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/electron.abi98.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi102.musl.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi102.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi72.musl.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi72.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi83.musl.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi83.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi88.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi93.musl.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/linux-x64/node.abi93.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/win32-x64/electron.abi98.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/win32-x64/node.abi102.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/win32-x64/node.abi72.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/win32-x64/node.abi83.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/win32-x64/node.abi88.node +0 -0
- package/node_modules/msgpackr-extract/prebuilds/win32-x64/node.abi93.node +0 -0
- package/node_modules/node-addon-api/.editorconfig +0 -8
- package/node_modules/node-addon-api/.travis.yml +0 -65
- package/node_modules/node-addon-api/CHANGELOG.md +0 -325
- package/node_modules/node-addon-api/CODE_OF_CONDUCT.md +0 -4
- package/node_modules/node-addon-api/CONTRIBUTING.md +0 -66
- package/node_modules/node-addon-api/appveyor.yml +0 -48
- package/node_modules/node-addon-api/doc/Doxyfile +0 -2450
- package/node_modules/node-addon-api/doc/array_buffer.md +0 -129
- package/node_modules/node-addon-api/doc/async_context.md +0 -76
- package/node_modules/node-addon-api/doc/async_operations.md +0 -31
- package/node_modules/node-addon-api/doc/async_worker.md +0 -397
- package/node_modules/node-addon-api/doc/basic_types.md +0 -415
- package/node_modules/node-addon-api/doc/bigint.md +0 -92
- package/node_modules/node-addon-api/doc/boolean.md +0 -64
- package/node_modules/node-addon-api/doc/buffer.md +0 -140
- package/node_modules/node-addon-api/doc/callback_scope.md +0 -54
- package/node_modules/node-addon-api/doc/callbackinfo.md +0 -97
- package/node_modules/node-addon-api/doc/checker-tool.md +0 -32
- package/node_modules/node-addon-api/doc/class_property_descriptor.md +0 -118
- package/node_modules/node-addon-api/doc/cmake-js.md +0 -19
- package/node_modules/node-addon-api/doc/conversion-tool.md +0 -28
- package/node_modules/node-addon-api/doc/creating_a_release.md +0 -62
- package/node_modules/node-addon-api/doc/dataview.md +0 -244
- package/node_modules/node-addon-api/doc/env.md +0 -63
- package/node_modules/node-addon-api/doc/error.md +0 -115
- package/node_modules/node-addon-api/doc/error_handling.md +0 -186
- package/node_modules/node-addon-api/doc/escapable_handle_scope.md +0 -82
- package/node_modules/node-addon-api/doc/external.md +0 -59
- package/node_modules/node-addon-api/doc/function.md +0 -294
- package/node_modules/node-addon-api/doc/function_reference.md +0 -238
- package/node_modules/node-addon-api/doc/generator.md +0 -13
- package/node_modules/node-addon-api/doc/handle_scope.md +0 -65
- package/node_modules/node-addon-api/doc/memory_management.md +0 -27
- package/node_modules/node-addon-api/doc/node-gyp.md +0 -82
- package/node_modules/node-addon-api/doc/number.md +0 -163
- package/node_modules/node-addon-api/doc/object.md +0 -202
- package/node_modules/node-addon-api/doc/object_lifetime_management.md +0 -83
- package/node_modules/node-addon-api/doc/object_reference.md +0 -117
- package/node_modules/node-addon-api/doc/object_wrap.md +0 -546
- package/node_modules/node-addon-api/doc/prebuild_tools.md +0 -16
- package/node_modules/node-addon-api/doc/promises.md +0 -74
- package/node_modules/node-addon-api/doc/property_descriptor.md +0 -231
- package/node_modules/node-addon-api/doc/range_error.md +0 -59
- package/node_modules/node-addon-api/doc/reference.md +0 -111
- package/node_modules/node-addon-api/doc/setup.md +0 -82
- package/node_modules/node-addon-api/doc/string.md +0 -89
- package/node_modules/node-addon-api/doc/symbol.md +0 -44
- package/node_modules/node-addon-api/doc/threadsafe_function.md +0 -303
- package/node_modules/node-addon-api/doc/type_error.md +0 -59
- package/node_modules/node-addon-api/doc/typed_array.md +0 -74
- package/node_modules/node-addon-api/doc/typed_array_of.md +0 -133
- package/node_modules/node-addon-api/doc/value.md +0 -269
- package/node_modules/node-addon-api/doc/version_management.md +0 -43
- package/node_modules/node-addon-api/doc/working_with_javascript_values.md +0 -14
- package/node_modules/node-addon-api/external-napi/node_api.h +0 -7
- package/node_modules/node-addon-api/src/node_api.cc +0 -3655
- package/node_modules/node-addon-api/src/node_api.gyp +0 -21
- package/node_modules/node-addon-api/src/node_api.h +0 -588
- package/node_modules/node-addon-api/src/node_api_types.h +0 -115
- package/node_modules/node-addon-api/src/node_internals.cc +0 -142
- package/node_modules/node-addon-api/src/node_internals.h +0 -157
- package/node_modules/node-addon-api/src/util-inl.h +0 -38
- package/node_modules/node-addon-api/src/util.h +0 -7
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
<tagfile>
|
|
2
|
-
<compound kind="page">
|
|
3
|
-
<name>mdb_copy_1</name>
|
|
4
|
-
<title>mdb_copy - environment copy tool</title>
|
|
5
|
-
<filename>mdb_copy.1</filename>
|
|
6
|
-
</compound>
|
|
7
|
-
<compound kind="page">
|
|
8
|
-
<name>mdb_drop_1</name>
|
|
9
|
-
<title>mdb_drop - database delete tool</title>
|
|
10
|
-
<filename>mdb_drop.1</filename>
|
|
11
|
-
</compound>
|
|
12
|
-
<compound kind="page">
|
|
13
|
-
<name>mdb_dump_1</name>
|
|
14
|
-
<title>mdb_dump - environment export tool</title>
|
|
15
|
-
<filename>mdb_dump.1</filename>
|
|
16
|
-
</compound>
|
|
17
|
-
<compound kind="page">
|
|
18
|
-
<name>mdb_load_1</name>
|
|
19
|
-
<title>mdb_load - environment import tool</title>
|
|
20
|
-
<filename>mdb_load.1</filename>
|
|
21
|
-
</compound>
|
|
22
|
-
<compound kind="page">
|
|
23
|
-
<name>mdb_stat_1</name>
|
|
24
|
-
<title>mdb_stat - environment status tool</title>
|
|
25
|
-
<filename>mdb_stat.1</filename>
|
|
26
|
-
</compound>
|
|
27
|
-
</tagfile>
|
|
1
|
+
<tagfile>
|
|
2
|
+
<compound kind="page">
|
|
3
|
+
<name>mdb_copy_1</name>
|
|
4
|
+
<title>mdb_copy - environment copy tool</title>
|
|
5
|
+
<filename>mdb_copy.1</filename>
|
|
6
|
+
</compound>
|
|
7
|
+
<compound kind="page">
|
|
8
|
+
<name>mdb_drop_1</name>
|
|
9
|
+
<title>mdb_drop - database delete tool</title>
|
|
10
|
+
<filename>mdb_drop.1</filename>
|
|
11
|
+
</compound>
|
|
12
|
+
<compound kind="page">
|
|
13
|
+
<name>mdb_dump_1</name>
|
|
14
|
+
<title>mdb_dump - environment export tool</title>
|
|
15
|
+
<filename>mdb_dump.1</filename>
|
|
16
|
+
</compound>
|
|
17
|
+
<compound kind="page">
|
|
18
|
+
<name>mdb_load_1</name>
|
|
19
|
+
<title>mdb_load - environment import tool</title>
|
|
20
|
+
<filename>mdb_load.1</filename>
|
|
21
|
+
</compound>
|
|
22
|
+
<compound kind="page">
|
|
23
|
+
<name>mdb_stat_1</name>
|
|
24
|
+
<title>mdb_stat - environment status tool</title>
|
|
25
|
+
<filename>mdb_stat.1</filename>
|
|
26
|
+
</compound>
|
|
27
|
+
</tagfile>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
This repository uses 2 different licenses :
|
|
2
|
-
- all files in the `lib` directory use a BSD 2-Clause license
|
|
3
|
-
- all other files use a GPLv2 license, unless explicitly stated otherwise
|
|
4
|
-
|
|
5
|
-
Relevant license is reminded at the top of each source file,
|
|
6
|
-
and with presence of COPYING or LICENSE file in associated directories.
|
|
7
|
-
|
|
8
|
-
This model is selected to emphasize that
|
|
9
|
-
files in the `lib` directory are designed to be included into 3rd party applications,
|
|
10
|
-
while all other files, in `programs`, `tests` or `examples`,
|
|
11
|
-
receive more limited attention and support for such scenario.
|
|
1
|
+
This repository uses 2 different licenses :
|
|
2
|
+
- all files in the `lib` directory use a BSD 2-Clause license
|
|
3
|
+
- all other files use a GPLv2 license, unless explicitly stated otherwise
|
|
4
|
+
|
|
5
|
+
Relevant license is reminded at the top of each source file,
|
|
6
|
+
and with presence of COPYING or LICENSE file in associated directories.
|
|
7
|
+
|
|
8
|
+
This model is selected to emphasize that
|
|
9
|
+
files in the `lib` directory are designed to be included into 3rd party applications,
|
|
10
|
+
while all other files, in `programs`, `tests` or `examples`,
|
|
11
|
+
receive more limited attention and support for such scenario.
|
|
@@ -1,137 +1,137 @@
|
|
|
1
|
-
LZ4 - Library Files
|
|
2
|
-
================================
|
|
3
|
-
|
|
4
|
-
The `/lib` directory contains many files, but depending on project's objectives,
|
|
5
|
-
not all of them are necessary.
|
|
6
|
-
|
|
7
|
-
#### Minimal LZ4 build
|
|
8
|
-
|
|
9
|
-
The minimum required is **`lz4.c`** and **`lz4.h`**,
|
|
10
|
-
which provides the fast compression and decompression algorithms.
|
|
11
|
-
They generate and decode data using the [LZ4 block format].
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
#### High Compression variant
|
|
15
|
-
|
|
16
|
-
For more compression ratio at the cost of compression speed,
|
|
17
|
-
the High Compression variant called **lz4hc** is available.
|
|
18
|
-
Add files **`lz4hc.c`** and **`lz4hc.h`**.
|
|
19
|
-
This variant also compresses data using the [LZ4 block format],
|
|
20
|
-
and depends on regular `lib/lz4.*` source files.
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
#### Frame support, for interoperability
|
|
24
|
-
|
|
25
|
-
In order to produce compressed data compatible with `lz4` command line utility,
|
|
26
|
-
it's necessary to use the [official interoperable frame format].
|
|
27
|
-
This format is generated and decoded automatically by the **lz4frame** library.
|
|
28
|
-
Its public API is described in `lib/lz4frame.h`.
|
|
29
|
-
In order to work properly, lz4frame needs all other modules present in `/lib`,
|
|
30
|
-
including, lz4 and lz4hc, and also **xxhash**.
|
|
31
|
-
So it's necessary to include all `*.c` and `*.h` files present in `/lib`.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
#### Advanced / Experimental API
|
|
35
|
-
|
|
36
|
-
Definitions which are not guaranteed to remain stable in future versions,
|
|
37
|
-
are protected behind macros, such as `LZ4_STATIC_LINKING_ONLY`.
|
|
38
|
-
As the name strongly implies, these definitions should only be invoked
|
|
39
|
-
in the context of static linking ***only***.
|
|
40
|
-
Otherwise, dependent application may fail on API or ABI break in the future.
|
|
41
|
-
The associated symbols are also not exposed by the dynamic library by default.
|
|
42
|
-
Should they be nonetheless needed, it's possible to force their publication
|
|
43
|
-
by using build macros `LZ4_PUBLISH_STATIC_FUNCTIONS`
|
|
44
|
-
and `LZ4F_PUBLISH_STATIC_FUNCTIONS`.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
#### Build macros
|
|
48
|
-
|
|
49
|
-
The following build macro can be selected to adjust source code behavior at compilation time :
|
|
50
|
-
|
|
51
|
-
- `LZ4_FAST_DEC_LOOP` : this triggers a speed optimized decompression loop, more powerful on modern cpus.
|
|
52
|
-
This loop works great on `x86`, `x64` and `aarch64` cpus, and is automatically enabled for them.
|
|
53
|
-
It's also possible to enable or disable it manually, by passing `LZ4_FAST_DEC_LOOP=1` or `0` to the preprocessor.
|
|
54
|
-
For example, with `gcc` : `-DLZ4_FAST_DEC_LOOP=1`,
|
|
55
|
-
and with `make` : `CPPFLAGS+=-DLZ4_FAST_DEC_LOOP=1 make lz4`.
|
|
56
|
-
|
|
57
|
-
- `LZ4_DISTANCE_MAX` : control the maximum offset that the compressor will allow.
|
|
58
|
-
Set to 65535 by default, which is the maximum value supported by lz4 format.
|
|
59
|
-
Reducing maximum distance will reduce opportunities for LZ4 to find matches,
|
|
60
|
-
hence will produce a worse compression ratio.
|
|
61
|
-
However, a smaller max distance can allow compatibility with specific decoders using limited memory budget.
|
|
62
|
-
This build macro only influences the compressed output of the compressor.
|
|
63
|
-
|
|
64
|
-
- `LZ4_DISABLE_DEPRECATE_WARNINGS` : invoking a deprecated function will make the compiler generate a warning.
|
|
65
|
-
This is meant to invite users to update their source code.
|
|
66
|
-
Should this be a problem, it's generally possible to make the compiler ignore these warnings,
|
|
67
|
-
for example with `-Wno-deprecated-declarations` on `gcc`,
|
|
68
|
-
or `_CRT_SECURE_NO_WARNINGS` for Visual Studio.
|
|
69
|
-
This build macro offers another project-specific method
|
|
70
|
-
by defining `LZ4_DISABLE_DEPRECATE_WARNINGS` before including the LZ4 header files.
|
|
71
|
-
|
|
72
|
-
- `LZ4_USER_MEMORY_FUNCTIONS` : replace calls to <stdlib>'s `malloc`, `calloc` and `free`
|
|
73
|
-
by user-defined functions, which must be called `LZ4_malloc()`, `LZ4_calloc()` and `LZ4_free()`.
|
|
74
|
-
User functions must be available at link time.
|
|
75
|
-
|
|
76
|
-
- `LZ4_FORCE_SW_BITCOUNT` : by default, the compression algorithm tries to determine lengths
|
|
77
|
-
by using bitcount instructions, generally implemented as fast single instructions in many cpus.
|
|
78
|
-
In case the target cpus doesn't support it, or compiler intrinsic doesn't work, or feature bad performance,
|
|
79
|
-
it's possible to use an optimized software path instead.
|
|
80
|
-
This is achieved by setting this build macros .
|
|
81
|
-
In most cases, it's not expected to be necessary,
|
|
82
|
-
but it can be legitimately considered for less common platforms.
|
|
83
|
-
|
|
84
|
-
- `LZ4_ALIGN_TEST` : alignment test ensures that the memory area
|
|
85
|
-
passed as argument to become a compression state is suitably aligned.
|
|
86
|
-
This test can be disabled if it proves flaky, by setting this value to 0.
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
#### Amalgamation
|
|
90
|
-
|
|
91
|
-
lz4 source code can be amalgamated into a single file.
|
|
92
|
-
One can combine all source code into `lz4_all.c` by using following command:
|
|
93
|
-
```
|
|
94
|
-
cat lz4.c lz4hc.c lz4frame.c > lz4_all.c
|
|
95
|
-
```
|
|
96
|
-
(`cat` file order is important) then compile `lz4_all.c`.
|
|
97
|
-
All `*.h` files present in `/lib` remain necessary to compile `lz4_all.c`.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
#### Windows : using MinGW+MSYS to create DLL
|
|
101
|
-
|
|
102
|
-
DLL can be created using MinGW+MSYS with the `make liblz4` command.
|
|
103
|
-
This command creates `dll\liblz4.dll` and the import library `dll\liblz4.lib`.
|
|
104
|
-
To override the `dlltool` command when cross-compiling on Linux, just set the `DLLTOOL` variable. Example of cross compilation on Linux with mingw-w64 64 bits:
|
|
105
|
-
```
|
|
106
|
-
make BUILD_STATIC=no CC=x86_64-w64-mingw32-gcc DLLTOOL=x86_64-w64-mingw32-dlltool OS=Windows_NT
|
|
107
|
-
```
|
|
108
|
-
The import library is only required with Visual C++.
|
|
109
|
-
The header files `lz4.h`, `lz4hc.h`, `lz4frame.h` and the dynamic library
|
|
110
|
-
`dll\liblz4.dll` are required to compile a project using gcc/MinGW.
|
|
111
|
-
The dynamic library has to be added to linking options.
|
|
112
|
-
It means that if a project that uses LZ4 consists of a single `test-dll.c`
|
|
113
|
-
file it should be linked with `dll\liblz4.dll`. For example:
|
|
114
|
-
```
|
|
115
|
-
$(CC) $(CFLAGS) -Iinclude/ test-dll.c -o test-dll dll\liblz4.dll
|
|
116
|
-
```
|
|
117
|
-
The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
#### Miscellaneous
|
|
121
|
-
|
|
122
|
-
Other files present in the directory are not source code. They are :
|
|
123
|
-
|
|
124
|
-
- `LICENSE` : contains the BSD license text
|
|
125
|
-
- `Makefile` : `make` script to compile and install lz4 library (static and dynamic)
|
|
126
|
-
- `liblz4.pc.in` : for `pkg-config` (used in `make install`)
|
|
127
|
-
- `README.md` : this file
|
|
128
|
-
|
|
129
|
-
[official interoperable frame format]: ../doc/lz4_Frame_format.md
|
|
130
|
-
[LZ4 block format]: ../doc/lz4_Block_format.md
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
#### License
|
|
134
|
-
|
|
135
|
-
All source material within __lib__ directory are BSD 2-Clause licensed.
|
|
136
|
-
See [LICENSE](LICENSE) for details.
|
|
137
|
-
The license is also reminded at the top of each source file.
|
|
1
|
+
LZ4 - Library Files
|
|
2
|
+
================================
|
|
3
|
+
|
|
4
|
+
The `/lib` directory contains many files, but depending on project's objectives,
|
|
5
|
+
not all of them are necessary.
|
|
6
|
+
|
|
7
|
+
#### Minimal LZ4 build
|
|
8
|
+
|
|
9
|
+
The minimum required is **`lz4.c`** and **`lz4.h`**,
|
|
10
|
+
which provides the fast compression and decompression algorithms.
|
|
11
|
+
They generate and decode data using the [LZ4 block format].
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
#### High Compression variant
|
|
15
|
+
|
|
16
|
+
For more compression ratio at the cost of compression speed,
|
|
17
|
+
the High Compression variant called **lz4hc** is available.
|
|
18
|
+
Add files **`lz4hc.c`** and **`lz4hc.h`**.
|
|
19
|
+
This variant also compresses data using the [LZ4 block format],
|
|
20
|
+
and depends on regular `lib/lz4.*` source files.
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
#### Frame support, for interoperability
|
|
24
|
+
|
|
25
|
+
In order to produce compressed data compatible with `lz4` command line utility,
|
|
26
|
+
it's necessary to use the [official interoperable frame format].
|
|
27
|
+
This format is generated and decoded automatically by the **lz4frame** library.
|
|
28
|
+
Its public API is described in `lib/lz4frame.h`.
|
|
29
|
+
In order to work properly, lz4frame needs all other modules present in `/lib`,
|
|
30
|
+
including, lz4 and lz4hc, and also **xxhash**.
|
|
31
|
+
So it's necessary to include all `*.c` and `*.h` files present in `/lib`.
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
#### Advanced / Experimental API
|
|
35
|
+
|
|
36
|
+
Definitions which are not guaranteed to remain stable in future versions,
|
|
37
|
+
are protected behind macros, such as `LZ4_STATIC_LINKING_ONLY`.
|
|
38
|
+
As the name strongly implies, these definitions should only be invoked
|
|
39
|
+
in the context of static linking ***only***.
|
|
40
|
+
Otherwise, dependent application may fail on API or ABI break in the future.
|
|
41
|
+
The associated symbols are also not exposed by the dynamic library by default.
|
|
42
|
+
Should they be nonetheless needed, it's possible to force their publication
|
|
43
|
+
by using build macros `LZ4_PUBLISH_STATIC_FUNCTIONS`
|
|
44
|
+
and `LZ4F_PUBLISH_STATIC_FUNCTIONS`.
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
#### Build macros
|
|
48
|
+
|
|
49
|
+
The following build macro can be selected to adjust source code behavior at compilation time :
|
|
50
|
+
|
|
51
|
+
- `LZ4_FAST_DEC_LOOP` : this triggers a speed optimized decompression loop, more powerful on modern cpus.
|
|
52
|
+
This loop works great on `x86`, `x64` and `aarch64` cpus, and is automatically enabled for them.
|
|
53
|
+
It's also possible to enable or disable it manually, by passing `LZ4_FAST_DEC_LOOP=1` or `0` to the preprocessor.
|
|
54
|
+
For example, with `gcc` : `-DLZ4_FAST_DEC_LOOP=1`,
|
|
55
|
+
and with `make` : `CPPFLAGS+=-DLZ4_FAST_DEC_LOOP=1 make lz4`.
|
|
56
|
+
|
|
57
|
+
- `LZ4_DISTANCE_MAX` : control the maximum offset that the compressor will allow.
|
|
58
|
+
Set to 65535 by default, which is the maximum value supported by lz4 format.
|
|
59
|
+
Reducing maximum distance will reduce opportunities for LZ4 to find matches,
|
|
60
|
+
hence will produce a worse compression ratio.
|
|
61
|
+
However, a smaller max distance can allow compatibility with specific decoders using limited memory budget.
|
|
62
|
+
This build macro only influences the compressed output of the compressor.
|
|
63
|
+
|
|
64
|
+
- `LZ4_DISABLE_DEPRECATE_WARNINGS` : invoking a deprecated function will make the compiler generate a warning.
|
|
65
|
+
This is meant to invite users to update their source code.
|
|
66
|
+
Should this be a problem, it's generally possible to make the compiler ignore these warnings,
|
|
67
|
+
for example with `-Wno-deprecated-declarations` on `gcc`,
|
|
68
|
+
or `_CRT_SECURE_NO_WARNINGS` for Visual Studio.
|
|
69
|
+
This build macro offers another project-specific method
|
|
70
|
+
by defining `LZ4_DISABLE_DEPRECATE_WARNINGS` before including the LZ4 header files.
|
|
71
|
+
|
|
72
|
+
- `LZ4_USER_MEMORY_FUNCTIONS` : replace calls to <stdlib>'s `malloc`, `calloc` and `free`
|
|
73
|
+
by user-defined functions, which must be called `LZ4_malloc()`, `LZ4_calloc()` and `LZ4_free()`.
|
|
74
|
+
User functions must be available at link time.
|
|
75
|
+
|
|
76
|
+
- `LZ4_FORCE_SW_BITCOUNT` : by default, the compression algorithm tries to determine lengths
|
|
77
|
+
by using bitcount instructions, generally implemented as fast single instructions in many cpus.
|
|
78
|
+
In case the target cpus doesn't support it, or compiler intrinsic doesn't work, or feature bad performance,
|
|
79
|
+
it's possible to use an optimized software path instead.
|
|
80
|
+
This is achieved by setting this build macros .
|
|
81
|
+
In most cases, it's not expected to be necessary,
|
|
82
|
+
but it can be legitimately considered for less common platforms.
|
|
83
|
+
|
|
84
|
+
- `LZ4_ALIGN_TEST` : alignment test ensures that the memory area
|
|
85
|
+
passed as argument to become a compression state is suitably aligned.
|
|
86
|
+
This test can be disabled if it proves flaky, by setting this value to 0.
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
#### Amalgamation
|
|
90
|
+
|
|
91
|
+
lz4 source code can be amalgamated into a single file.
|
|
92
|
+
One can combine all source code into `lz4_all.c` by using following command:
|
|
93
|
+
```
|
|
94
|
+
cat lz4.c lz4hc.c lz4frame.c > lz4_all.c
|
|
95
|
+
```
|
|
96
|
+
(`cat` file order is important) then compile `lz4_all.c`.
|
|
97
|
+
All `*.h` files present in `/lib` remain necessary to compile `lz4_all.c`.
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
#### Windows : using MinGW+MSYS to create DLL
|
|
101
|
+
|
|
102
|
+
DLL can be created using MinGW+MSYS with the `make liblz4` command.
|
|
103
|
+
This command creates `dll\liblz4.dll` and the import library `dll\liblz4.lib`.
|
|
104
|
+
To override the `dlltool` command when cross-compiling on Linux, just set the `DLLTOOL` variable. Example of cross compilation on Linux with mingw-w64 64 bits:
|
|
105
|
+
```
|
|
106
|
+
make BUILD_STATIC=no CC=x86_64-w64-mingw32-gcc DLLTOOL=x86_64-w64-mingw32-dlltool OS=Windows_NT
|
|
107
|
+
```
|
|
108
|
+
The import library is only required with Visual C++.
|
|
109
|
+
The header files `lz4.h`, `lz4hc.h`, `lz4frame.h` and the dynamic library
|
|
110
|
+
`dll\liblz4.dll` are required to compile a project using gcc/MinGW.
|
|
111
|
+
The dynamic library has to be added to linking options.
|
|
112
|
+
It means that if a project that uses LZ4 consists of a single `test-dll.c`
|
|
113
|
+
file it should be linked with `dll\liblz4.dll`. For example:
|
|
114
|
+
```
|
|
115
|
+
$(CC) $(CFLAGS) -Iinclude/ test-dll.c -o test-dll dll\liblz4.dll
|
|
116
|
+
```
|
|
117
|
+
The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`.
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
#### Miscellaneous
|
|
121
|
+
|
|
122
|
+
Other files present in the directory are not source code. They are :
|
|
123
|
+
|
|
124
|
+
- `LICENSE` : contains the BSD license text
|
|
125
|
+
- `Makefile` : `make` script to compile and install lz4 library (static and dynamic)
|
|
126
|
+
- `liblz4.pc.in` : for `pkg-config` (used in `make install`)
|
|
127
|
+
- `README.md` : this file
|
|
128
|
+
|
|
129
|
+
[official interoperable frame format]: ../doc/lz4_Frame_format.md
|
|
130
|
+
[LZ4 block format]: ../doc/lz4_Block_format.md
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
#### License
|
|
134
|
+
|
|
135
|
+
All source material within __lib__ directory are BSD 2-Clause licensed.
|
|
136
|
+
See [LICENSE](LICENSE) for details.
|
|
137
|
+
The license is also reminded at the top of each source file.
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
LZ4 Windows binary package
|
|
2
|
-
====================================
|
|
3
|
-
|
|
4
|
-
#### The package contents
|
|
5
|
-
|
|
6
|
-
- `lz4.exe` : Command Line Utility, supporting gzip-like arguments
|
|
7
|
-
- `dll\liblz4.dll` : The DLL of LZ4 library
|
|
8
|
-
- `dll\liblz4.lib` : The import library of LZ4 library for Visual C++
|
|
9
|
-
- `example\` : The example of usage of LZ4 library
|
|
10
|
-
- `include\` : Header files required with LZ4 library
|
|
11
|
-
- `static\liblz4_static.lib` : The static LZ4 library
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
#### Usage of Command Line Interface
|
|
15
|
-
|
|
16
|
-
Command Line Interface (CLI) supports gzip-like arguments.
|
|
17
|
-
By default CLI takes an input file and compresses it to an output file:
|
|
18
|
-
```
|
|
19
|
-
Usage: lz4 [arg] [input] [output]
|
|
20
|
-
```
|
|
21
|
-
The full list of commands for CLI can be obtained with `-h` or `-H`. The ratio can
|
|
22
|
-
be improved with commands from `-3` to `-16` but higher levels also have slower
|
|
23
|
-
compression. CLI includes in-memory compression benchmark module with compression
|
|
24
|
-
levels starting from `-b` and ending with `-e` with iteration time of `-i` seconds.
|
|
25
|
-
CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined
|
|
26
|
-
into `-b1e18i1`.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
#### The example of usage of static and dynamic LZ4 libraries with gcc/MinGW
|
|
30
|
-
|
|
31
|
-
Use `cd example` and `make` to build `fullbench-dll` and `fullbench-lib`.
|
|
32
|
-
`fullbench-dll` uses a dynamic LZ4 library from the `dll` directory.
|
|
33
|
-
`fullbench-lib` uses a static LZ4 library from the `lib` directory.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
#### Using LZ4 DLL with gcc/MinGW
|
|
37
|
-
|
|
38
|
-
The header files from `include\` and the dynamic library `dll\liblz4.dll`
|
|
39
|
-
are required to compile a project using gcc/MinGW.
|
|
40
|
-
The dynamic library has to be added to linking options.
|
|
41
|
-
It means that if a project that uses LZ4 consists of a single `test-dll.c`
|
|
42
|
-
file it should be linked with `dll\liblz4.dll`. For example:
|
|
43
|
-
```
|
|
44
|
-
gcc $(CFLAGS) -Iinclude\ test-dll.c -o test-dll dll\liblz4.dll
|
|
45
|
-
```
|
|
46
|
-
The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`.
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
#### The example of usage of static and dynamic LZ4 libraries with Visual C++
|
|
50
|
-
|
|
51
|
-
Open `example\fullbench-dll.sln` to compile `fullbench-dll` that uses a
|
|
52
|
-
dynamic LZ4 library from the `dll` directory. The solution works with Visual C++
|
|
53
|
-
2010 or newer. When one will open the solution with Visual C++ newer than 2010
|
|
54
|
-
then the solution will upgraded to the current version.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
#### Using LZ4 DLL with Visual C++
|
|
58
|
-
|
|
59
|
-
The header files from `include\` and the import library `dll\liblz4.lib`
|
|
60
|
-
are required to compile a project using Visual C++.
|
|
61
|
-
|
|
62
|
-
1. The header files should be added to `Additional Include Directories` that can
|
|
63
|
-
be found in project properties `C/C++` then `General`.
|
|
64
|
-
2. The import library has to be added to `Additional Dependencies` that can
|
|
65
|
-
be found in project properties `Linker` then `Input`.
|
|
66
|
-
If one will provide only the name `liblz4.lib` without a full path to the library
|
|
67
|
-
the directory has to be added to `Linker\General\Additional Library Directories`.
|
|
68
|
-
|
|
69
|
-
The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`.
|
|
1
|
+
LZ4 Windows binary package
|
|
2
|
+
====================================
|
|
3
|
+
|
|
4
|
+
#### The package contents
|
|
5
|
+
|
|
6
|
+
- `lz4.exe` : Command Line Utility, supporting gzip-like arguments
|
|
7
|
+
- `dll\liblz4.dll` : The DLL of LZ4 library
|
|
8
|
+
- `dll\liblz4.lib` : The import library of LZ4 library for Visual C++
|
|
9
|
+
- `example\` : The example of usage of LZ4 library
|
|
10
|
+
- `include\` : Header files required with LZ4 library
|
|
11
|
+
- `static\liblz4_static.lib` : The static LZ4 library
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
#### Usage of Command Line Interface
|
|
15
|
+
|
|
16
|
+
Command Line Interface (CLI) supports gzip-like arguments.
|
|
17
|
+
By default CLI takes an input file and compresses it to an output file:
|
|
18
|
+
```
|
|
19
|
+
Usage: lz4 [arg] [input] [output]
|
|
20
|
+
```
|
|
21
|
+
The full list of commands for CLI can be obtained with `-h` or `-H`. The ratio can
|
|
22
|
+
be improved with commands from `-3` to `-16` but higher levels also have slower
|
|
23
|
+
compression. CLI includes in-memory compression benchmark module with compression
|
|
24
|
+
levels starting from `-b` and ending with `-e` with iteration time of `-i` seconds.
|
|
25
|
+
CLI supports aggregation of parameters i.e. `-b1`, `-e18`, and `-i1` can be joined
|
|
26
|
+
into `-b1e18i1`.
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
#### The example of usage of static and dynamic LZ4 libraries with gcc/MinGW
|
|
30
|
+
|
|
31
|
+
Use `cd example` and `make` to build `fullbench-dll` and `fullbench-lib`.
|
|
32
|
+
`fullbench-dll` uses a dynamic LZ4 library from the `dll` directory.
|
|
33
|
+
`fullbench-lib` uses a static LZ4 library from the `lib` directory.
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
#### Using LZ4 DLL with gcc/MinGW
|
|
37
|
+
|
|
38
|
+
The header files from `include\` and the dynamic library `dll\liblz4.dll`
|
|
39
|
+
are required to compile a project using gcc/MinGW.
|
|
40
|
+
The dynamic library has to be added to linking options.
|
|
41
|
+
It means that if a project that uses LZ4 consists of a single `test-dll.c`
|
|
42
|
+
file it should be linked with `dll\liblz4.dll`. For example:
|
|
43
|
+
```
|
|
44
|
+
gcc $(CFLAGS) -Iinclude\ test-dll.c -o test-dll dll\liblz4.dll
|
|
45
|
+
```
|
|
46
|
+
The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`.
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
#### The example of usage of static and dynamic LZ4 libraries with Visual C++
|
|
50
|
+
|
|
51
|
+
Open `example\fullbench-dll.sln` to compile `fullbench-dll` that uses a
|
|
52
|
+
dynamic LZ4 library from the `dll` directory. The solution works with Visual C++
|
|
53
|
+
2010 or newer. When one will open the solution with Visual C++ newer than 2010
|
|
54
|
+
then the solution will upgraded to the current version.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
#### Using LZ4 DLL with Visual C++
|
|
58
|
+
|
|
59
|
+
The header files from `include\` and the import library `dll\liblz4.lib`
|
|
60
|
+
are required to compile a project using Visual C++.
|
|
61
|
+
|
|
62
|
+
1. The header files should be added to `Additional Include Directories` that can
|
|
63
|
+
be found in project properties `C/C++` then `General`.
|
|
64
|
+
2. The import library has to be added to `Additional Dependencies` that can
|
|
65
|
+
be found in project properties `Linker` then `Input`.
|
|
66
|
+
If one will provide only the name `liblz4.lib` without a full path to the library
|
|
67
|
+
the directory has to be added to `Linker\General\Additional Library Directories`.
|
|
68
|
+
|
|
69
|
+
The compiled executable will require LZ4 DLL which is available at `dll\liblz4.dll`.
|