diff --git a/.gitignore b/.gitignore index affb62697..528cca487 100644 --- a/.gitignore +++ b/.gitignore @@ -25,7 +25,8 @@ Thumbs.db /.metadata/ # Build -/cmake-build* +cmake-build*/ +!/**/TKLiveSync/**/cmake-build /build.log /dist/ /junit-result.xml diff --git a/CMakeLists.txt b/CMakeLists.txt index 51410bfc5..a8d109df4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,14 +35,17 @@ if(RULE_LAUNCH_COMPILE AND CMAKE_GENERATOR STREQUAL "Xcode") set(CMAKE_XCODE_ATTRIBUTE_CXX "${CMAKE_BINARY_DIR}/launch-cxx") set(CMAKE_XCODE_ATTRIBUTE_LD "${CMAKE_BINARY_DIR}/launch-c") set(CMAKE_XCODE_ATTRIBUTE_LDPLUSPLUS "${CMAKE_BINARY_DIR}/launch-cxx") -endif() -set(CMAKE_XCODE_ATTRIBUTE_SDKROOT "iphoneos") -set(CMAKE_XCODE_ATTRIBUTE_SUPPORTED_PLATFORMS "iphoneos iphonesimulator") -set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimulator") -set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO") + set(CMAKE_XCODE_ATTRIBUTE_SDKROOT "iphoneos") + set(CMAKE_XCODE_ATTRIBUTE_SUPPORTED_PLATFORMS "iphoneos iphonesimulator") + set(CMAKE_XCODE_EFFECTIVE_PLATFORMS "-iphoneos;-iphonesimulator") + set(CMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE "NO") -set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "8.0") + set(CMAKE_XCODE_ATTRIBUTE_IPHONEOS_DEPLOYMENT_TARGET "8.0") + set(CMAKE_XCODE_ATTRIBUTE_SUPPORTS_UIKITFORMAC "YES") + set(CMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY "1,2") + set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS "$(SRCROOT)/src/Entitlements.plist") +endif() # TODO: Versions, license, etc diff --git a/Gameraww.entitlements b/Gameraww.entitlements new file mode 100644 index 000000000..a1c430a57 --- /dev/null +++ b/Gameraww.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.cs.allow-unsigned-executable-memory + + + diff --git a/README.md b/README.md index 2df3e4b1e..7fcf0ee26 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,15 @@ git clone --recursive git@github.com:NativeScript/ios-runtime.git ## Requirements -- OS X 10.11+ -- [Xcode 10+](https://developer.apple.com/xcode/) -- CMake 3.12 or later. Tested with versions up to 3.14.4 (https://github.com/Kitware/CMake/releases/download/v3.14.4/cmake-3.14.4-Darwin-x86_64.dmg) - after installing CMake.app add a symlink to cmake in `usr/local/bin` using the following command `ln -s /Applications/CMake.app/Contents/bin/cmake /usr/local/bin` -- [LLVM 8.0](http://releases.llvm.org/download.html#8.0.0) - used to build the [metadata generator](https://github.com/NativeScript/ios-metadata-generator) submodule. Be sure to have the folder containing `llvm-config` in `PATH` or make a symlink to in `/usr/local/bin/`. -- [Automake](https://www.gnu.org/software/automake/) - available in [Homebrew](http://brew.sh) as `automake`. -- [GNU Libtool](http://www.gnu.org/software/libtool/) - available in [Homebrew](http://brew.sh) as `libtool`. -- [Perl (installed on macOS by default but deprecated since macOS X 10.15)](https://www.perl.org/get.html#osx) -- Checkout all git submodules using `git submodule update --init`. +## Requirements + - OS X 10.15+ + - [Xcode 11+](https://developer.apple.com/xcode/) + - [CMake 3.14.4](https://github.com/Kitware/CMake/releases/download/v3.14.4/cmake-3.14.4-Darwin-x86_64.dmg) or later. After installing CMake.app add a symlink to cmake in `usr/local/bin` using the following command `ln -s /Applications/CMake.app/Contents/bin/cmake /usr/local/bin` + - [LLVM 8.0](http://releases.llvm.org/download.html#8.0.0) - used to build the [metadata generator](https://github.com/NativeScript/ios-metadata-generator) submodule. Be sure to have the folder containing `llvm-config` in `PATH` or make a symlink to in `/usr/local/bin/`. + - [Automake](https://www.gnu.org/software/automake/) - available in [Homebrew](http://brew.sh) as `automake`. + - [GNU Libtool](http://www.gnu.org/software/libtool/) - available in [Homebrew](http://brew.sh) as `libtool`. + - [Perl (installed on macOS by default but deprecated since macOS X 10.15)](https://www.perl.org/get.html#osx) + - Checkout all git submodules using `git submodule update --init`. ## Architecture Diagram diff --git a/build/project-template/__PROJECT_NAME__.xcodeproj/project.pbxproj b/build/project-template/__PROJECT_NAME__.xcodeproj/project.pbxproj index 1f56e0615..46a23fdc0 100644 --- a/build/project-template/__PROJECT_NAME__.xcodeproj/project.pbxproj +++ b/build/project-template/__PROJECT_NAME__.xcodeproj/project.pbxproj @@ -3,10 +3,12 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ + 39940D9122C4EF600050DDE1 /* NativeScript.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 39940D8C22C4EAAA0050DDE1 /* NativeScript.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 39940E1C22C5DFFF0050DDE1 /* TKLiveSync.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 39940E1B22C5DFFF0050DDE1 /* TKLiveSync.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 858B842D18CA22B800AB12DE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 858B833A18CA111C00AB12DE /* InfoPlist.strings */; }; CD45EE7C18DC2D5800FB50C0 /* app in Resources */ = {isa = PBXBuildFile; fileRef = CD45EE7A18DC2D5800FB50C0 /* app */; }; CD62955D1BB2678900AE3A93 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = CD62955C1BB2678900AE3A93 /* main.m */; }; @@ -19,6 +21,8 @@ dstPath = ""; dstSubfolderSpec = 10; files = ( + 39940D9122C4EF600050DDE1 /* NativeScript.xcframework in Embed Frameworks */, + 39940E1C22C5DFFF0050DDE1 /* TKLiveSync.xcframework in Embed Frameworks */, ); name = "Embed Frameworks"; runOnlyForDeploymentPostprocessing = 0; @@ -36,6 +40,9 @@ 42C751E4232B769100186695 /* nsld.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = nsld.sh; path = internal/nsld.sh; sourceTree = SOURCE_ROOT; }; 42C751E5232B769100186695 /* nativescript-post-build */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "nativescript-post-build"; path = "internal/nativescript-post-build"; sourceTree = SOURCE_ROOT; }; 42C751E6232B769100186695 /* nativescript-pre-build */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = "nativescript-pre-build"; path = "internal/nativescript-pre-build"; sourceTree = SOURCE_ROOT; }; + 39940D8122C4E84C0050DDE1 /* __PROJECT_NAME__.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = __PROJECT_NAME__.entitlements; sourceTree = ""; }; + 39940D8C22C4EAAA0050DDE1 /* NativeScript.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = NativeScript.xcframework; path = internal/NativeScript.xcframework; sourceTree = ""; }; + 39940E1B22C5DFFF0050DDE1 /* TKLiveSync.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = TKLiveSync.xcframework; path = internal/TKLiveSync.xcframework; sourceTree = ""; }; 858B832E18CA111C00AB12DE /* __PROJECT_NAME__.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = __PROJECT_NAME__.app; sourceTree = BUILT_PRODUCTS_DIR; }; 858B833918CA111C00AB12DE /* __PROJECT_NAME__-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "__PROJECT_NAME__-Info.plist"; sourceTree = ""; }; 858B833B18CA111C00AB12DE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; @@ -72,6 +79,17 @@ name = "Build Scripts"; sourceTree = ""; }; + 39940D8E22C4EBCC0050DDE1 /* Sources */ = { + isa = PBXGroup; + children = ( + 391174B321F1CBD300BA2583 /* TNSDebugging.h */, + 391174B421F1CBD300BA2583 /* TNSExceptionHandler.h */, + CD62955C1BB2678900AE3A93 /* main.m */, + 858B833F18CA111C00AB12DE /* __PROJECT_NAME__-Prefix.pch */, + ); + name = Sources; + sourceTree = ""; + }; 858B832518CA111C00AB12DE = { isa = PBXGroup; children = ( @@ -94,6 +112,8 @@ 858B833018CA111C00AB12DE /* Frameworks */ = { isa = PBXGroup; children = ( + 39940E1B22C5DFFF0050DDE1 /* TKLiveSync.xcframework */, + 39940D8C22C4EAAA0050DDE1 /* NativeScript.xcframework */, ); name = Frameworks; sourceTree = ""; @@ -101,6 +121,8 @@ 858B833718CA111C00AB12DE /* __PROJECT_NAME__ */ = { isa = PBXGroup; children = ( + 39940D8E22C4EBCC0050DDE1 /* Sources */, + 39940D8122C4E84C0050DDE1 /* __PROJECT_NAME__.entitlements */, CD45EE7A18DC2D5800FB50C0 /* app */, 858B833818CA111C00AB12DE /* Supporting Files */, ); @@ -113,16 +135,12 @@ 42C751E1232B767700186695 /* Build Scripts */, 391174B821F1D99900BA2583 /* plugins-debug.xcconfig */, 391174B721F1D99900BA2583 /* plugins-release.xcconfig */, - 391174B321F1CBD300BA2583 /* TNSDebugging.h */, - 391174B421F1CBD300BA2583 /* TNSExceptionHandler.h */, CDF4743E1BA4855C0087EA85 /* build.xcconfig */, CDD59A261BB43B5D00EC2671 /* build-debug.xcconfig */, CDD59A271BB43B5D00EC2671 /* build-release.xcconfig */, 391174B521F1D7BF00BA2583 /* nativescript-build.xcconfig */, 858B833918CA111C00AB12DE /* __PROJECT_NAME__-Info.plist */, 858B833A18CA111C00AB12DE /* InfoPlist.strings */, - CD62955C1BB2678900AE3A93 /* main.m */, - 858B833F18CA111C00AB12DE /* __PROJECT_NAME__-Prefix.pch */, 930F05DB22671AE300D269DC /* Swift-ObjC-Bridging-Header.h */, ); name = "Supporting Files"; @@ -227,7 +245,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"$SRCROOT/internal/nativescript-post-build\""; + shellScript = "\"$SRCROOT/internal/nativescript-post-build\"\n"; showEnvVarsInLog = 0; }; CD62955B1BB2651D00AE3A93 /* NativeScript PreLink */ = { @@ -289,6 +307,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; + DERIVE_UIKITFORMAC_PRODUCT_BUNDLE_IDENTIFIER = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_OPTIMIZATION_LEVEL = 0; @@ -303,6 +322,7 @@ ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; STRIP_SWIFT_SYMBOLS = NO; + SUPPORTS_UIKITFORMAC = YES; SWIFT_OBJC_BRIDGING_HEADER = "$SRCROOT/internal/Swift-ObjC-Bridging-Header.h"; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; @@ -328,6 +348,7 @@ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = YES; + DERIVE_UIKITFORMAC_PRODUCT_BUNDLE_IDENTIFIER = YES; ENABLE_NS_ASSERTIONS = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -339,6 +360,7 @@ IPHONEOS_DEPLOYMENT_TARGET = 9.0; SDKROOT = iphoneos; STRIP_SWIFT_SYMBOLS = NO; + SUPPORTS_UIKITFORMAC = YES; SWIFT_OBJC_BRIDGING_HEADER = "$SRCROOT/internal/Swift-ObjC-Bridging-Header.h"; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; @@ -351,7 +373,9 @@ baseConfigurationReference = CDD59A261BB43B5D00EC2671 /* build-debug.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; + CODE_SIGN_ENTITLEMENTS = __PROJECT_NAME__/__PROJECT_NAME__.entitlements; ENABLE_BITCODE = NO; + "ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch"; GCC_PREPROCESSOR_DEFINITIONS = ( @@ -364,8 +388,12 @@ "\"$(SRCROOT)/internal\"", ); INFOPLIST_FILE = "$(SRCROOT)/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_NAME = __PROJECT_NAME__; + TARGETED_DEVICE_FAMILY = "1,2"; WRAPPER_EXTENSION = app; }; name = Debug; @@ -375,7 +403,9 @@ baseConfigurationReference = CDD59A271BB43B5D00EC2671 /* build-release.xcconfig */; buildSettings = { ARCHS = "$(ARCHS_STANDARD)"; + CODE_SIGN_ENTITLEMENTS = __PROJECT_NAME__/__PROJECT_NAME__.entitlements; ENABLE_BITCODE = NO; + "ENABLE_HARDENED_RUNTIME[sdk=macosx*]" = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "__PROJECT_NAME__/__PROJECT_NAME__-Prefix.pch"; HEADER_SEARCH_PATHS = ( @@ -384,8 +414,12 @@ "$(SRCROOT)/internal", ); INFOPLIST_FILE = "$(SRCROOT)/__PROJECT_NAME__/__PROJECT_NAME__-Info.plist"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_NAME = __PROJECT_NAME__; + TARGETED_DEVICE_FAMILY = "1,2"; WRAPPER_EXTENSION = app; }; name = Release; diff --git a/build/project-template/__PROJECT_NAME__/__PROJECT_NAME__.entitlements b/build/project-template/__PROJECT_NAME__/__PROJECT_NAME__.entitlements new file mode 100644 index 000000000..a1c430a57 --- /dev/null +++ b/build/project-template/__PROJECT_NAME__/__PROJECT_NAME__.entitlements @@ -0,0 +1,8 @@ + + + + + com.apple.security.cs.allow-unsigned-executable-memory + + + diff --git a/build/project-template/internal/main.m b/build/project-template/internal/main.m index 6e92556f8..37d8c9663 100644 --- a/build/project-template/internal/main.m +++ b/build/project-template/internal/main.m @@ -8,55 +8,55 @@ #include #if DEBUG +#include "TKLiveSync/TKLiveSync.h" #include "TNSDebugging.h" -#include "TKLiveSync/include/TKLiveSync.h" #endif -int main(int argc, char *argv[]) { - @autoreleasepool { - TNSRuntime *runtime = [TNSRuntimeInstrumentation - profile:@"main" - withBlock:^{ - __block NSString *applicationPath = [NSBundle mainBundle].bundlePath; +int main(int argc, char* argv[]) { + @autoreleasepool { + TNSRuntime* runtime = [TNSRuntimeInstrumentation + profile:@"main" + withBlock:^{ + __block NSString* applicationPath = [NSString stringWithUTF8String:[NSBundle mainBundle].resourceURL.fileSystemRepresentation]; #if DEBUG - [TNSRuntimeInstrumentation - profile:@"Debug: Lifesync & Syslog" - withBlock:^{ - TNSInitializeLiveSync(); - if (getenv("TNSApplicationPath")) { - applicationPath = @(getenv("TNSApplicationPath")); - } - [TNSRuntimeInstrumentation - initWithApplicationPath:applicationPath]; - [TNSRuntimeInspector setLogsToSystemConsole:YES]; - return (id)nil; - }]; + [TNSRuntimeInstrumentation + profile:@"Debug: Lifesync & Syslog" + withBlock:^{ + TNSInitializeLiveSync(); + if (getenv("TNSApplicationPath")) { + applicationPath = @(getenv("TNSApplicationPath")); + } + [TNSRuntimeInstrumentation + initWithApplicationPath:applicationPath]; + [TNSRuntimeInspector setLogsToSystemConsole:YES]; + return (id)nil; + }]; #endif - extern char startOfMetadataSection __asm( - "section$start$__DATA$__TNSMetadata"); - [TNSRuntime initializeMetadata:&startOfMetadataSection]; - TNSRuntime *runtime = - [[TNSRuntime alloc] initWithApplicationPath:applicationPath]; - [runtime scheduleInRunLoop:[NSRunLoop currentRunLoop] - forMode:NSRunLoopCommonModes]; + extern char startOfMetadataSection __asm( + "section$start$__DATA$__TNSMetadata"); + [TNSRuntime initializeMetadata:&startOfMetadataSection]; + TNSRuntime* runtime = + [[TNSRuntime alloc] initWithApplicationPath:applicationPath]; + [runtime scheduleInRunLoop:[NSRunLoop currentRunLoop] + forMode:NSRunLoopCommonModes]; #if DEBUG - [TNSRuntimeInstrumentation - profile:@"Debug: Wait for JavaScript debugger" - withBlock:^{ - TNSEnableRemoteInspector(argc, argv, runtime); - return (id)nil; - }]; + [TNSRuntimeInstrumentation + profile:@"Debug: Wait for JavaScript debugger" + withBlock:^{ + TNSEnableRemoteInspector(argc, argv, runtime); + return (id)nil; + }]; #endif - TNSInstallExceptionHandler(); - return runtime; - }]; + TNSInstallExceptionHandler(); + return runtime; + }]; - [runtime executeModule:@"./"]; + [runtime executeModule:@"./"]; - return 0; - } + return 0; + } } diff --git a/build/project-template/internal/nativescript-build.xcconfig b/build/project-template/internal/nativescript-build.xcconfig index c7fb108e5..aaa52a9a3 100644 --- a/build/project-template/internal/nativescript-build.xcconfig +++ b/build/project-template/internal/nativescript-build.xcconfig @@ -1,7 +1,6 @@ // * NativeScript build related flags // * Add [sdk=*] after each one to avoid conflict with CocoaPods flags -OTHER_LDFLAGS[sdk=*] = $(inherited) -ObjC -sectcreate __DATA __TNSMetadata "$(CONFIGURATION_BUILD_DIR)/metadata-$(CURRENT_ARCH).bin" -framework NativeScript -F"$(SRCROOT)/internal" -licucore -lz -lc++ -framework Foundation -framework UIKit -framework CoreGraphics -framework MobileCoreServices -framework Security -OTHER_LDFLAGS[config=Debug] = $(inherited) "$(SRCROOT)/internal/TKLiveSync/TKLiveSync" +OTHER_LDFLAGS[sdk=*] = $(inherited) -ObjC -sectcreate __DATA __TNSMetadata "$(CONFIGURATION_BUILD_DIR)/metadata-$(CURRENT_ARCH).bin" -framework NativeScript -framework TKLiveSync -F"$(SRCROOT)/internal" -licucore -lz -lc++ -framework Foundation -framework UIKit -framework CoreGraphics -framework MobileCoreServices -framework Security // We need to add CONFIGURATION_BUILD_DIR here so that we can explicitly quote-escape any paths in it, because the implicitly added path by Xcode is not always escaped FRAMEWORK_SEARCH_PATHS[sdk=*] = $(inherited) "$(SRCROOT)/internal/" "$(CONFIGURATION_BUILD_DIR)" diff --git a/build/project-template/internal/nativescript-post-build b/build/project-template/internal/nativescript-post-build index f3dd489a2..a9ed8f914 100755 --- a/build/project-template/internal/nativescript-post-build +++ b/build/project-template/internal/nativescript-post-build @@ -1,15 +1,6 @@ #!/usr/bin/env bash set -e -function add_embedded_framework() { - local FRAMEWORK_NAME=$(basename "$1") - rsync --archive "$1" "${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}" \ - --exclude "/$FRAMEWORK_NAME/Headers" \ - --exclude "/$FRAMEWORK_NAME/Modules" -} - -add_embedded_framework "${SRCROOT}/internal/NativeScript.framework" - pushd "$SRCROOT/internal" ./strip-dynamic-framework-architectures.sh popd diff --git a/build/scripts/build-livesync-static-lib.sh b/build/scripts/build-livesync-static-lib.sh index 8653d073d..ac8fd04d6 100755 --- a/build/scripts/build-livesync-static-lib.sh +++ b/build/scripts/build-livesync-static-lib.sh @@ -12,35 +12,48 @@ rm -rf "build" pod install +export OTHER_CFLAGS='$(inherited) -Wno-implicit-retain-self -Wno-strict-prototypes' + +echo "Building TKLiveSync for iphonesimulator" xcodebuild \ -workspace "./TKLiveSync.xcworkspace" \ -scheme "TKLiveSync" \ -configuration "Release" \ -sdk "iphonesimulator" \ build \ - CONFIGURATION_BUILD_DIR="$(pwd)/build/Release-iphonesimulator" \ + BUILD_DIR="$(pwd)/build" \ ARCHS="i386 x86_64" VALID_ARCHS="i386 x86_64" \ -quiet +echo "Building TKLiveSync for iphoneos" xcodebuild \ -workspace "./TKLiveSync.xcworkspace" \ -scheme "TKLiveSync" \ -configuration "Release" \ -sdk "iphoneos" \ build \ - CONFIGURATION_BUILD_DIR="$(pwd)/build/Release-iphoneos" \ + BUILD_DIR="$(pwd)/build" \ ARCHS="armv7 arm64" VALID_ARCHS="armv7 arm64" \ -quiet -checkpoint "Packaging TKLiveSync.framework" -rm -rf "$WORKSPACE/dist/TKLiveSync" -mkdir -p "$WORKSPACE/dist/TKLiveSync/" -cp -r "build/Release-iphoneos/TKLiveSync.framework/Headers" "$WORKSPACE/dist/TKLiveSync" -mv "$WORKSPACE/dist/TKLiveSync/Headers" "$WORKSPACE/dist/TKLiveSync/include" -lipo -create -output "$WORKSPACE/dist/TKLiveSync/TKLiveSync" \ - "build/Release-iphonesimulator/TKLiveSync.framework/TKLiveSync" \ - "build/Release-iphoneos/TKLiveSync.framework/TKLiveSync" -chmod +x "$WORKSPACE/dist/TKLiveSync/TKLiveSync" +echo "Building TKLiveSync for Catalyst" +xcodebuild \ + -workspace "./TKLiveSync.xcworkspace" \ + -scheme "TKLiveSync" \ + -configuration "Release" \ + -destination "variant=Mac Catalyst,arch=x86_64" -UseModernBuildSystem=YES \ + build \ + BUILD_DIR="$(pwd)/build" \ + -quiet + +checkpoint "Packaging TKLiveSync.xcframework" + +rm -rf "$WORKSPACE/dist/TKLiveSync.xcframework" +# suppress GCDWebServer +xcodebuild -create-xcframework -output "$WORKSPACE/dist/TKLiveSync.xcframework" \ + -framework "build/Release-iphonesimulator/TKLiveSync.framework" \ + -framework "build/Release-iphoneos/TKLiveSync.framework" \ + -framework "build/Release-maccatalyst/TKLiveSync.framework" popd checkpoint "Finished building TKLiveSync - $WORKSPACE/dist/TKLiveSync" diff --git a/build/scripts/build-nativescript-framework.sh b/build/scripts/build-nativescript-framework.sh index 3a56d5f56..3a9e0bc46 100755 --- a/build/scripts/build-nativescript-framework.sh +++ b/build/scripts/build-nativescript-framework.sh @@ -18,35 +18,47 @@ rm -f "$WORKSPACE/cmake-build/CMakeCache.txt" # the performance of Jenkins builds. After building the {N} framework, we # build TestRunner for device and thus, it is best to build NativeScript.framework # for device last. +checkpoint "Building NativeScript.framework - UIKit for Mac" +xcodebuild -configuration $CONFIGURATION -destination "variant=UIKit for Mac,arch=x86_64" -scheme "NativeScript" -project $NATIVESCRIPT_XCODEPROJ -quiet checkpoint "Building NativeScript.framework - iphonesimulator SDK" -xcodebuild -configuration $CONFIGURATION -sdk "iphonesimulator" -target "NativeScript" -project $NATIVESCRIPT_XCODEPROJ -quiet +xcodebuild -configuration $CONFIGURATION -sdk "iphonesimulator" -scheme "NativeScript" -project $NATIVESCRIPT_XCODEPROJ -quiet checkpoint "Building NativeScript.framework - iphoneos SDK" -xcodebuild -configuration $CONFIGURATION -sdk "iphoneos" -target "NativeScript" -project $NATIVESCRIPT_XCODEPROJ -quiet +xcodebuild -configuration $CONFIGURATION -sdk "iphoneos" -scheme "NativeScript" -project $NATIVESCRIPT_XCODEPROJ -quiet + +checkpoint "Creating NativeScript.xcframework" -checkpoint "Creating fat NativeScript.framework" mkdir -p "$DIST_DIR" && pushd "$_" -cp -r "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphoneos/NativeScript.framework" "." -rm "NativeScript.framework/NativeScript" + +SRC_SIMULATOR="$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphonesimulator/NativeScript.framework" +SRC_IPHONEOS="$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphoneos/NativeScript.framework" +SRC_MACOS="$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-maccatalyst/NativeScript.framework" +XCFRAMEWORK_PATH="$DIST_DIR/NativeScript.xcframework" +IOS_DSYM="$DIST_DIR/NativeScript.ios.framework.dSYM" +MACOS_DSYM="$DIST_DIR/NativeScript.macos.framework.dSYM" # Strip debug information, dSYM package must be used for debugging and symbolicating -strip -S "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphonesimulator/NativeScript.framework/NativeScript" \ - "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphoneos/NativeScript.framework/NativeScript" -echo "CodeSign $WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphonesimulator/NativeScript.framework/NativeScript" +strip -S "$SRC_SIMULATOR/NativeScript" "$SRC_IPHONEOS/NativeScript" # "$SRC_MACOS/NativeScript" # don't strip macos binary for now + +rm -rf $XCFRAMEWORK_PATH +xcodebuild -create-xcframework -framework "$SRC_IPHONEOS" -framework "$SRC_SIMULATOR" -framework "$SRC_MACOS" -output "$XCFRAMEWORK_PATH" + +checkpoint "Creating dSYM packages" + +cp -r $SRC_IPHONEOS.dSYM $IOS_DSYM +rm "$IOS_DSYM/Contents/Resources/DWARF/NativeScript" -/usr/bin/codesign --force --sign - --timestamp=none "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphonesimulator/NativeScript.framework/NativeScript" +lipo -create -output "$IOS_DSYM/Contents/Resources/DWARF/NativeScript" \ + "$SRC_SIMULATOR.dSYM/Contents/Resources/DWARF/NativeScript" \ + "$SRC_IPHONEOS.dSYM/Contents/Resources/DWARF/NativeScript" -lipo -create -output "NativeScript.framework/NativeScript" \ - "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphonesimulator/NativeScript.framework/NativeScript" \ - "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphoneos/NativeScript.framework/NativeScript" +echo "Archiving iOS dSYM at $IOS_DSYM.zip" +(cd $DIST_DIR && zip -qr NativeScript.ios.framework.dSYM.zip NativeScript.ios.framework.dSYM && rm -rf NativeScript.ios.framework.dSYM) -cp -r "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphoneos/NativeScript.framework.dSYM" "." -rm "NativeScript.framework.dSYM/Contents/Resources/DWARF/NativeScript" -lipo -create -output "NativeScript.framework.dSYM/Contents/Resources/DWARF/NativeScript" \ - "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphonesimulator/NativeScript.framework.dSYM/Contents/Resources/DWARF/NativeScript" \ - "$WORKSPACE/cmake-build/src/NativeScript/$CONFIGURATION-iphoneos/NativeScript.framework.dSYM/Contents/Resources/DWARF/NativeScript" +echo "TODO: Copying macOS dSYM at $MACOS_DSYM" +# cp -r $SRC_MACOS.dSYM $MACOS_DSYM -zip -qr NativeScript.framework.dSYM.zip NativeScript.framework.dSYM -rm -rf NativeScript.framework.dSYM +echo "TODO: Archiving macOS dSYM at $MACOS_DSYM.zip" +# (cd $DIST_DIR && zip -qr NativeScript.macos.framework.dSYM.zip NativeScript.macos.framework.dSYM) popd diff --git a/build/scripts/build-step-libffi.sh b/build/scripts/build-step-libffi.sh index 9f2966ebe..b008d6435 100755 --- a/build/scripts/build-step-libffi.sh +++ b/build/scripts/build-step-libffi.sh @@ -31,6 +31,11 @@ function build { local COMPILER_FLAGS="-arch $ARCH -isysroot $SDKROOT -$DEPLOYMENT_TARGET_CLANG_FLAG_NAME=${!DEPLOYMENT_TARGET_CLANG_ENV_NAME}" + # Add compiler flags for "Mac Catalyst". See https://github.com/CocoaPods/CocoaPods/issues/8877#issuecomment-499752865 + if [ "$(echo ${IS_UIKITFORMAC-} | tr '[:upper:]' '[:lower:]')" = "yes" -o "$(echo ${IS_UIKITFORMAC-} | tr '[:upper:]' '[:lower:]')" = "true" -o "${IS_UIKITFORMAC-}" = "1" ]; then + COMPILER_FLAGS="-isysroot $SDKROOT -Wno-overriding-t-option -target x86_64-apple-ios-macabi -miphoneos-version-min=13.0" + fi + ( export CC="clang $COMPILER_FLAGS" export CXX="clang++ $COMPILER_FLAGS" diff --git a/build/scripts/build-step-metadata-generator.py b/build/scripts/build-step-metadata-generator.py index 320da0ba0..397e0113b 100755 --- a/build/scripts/build-step-metadata-generator.py +++ b/build/scripts/build-step-metadata-generator.py @@ -44,6 +44,8 @@ def map_and_list(func, iterable): header_search_paths_parsed = map_and_list((lambda s: "-I" + s), shlex.split(header_search_paths)) framework_search_paths = env_or_empty("FRAMEWORK_SEARCH_PATHS") framework_search_paths_parsed = map_and_list((lambda s: "-F" + s), shlex.split(framework_search_paths)) +system_framework_search_paths = env_or_empty("SYSTEM_FRAMEWORK_SEARCH_PATHS") +system_framework_search_paths_parsed = map_and_list((lambda s: "-F" + s), shlex.split(system_framework_search_paths)) other_cflags = env_or_empty("OTHER_CFLAGS") other_cflags_parsed = shlex.split(other_cflags) enable_modules = env_bool("CLANG_ENABLE_MODULES") @@ -100,12 +102,17 @@ def generate_metadata(arch): # clang arguments generator_call.extend(["Xclang", "-isysroot", sdk_root, - "-arch", arch, "-" + deployment_target_flag_name + "=" + deployment_target, "-std=" + std]) + if env_or_empty("IS_UIKITFORMAC").capitalize() is "YES": + generator_call.extend(["-arch", arch]) + else: + generator_call.extend(["-target", "{}-apple-ios13.0-macabi".format(arch)]) + generator_call.extend(header_search_paths_parsed) # HEADER_SEARCH_PATHS generator_call.extend(framework_search_paths_parsed) # FRAMEWORK_SEARCH_PATHS + generator_call.extend(system_framework_search_paths_parsed) # SYSTEM_FRAMEWORK_SEARCH_PATHS generator_call.extend(other_cflags_parsed) # OTHER_CFLAGS generator_call.extend(preprocessor_defs_parsed) # GCC_PREPROCESSOR_DEFINITIONS diff --git a/build/scripts/build-step-webkit.sh b/build/scripts/build-step-webkit.sh index dc5757c99..6bcc77541 100755 --- a/build/scripts/build-step-webkit.sh +++ b/build/scripts/build-step-webkit.sh @@ -3,10 +3,25 @@ # This script is added as a run script phase in the CMake generated Xcode project. # Environment variables are provided by Xcode during build. # See the WebKit.cmake configuration file for more info. -xcodebuild -target JavaScriptCore \ - -sdk "$SDKROOT" \ + +if [ "$(echo $IS_UIKITFORMAC | tr '[:upper:]' '[:lower:]')" = "yes" -o "$(echo $IS_UIKITFORMAC | tr '[:upper:]' '[:lower:]')" = "true" -o "$IS_UIKITFORMAC" = "1" ]; then + # Add compiler flags for "UIKit for Mac". See https://github.com/CocoaPods/CocoaPods/issues/8877#issuecomment-499752865 + # Taken from the output of `xcodebuild -scheme JavaScriptCore -showdestinations` + DESTINATION_ARGS=(-destination "variant=UIKit for Mac,arch=x86_64" -UseModernBuildSystem=YES) + echo "info: Launching xcodebuild of JavaScriptCore with 1 retry attempt" + # retry once as a workaround of sporadic error: Build input file cannot be found: ...cmake-build/WebKit-prefix/src/WebKit-build/DerivedSources/WTF/mach_excServer.c' when using Xcode's new build system + set +e +else + DESTINATION_ARGS=(-sdk "$SDKROOT") + set -e +fi + +for i in 1 2; do + xcodebuild build -scheme JavaScriptCore \ + "${DESTINATION_ARGS[@]}" \ -configuration "$CONFIGURATION" \ ARCHS="$ARCHS" \ ONLY_ACTIVE_ARCH="$ONLY_ACTIVE_ARCH" \ $DEPLOYMENT_TARGET_SETTING_NAME="${!DEPLOYMENT_TARGET_CLANG_ENV_NAME}" \ GCC_WARN_INHIBIT_ALL_WARNINGS="YES" +done diff --git a/build/scripts/package-tns-ios.sh b/build/scripts/package-tns-ios.sh index 5ea2b3814..e79370eb1 100755 --- a/build/scripts/package-tns-ios.sh +++ b/build/scripts/package-tns-ios.sh @@ -15,10 +15,19 @@ rm -rf $PACKAGE_DIR mkdir -p "$INTERNAL_DIR" "$WORKSPACE/build/scripts/build-livesync-static-lib.sh" -cp -R "$DIST_DIR/TKLiveSync" "$INTERNAL_DIR" +cp -R "$DIST_DIR/TKLiveSync.xcframework" "$INTERNAL_DIR" "$WORKSPACE/build/scripts/build-nativescript-framework.sh" -cp -R "$DIST_DIR/NativeScript.framework" "$INTERNAL_DIR/NativeScript.framework" +cp -R "$DIST_DIR/NativeScript.xcframework" "$INTERNAL_DIR/NativeScript.xcframework" + +# Add xcframeworks to .zip (NPM modules do not support symlinks, unzipping is done by {N} CLI) +( + set -e + cd $INTERNAL_DIR + zip -qr --symlinks XCFrameworks.zip *.xcframework + rm -rf *.xcframework +) + "$WORKSPACE/build/scripts/build-metadata-generator.sh" cp -R "$DIST_DIR/metadataGenerator" "$INTERNAL_DIR/metadata-generator" diff --git a/cmake-gen.sh b/cmake-gen.sh index af27e0814..90c73d988 100755 --- a/cmake-gen.sh +++ b/cmake-gen.sh @@ -3,3 +3,6 @@ cmake -DBUILD_SHARED_LIBS=1 -GXcode . -Bcmake-build # Workaround for https://cmake.org/pipermail/cmake/2015-April/060484.html sed -i bak -e 's/Versions\/A\///g' cmake-build/NativeScript.xcodeproj/project.pbxproj +# Manually switch to Modern build system because CMake currently doesn't fully support it (luckily our build works with it!) +# see https://gitlab.kitware.com/cmake/cmake/issues/18088 +sed -i bak -e 's/>BuildSystemTypeBuildSystemType_REVERTED - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - 1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - 2. Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - 3. The names of the authors may not be used to endorse or promote - products derived from this software without specific prior - written permission. - - THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS - OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED - WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY - DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE - GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER - IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR - OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN - IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -*/ - - -#ifndef ZIP_EXTERN -# ifndef ZIP_STATIC -# ifdef _WIN32 -# define ZIP_EXTERN __declspec(dllimport) -# elif defined(__GNUC__) && __GNUC__ >= 4 -# define ZIP_EXTERN __attribute__ ((visibility ("default"))) -# else -# define ZIP_EXTERN -# endif -# else -# define ZIP_EXTERN -# endif -#endif - -#ifdef __cplusplus -extern "C" { -#if 0 -} /* fix autoindent */ -#endif -#endif - -#include - -#include -#include -#include - -/* flags for zip_open */ - -#define ZIP_CREATE 1 -#define ZIP_EXCL 2 -#define ZIP_CHECKCONS 4 -#define ZIP_TRUNCATE 8 -#define ZIP_RDONLY 16 - - -/* flags for zip_name_locate, zip_fopen, zip_stat, ... */ - -#define ZIP_FL_NOCASE 1u /* ignore case on name lookup */ -#define ZIP_FL_NODIR 2u /* ignore directory component */ -#define ZIP_FL_COMPRESSED 4u /* read compressed data */ -#define ZIP_FL_UNCHANGED 8u /* use original data, ignoring changes */ -#define ZIP_FL_RECOMPRESS 16u /* force recompression of data */ -#define ZIP_FL_ENCRYPTED 32u /* read encrypted data (implies ZIP_FL_COMPRESSED) */ -#define ZIP_FL_ENC_GUESS 0u /* guess string encoding (is default) */ -#define ZIP_FL_ENC_RAW 64u /* get unmodified string */ -#define ZIP_FL_ENC_STRICT 128u /* follow specification strictly */ -#define ZIP_FL_LOCAL 256u /* in local header */ -#define ZIP_FL_CENTRAL 512u /* in central directory */ -/* 1024u reserved for internal use */ -#define ZIP_FL_ENC_UTF_8 2048u /* string is UTF-8 encoded */ -#define ZIP_FL_ENC_CP437 4096u /* string is CP437 encoded */ -#define ZIP_FL_OVERWRITE 8192u /* zip_file_add: if file with name exists, overwrite (replace) it */ - -/* archive global flags flags */ - -#define ZIP_AFL_RDONLY 2u /* read only -- cannot be cleared */ - - -/* create a new extra field */ - -#define ZIP_EXTRA_FIELD_ALL ZIP_UINT16_MAX -#define ZIP_EXTRA_FIELD_NEW ZIP_UINT16_MAX - - -/* libzip error codes */ - -#define ZIP_ER_OK 0 /* N No error */ -#define ZIP_ER_MULTIDISK 1 /* N Multi-disk zip archives not supported */ -#define ZIP_ER_RENAME 2 /* S Renaming temporary file failed */ -#define ZIP_ER_CLOSE 3 /* S Closing zip archive failed */ -#define ZIP_ER_SEEK 4 /* S Seek error */ -#define ZIP_ER_READ 5 /* S Read error */ -#define ZIP_ER_WRITE 6 /* S Write error */ -#define ZIP_ER_CRC 7 /* N CRC error */ -#define ZIP_ER_ZIPCLOSED 8 /* N Containing zip archive was closed */ -#define ZIP_ER_NOENT 9 /* N No such file */ -#define ZIP_ER_EXISTS 10 /* N File already exists */ -#define ZIP_ER_OPEN 11 /* S Can't open file */ -#define ZIP_ER_TMPOPEN 12 /* S Failure to create temporary file */ -#define ZIP_ER_ZLIB 13 /* Z Zlib error */ -#define ZIP_ER_MEMORY 14 /* N Malloc failure */ -#define ZIP_ER_CHANGED 15 /* N Entry has been changed */ -#define ZIP_ER_COMPNOTSUPP 16 /* N Compression method not supported */ -#define ZIP_ER_EOF 17 /* N Premature end of file */ -#define ZIP_ER_INVAL 18 /* N Invalid argument */ -#define ZIP_ER_NOZIP 19 /* N Not a zip archive */ -#define ZIP_ER_INTERNAL 20 /* N Internal error */ -#define ZIP_ER_INCONS 21 /* N Zip archive inconsistent */ -#define ZIP_ER_REMOVE 22 /* S Can't remove file */ -#define ZIP_ER_DELETED 23 /* N Entry has been deleted */ -#define ZIP_ER_ENCRNOTSUPP 24 /* N Encryption method not supported */ -#define ZIP_ER_RDONLY 25 /* N Read-only archive */ -#define ZIP_ER_NOPASSWD 26 /* N No password provided */ -#define ZIP_ER_WRONGPASSWD 27 /* N Wrong password provided */ -#define ZIP_ER_OPNOTSUPP 28 /* N Operation not supported */ -#define ZIP_ER_INUSE 29 /* N Resource still in use */ -#define ZIP_ER_TELL 30 /* S Tell error */ - -/* type of system error value */ - -#define ZIP_ET_NONE 0 /* sys_err unused */ -#define ZIP_ET_SYS 1 /* sys_err is errno */ -#define ZIP_ET_ZLIB 2 /* sys_err is zlib error code */ - -/* compression methods */ - -#define ZIP_CM_DEFAULT -1 /* better of deflate or store */ -#define ZIP_CM_STORE 0 /* stored (uncompressed) */ -#define ZIP_CM_SHRINK 1 /* shrunk */ -#define ZIP_CM_REDUCE_1 2 /* reduced with factor 1 */ -#define ZIP_CM_REDUCE_2 3 /* reduced with factor 2 */ -#define ZIP_CM_REDUCE_3 4 /* reduced with factor 3 */ -#define ZIP_CM_REDUCE_4 5 /* reduced with factor 4 */ -#define ZIP_CM_IMPLODE 6 /* imploded */ -/* 7 - Reserved for Tokenizing compression algorithm */ -#define ZIP_CM_DEFLATE 8 /* deflated */ -#define ZIP_CM_DEFLATE64 9 /* deflate64 */ -#define ZIP_CM_PKWARE_IMPLODE 10 /* PKWARE imploding */ -/* 11 - Reserved by PKWARE */ -#define ZIP_CM_BZIP2 12 /* compressed using BZIP2 algorithm */ -/* 13 - Reserved by PKWARE */ -#define ZIP_CM_LZMA 14 /* LZMA (EFS) */ -/* 15-17 - Reserved by PKWARE */ -#define ZIP_CM_TERSE 18 /* compressed using IBM TERSE (new) */ -#define ZIP_CM_LZ77 19 /* IBM LZ77 z Architecture (PFS) */ -#define ZIP_CM_WAVPACK 97 /* WavPack compressed data */ -#define ZIP_CM_PPMD 98 /* PPMd version I, Rev 1 */ - -/* encryption methods */ - -#define ZIP_EM_NONE 0 /* not encrypted */ -#define ZIP_EM_TRAD_PKWARE 1 /* traditional PKWARE encryption */ -#if 0 /* Strong Encryption Header not parsed yet */ -#define ZIP_EM_DES 0x6601 /* strong encryption: DES */ -#define ZIP_EM_RC2_OLD 0x6602 /* strong encryption: RC2, version < 5.2 */ -#define ZIP_EM_3DES_168 0x6603 -#define ZIP_EM_3DES_112 0x6609 -#define ZIP_EM_AES_128 0x660e -#define ZIP_EM_AES_192 0x660f -#define ZIP_EM_AES_256 0x6610 -#define ZIP_EM_RC2 0x6702 /* strong encryption: RC2, version >= 5.2 */ -#define ZIP_EM_RC4 0x6801 -#endif -#define ZIP_EM_UNKNOWN 0xffff /* unknown algorithm */ - -#define ZIP_OPSYS_DOS 0x00u -#define ZIP_OPSYS_AMIGA 0x01u -#define ZIP_OPSYS_OPENVMS 0x02u -#define ZIP_OPSYS_UNIX 0x03u -#define ZIP_OPSYS_VM_CMS 0x04u -#define ZIP_OPSYS_ATARI_ST 0x05u -#define ZIP_OPSYS_OS_2 0x06u -#define ZIP_OPSYS_MACINTOSH 0x07u -#define ZIP_OPSYS_Z_SYSTEM 0x08u -#define ZIP_OPSYS_CPM 0x09u -#define ZIP_OPSYS_WINDOWS_NTFS 0x0au -#define ZIP_OPSYS_MVS 0x0bu -#define ZIP_OPSYS_VSE 0x0cu -#define ZIP_OPSYS_ACORN_RISC 0x0du -#define ZIP_OPSYS_VFAT 0x0eu -#define ZIP_OPSYS_ALTERNATE_MVS 0x0fu -#define ZIP_OPSYS_BEOS 0x10u -#define ZIP_OPSYS_TANDEM 0x11u -#define ZIP_OPSYS_OS_400 0x12u -#define ZIP_OPSYS_OS_X 0x13u - -#define ZIP_OPSYS_DEFAULT ZIP_OPSYS_UNIX - - -enum zip_source_cmd { - ZIP_SOURCE_OPEN, /* prepare for reading */ - ZIP_SOURCE_READ, /* read data */ - ZIP_SOURCE_CLOSE, /* reading is done */ - ZIP_SOURCE_STAT, /* get meta information */ - ZIP_SOURCE_ERROR, /* get error information */ - ZIP_SOURCE_FREE, /* cleanup and free resources */ - ZIP_SOURCE_SEEK, /* set position for reading */ - ZIP_SOURCE_TELL, /* get read position */ - ZIP_SOURCE_BEGIN_WRITE, /* prepare for writing */ - ZIP_SOURCE_COMMIT_WRITE, /* writing is done */ - ZIP_SOURCE_ROLLBACK_WRITE, /* discard written changes */ - ZIP_SOURCE_WRITE, /* write data */ - ZIP_SOURCE_SEEK_WRITE, /* set position for writing */ - ZIP_SOURCE_TELL_WRITE, /* get write position */ - ZIP_SOURCE_SUPPORTS, /* check whether source supports command */ - ZIP_SOURCE_REMOVE /* remove file */ -}; -typedef enum zip_source_cmd zip_source_cmd_t; - -#define ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd) (1<<(cmd)) - -#define ZIP_SOURCE_SUPPORTS_READABLE (ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_OPEN) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_READ) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_CLOSE) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_STAT) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ERROR) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_FREE)) - -#define ZIP_SOURCE_SUPPORTS_SEEKABLE (ZIP_SOURCE_SUPPORTS_READABLE \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SUPPORTS)) - -#define ZIP_SOURCE_SUPPORTS_WRITABLE (ZIP_SOURCE_SUPPORTS_SEEKABLE \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_COMMIT_WRITE) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ROLLBACK_WRITE) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_WRITE) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK_WRITE) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL_WRITE) \ - | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_REMOVE)) - -/* for use by sources */ -struct zip_source_args_seek { - zip_int64_t offset; - int whence; -}; - -typedef struct zip_source_args_seek zip_source_args_seek_t; -#define ZIP_SOURCE_GET_ARGS(type, data, len, error) ((len) < sizeof(type) ? zip_error_set((error), ZIP_ER_INVAL, 0), (type *)NULL : (type *)(data)) - - -/* error information */ -/* use zip_error_*() to access */ -struct zip_error { - int zip_err; /* libzip error code (ZIP_ER_*) */ - int sys_err; /* copy of errno (E*) or zlib error code */ - char *str; /* string representation or NULL */ -}; - -#define ZIP_STAT_NAME 0x0001u -#define ZIP_STAT_INDEX 0x0002u -#define ZIP_STAT_SIZE 0x0004u -#define ZIP_STAT_COMP_SIZE 0x0008u -#define ZIP_STAT_MTIME 0x0010u -#define ZIP_STAT_CRC 0x0020u -#define ZIP_STAT_COMP_METHOD 0x0040u -#define ZIP_STAT_ENCRYPTION_METHOD 0x0080u -#define ZIP_STAT_FLAGS 0x0100u - -struct zip_stat { - zip_uint64_t valid; /* which fields have valid values */ - const char *name; /* name of the file */ - zip_uint64_t index; /* index within archive */ - zip_uint64_t size; /* size of file (uncompressed) */ - zip_uint64_t comp_size; /* size of file (compressed) */ - time_t mtime; /* modification time */ - zip_uint32_t crc; /* crc of file data */ - zip_uint16_t comp_method; /* compression method used */ - zip_uint16_t encryption_method; /* encryption method used */ - zip_uint32_t flags; /* reserved for future use */ -}; - -struct zip; -struct zip_file; -struct zip_source; - -typedef struct zip zip_t; -typedef struct zip_error zip_error_t; -typedef struct zip_file zip_file_t; -typedef struct zip_source zip_source_t; -typedef struct zip_stat zip_stat_t; - -typedef zip_uint32_t zip_flags_t; - -typedef zip_int64_t (*zip_source_callback)(void *, void *, zip_uint64_t, zip_source_cmd_t); - - -#ifndef ZIP_DISABLE_DEPRECATED -ZIP_EXTERN zip_int64_t zip_add(zip_t *, const char *, zip_source_t *); /* use zip_file_add */ -ZIP_EXTERN zip_int64_t zip_add_dir(zip_t *, const char *); /* use zip_dir_add */ -ZIP_EXTERN const char *zip_get_file_comment(zip_t *, zip_uint64_t, int *, int); /* use zip_file_get_comment */ -ZIP_EXTERN int zip_get_num_files(zip_t *); /* use zip_get_num_entries instead */ -ZIP_EXTERN int zip_rename(zip_t *, zip_uint64_t, const char *); /* use zip_file_rename */ -ZIP_EXTERN int zip_replace(zip_t *, zip_uint64_t, zip_source_t *); /* use zip_file_replace */ -ZIP_EXTERN int zip_set_file_comment(zip_t *, zip_uint64_t, const char *, int); /* use zip_file_set_comment */ -ZIP_EXTERN int zip_error_get_sys_type(int); /* use zip_error_system_type */ -ZIP_EXTERN void zip_error_get(zip_t *, int *, int *); /* use zip_get_error, zip_error_code_zip / zip_error_code_system */ -ZIP_EXTERN int zip_error_to_str(char *, zip_uint64_t, int, int); -ZIP_EXTERN void zip_file_error_get(zip_file_t *, int *, int *); /* use zip_file_get_error, zip_error_code_zip / zip_error_code_system */ -#endif - -ZIP_EXTERN int zip_archive_set_tempdir(zip_t *, const char *); -ZIP_EXTERN int zip_close(zip_t *); -ZIP_EXTERN int zip_delete(zip_t *, zip_uint64_t); -ZIP_EXTERN zip_int64_t zip_dir_add(zip_t *, const char *, zip_flags_t); -ZIP_EXTERN void zip_discard(zip_t *); - -ZIP_EXTERN zip_error_t *zip_get_error(zip_t *); -ZIP_EXTERN void zip_error_clear(zip_t *); -ZIP_EXTERN int zip_error_code_zip(const zip_error_t *); -ZIP_EXTERN int zip_error_code_system(const zip_error_t *); -ZIP_EXTERN void zip_error_fini(zip_error_t *); -ZIP_EXTERN void zip_error_init(zip_error_t *); -ZIP_EXTERN void zip_error_init_with_code(zip_error_t *, int); -ZIP_EXTERN void zip_error_set(zip_error_t *, int, int); -ZIP_EXTERN const char *zip_error_strerror(zip_error_t *); -ZIP_EXTERN int zip_error_system_type(const zip_error_t *); -ZIP_EXTERN zip_int64_t zip_error_to_data(const zip_error_t *, void *, zip_uint64_t); - -ZIP_EXTERN int zip_fclose(zip_file_t *); -ZIP_EXTERN zip_t *zip_fdopen(int, int, int *); -ZIP_EXTERN zip_int64_t zip_file_add(zip_t *, const char *, zip_source_t *, zip_flags_t); -ZIP_EXTERN void zip_file_error_clear(zip_file_t *); -ZIP_EXTERN int zip_file_extra_field_delete(zip_t *, zip_uint64_t, zip_uint16_t, zip_flags_t); -ZIP_EXTERN int zip_file_extra_field_delete_by_id(zip_t *, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_flags_t); -ZIP_EXTERN int zip_file_extra_field_set(zip_t *, zip_uint64_t, zip_uint16_t, zip_uint16_t, const zip_uint8_t *, zip_uint16_t, zip_flags_t); -ZIP_EXTERN zip_int16_t zip_file_extra_fields_count(zip_t *, zip_uint64_t, zip_flags_t); -ZIP_EXTERN zip_int16_t zip_file_extra_fields_count_by_id(zip_t *, zip_uint64_t, zip_uint16_t, zip_flags_t); -ZIP_EXTERN const zip_uint8_t *zip_file_extra_field_get(zip_t *, zip_uint64_t, zip_uint16_t, zip_uint16_t *, zip_uint16_t *, zip_flags_t); -ZIP_EXTERN const zip_uint8_t *zip_file_extra_field_get_by_id(zip_t *, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_uint16_t *, zip_flags_t); -ZIP_EXTERN const char *zip_file_get_comment(zip_t *, zip_uint64_t, zip_uint32_t *, zip_flags_t); -ZIP_EXTERN zip_error_t *zip_file_get_error(zip_file_t *); -ZIP_EXTERN int zip_file_get_external_attributes(zip_t *, zip_uint64_t, zip_flags_t, zip_uint8_t *, zip_uint32_t *); -ZIP_EXTERN int zip_file_rename(zip_t *, zip_uint64_t, const char *, zip_flags_t); -ZIP_EXTERN int zip_file_replace(zip_t *, zip_uint64_t, zip_source_t *, zip_flags_t); -ZIP_EXTERN int zip_file_set_comment(zip_t *, zip_uint64_t, const char *, zip_uint16_t, zip_flags_t); -ZIP_EXTERN int zip_file_set_external_attributes(zip_t *, zip_uint64_t, zip_flags_t, zip_uint8_t, zip_uint32_t); -ZIP_EXTERN int zip_file_set_mtime(zip_t *, zip_uint64_t, time_t, zip_flags_t); -ZIP_EXTERN const char *zip_file_strerror(zip_file_t *); -ZIP_EXTERN zip_file_t *zip_fopen(zip_t *, const char *, zip_flags_t); -ZIP_EXTERN zip_file_t *zip_fopen_encrypted(zip_t *, const char *, zip_flags_t, const char *); -ZIP_EXTERN zip_file_t *zip_fopen_index(zip_t *, zip_uint64_t, zip_flags_t); -ZIP_EXTERN zip_file_t *zip_fopen_index_encrypted(zip_t *, zip_uint64_t, zip_flags_t, const char *); -ZIP_EXTERN zip_int64_t zip_fread(zip_file_t *, void *, zip_uint64_t); -ZIP_EXTERN const char *zip_get_archive_comment(zip_t *, int *, zip_flags_t); -ZIP_EXTERN int zip_get_archive_flag(zip_t *, zip_flags_t, zip_flags_t); -ZIP_EXTERN const char *zip_get_name(zip_t *, zip_uint64_t, zip_flags_t); -ZIP_EXTERN zip_int64_t zip_get_num_entries(zip_t *, zip_flags_t); -ZIP_EXTERN zip_int64_t zip_name_locate(zip_t *, const char *, zip_flags_t); -ZIP_EXTERN zip_t *zip_open(const char *, int, int *); -ZIP_EXTERN zip_t *zip_open_from_source(zip_source_t *, int, zip_error_t *); -ZIP_EXTERN int zip_set_archive_comment(zip_t *, const char *, zip_uint16_t); -ZIP_EXTERN int zip_set_archive_flag(zip_t *, zip_flags_t, int); -ZIP_EXTERN int zip_set_default_password(zip_t *, const char *); -ZIP_EXTERN int zip_set_file_compression(zip_t *, zip_uint64_t, zip_int32_t, zip_uint32_t); -ZIP_EXTERN int zip_source_begin_write(zip_source_t *); -ZIP_EXTERN zip_source_t *zip_source_buffer(zip_t *, const void *, zip_uint64_t, int); -ZIP_EXTERN zip_source_t *zip_source_buffer_create(const void *, zip_uint64_t, int, zip_error_t *); -ZIP_EXTERN int zip_source_close(zip_source_t *); -ZIP_EXTERN int zip_source_commit_write(zip_source_t *); -ZIP_EXTERN zip_error_t *zip_source_error(zip_source_t *src); -ZIP_EXTERN zip_source_t *zip_source_file(zip_t *, const char *, zip_uint64_t, zip_int64_t); -ZIP_EXTERN zip_source_t *zip_source_file_create(const char *, zip_uint64_t, zip_int64_t, zip_error_t *); -ZIP_EXTERN zip_source_t *zip_source_filep(zip_t *, FILE *, zip_uint64_t, zip_int64_t); -ZIP_EXTERN zip_source_t *zip_source_filep_create(FILE *, zip_uint64_t, zip_int64_t, zip_error_t *); -ZIP_EXTERN void zip_source_free(zip_source_t *); -ZIP_EXTERN zip_source_t *zip_source_function(zip_t *, zip_source_callback, void *); -ZIP_EXTERN zip_source_t *zip_source_function_create(zip_source_callback, void *, zip_error_t *); -ZIP_EXTERN int zip_source_is_deleted(zip_source_t *); -ZIP_EXTERN void zip_source_keep(zip_source_t *); -ZIP_EXTERN zip_int64_t zip_source_make_command_bitmap(zip_source_cmd_t, ...); -ZIP_EXTERN int zip_source_open(zip_source_t *); -ZIP_EXTERN zip_int64_t zip_source_read(zip_source_t *, void *, zip_uint64_t); -ZIP_EXTERN void zip_source_rollback_write(zip_source_t *); -ZIP_EXTERN int zip_source_seek(zip_source_t *, zip_int64_t, int); -ZIP_EXTERN zip_int64_t zip_source_seek_compute_offset(zip_uint64_t, zip_uint64_t, void *, zip_uint64_t, zip_error_t *); -ZIP_EXTERN int zip_source_seek_write(zip_source_t *, zip_int64_t, int); -ZIP_EXTERN int zip_source_stat(zip_source_t *, zip_stat_t *); -ZIP_EXTERN zip_int64_t zip_source_tell(zip_source_t *); -ZIP_EXTERN zip_int64_t zip_source_tell_write(zip_source_t *); -#ifdef _WIN32 -ZIP_EXTERN zip_source_t *zip_source_win32a(zip_t *, const char *, zip_uint64_t, zip_int64_t); -ZIP_EXTERN zip_source_t *zip_source_win32a_create(const char *, zip_uint64_t, zip_int64_t, zip_error_t *); -ZIP_EXTERN zip_source_t *zip_source_win32handle(zip_t *, void *, zip_uint64_t, zip_int64_t); -ZIP_EXTERN zip_source_t *zip_source_win32handle_create(void *, zip_uint64_t, zip_int64_t, zip_error_t *); -ZIP_EXTERN zip_source_t *zip_source_win32w(zip_t *, const wchar_t *, zip_uint64_t, zip_int64_t); -ZIP_EXTERN zip_source_t *zip_source_win32w_create(const wchar_t *, zip_uint64_t, zip_int64_t, zip_error_t *); -#endif -ZIP_EXTERN zip_int64_t zip_source_write(zip_source_t *, const void *, zip_uint64_t); -ZIP_EXTERN zip_source_t *zip_source_zip(zip_t *, zip_t *, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_int64_t); -ZIP_EXTERN int zip_stat(zip_t *, const char *, zip_flags_t, zip_stat_t *); -ZIP_EXTERN int zip_stat_index(zip_t *, zip_uint64_t, zip_flags_t, zip_stat_t *); -ZIP_EXTERN void zip_stat_init(zip_stat_t *); -ZIP_EXTERN const char *zip_strerror(zip_t *); -ZIP_EXTERN int zip_unchange(zip_t *, zip_uint64_t); -ZIP_EXTERN int zip_unchange_all(zip_t *); -ZIP_EXTERN int zip_unchange_archive(zip_t *); - -#ifdef __cplusplus -} -#endif - -#endif /* _HAD_ZIP_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.framework/Headers/zipconf.h b/plugins/TKLiveSync/libzip_iOS.framework/Headers/zipconf.h deleted file mode 100644 index 763f0ec7d..000000000 --- a/plugins/TKLiveSync/libzip_iOS.framework/Headers/zipconf.h +++ /dev/null @@ -1,47 +0,0 @@ -#ifndef _HAD_ZIPCONF_H -#define _HAD_ZIPCONF_H - -/* - zipconf.h -- platform specific include file - - This file was generated automatically by ./make_zipconf.sh - based on ../config.h. - */ - -#define LIBZIP_VERSION "0.11" -#define LIBZIP_VERSION_MAJOR 0 -#define LIBZIP_VERSION_MINOR 11 -#define LIBZIP_VERSION_MICRO 0 - -#include - -typedef int8_t zip_int8_t; -#define ZIP_INT8_MIN INT8_MIN -#define ZIP_INT8_MAX INT8_MAX - -typedef uint8_t zip_uint8_t; -#define ZIP_UINT8_MAX UINT8_MAX - -typedef int16_t zip_int16_t; -#define ZIP_INT16_MIN INT16_MIN -#define ZIP_INT16_MAX INT16_MAX - -typedef uint16_t zip_uint16_t; -#define ZIP_UINT16_MAX UINT16_MAX - -typedef int32_t zip_int32_t; -#define ZIP_INT32_MIN INT32_MIN -#define ZIP_INT32_MAX INT32_MAX - -typedef uint32_t zip_uint32_t; -#define ZIP_UINT32_MAX UINT32_MAX - -typedef int64_t zip_int64_t; -#define ZIP_INT64_MIN INT64_MIN -#define ZIP_INT64_MAX INT64_MAX - -typedef uint64_t zip_uint64_t; -#define ZIP_UINT64_MAX UINT64_MAX - - -#endif /* zipconf.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.framework/Info.plist b/plugins/TKLiveSync/libzip_iOS.framework/Info.plist deleted file mode 100644 index 2df80df02..000000000 --- a/plugins/TKLiveSync/libzip_iOS.framework/Info.plist +++ /dev/null @@ -1,72 +0,0 @@ - - - - - BuildMachineOSBuild - 15G31 - CFBundleDevelopmentRegion - English - CFBundleExecutable - libzip_iOS - CFBundleIdentifier - at.nih.libzip-iOS - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - libzip_iOS - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.1.3 - CFBundleSignature - ???? - CFBundleSupportedPlatforms - - iPhoneOS - - CFBundleVersion - 1 - CFPlugInDynamicRegisterFunction - - CFPlugInDynamicRegistration - NO - CFPlugInFactories - - 00000000-0000-0000-0000-000000000000 - MyFactoryFunction - - CFPlugInTypes - - 00000000-0000-0000-0000-000000000000 - - 00000000-0000-0000-0000-000000000000 - - - CFPlugInUnloadFunction - - DTCompiler - com.apple.compilers.llvm.clang.1_0 - DTPlatformBuild - 13E230 - DTPlatformName - iphoneos - DTPlatformVersion - 9.3 - DTSDKBuild - 13E230 - DTSDKName - iphoneos9.3 - DTXcode - 0730 - DTXcodeBuild - 7D175 - MinimumOSVersion - 5.1 - NSHumanReadableCopyright - Copyright © 2014 Dieter Baron and Thomas Klausner - UIDeviceFamily - - 1 - - - diff --git a/plugins/TKLiveSync/libzip_iOS.framework/README.md b/plugins/TKLiveSync/libzip_iOS.framework/README.md deleted file mode 100644 index 8ad18b3f6..000000000 --- a/plugins/TKLiveSync/libzip_iOS.framework/README.md +++ /dev/null @@ -1 +0,0 @@ -Version: 1.1.3 released on 2016-05-28 - https://nih.at/libzip/ diff --git a/plugins/TKLiveSync/libzip_iOS.framework/libzip_iOS b/plugins/TKLiveSync/libzip_iOS.framework/libzip_iOS deleted file mode 100644 index 0c9ff18c7..000000000 Binary files a/plugins/TKLiveSync/libzip_iOS.framework/libzip_iOS and /dev/null differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/Info.plist b/plugins/TKLiveSync/libzip_iOS.xcframework/Info.plist new file mode 100644 index 000000000..bf9879ae0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/Info.plist @@ -0,0 +1,55 @@ + + + + + AvailableLibraries + + + LibraryIdentifier + ios-armv7_arm64 + LibraryPath + libzip_iOS.framework + SupportedArchitectures + + armv7 + arm64 + + SupportedPlatform + ios + + + LibraryIdentifier + ios-x86_64-maccatalyst + LibraryPath + libzip_iOS.framework + SupportedArchitectures + + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + maccatalyst + + + LibraryIdentifier + ios-i386_x86_64-simulator + LibraryPath + libzip_iOS.framework + SupportedArchitectures + + i386 + x86_64 + + SupportedPlatform + ios + SupportedPlatformVariant + simulator + + + CFBundlePackageType + XFWK + XCFrameworkFormatVersion + 1.0 + + diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/compat.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/compat.h new file mode 100644 index 000000000..132f2cdaf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/compat.h @@ -0,0 +1,206 @@ +#ifndef _HAD_LIBZIP_COMPAT_H +#define _HAD_LIBZIP_COMPAT_H + +/* + compat.h -- compatibility defines. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipconf.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/* to have *_MAX definitions for all types when compiling with g++ */ +#define __STDC_LIMIT_MACROS + +#ifdef _WIN32 +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#define ZIP_EXTERN __declspec(dllexport) +#endif +#endif +/* for dup(), close(), etc. */ +#include +#endif + +#ifdef HAVE_STDBOOL_H +#include +#else +typedef char bool; +#define true 1 +#define false 0 +#endif + +#include + +/* at least MinGW does not provide EOPNOTSUPP, see + * http://sourceforge.net/p/mingw/bugs/263/ + */ +#ifndef EOPNOTSUPP +#define EOPNOTSUPP EINVAL +#endif + +/* at least MinGW does not provide EOVERFLOW, see + * http://sourceforge.net/p/mingw/bugs/242/ + */ +#ifndef EOVERFLOW +#define EOVERFLOW EFBIG +#endif + +#ifdef _WIN32 +#if defined(HAVE__CHMOD) +#define chmod _chmod +#endif +#if defined(HAVE__CLOSE) +#define close _close +#endif +#if defined(HAVE__DUP) +#define dup _dup +#endif +/* crashes reported when using fdopen instead of _fdopen on Windows/Visual Studio 10/Win64 */ +#if defined(HAVE__FDOPEN) +#define fdopen _fdopen +#endif +#if !defined(HAVE_FILENO) && defined(HAVE__FILENO) +#define fileno _fileno +#endif +/* Windows' open() doesn't understand Unix permissions */ +#if defined(HAVE__OPEN) +#define open(a, b, c) _open((a), (b)) +#endif +#if defined(HAVE__SNPRINTF) +#define snprintf _snprintf +#endif +#if defined(HAVE__STRDUP) +#if !defined(HAVE_STRDUP) || defined(_WIN32) +#undef strdup +#define strdup _strdup +#endif +#endif +#if !defined(HAVE__SETMODE) && defined(HAVE_SETMODE) +#define _setmode setmode +#endif +#if !defined(HAVE_STRTOLL) && defined(HAVE__STRTOI64) +#define strtoll _strtoi64 +#endif +#if !defined(HAVE_STRTOULL) && defined(HAVE__STRTOUI64) +#define strtoull _strtoui64 +#endif +#if defined(HAVE__UMASK) +#define umask _umask +#endif +#if defined(HAVE__UNLINK) +#define unlink _unlink +#endif +#endif + +#ifndef HAVE_FSEEKO +#define fseeko(s, o, w) (fseek((s), (long int)(o), (w))) +#endif + +#ifndef HAVE_FTELLO +#define ftello(s) ((long)ftell((s))) +#endif + +#ifndef HAVE_MKSTEMP +int _zip_mkstemp(char*); +#define mkstemp _zip_mkstemp +#endif + +#if !defined(HAVE_STRCASECMP) +#if defined(HAVE__STRICMP) +#define strcasecmp _stricmp +#elif defined(HAVE_STRICMP) +#define strcasecmp stricmp +#endif +#endif + +#ifndef SIZEOF_OFF_T +#error asdf +#endif + +#if SIZEOF_OFF_T == 8 +#define ZIP_OFF_MAX ZIP_INT64_MAX +#define ZIP_OFF_MIN ZIP_INT64_MIN +#elif SIZEOF_OFF_T == 4 +#define ZIP_OFF_MAX ZIP_INT32_MAX +#define ZIP_OFF_MIN ZIP_INT32_MIN +#elif SIZEOF_OFF_T == 2 +#define ZIP_OFF_MAX ZIP_INT16_MAX +#define ZIP_OFF_MIN ZIP_INT16_MIN +#else +#error unsupported size of off_t +#endif + +#if defined(HAVE_FTELLO) && defined(HAVE_FSEEKO) +#define ZIP_FSEEK_MAX ZIP_OFF_MAX +#define ZIP_FSEEK_MIN ZIP_OFF_MIN +#else +#include +#define ZIP_FSEEK_MAX LONG_MAX +#define ZIP_FSEEK_MIN LONG_MIN +#endif + +#ifndef SIZE_MAX +#if SIZEOF_SIZE_T == 8 +#define SIZE_MAX ZIP_INT64_MAX +#elif SIZEOF_SIZE_T == 4 +#define SIZE_MAX ZIP_INT32_MAX +#elif SIZEOF_SIZE_T == 2 +#define SIZE_MAX ZIP_INT16_MAX +#else +#error unsupported size of size_t +#endif +#endif + +#ifndef PRId64 +#ifdef _MSC_VER +#define PRId64 "I64d" +#else +#define PRId64 "lld" +#endif +#endif + +#ifndef PRIu64 +#ifdef _MSC_VER +#define PRIu64 "I64u" +#else +#define PRIu64 "llu" +#endif +#endif + +#ifndef S_ISDIR +#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) +#endif + +#endif /* compat.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/config.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/config.h new file mode 100644 index 000000000..7bc9af833 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/config.h @@ -0,0 +1,92 @@ +#ifndef HAD_CONFIG_H +#define HAD_CONFIG_H +#ifndef _HAD_ZIPCONF_H +#include "zipconf.h" +#endif +/* BEGIN DEFINES */ +/* #undef HAVE___PROGNAME */ +/* #undef HAVE__CHMOD */ +/* #undef HAVE__CLOSE */ +/* #undef HAVE__DUP */ +/* #undef HAVE__FDOPEN */ +/* #undef HAVE__FILENO */ +/* #undef HAVE__OPEN */ +/* #undef HAVE__SETMODE */ +/* #undef HAVE__SNPRINTF */ +/* #undef HAVE__STRDUP */ +/* #undef HAVE__STRICMP */ +/* #undef HAVE__STRTOI64 */ +/* #undef HAVE__STRTOUI64 */ +/* #undef HAVE__UMASK */ +/* #undef HAVE__UNLINK */ +#define HAVE_CLONEFILE +#define HAVE_COMMONCRYPTO +#define HAVE_CRYPTO +/* #undef HAVE_FICLONERANGE */ +#define HAVE_FILENO +#define HAVE_FSEEKO +#define HAVE_FTELLO +#define HAVE_GETPROGNAME +/* #undef HAVE_GNUTLS */ +#define HAVE_LIBBZ2 +/* #undef HAVE_MBEDTLS */ +#define HAVE_MKSTEMP +#define HAVE_NULLABLE +#define HAVE_OPEN +/* #undef HAVE_OPENSSL */ +#define HAVE_SETMODE +#define HAVE_SNPRINTF +#define HAVE_SSIZE_T_LIBZIP +#define HAVE_STRCASECMP +#define HAVE_STRDUP +/* #undef HAVE_STRICMP */ +#define HAVE_STRTOLL +#define HAVE_STRTOULL +/* #undef HAVE_STRUCT_TM_TM_ZONE */ +#define HAVE_STDBOOL_H +#define HAVE_STRINGS_H +#define HAVE_UNISTD_H +/* #undef HAVE_WINDOWS_CRYPTO */ +/* #undef __INT8_LIBZIP */ +#define INT8_T_LIBZIP 1 +#define UINT8_T_LIBZIP 1 +/* #undef __INT16_LIBZIP */ +#define INT16_T_LIBZIP 2 +#define UINT16_T_LIBZIP 2 +/* #undef __INT32_LIBZIP */ +#define INT32_T_LIBZIP 4 +#define UINT32_T_LIBZIP 4 +/* #undef __INT64_LIBZIP */ +#define INT64_T_LIBZIP 8 +#define UINT64_T_LIBZIP 8 +#define SHORT_LIBZIP 2 +#define INT_LIBZIP 4 +#define LONG_LIBZIP 8 +#define LONG_LONG_LIBZIP 8 +#define SIZEOF_OFF_T 8 +#define SIZE_T_LIBZIP 8 +#define SSIZE_T_LIBZIP 8 +/* #undef HAVE_DIRENT_H */ +#define HAVE_FTS_H +/* #undef HAVE_NDIR_H */ +/* #undef HAVE_SYS_DIR_H */ +/* #undef HAVE_SYS_NDIR_H */ +/* #undef WORDS_BIGENDIAN */ +/* #undef HAVE_SHARED */ +/* END DEFINES */ +#define PACKAGE "libzip" +#define VERSION "1.5.2" + +#ifndef HAVE_SSIZE_T_LIBZIP +#if SIZE_T_LIBZIP == INT_LIBZIP +typedef int ssize_t; +#elif SIZE_T_LIBZIP == LONG_LIBZIP +typedef long ssize_t; +#elif SIZE_T_LIBZIP == LONG_LONG_LIBZIP +typedef long long ssize_t; +#else +#error no suitable type for ssize_t found +#endif +#endif + +#endif /* HAD_CONFIG_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip.h new file mode 100644 index 000000000..6d702128e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip.h @@ -0,0 +1,444 @@ +#ifndef _HAD_ZIP_H +#define _HAD_ZIP_H + +/* + zip.h -- exported declarations. + Copyright (C) 1999-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef __cplusplus +extern "C" { +#if 0 +} /* fix autoindent */ +#endif +#endif + +#include "zipconf.h" + +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#ifdef _WIN32 +#define ZIP_EXTERN __declspec(dllimport) +#elif defined(__GNUC__) && __GNUC__ >= 4 +#define ZIP_EXTERN __attribute__((visibility("default"))) +#else +#define ZIP_EXTERN +#endif +#else +#define ZIP_EXTERN +#endif +#endif + +#include +#include +#include + +/* flags for zip_open */ + +#define ZIP_CREATE 1 +#define ZIP_EXCL 2 +#define ZIP_CHECKCONS 4 +#define ZIP_TRUNCATE 8 +#define ZIP_RDONLY 16 + +/* flags for zip_name_locate, zip_fopen, zip_stat, ... */ + +#define ZIP_FL_NOCASE 1u /* ignore case on name lookup */ +#define ZIP_FL_NODIR 2u /* ignore directory component */ +#define ZIP_FL_COMPRESSED 4u /* read compressed data */ +#define ZIP_FL_UNCHANGED 8u /* use original data, ignoring changes */ +#define ZIP_FL_RECOMPRESS 16u /* force recompression of data */ +#define ZIP_FL_ENCRYPTED 32u /* read encrypted data (implies ZIP_FL_COMPRESSED) */ +#define ZIP_FL_ENC_GUESS 0u /* guess string encoding (is default) */ +#define ZIP_FL_ENC_RAW 64u /* get unmodified string */ +#define ZIP_FL_ENC_STRICT 128u /* follow specification strictly */ +#define ZIP_FL_LOCAL 256u /* in local header */ +#define ZIP_FL_CENTRAL 512u /* in central directory */ +/* 1024u reserved for internal use */ +#define ZIP_FL_ENC_UTF_8 2048u /* string is UTF-8 encoded */ +#define ZIP_FL_ENC_CP437 4096u /* string is CP437 encoded */ +#define ZIP_FL_OVERWRITE 8192u /* zip_file_add: if file with name exists, overwrite (replace) it */ + +/* archive global flags flags */ + +#define ZIP_AFL_RDONLY 2u /* read only -- cannot be cleared */ + +/* create a new extra field */ + +#define ZIP_EXTRA_FIELD_ALL ZIP_UINT16_MAX +#define ZIP_EXTRA_FIELD_NEW ZIP_UINT16_MAX + +/* libzip error codes */ + +#define ZIP_ER_OK 0 /* N No error */ +#define ZIP_ER_MULTIDISK 1 /* N Multi-disk zip archives not supported */ +#define ZIP_ER_RENAME 2 /* S Renaming temporary file failed */ +#define ZIP_ER_CLOSE 3 /* S Closing zip archive failed */ +#define ZIP_ER_SEEK 4 /* S Seek error */ +#define ZIP_ER_READ 5 /* S Read error */ +#define ZIP_ER_WRITE 6 /* S Write error */ +#define ZIP_ER_CRC 7 /* N CRC error */ +#define ZIP_ER_ZIPCLOSED 8 /* N Containing zip archive was closed */ +#define ZIP_ER_NOENT 9 /* N No such file */ +#define ZIP_ER_EXISTS 10 /* N File already exists */ +#define ZIP_ER_OPEN 11 /* S Can't open file */ +#define ZIP_ER_TMPOPEN 12 /* S Failure to create temporary file */ +#define ZIP_ER_ZLIB 13 /* Z Zlib error */ +#define ZIP_ER_MEMORY 14 /* N Malloc failure */ +#define ZIP_ER_CHANGED 15 /* N Entry has been changed */ +#define ZIP_ER_COMPNOTSUPP 16 /* N Compression method not supported */ +#define ZIP_ER_EOF 17 /* N Premature end of file */ +#define ZIP_ER_INVAL 18 /* N Invalid argument */ +#define ZIP_ER_NOZIP 19 /* N Not a zip archive */ +#define ZIP_ER_INTERNAL 20 /* N Internal error */ +#define ZIP_ER_INCONS 21 /* N Zip archive inconsistent */ +#define ZIP_ER_REMOVE 22 /* S Can't remove file */ +#define ZIP_ER_DELETED 23 /* N Entry has been deleted */ +#define ZIP_ER_ENCRNOTSUPP 24 /* N Encryption method not supported */ +#define ZIP_ER_RDONLY 25 /* N Read-only archive */ +#define ZIP_ER_NOPASSWD 26 /* N No password provided */ +#define ZIP_ER_WRONGPASSWD 27 /* N Wrong password provided */ +#define ZIP_ER_OPNOTSUPP 28 /* N Operation not supported */ +#define ZIP_ER_INUSE 29 /* N Resource still in use */ +#define ZIP_ER_TELL 30 /* S Tell error */ +#define ZIP_ER_COMPRESSED_DATA 31 /* N Compressed data invalid */ + +/* type of system error value */ + +#define ZIP_ET_NONE 0 /* sys_err unused */ +#define ZIP_ET_SYS 1 /* sys_err is errno */ +#define ZIP_ET_ZLIB 2 /* sys_err is zlib error code */ + +/* compression methods */ + +#define ZIP_CM_DEFAULT -1 /* better of deflate or store */ +#define ZIP_CM_STORE 0 /* stored (uncompressed) */ +#define ZIP_CM_SHRINK 1 /* shrunk */ +#define ZIP_CM_REDUCE_1 2 /* reduced with factor 1 */ +#define ZIP_CM_REDUCE_2 3 /* reduced with factor 2 */ +#define ZIP_CM_REDUCE_3 4 /* reduced with factor 3 */ +#define ZIP_CM_REDUCE_4 5 /* reduced with factor 4 */ +#define ZIP_CM_IMPLODE 6 /* imploded */ +/* 7 - Reserved for Tokenizing compression algorithm */ +#define ZIP_CM_DEFLATE 8 /* deflated */ +#define ZIP_CM_DEFLATE64 9 /* deflate64 */ +#define ZIP_CM_PKWARE_IMPLODE 10 /* PKWARE imploding */ +/* 11 - Reserved by PKWARE */ +#define ZIP_CM_BZIP2 12 /* compressed using BZIP2 algorithm */ +/* 13 - Reserved by PKWARE */ +#define ZIP_CM_LZMA 14 /* LZMA (EFS) */ +/* 15-17 - Reserved by PKWARE */ +#define ZIP_CM_TERSE 18 /* compressed using IBM TERSE (new) */ +#define ZIP_CM_LZ77 19 /* IBM LZ77 z Architecture (PFS) */ +#define ZIP_CM_XZ 95 /* XZ compressed data */ +#define ZIP_CM_JPEG 96 /* Compressed Jpeg data */ +#define ZIP_CM_WAVPACK 97 /* WavPack compressed data */ +#define ZIP_CM_PPMD 98 /* PPMd version I, Rev 1 */ + +/* encryption methods */ + +#define ZIP_EM_NONE 0 /* not encrypted */ +#define ZIP_EM_TRAD_PKWARE 1 /* traditional PKWARE encryption */ +#if 0 /* Strong Encryption Header not parsed yet */ +#define ZIP_EM_DES 0x6601 /* strong encryption: DES */ +#define ZIP_EM_RC2_OLD 0x6602 /* strong encryption: RC2, version < 5.2 */ +#define ZIP_EM_3DES_168 0x6603 +#define ZIP_EM_3DES_112 0x6609 +#define ZIP_EM_PKZIP_AES_128 0x660e +#define ZIP_EM_PKZIP_AES_192 0x660f +#define ZIP_EM_PKZIP_AES_256 0x6610 +#define ZIP_EM_RC2 0x6702 /* strong encryption: RC2, version >= 5.2 */ +#define ZIP_EM_RC4 0x6801 +#endif +#define ZIP_EM_AES_128 0x0101 /* Winzip AES encryption */ +#define ZIP_EM_AES_192 0x0102 +#define ZIP_EM_AES_256 0x0103 +#define ZIP_EM_UNKNOWN 0xffff /* unknown algorithm */ + +#define ZIP_OPSYS_DOS 0x00u +#define ZIP_OPSYS_AMIGA 0x01u +#define ZIP_OPSYS_OPENVMS 0x02u +#define ZIP_OPSYS_UNIX 0x03u +#define ZIP_OPSYS_VM_CMS 0x04u +#define ZIP_OPSYS_ATARI_ST 0x05u +#define ZIP_OPSYS_OS_2 0x06u +#define ZIP_OPSYS_MACINTOSH 0x07u +#define ZIP_OPSYS_Z_SYSTEM 0x08u +#define ZIP_OPSYS_CPM 0x09u +#define ZIP_OPSYS_WINDOWS_NTFS 0x0au +#define ZIP_OPSYS_MVS 0x0bu +#define ZIP_OPSYS_VSE 0x0cu +#define ZIP_OPSYS_ACORN_RISC 0x0du +#define ZIP_OPSYS_VFAT 0x0eu +#define ZIP_OPSYS_ALTERNATE_MVS 0x0fu +#define ZIP_OPSYS_BEOS 0x10u +#define ZIP_OPSYS_TANDEM 0x11u +#define ZIP_OPSYS_OS_400 0x12u +#define ZIP_OPSYS_OS_X 0x13u + +#define ZIP_OPSYS_DEFAULT ZIP_OPSYS_UNIX + +enum zip_source_cmd { + ZIP_SOURCE_OPEN, /* prepare for reading */ + ZIP_SOURCE_READ, /* read data */ + ZIP_SOURCE_CLOSE, /* reading is done */ + ZIP_SOURCE_STAT, /* get meta information */ + ZIP_SOURCE_ERROR, /* get error information */ + ZIP_SOURCE_FREE, /* cleanup and free resources */ + ZIP_SOURCE_SEEK, /* set position for reading */ + ZIP_SOURCE_TELL, /* get read position */ + ZIP_SOURCE_BEGIN_WRITE, /* prepare for writing */ + ZIP_SOURCE_COMMIT_WRITE, /* writing is done */ + ZIP_SOURCE_ROLLBACK_WRITE, /* discard written changes */ + ZIP_SOURCE_WRITE, /* write data */ + ZIP_SOURCE_SEEK_WRITE, /* set position for writing */ + ZIP_SOURCE_TELL_WRITE, /* get write position */ + ZIP_SOURCE_SUPPORTS, /* check whether source supports command */ + ZIP_SOURCE_REMOVE, /* remove file */ + ZIP_SOURCE_GET_COMPRESSION_FLAGS, /* get compression flags, internal only */ + ZIP_SOURCE_BEGIN_WRITE_CLONING /* like ZIP_SOURCE_BEGIN_WRITE, but keep part of original file */ +}; +typedef enum zip_source_cmd zip_source_cmd_t; + +#define ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd) (((zip_int64_t)1) << (cmd)) + +// clang-format off + +#define ZIP_SOURCE_SUPPORTS_READABLE (ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_OPEN) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_READ) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_CLOSE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_STAT) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ERROR) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_FREE)) + +#define ZIP_SOURCE_SUPPORTS_SEEKABLE (ZIP_SOURCE_SUPPORTS_READABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SUPPORTS)) + +#define ZIP_SOURCE_SUPPORTS_WRITABLE (ZIP_SOURCE_SUPPORTS_SEEKABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_COMMIT_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ROLLBACK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_REMOVE)) + +// clang-format on + +/* for use by sources */ +struct zip_source_args_seek { + zip_int64_t offset; + int whence; +}; + +typedef struct zip_source_args_seek zip_source_args_seek_t; +#define ZIP_SOURCE_GET_ARGS(type, data, len, error) ((len) < sizeof(type) ? zip_error_set((error), ZIP_ER_INVAL, 0), (type*)NULL : (type*)(data)) + +/* error information */ +/* use zip_error_*() to access */ +struct zip_error { + int zip_err; /* libzip error code (ZIP_ER_*) */ + int sys_err; /* copy of errno (E*) or zlib error code */ + char* _Nullable str; /* string representation or NULL */ +}; + +#define ZIP_STAT_NAME 0x0001u +#define ZIP_STAT_INDEX 0x0002u +#define ZIP_STAT_SIZE 0x0004u +#define ZIP_STAT_COMP_SIZE 0x0008u +#define ZIP_STAT_MTIME 0x0010u +#define ZIP_STAT_CRC 0x0020u +#define ZIP_STAT_COMP_METHOD 0x0040u +#define ZIP_STAT_ENCRYPTION_METHOD 0x0080u +#define ZIP_STAT_FLAGS 0x0100u + +struct zip_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char* _Nullable name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; + +struct zip_buffer_fragment { + zip_uint8_t* _Nonnull data; + zip_uint64_t length; +}; + +struct zip; +struct zip_file; +struct zip_source; + +typedef struct zip zip_t; +typedef struct zip_error zip_error_t; +typedef struct zip_file zip_file_t; +typedef struct zip_source zip_source_t; +typedef struct zip_stat zip_stat_t; +typedef struct zip_buffer_fragment zip_buffer_fragment_t; + +typedef zip_uint32_t zip_flags_t; + +typedef zip_int64_t (*zip_source_callback)(void* _Nullable, void* _Nullable, zip_uint64_t, zip_source_cmd_t); +typedef void (*zip_progress_callback)(zip_t* _Nonnull, double, void* _Nullable); + +#ifndef ZIP_DISABLE_DEPRECATED +typedef void (*zip_progress_callback_t)(double); +ZIP_EXTERN void zip_register_progress_callback(zip_t* _Nonnull, zip_progress_callback_t _Nullable); /* use zip_register_progress_callback_with_state */ + +ZIP_EXTERN zip_int64_t zip_add(zip_t* _Nonnull, const char* _Nonnull, zip_source_t* _Nonnull); /* use zip_file_add */ +ZIP_EXTERN zip_int64_t zip_add_dir(zip_t* _Nonnull, const char* _Nonnull); /* use zip_dir_add */ +ZIP_EXTERN const char* _Nullable zip_get_file_comment(zip_t* _Nonnull, zip_uint64_t, int* _Nullable, int); /* use zip_file_get_comment */ +ZIP_EXTERN int zip_get_num_files(zip_t* _Nonnull); /* use zip_get_num_entries instead */ +ZIP_EXTERN int zip_rename(zip_t* _Nonnull, zip_uint64_t, const char* _Nonnull); /* use zip_file_rename */ +ZIP_EXTERN int zip_replace(zip_t* _Nonnull, zip_uint64_t, zip_source_t* _Nonnull); /* use zip_file_replace */ +ZIP_EXTERN int zip_set_file_comment(zip_t* _Nonnull, zip_uint64_t, const char* _Nullable, int); /* use zip_file_set_comment */ +ZIP_EXTERN int zip_error_get_sys_type(int); /* use zip_error_system_type */ +ZIP_EXTERN void zip_error_get(zip_t* _Nonnull, int* _Nullable, int* _Nullable); /* use zip_get_error, zip_error_code_zip / zip_error_code_system */ +ZIP_EXTERN int zip_error_to_str(char* _Nonnull, zip_uint64_t, int, int); /* use zip_error_init_with_code / zip_error_strerror */ +ZIP_EXTERN void zip_file_error_get(zip_file_t* _Nonnull, int* _Nullable, int* _Nullable); /* use zip_file_get_error, zip_error_code_zip / zip_error_code_system */ +#endif + +ZIP_EXTERN int zip_close(zip_t* _Nonnull); +ZIP_EXTERN int zip_delete(zip_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int64_t zip_dir_add(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN void zip_discard(zip_t* _Nonnull); + +ZIP_EXTERN zip_error_t* _Nonnull zip_get_error(zip_t* _Nonnull); +ZIP_EXTERN void zip_error_clear(zip_t* _Nonnull); +ZIP_EXTERN int zip_error_code_zip(const zip_error_t* _Nonnull); +ZIP_EXTERN int zip_error_code_system(const zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_fini(zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_init(zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_init_with_code(zip_error_t* _Nonnull, int); +ZIP_EXTERN void zip_error_set(zip_error_t* _Nullable, int, int); +ZIP_EXTERN const char* _Nonnull zip_error_strerror(zip_error_t* _Nonnull); +ZIP_EXTERN int zip_error_system_type(const zip_error_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_error_to_data(const zip_error_t* _Nonnull, void* _Nonnull, zip_uint64_t); + +ZIP_EXTERN int zip_fclose(zip_file_t* _Nonnull); +ZIP_EXTERN zip_t* _Nullable zip_fdopen(int, int, int* _Nullable); +ZIP_EXTERN zip_int64_t zip_file_add(zip_t* _Nonnull, const char* _Nonnull, zip_source_t* _Nonnull, zip_flags_t); +ZIP_EXTERN void zip_file_error_clear(zip_file_t* _Nonnull); +ZIP_EXTERN int zip_file_extra_field_delete(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_delete_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_set(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, const zip_uint8_t* _Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN const zip_uint8_t* _Nullable zip_file_extra_field_get(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t* _Nullable, zip_uint16_t* _Nullable, zip_flags_t); +ZIP_EXTERN const zip_uint8_t* _Nullable zip_file_extra_field_get_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_uint16_t* _Nullable, zip_flags_t); +ZIP_EXTERN const char* _Nullable zip_file_get_comment(zip_t* _Nonnull, zip_uint64_t, zip_uint32_t* _Nullable, zip_flags_t); +ZIP_EXTERN zip_error_t* _Nonnull zip_file_get_error(zip_file_t* _Nonnull); +ZIP_EXTERN int zip_file_get_external_attributes(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t* _Nullable, zip_uint32_t* _Nullable); +ZIP_EXTERN int zip_file_rename(zip_t* _Nonnull, zip_uint64_t, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_replace(zip_t* _Nonnull, zip_uint64_t, zip_source_t* _Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_set_comment(zip_t* _Nonnull, zip_uint64_t, const char* _Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_set_encryption(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, const char* _Nullable); +ZIP_EXTERN int zip_file_set_external_attributes(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t, zip_uint32_t); +ZIP_EXTERN int zip_file_set_mtime(zip_t* _Nonnull, zip_uint64_t, time_t, zip_flags_t); +ZIP_EXTERN const char* _Nonnull zip_file_strerror(zip_file_t* _Nonnull); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_encrypted(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t, const char* _Nullable); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_index(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_index_encrypted(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, const char* _Nullable); +ZIP_EXTERN zip_int64_t zip_fread(zip_file_t* _Nonnull, void* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int8_t zip_fseek(zip_file_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_ftell(zip_file_t* _Nonnull); +ZIP_EXTERN const char* _Nullable zip_get_archive_comment(zip_t* _Nonnull, int* _Nullable, zip_flags_t); +ZIP_EXTERN int zip_get_archive_flag(zip_t* _Nonnull, zip_flags_t, zip_flags_t); +ZIP_EXTERN const char* _Nullable zip_get_name(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int64_t zip_get_num_entries(zip_t* _Nonnull, zip_flags_t); +ZIP_EXTERN const char* _Nonnull zip_libzip_version(void); +ZIP_EXTERN zip_int64_t zip_name_locate(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN zip_t* _Nullable zip_open(const char* _Nonnull, int, int* _Nullable); +ZIP_EXTERN zip_t* _Nullable zip_open_from_source(zip_source_t* _Nonnull, int, zip_error_t* _Nullable); +ZIP_EXTERN int zip_register_progress_callback_with_state(zip_t* _Nonnull, double, zip_progress_callback _Nullable, void (*_Nullable)(void* _Nullable), void* _Nullable); +ZIP_EXTERN int zip_set_archive_comment(zip_t* _Nonnull, const char* _Nullable, zip_uint16_t); +ZIP_EXTERN int zip_set_archive_flag(zip_t* _Nonnull, zip_flags_t, int); +ZIP_EXTERN int zip_set_default_password(zip_t* _Nonnull, const char* _Nullable); +ZIP_EXTERN int zip_set_file_compression(zip_t* _Nonnull, zip_uint64_t, zip_int32_t, zip_uint32_t); +ZIP_EXTERN int zip_source_begin_write(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_begin_write_cloning(zip_source_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer(zip_t* _Nonnull, const void* _Nullable, zip_uint64_t, int); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_create(const void* _Nullable, zip_uint64_t, int, zip_error_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_fragment(zip_t* _Nonnull, const zip_buffer_fragment_t* _Nonnull, zip_uint64_t, int); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_fragment_create(const zip_buffer_fragment_t* _Nonnull, zip_uint64_t, int, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_close(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_commit_write(zip_source_t* _Nonnull); +ZIP_EXTERN zip_error_t* _Nonnull zip_source_error(zip_source_t* _Nonnull); +ZIP_EXTERN zip_source_t* _Nullable zip_source_file(zip_t* _Nonnull, const char* _Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_file_create(const char* _Nonnull, zip_uint64_t, zip_int64_t, zip_error_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_filep(zip_t* _Nonnull, FILE* _Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_filep_create(FILE* _Nonnull, zip_uint64_t, zip_int64_t, zip_error_t* _Nullable); +ZIP_EXTERN void zip_source_free(zip_source_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_function(zip_t* _Nonnull, zip_source_callback _Nonnull, void* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_function_create(zip_source_callback _Nonnull, void* _Nullable, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_is_deleted(zip_source_t* _Nonnull); +ZIP_EXTERN void zip_source_keep(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_make_command_bitmap(zip_source_cmd_t, ...); +ZIP_EXTERN int zip_source_open(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_read(zip_source_t* _Nonnull, void* _Nonnull, zip_uint64_t); +ZIP_EXTERN void zip_source_rollback_write(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_seek(zip_source_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_source_seek_compute_offset(zip_uint64_t, zip_uint64_t, void* _Nonnull, zip_uint64_t, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_seek_write(zip_source_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN int zip_source_stat(zip_source_t* _Nonnull, zip_stat_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell_write(zip_source_t* _Nonnull); +#ifdef _WIN32 +ZIP_EXTERN zip_source_t* zip_source_win32a(zip_t*, const char*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32a_create(const char*, zip_uint64_t, zip_int64_t, zip_error_t*); +ZIP_EXTERN zip_source_t* zip_source_win32handle(zip_t*, void*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32handle_create(void*, zip_uint64_t, zip_int64_t, zip_error_t*); +ZIP_EXTERN zip_source_t* zip_source_win32w(zip_t*, const wchar_t*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32w_create(const wchar_t*, zip_uint64_t, zip_int64_t, zip_error_t*); +#endif +ZIP_EXTERN zip_int64_t zip_source_write(zip_source_t* _Nonnull, const void* _Nullable, zip_uint64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_zip(zip_t* _Nonnull, zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_int64_t); +ZIP_EXTERN int zip_stat(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t, zip_stat_t* _Nonnull); +ZIP_EXTERN int zip_stat_index(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_stat_t* _Nonnull); +ZIP_EXTERN void zip_stat_init(zip_stat_t* _Nonnull); +ZIP_EXTERN const char* _Nonnull zip_strerror(zip_t* _Nonnull); +ZIP_EXTERN int zip_unchange(zip_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN int zip_unchange_all(zip_t* _Nonnull); +ZIP_EXTERN int zip_unchange_archive(zip_t* _Nonnull); + +#ifdef __cplusplus +} +#endif + +#endif /* _HAD_ZIP_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto.h new file mode 100644 index 000000000..585de211c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto.h @@ -0,0 +1,54 @@ +/* + zip_crypto.h -- crypto definitions + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_H +#define HAD_ZIP_CRYPTO_H + +#define ZIP_CRYPTO_SHA1_LENGTH 20 +#define ZIP_CRYPTO_AES_BLOCK_LENGTH 16 + +#if defined(HAVE_WINDOWS_CRYPTO) +#include "zip_crypto_win.h" +#elif defined(HAVE_COMMONCRYPTO) +#include "zip_crypto_commoncrypto.h" +#elif defined(HAVE_GNUTLS) +#include "zip_crypto_gnutls.h" +#elif defined(HAVE_OPENSSL) +#include "zip_crypto_openssl.h" +#elif defined(HAVE_MBEDTLS) +#include "zip_crypto_mbedtls.h" +#else +#error "no crypto backend found" +#endif + +#endif /* HAD_ZIP_CRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_commoncrypto.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_commoncrypto.h new file mode 100644 index 000000000..aa42d3724 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_commoncrypto.h @@ -0,0 +1,53 @@ +/* + zip_crypto_commoncrypto.h -- definitions for CommonCrypto wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_COMMONCRYPTO_H +#define HAD_ZIP_CRYPTO_COMMONCRYPTO_H + +#include + +#define _zip_crypto_aes_t struct _CCCryptor +#define _zip_crypto_hmac_t CCHmacContext + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (CCHmacUpdate((hmac), (data), (length)), true) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac_output(hmac, data) (CCHmacFinal((hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (CCKeyDerivationPBKDF(kCCPBKDF2, (const char*)(key), (key_length), (salt), (salt_length), kCCPRFHmacAlgSHA1, (iterations), (output), (output_length)) == kCCSuccess) + +#endif /* HAD_ZIP_CRYPTO_COMMONCRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_gnutls.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_gnutls.h new file mode 100644 index 000000000..01d854f72 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_gnutls.h @@ -0,0 +1,65 @@ +/* + zip_crypto_gnutls.h -- definitions for GnuTLS wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_GNUTLS_H +#define HAD_ZIP_CRYPTO_GNUTLS_H + +#include +#include + +#include +#include + +typedef struct { + union { + struct aes128_ctx ctx_128; + struct aes192_ctx ctx_192; + struct aes256_ctx ctx_256; + } ctx; + zip_uint16_t key_size; +} _zip_crypto_aes_t; + +#define _zip_crypto_hmac_t gnutls_hmac_hd_t + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (gnutls_hmac(*(hmac), (data), (length)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac_output(hmac, data) (gnutls_hmac_output(*(hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (pbkdf2_hmac_sha1((key_length), (key), (iterations), (salt_length), (salt), (output_length), (output)), true) + +#endif /* HAD_ZIP_CRYPTO_GNUTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_mbedtls.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_mbedtls.h new file mode 100644 index 000000000..259f174db --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_mbedtls.h @@ -0,0 +1,54 @@ +/* + zip_crypto_mbedtls.h -- definitions for mbedtls wrapper + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_MBEDTLS_H +#define HAD_ZIP_CRYPTO_MBEDTLS_H + +#include +#include + +#define _zip_crypto_aes_t mbedtls_aes_context +#define _zip_crypto_hmac_t mbedtls_md_context_t + +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (mbedtls_aes_crypt_ecb((aes), MBEDTLS_AES_ENCRYPT, (in), (out)) == 0) +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); + +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac(hmac, data, length) (mbedtls_md_hmac_update((hmac), (data), (length)) == 0) +#define _zip_crypto_hmac_output(hmac, data) (mbedtls_md_hmac_finish((hmac), (data)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); + +bool _zip_crypto_pbkdf2(const zip_uint8_t* key, zip_uint64_t key_length, const zip_uint8_t* salt, zip_uint16_t salt_length, int iterations, zip_uint8_t* output, zip_uint64_t output_length); + +#endif /* HAD_ZIP_CRYPTO_MBEDTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_openssl.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_openssl.h new file mode 100644 index 000000000..742efb40f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_openssl.h @@ -0,0 +1,54 @@ +/* + zip_crypto_openssl.h -- definitions for OpenSSL wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_OPENSSL_H +#define HAD_ZIP_CRYPTO_OPENSSL_H + +#include +#include + +#define _zip_crypto_aes_t AES_KEY +#define _zip_crypto_hmac_t HMAC_CTX + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (AES_encrypt((in), (out), (aes)), true) +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (HMAC_Update((hmac), (data), (length)) == 1) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t* hmac, zip_uint8_t* data); + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (PKCS5_PBKDF2_HMAC_SHA1((const char*)(key), (key_length), (salt), (salt_length), (iterations), (output_length), (output))) + +#endif /* HAD_ZIP_CRYPTO_OPENSSL_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_win.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_win.h new file mode 100644 index 000000000..f7635e09b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zip_crypto_win.h @@ -0,0 +1,51 @@ +/* + zip_crypto_win.h -- Windows Crypto API wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_WIN_H +#define HAD_ZIP_CRYPTO_WIN_H + +typedef struct _zip_crypto_aes_s _zip_crypto_aes_t; +typedef struct _zip_crypto_hmac_s _zip_crypto_hmac_t; + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); + +bool _zip_crypto_pbkdf2(const zip_uint8_t* key, zip_uint64_t key_length, const zip_uint8_t* salt, zip_uint16_t salt_length, zip_uint16_t iterations, zip_uint8_t* output, zip_uint16_t output_length); + +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +bool _zip_crypto_hmac(_zip_crypto_hmac_t* hmac, zip_uint8_t* data, zip_uint64_t length); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t* hmac, zip_uint8_t* data); + +#endif /* HAD_ZIP_CRYPTO_WIN_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipconf.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipconf.h new file mode 100644 index 000000000..4585bf329 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipconf.h @@ -0,0 +1,45 @@ +#ifndef _HAD_ZIPCONF_H +#define _HAD_ZIPCONF_H + +/* + zipconf.h -- platform specific include file + + This file was generated automatically by CMake + based on ../cmake-zipconf.h.in. + */ + +#define LIBZIP_VERSION "1.5.2" +#define LIBZIP_VERSION_MAJOR 1 +#define LIBZIP_VERSION_MINOR 5 +#define LIBZIP_VERSION_MICRO 2 + +#define ZIP_STATIC + +#include + +typedef int8_t zip_int8_t; +typedef uint8_t zip_uint8_t; +typedef int16_t zip_int16_t; +typedef uint16_t zip_uint16_t; +typedef int32_t zip_int32_t; +typedef uint32_t zip_uint32_t; +typedef int64_t zip_int64_t; +typedef uint64_t zip_uint64_t; + +#define ZIP_INT8_MIN (-ZIP_INT8_MAX - 1) +#define ZIP_INT8_MAX 0x7f +#define ZIP_UINT8_MAX 0xff + +#define ZIP_INT16_MIN (-ZIP_INT16_MAX - 1) +#define ZIP_INT16_MAX 0x7fff +#define ZIP_UINT16_MAX 0xffff + +#define ZIP_INT32_MIN (-ZIP_INT32_MAX - 1L) +#define ZIP_INT32_MAX 0x7fffffffL +#define ZIP_UINT32_MAX 0xffffffffLU + +#define ZIP_INT64_MIN (-ZIP_INT64_MAX - 1LL) +#define ZIP_INT64_MAX 0x7fffffffffffffffLL +#define ZIP_UINT64_MAX 0xffffffffffffffffULL + +#endif /* zipconf.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipint.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipint.h new file mode 100644 index 000000000..48609d972 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipint.h @@ -0,0 +1,579 @@ +#ifndef _HAD_ZIPINT_H +#define _HAD_ZIPINT_H + +/* + zipint.h -- internal declarations. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "compat.h" + +#ifdef ZIP_ALLOCATE_BUFFER +#include +#endif + +#include + +#ifndef _ZIP_COMPILING_DEPRECATED +#define ZIP_DISABLE_DEPRECATED +#endif + +#include "zip.h" + +#define CENTRAL_MAGIC "PK\1\2" +#define LOCAL_MAGIC "PK\3\4" +#define EOCD_MAGIC "PK\5\6" +#define DATADES_MAGIC "PK\7\10" +#define EOCD64LOC_MAGIC "PK\6\7" +#define EOCD64_MAGIC "PK\6\6" +#define CDENTRYSIZE 46u +#define LENTRYSIZE 30 +#define MAXCOMLEN 65536 +#define MAXEXTLEN 65536 +#define EOCDLEN 22 +#define EOCD64LOCLEN 20 +#define EOCD64LEN 56 +#define CDBUFSIZE (MAXCOMLEN + EOCDLEN + EOCD64LOCLEN) +#define BUFSIZE 8192 +#define EFZIP64SIZE 28 +#define EF_WINZIP_AES_SIZE 7 + +#define ZIP_CM_REPLACED_DEFAULT (-2) +#define ZIP_CM_WINZIP_AES 99 /* Winzip AES encrypted */ + +#define WINZIP_AES_PASSWORD_VERIFY_LENGTH 2 +#define WINZIP_AES_MAX_HEADER_LENGTH (16 + WINZIP_AES_PASSWORD_VERIFY_LENGTH) +#define AES_BLOCK_SIZE 16 +#define HMAC_LENGTH 10 +#define SHA1_LENGTH 20 +#define SALT_LENGTH(method) ((method) == ZIP_EM_AES_128 ? 8 : ((method) == ZIP_EM_AES_192 ? 12 : 16)) + +#define ZIP_CM_IS_DEFAULT(x) ((x) == ZIP_CM_DEFAULT || (x) == ZIP_CM_REPLACED_DEFAULT) +#define ZIP_CM_ACTUAL(x) ((zip_uint16_t)(ZIP_CM_IS_DEFAULT(x) ? ZIP_CM_DEFLATE : (x))) + +#define ZIP_EF_UTF_8_COMMENT 0x6375 +#define ZIP_EF_UTF_8_NAME 0x7075 +#define ZIP_EF_WINZIP_AES 0x9901 +#define ZIP_EF_ZIP64 0x0001 + +#define ZIP_EF_IS_INTERNAL(id) ((id) == ZIP_EF_UTF_8_COMMENT || (id) == ZIP_EF_UTF_8_NAME || (id) == ZIP_EF_WINZIP_AES || (id) == ZIP_EF_ZIP64) + +/* according to unzip-6.0's zipinfo.c, this corresponds to a regular file with rw permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT (0100666u << 16) +/* according to unzip-6.0's zipinfo.c, this corresponds to a directory with rwx permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT_DIR (0040777u << 16) + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +/* This section contains API that won't materialize like this. It's + placed in the internal section, pending cleanup. */ + +/* flags for compression and encryption sources */ + +#define ZIP_CODEC_DECODE 0 /* decompress/decrypt (encode flag not set) */ +#define ZIP_CODEC_ENCODE 1 /* compress/encrypt */ + +typedef zip_source_t* (*zip_encryption_implementation)(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); + +zip_encryption_implementation _zip_get_encryption_implementation(zip_uint16_t method, int operation); + +// clang-format off +enum zip_compression_status { + ZIP_COMPRESSION_OK, + ZIP_COMPRESSION_END, + ZIP_COMPRESSION_ERROR, + ZIP_COMPRESSION_NEED_DATA +}; +// clang-format on +typedef enum zip_compression_status zip_compression_status_t; + +struct zip_compression_algorithm { + /* called once to create new context */ + void* (*allocate)(zip_uint16_t method, int compression_flags, zip_error_t* error); + /* called once to free context */ + void (*deallocate)(void* ctx); + + /* get compression specific general purpose bitflags */ + int (*compression_flags)(void* ctx); + + /* start processing */ + bool (*start)(void* ctx); + /* stop processing */ + bool (*end)(void* ctx); + + /* provide new input data, remains valid until next call to input or end */ + bool (*input)(void* ctx, zip_uint8_t* data, zip_uint64_t length); + + /* all input data has been provided */ + void (*end_of_input)(void* ctx); + + /* process input data, writing to data, which has room for length bytes, update length to number of bytes written */ + zip_compression_status_t (*process)(void* ctx, zip_uint8_t* data, zip_uint64_t* length); +}; +typedef struct zip_compression_algorithm zip_compression_algorithm_t; + +extern zip_compression_algorithm_t zip_algorithm_bzip2_compress; +extern zip_compression_algorithm_t zip_algorithm_bzip2_decompress; +extern zip_compression_algorithm_t zip_algorithm_deflate_compress; +extern zip_compression_algorithm_t zip_algorithm_deflate_decompress; + +bool zip_compression_method_supported(zip_int32_t method, bool compress); + +/* This API is not final yet, but we need it internally, so it's private for now. */ + +const zip_uint8_t* zip_get_extra_field_by_id(zip_t*, int, int, zip_uint16_t, int, zip_uint16_t*); + +/* This section contains API that is of limited use until support for + user-supplied compression/encryption implementation is finished. + Thus we will keep it private for now. */ + +typedef zip_int64_t (*zip_source_layered_callback)(zip_source_t*, void*, void*, zip_uint64_t, enum zip_source_cmd); +zip_source_t* zip_source_compress(zip_t* za, zip_source_t* src, zip_int32_t cm, int compression_flags); +zip_source_t* zip_source_crc(zip_t*, zip_source_t*, int); +zip_source_t* zip_source_decompress(zip_t* za, zip_source_t* src, zip_int32_t cm); +zip_source_t* zip_source_layered(zip_t*, zip_source_t*, zip_source_layered_callback, void*); +zip_source_t* zip_source_layered_create(zip_source_t* src, zip_source_layered_callback cb, void* ud, zip_error_t* error); +zip_source_t* zip_source_pkware(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); +int zip_source_remove(zip_source_t*); +zip_int64_t zip_source_supports(zip_source_t* src); +zip_source_t* zip_source_window(zip_t*, zip_source_t*, zip_uint64_t, zip_uint64_t); +zip_source_t* zip_source_winzip_aes_decode(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); +zip_source_t* zip_source_winzip_aes_encode(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); + +/* error source for layered sources */ + +enum zip_les { ZIP_LES_NONE, + ZIP_LES_UPPER, + ZIP_LES_LOWER, + ZIP_LES_INVAL }; + +/* directory entry: general purpose bit flags */ + +#define ZIP_GPBF_ENCRYPTED 0x0001u /* is encrypted */ +#define ZIP_GPBF_DATA_DESCRIPTOR 0x0008u /* crc/size after file data */ +#define ZIP_GPBF_STRONG_ENCRYPTION 0x0040u /* uses strong encryption */ +#define ZIP_GPBF_ENCODING_UTF_8 0x0800u /* file name encoding is UTF-8 */ + +/* extra fields */ +#define ZIP_EF_LOCAL ZIP_FL_LOCAL /* include in local header */ +#define ZIP_EF_CENTRAL ZIP_FL_CENTRAL /* include in central directory */ +#define ZIP_EF_BOTH (ZIP_EF_LOCAL | ZIP_EF_CENTRAL) /* include in both */ + +#define ZIP_FL_FORCE_ZIP64 1024 /* force zip64 extra field (_zip_dirent_write) */ + +#define ZIP_FL_ENCODING_ALL (ZIP_FL_ENC_GUESS | ZIP_FL_ENC_CP437 | ZIP_FL_ENC_UTF_8) + +/* encoding type */ +enum zip_encoding_type { + ZIP_ENCODING_UNKNOWN, /* not yet analyzed */ + ZIP_ENCODING_ASCII, /* plain ASCII */ + ZIP_ENCODING_UTF8_KNOWN, /* is UTF-8 */ + ZIP_ENCODING_UTF8_GUESSED, /* possibly UTF-8 */ + ZIP_ENCODING_CP437, /* Code Page 437 */ + ZIP_ENCODING_ERROR /* should be UTF-8 but isn't */ +}; + +typedef enum zip_encoding_type zip_encoding_type_t; + +struct zip_hash; +struct zip_progress; + +typedef struct zip_cdir zip_cdir_t; +typedef struct zip_dirent zip_dirent_t; +typedef struct zip_entry zip_entry_t; +typedef struct zip_extra_field zip_extra_field_t; +typedef struct zip_string zip_string_t; +typedef struct zip_buffer zip_buffer_t; +typedef struct zip_hash zip_hash_t; +typedef struct zip_progress zip_progress_t; + +/* zip archive, part of API */ + +struct zip { + zip_source_t* src; /* data source for archive */ + unsigned int open_flags; /* flags passed to zip_open */ + zip_error_t error; /* error information */ + + unsigned int flags; /* archive global flags */ + unsigned int ch_flags; /* changed archive global flags */ + + char* default_password; /* password used when no other supplied */ + + zip_string_t* comment_orig; /* archive comment */ + zip_string_t* comment_changes; /* changed archive comment */ + bool comment_changed; /* whether archive comment was changed */ + + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + zip_entry_t* entry; /* entries */ + + unsigned int nopen_source; /* number of open sources using archive */ + unsigned int nopen_source_alloc; /* number of sources allocated */ + zip_source_t** open_source; /* open sources using archive */ + + zip_hash_t* names; /* hash table for name lookup */ + + zip_progress_t* progress; /* progress callback for zip_close() */ +}; + +/* file in zip archive, part of API */ + +struct zip_file { + zip_t* za; /* zip archive containing this file */ + zip_error_t error; /* error information */ + bool eof; + zip_source_t* src; /* data source */ +}; + +/* zip archive directory entry (central or local) */ + +#define ZIP_DIRENT_COMP_METHOD 0x0001u +#define ZIP_DIRENT_FILENAME 0x0002u +#define ZIP_DIRENT_COMMENT 0x0004u +#define ZIP_DIRENT_EXTRA_FIELD 0x0008u +#define ZIP_DIRENT_ATTRIBUTES 0x0010u +#define ZIP_DIRENT_LAST_MOD 0x0020u +#define ZIP_DIRENT_ENCRYPTION_METHOD 0x0040u +#define ZIP_DIRENT_PASSWORD 0x0080u +#define ZIP_DIRENT_ALL ZIP_UINT32_MAX + +struct zip_dirent { + zip_uint32_t changed; + bool local_extra_fields_read; /* whether we already read in local header extra fields */ + bool cloned; /* whether this instance is cloned, and thus shares non-changed strings */ + + bool crc_valid; /* if CRC is valid (sometimes not for encrypted archives) */ + + zip_uint16_t version_madeby; /* (c) version of creator */ + zip_uint16_t version_needed; /* (cl) version needed to extract */ + zip_uint16_t bitflags; /* (cl) general purpose bit flag */ + zip_int32_t comp_method; /* (cl) compression method used (uint16 and ZIP_CM_DEFAULT (-1)) */ + time_t last_mod; /* (cl) time of last modification */ + zip_uint32_t crc; /* (cl) CRC-32 of uncompressed data */ + zip_uint64_t comp_size; /* (cl) size of compressed data */ + zip_uint64_t uncomp_size; /* (cl) size of uncompressed data */ + zip_string_t* filename; /* (cl) file name (NUL-terminated) */ + zip_extra_field_t* extra_fields; /* (cl) extra fields, parsed */ + zip_string_t* comment; /* (c) file comment */ + zip_uint32_t disk_number; /* (c) disk number start */ + zip_uint16_t int_attrib; /* (c) internal file attributes */ + zip_uint32_t ext_attrib; /* (c) external file attributes */ + zip_uint64_t offset; /* (c) offset of local header */ + + zip_uint16_t compression_level; /* level of compression to use (never valid in orig) */ + zip_uint16_t encryption_method; /* encryption method, computed from other fields */ + char* password; /* file specific encryption password */ +}; + +/* zip archive central directory */ + +struct zip_cdir { + zip_entry_t* entry; /* directory entries */ + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + + zip_uint64_t size; /* size of central directory */ + zip_uint64_t offset; /* offset of central directory in file */ + zip_string_t* comment; /* zip archive comment */ + bool is_zip64; /* central directory in zip64 format */ +}; + +struct zip_extra_field { + zip_extra_field_t* next; + zip_flags_t flags; /* in local/central header */ + zip_uint16_t id; /* header id */ + zip_uint16_t size; /* data size */ + zip_uint8_t* data; +}; + +enum zip_source_write_state { + ZIP_SOURCE_WRITE_CLOSED, /* write is not in progress */ + ZIP_SOURCE_WRITE_OPEN, /* write is in progress */ + ZIP_SOURCE_WRITE_FAILED, /* commit failed, only rollback allowed */ + ZIP_SOURCE_WRITE_REMOVED /* file was removed */ +}; +typedef enum zip_source_write_state zip_source_write_state_t; + +struct zip_source { + zip_source_t* src; + union { + zip_source_callback f; + zip_source_layered_callback l; + } cb; + void* ud; + zip_error_t error; + zip_int64_t supports; /* supported commands */ + unsigned int open_count; /* number of times source was opened (directly or as lower layer) */ + zip_source_write_state_t write_state; /* whether source is open for writing */ + bool source_closed; /* set if source archive is closed */ + zip_t* source_archive; /* zip archive we're reading from, NULL if not from archive */ + unsigned int refcount; + bool eof; /* EOF reached */ + bool had_read_error; /* a previous ZIP_SOURCE_READ reported an error */ +}; + +#define ZIP_SOURCE_IS_OPEN_READING(src) ((src)->open_count > 0) +#define ZIP_SOURCE_IS_OPEN_WRITING(src) ((src)->write_state == ZIP_SOURCE_WRITE_OPEN) +#define ZIP_SOURCE_IS_LAYERED(src) ((src)->src != NULL) + +/* entry in zip archive directory */ + +struct zip_entry { + zip_dirent_t* orig; + zip_dirent_t* changes; + zip_source_t* source; + bool deleted; +}; + +/* file or archive comment, or filename */ + +struct zip_string { + zip_uint8_t* raw; /* raw string */ + zip_uint16_t length; /* length of raw string */ + enum zip_encoding_type encoding; /* autorecognized encoding */ + zip_uint8_t* converted; /* autoconverted string */ + zip_uint32_t converted_length; /* length of converted */ +}; + +/* byte array */ + +/* For performance, we usually keep 8k byte arrays on the stack. + However, there are (embedded) systems with a stack size of 12k; + for those, use malloc()/free() */ + +#ifdef ZIP_ALLOCATE_BUFFER +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t* buf +#define byte_array_init(buf, size) (((buf) = (zip_uint8_t*)malloc(size)) != NULL) +#define byte_array_fini(buf) (free(buf)) +#else +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t buf[size] +#define byte_array_init(buf, size) (1) +#define byte_array_fini(buf) ((void)0) +#endif + +/* bounds checked access to memory buffer */ + +struct zip_buffer { + bool ok; + bool free_data; + + zip_uint8_t* data; + zip_uint64_t size; + zip_uint64_t offset; +}; + +/* which files to write in which order */ + +struct zip_filelist { + zip_uint64_t idx; + /* TODO const char *name; */ +}; + +typedef struct zip_filelist zip_filelist_t; + +struct _zip_winzip_aes; +typedef struct _zip_winzip_aes zip_winzip_aes_t; + +extern const char* const _zip_err_str[]; +extern const int _zip_nerr_str; +extern const int _zip_err_type[]; + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +#define ZIP_ENTRY_CHANGED(e, f) ((e)->changes && ((e)->changes->changed & (f))) +#define ZIP_ENTRY_DATA_CHANGED(x) ((x)->source != NULL) +#define ZIP_ENTRY_HAS_CHANGES(e) (ZIP_ENTRY_DATA_CHANGED(e) || (e)->deleted || ZIP_ENTRY_CHANGED((e), ZIP_DIRENT_ALL)) + +#define ZIP_IS_RDONLY(za) ((za)->ch_flags & ZIP_AFL_RDONLY) + +#ifdef HAVE_EXPLICIT_MEMSET +#define _zip_crypto_clear(b, l) explicit_memset((b), 0, (l)) +#else +#ifdef HAVE_EXPLICIT_BZERO +#define _zip_crypto_clear(b, l) explicit_bzero((b), (l)) +#else +#include +#define _zip_crypto_clear(b, l) memset((b), 0, (l)) +#endif +#endif + +zip_int64_t _zip_add_entry(zip_t*); + +zip_uint8_t* _zip_buffer_data(zip_buffer_t* buffer); +bool _zip_buffer_eof(zip_buffer_t* buffer); +void _zip_buffer_free(zip_buffer_t* buffer); +zip_uint8_t* _zip_buffer_get(zip_buffer_t* buffer, zip_uint64_t length); +zip_uint16_t _zip_buffer_get_16(zip_buffer_t* buffer); +zip_uint32_t _zip_buffer_get_32(zip_buffer_t* buffer); +zip_uint64_t _zip_buffer_get_64(zip_buffer_t* buffer); +zip_uint8_t _zip_buffer_get_8(zip_buffer_t* buffer); +zip_uint64_t _zip_buffer_left(zip_buffer_t* buffer); +zip_buffer_t* _zip_buffer_new(zip_uint8_t* data, zip_uint64_t size); +zip_buffer_t* _zip_buffer_new_from_source(zip_source_t* src, zip_uint64_t size, zip_uint8_t* buf, zip_error_t* error); +zip_uint64_t _zip_buffer_offset(zip_buffer_t* buffer); +bool _zip_buffer_ok(zip_buffer_t* buffer); +zip_uint8_t* _zip_buffer_peek(zip_buffer_t* buffer, zip_uint64_t length); +int _zip_buffer_put(zip_buffer_t* buffer, const void* src, size_t length); +int _zip_buffer_put_16(zip_buffer_t* buffer, zip_uint16_t i); +int _zip_buffer_put_32(zip_buffer_t* buffer, zip_uint32_t i); +int _zip_buffer_put_64(zip_buffer_t* buffer, zip_uint64_t i); +int _zip_buffer_put_8(zip_buffer_t* buffer, zip_uint8_t i); +zip_uint64_t _zip_buffer_read(zip_buffer_t* buffer, zip_uint8_t* data, zip_uint64_t length); +int _zip_buffer_skip(zip_buffer_t* buffer, zip_uint64_t length); +int _zip_buffer_set_offset(zip_buffer_t* buffer, zip_uint64_t offset); +zip_uint64_t _zip_buffer_size(zip_buffer_t* buffer); + +int _zip_cdir_compute_crc(zip_t*, uLong*); +void _zip_cdir_free(zip_cdir_t*); +bool _zip_cdir_grow(zip_cdir_t* cd, zip_uint64_t additional_entries, zip_error_t* error); +zip_cdir_t* _zip_cdir_new(zip_uint64_t, zip_error_t*); +zip_int64_t _zip_cdir_write(zip_t* za, const zip_filelist_t* filelist, zip_uint64_t survivors); +void _zip_deregister_source(zip_t* za, zip_source_t* src); + +zip_dirent_t* _zip_dirent_clone(const zip_dirent_t*); +void _zip_dirent_free(zip_dirent_t*); +void _zip_dirent_finalize(zip_dirent_t*); +void _zip_dirent_init(zip_dirent_t*); +bool _zip_dirent_needs_zip64(const zip_dirent_t*, zip_flags_t); +zip_dirent_t* _zip_dirent_new(void); +zip_int64_t _zip_dirent_read(zip_dirent_t* zde, zip_source_t* src, zip_buffer_t* buffer, bool local, zip_error_t* error); +void _zip_dirent_set_version_needed(zip_dirent_t* de, bool force_zip64); +zip_int32_t _zip_dirent_size(zip_source_t* src, zip_uint16_t, zip_error_t*); +int _zip_dirent_write(zip_t* za, zip_dirent_t* dirent, zip_flags_t flags); + +zip_extra_field_t* _zip_ef_clone(const zip_extra_field_t*, zip_error_t*); +zip_extra_field_t* _zip_ef_delete_by_id(zip_extra_field_t*, zip_uint16_t, zip_uint16_t, zip_flags_t); +void _zip_ef_free(zip_extra_field_t*); +const zip_uint8_t* _zip_ef_get_by_id(const zip_extra_field_t*, zip_uint16_t*, zip_uint16_t, zip_uint16_t, zip_flags_t, zip_error_t*); +zip_extra_field_t* _zip_ef_merge(zip_extra_field_t*, zip_extra_field_t*); +zip_extra_field_t* _zip_ef_new(zip_uint16_t, zip_uint16_t, const zip_uint8_t*, zip_flags_t); +bool _zip_ef_parse(const zip_uint8_t*, zip_uint16_t, zip_flags_t, zip_extra_field_t**, zip_error_t*); +zip_extra_field_t* _zip_ef_remove_internal(zip_extra_field_t*); +zip_uint16_t _zip_ef_size(const zip_extra_field_t*, zip_flags_t); +int _zip_ef_write(zip_t* za, const zip_extra_field_t* ef, zip_flags_t flags); + +void _zip_entry_finalize(zip_entry_t*); +void _zip_entry_init(zip_entry_t*); + +void _zip_error_clear(zip_error_t*); +void _zip_error_get(const zip_error_t*, int*, int*); + +void _zip_error_copy(zip_error_t* dst, const zip_error_t* src); +void _zip_error_set_from_source(zip_error_t*, zip_source_t*); + +const zip_uint8_t* _zip_extract_extra_field_by_id(zip_error_t*, zip_uint16_t, int, const zip_uint8_t*, zip_uint16_t, zip_uint16_t*); + +int _zip_file_extra_field_prepare_for_change(zip_t*, zip_uint64_t); +int _zip_file_fillbuf(void*, size_t, zip_file_t*); +zip_uint64_t _zip_file_get_end(const zip_t* za, zip_uint64_t index, zip_error_t* error); +zip_uint64_t _zip_file_get_offset(const zip_t*, zip_uint64_t, zip_error_t*); + +int _zip_filerange_crc(zip_source_t* src, zip_uint64_t offset, zip_uint64_t length, uLong* crcp, zip_error_t* error); + +zip_dirent_t* _zip_get_dirent(zip_t*, zip_uint64_t, zip_flags_t, zip_error_t*); + +enum zip_encoding_type _zip_guess_encoding(zip_string_t*, enum zip_encoding_type); +zip_uint8_t* _zip_cp437_to_utf8(const zip_uint8_t* const, zip_uint32_t, zip_uint32_t*, zip_error_t*); + +bool _zip_hash_add(zip_hash_t* hash, const zip_uint8_t* name, zip_uint64_t index, zip_flags_t flags, zip_error_t* error); +bool _zip_hash_delete(zip_hash_t* hash, const zip_uint8_t* key, zip_error_t* error); +void _zip_hash_free(zip_hash_t* hash); +zip_int64_t _zip_hash_lookup(zip_hash_t* hash, const zip_uint8_t* name, zip_flags_t flags, zip_error_t* error); +zip_hash_t* _zip_hash_new(zip_error_t* error); +bool _zip_hash_reserve_capacity(zip_hash_t* hash, zip_uint64_t capacity, zip_error_t* error); +bool _zip_hash_revert(zip_hash_t* hash, zip_error_t* error); + +zip_t* _zip_open(zip_source_t*, unsigned int, zip_error_t*); + +void _zip_progress_end(zip_progress_t* progress); +void _zip_progress_free(zip_progress_t* progress); +zip_progress_t* _zip_progress_new(zip_t* za, double precision, zip_progress_callback callback, void (*ud_free)(void*), void* ud); +void _zip_progress_start(zip_progress_t* progress); +void _zip_progress_subrange(zip_progress_t* progress, double start, double end); +void _zip_progress_update(zip_progress_t* progress, double value); + +ZIP_EXTERN bool zip_random(zip_uint8_t* buffer, zip_uint16_t length); + +int _zip_read(zip_source_t* src, zip_uint8_t* data, zip_uint64_t length, zip_error_t* error); +int _zip_read_at_offset(zip_source_t* src, zip_uint64_t offset, unsigned char* b, size_t length, zip_error_t* error); +zip_uint8_t* _zip_read_data(zip_buffer_t* buffer, zip_source_t* src, size_t length, bool nulp, zip_error_t* error); +int _zip_read_local_ef(zip_t*, zip_uint64_t); +zip_string_t* _zip_read_string(zip_buffer_t* buffer, zip_source_t* src, zip_uint16_t lenght, bool nulp, zip_error_t* error); +int _zip_register_source(zip_t* za, zip_source_t* src); + +void _zip_set_open_error(int* zep, const zip_error_t* err, int ze); + +zip_int64_t _zip_source_call(zip_source_t* src, void* data, zip_uint64_t length, zip_source_cmd_t command); +bool _zip_source_eof(zip_source_t*); +zip_source_t* _zip_source_file_or_p(const char*, FILE*, zip_uint64_t, zip_int64_t, const zip_stat_t*, zip_error_t* error); +zip_int8_t zip_source_get_compression_flags(zip_source_t*); +bool _zip_source_had_error(zip_source_t*); +void _zip_source_invalidate(zip_source_t* src); +zip_source_t* _zip_source_new(zip_error_t* error); +int _zip_source_set_source_archive(zip_source_t*, zip_t*); +zip_source_t* _zip_source_window_new(zip_source_t* src, zip_uint64_t start, zip_uint64_t length, zip_stat_t* st, zip_int8_t compression_flags, zip_t* source_archive, zip_uint64_t source_index, zip_error_t* error); +zip_source_t* _zip_source_zip_new(zip_t*, zip_t*, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_uint64_t, const char*); + +int _zip_stat_merge(zip_stat_t* dst, const zip_stat_t* src, zip_error_t* error); +int _zip_string_equal(const zip_string_t*, const zip_string_t*); +void _zip_string_free(zip_string_t*); +zip_uint32_t _zip_string_crc32(const zip_string_t*); +const zip_uint8_t* _zip_string_get(zip_string_t*, zip_uint32_t*, zip_flags_t, zip_error_t*); +zip_uint16_t _zip_string_length(const zip_string_t*); +zip_string_t* _zip_string_new(const zip_uint8_t*, zip_uint16_t, zip_flags_t, zip_error_t*); +int _zip_string_write(zip_t* za, const zip_string_t* string); +bool _zip_winzip_aes_decrypt(zip_winzip_aes_t* ctx, zip_uint8_t* data, zip_uint64_t length); +bool _zip_winzip_aes_encrypt(zip_winzip_aes_t* ctx, zip_uint8_t* data, zip_uint64_t length); +bool _zip_winzip_aes_finish(zip_winzip_aes_t* ctx, zip_uint8_t* hmac); +void _zip_winzip_aes_free(zip_winzip_aes_t* ctx); +zip_winzip_aes_t* _zip_winzip_aes_new(const zip_uint8_t* password, zip_uint64_t password_length, const zip_uint8_t* salt, zip_uint16_t key_size, zip_uint8_t* password_verify, zip_error_t* error); + +int _zip_changed(const zip_t*, zip_uint64_t*); +const char* _zip_get_name(zip_t*, zip_uint64_t, zip_flags_t, zip_error_t*); +int _zip_local_header_read(zip_t*, int); +void* _zip_memdup(const void*, size_t, zip_error_t*); +zip_int64_t _zip_name_locate(zip_t*, const char*, zip_flags_t, zip_error_t*); +zip_t* _zip_new(zip_error_t*); + +zip_int64_t _zip_file_replace(zip_t*, zip_uint64_t, const char*, zip_source_t*, zip_flags_t); +int _zip_set_name(zip_t*, zip_uint64_t, const char*, zip_flags_t); +void _zip_u2d_time(time_t, zip_uint16_t*, zip_uint16_t*); +int _zip_unchange(zip_t*, zip_uint64_t, int); +void _zip_unchange_data(zip_entry_t*); +int _zip_write(zip_t* za, const void* data, zip_uint64_t length); + +#endif /* zipint.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipwin32.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipwin32.h new file mode 100644 index 000000000..cd4362fdf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Headers/zipwin32.h @@ -0,0 +1,85 @@ +#ifndef _HAD_ZIPWIN32_H +#define _HAD_ZIPWIN32_H + +/* + zipwin32.h -- internal declarations for Windows. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* 0x0501 => Windows XP; needs to be at least this value because of GetFileSizeEx */ +#if !defined(MS_UWP) && !defined(_WIN32_WINNT) +#define _WIN32_WINNT 0x0501 +#endif + +#include + +/* context for Win32 source */ + +struct _zip_source_win32_file_ops; + +struct _zip_source_win32_read_file { + zip_error_t error; /* last error information */ + zip_int64_t supports; + + /* operations */ + struct _zip_source_win32_file_ops* ops; + + /* reading */ + void* fname; /* name of file to read from - ANSI (char *) or Unicode (wchar_t *) */ + void* h; /* HANDLE for file to read from */ + int closep; /* whether to close f on ZIP_CMD_FREE */ + struct zip_stat st; /* stat information passed in */ + zip_uint64_t start; /* start offset of data to read */ + zip_uint64_t end; /* end offset of data to read, 0 for up to EOF */ + zip_uint64_t current; /* current offset */ + + /* writing */ + void* tmpname; /* name of temp file - ANSI (char *) or Unicode (wchar_t *) */ + void* hout; /* HANDLE for output file */ +}; + +typedef struct _zip_source_win32_read_file _zip_source_win32_read_file_t; + +/* internal operations for Win32 source */ + +struct _zip_source_win32_file_ops { + void* (*op_strdup)(const void*); + void* (*op_open)(_zip_source_win32_read_file_t*); + void* (*op_create_temp)(_zip_source_win32_read_file_t*, void**, zip_uint32_t, PSECURITY_ATTRIBUTES); + int (*op_rename_temp)(_zip_source_win32_read_file_t*); + int (*op_remove)(const void*); +}; + +typedef struct _zip_source_win32_file_ops _zip_source_win32_file_ops_t; + +zip_source_t* _zip_source_win32_handle_or_name(const void*, void*, zip_uint64_t, zip_int64_t, int, const zip_stat_t*, _zip_source_win32_file_ops_t*, zip_error_t*); + +#endif /* zipwin32.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Info.plist b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Info.plist new file mode 100644 index 000000000..b78ec90e0 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/Info.plist differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/libzip_iOS b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/libzip_iOS new file mode 100644 index 000000000..1f3e45080 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-armv7_arm64/libzip_iOS.framework/libzip_iOS differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/compat.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/compat.h new file mode 100644 index 000000000..132f2cdaf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/compat.h @@ -0,0 +1,206 @@ +#ifndef _HAD_LIBZIP_COMPAT_H +#define _HAD_LIBZIP_COMPAT_H + +/* + compat.h -- compatibility defines. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipconf.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/* to have *_MAX definitions for all types when compiling with g++ */ +#define __STDC_LIMIT_MACROS + +#ifdef _WIN32 +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#define ZIP_EXTERN __declspec(dllexport) +#endif +#endif +/* for dup(), close(), etc. */ +#include +#endif + +#ifdef HAVE_STDBOOL_H +#include +#else +typedef char bool; +#define true 1 +#define false 0 +#endif + +#include + +/* at least MinGW does not provide EOPNOTSUPP, see + * http://sourceforge.net/p/mingw/bugs/263/ + */ +#ifndef EOPNOTSUPP +#define EOPNOTSUPP EINVAL +#endif + +/* at least MinGW does not provide EOVERFLOW, see + * http://sourceforge.net/p/mingw/bugs/242/ + */ +#ifndef EOVERFLOW +#define EOVERFLOW EFBIG +#endif + +#ifdef _WIN32 +#if defined(HAVE__CHMOD) +#define chmod _chmod +#endif +#if defined(HAVE__CLOSE) +#define close _close +#endif +#if defined(HAVE__DUP) +#define dup _dup +#endif +/* crashes reported when using fdopen instead of _fdopen on Windows/Visual Studio 10/Win64 */ +#if defined(HAVE__FDOPEN) +#define fdopen _fdopen +#endif +#if !defined(HAVE_FILENO) && defined(HAVE__FILENO) +#define fileno _fileno +#endif +/* Windows' open() doesn't understand Unix permissions */ +#if defined(HAVE__OPEN) +#define open(a, b, c) _open((a), (b)) +#endif +#if defined(HAVE__SNPRINTF) +#define snprintf _snprintf +#endif +#if defined(HAVE__STRDUP) +#if !defined(HAVE_STRDUP) || defined(_WIN32) +#undef strdup +#define strdup _strdup +#endif +#endif +#if !defined(HAVE__SETMODE) && defined(HAVE_SETMODE) +#define _setmode setmode +#endif +#if !defined(HAVE_STRTOLL) && defined(HAVE__STRTOI64) +#define strtoll _strtoi64 +#endif +#if !defined(HAVE_STRTOULL) && defined(HAVE__STRTOUI64) +#define strtoull _strtoui64 +#endif +#if defined(HAVE__UMASK) +#define umask _umask +#endif +#if defined(HAVE__UNLINK) +#define unlink _unlink +#endif +#endif + +#ifndef HAVE_FSEEKO +#define fseeko(s, o, w) (fseek((s), (long int)(o), (w))) +#endif + +#ifndef HAVE_FTELLO +#define ftello(s) ((long)ftell((s))) +#endif + +#ifndef HAVE_MKSTEMP +int _zip_mkstemp(char*); +#define mkstemp _zip_mkstemp +#endif + +#if !defined(HAVE_STRCASECMP) +#if defined(HAVE__STRICMP) +#define strcasecmp _stricmp +#elif defined(HAVE_STRICMP) +#define strcasecmp stricmp +#endif +#endif + +#ifndef SIZEOF_OFF_T +#error asdf +#endif + +#if SIZEOF_OFF_T == 8 +#define ZIP_OFF_MAX ZIP_INT64_MAX +#define ZIP_OFF_MIN ZIP_INT64_MIN +#elif SIZEOF_OFF_T == 4 +#define ZIP_OFF_MAX ZIP_INT32_MAX +#define ZIP_OFF_MIN ZIP_INT32_MIN +#elif SIZEOF_OFF_T == 2 +#define ZIP_OFF_MAX ZIP_INT16_MAX +#define ZIP_OFF_MIN ZIP_INT16_MIN +#else +#error unsupported size of off_t +#endif + +#if defined(HAVE_FTELLO) && defined(HAVE_FSEEKO) +#define ZIP_FSEEK_MAX ZIP_OFF_MAX +#define ZIP_FSEEK_MIN ZIP_OFF_MIN +#else +#include +#define ZIP_FSEEK_MAX LONG_MAX +#define ZIP_FSEEK_MIN LONG_MIN +#endif + +#ifndef SIZE_MAX +#if SIZEOF_SIZE_T == 8 +#define SIZE_MAX ZIP_INT64_MAX +#elif SIZEOF_SIZE_T == 4 +#define SIZE_MAX ZIP_INT32_MAX +#elif SIZEOF_SIZE_T == 2 +#define SIZE_MAX ZIP_INT16_MAX +#else +#error unsupported size of size_t +#endif +#endif + +#ifndef PRId64 +#ifdef _MSC_VER +#define PRId64 "I64d" +#else +#define PRId64 "lld" +#endif +#endif + +#ifndef PRIu64 +#ifdef _MSC_VER +#define PRIu64 "I64u" +#else +#define PRIu64 "llu" +#endif +#endif + +#ifndef S_ISDIR +#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) +#endif + +#endif /* compat.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/config.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/config.h new file mode 100644 index 000000000..7bc9af833 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/config.h @@ -0,0 +1,92 @@ +#ifndef HAD_CONFIG_H +#define HAD_CONFIG_H +#ifndef _HAD_ZIPCONF_H +#include "zipconf.h" +#endif +/* BEGIN DEFINES */ +/* #undef HAVE___PROGNAME */ +/* #undef HAVE__CHMOD */ +/* #undef HAVE__CLOSE */ +/* #undef HAVE__DUP */ +/* #undef HAVE__FDOPEN */ +/* #undef HAVE__FILENO */ +/* #undef HAVE__OPEN */ +/* #undef HAVE__SETMODE */ +/* #undef HAVE__SNPRINTF */ +/* #undef HAVE__STRDUP */ +/* #undef HAVE__STRICMP */ +/* #undef HAVE__STRTOI64 */ +/* #undef HAVE__STRTOUI64 */ +/* #undef HAVE__UMASK */ +/* #undef HAVE__UNLINK */ +#define HAVE_CLONEFILE +#define HAVE_COMMONCRYPTO +#define HAVE_CRYPTO +/* #undef HAVE_FICLONERANGE */ +#define HAVE_FILENO +#define HAVE_FSEEKO +#define HAVE_FTELLO +#define HAVE_GETPROGNAME +/* #undef HAVE_GNUTLS */ +#define HAVE_LIBBZ2 +/* #undef HAVE_MBEDTLS */ +#define HAVE_MKSTEMP +#define HAVE_NULLABLE +#define HAVE_OPEN +/* #undef HAVE_OPENSSL */ +#define HAVE_SETMODE +#define HAVE_SNPRINTF +#define HAVE_SSIZE_T_LIBZIP +#define HAVE_STRCASECMP +#define HAVE_STRDUP +/* #undef HAVE_STRICMP */ +#define HAVE_STRTOLL +#define HAVE_STRTOULL +/* #undef HAVE_STRUCT_TM_TM_ZONE */ +#define HAVE_STDBOOL_H +#define HAVE_STRINGS_H +#define HAVE_UNISTD_H +/* #undef HAVE_WINDOWS_CRYPTO */ +/* #undef __INT8_LIBZIP */ +#define INT8_T_LIBZIP 1 +#define UINT8_T_LIBZIP 1 +/* #undef __INT16_LIBZIP */ +#define INT16_T_LIBZIP 2 +#define UINT16_T_LIBZIP 2 +/* #undef __INT32_LIBZIP */ +#define INT32_T_LIBZIP 4 +#define UINT32_T_LIBZIP 4 +/* #undef __INT64_LIBZIP */ +#define INT64_T_LIBZIP 8 +#define UINT64_T_LIBZIP 8 +#define SHORT_LIBZIP 2 +#define INT_LIBZIP 4 +#define LONG_LIBZIP 8 +#define LONG_LONG_LIBZIP 8 +#define SIZEOF_OFF_T 8 +#define SIZE_T_LIBZIP 8 +#define SSIZE_T_LIBZIP 8 +/* #undef HAVE_DIRENT_H */ +#define HAVE_FTS_H +/* #undef HAVE_NDIR_H */ +/* #undef HAVE_SYS_DIR_H */ +/* #undef HAVE_SYS_NDIR_H */ +/* #undef WORDS_BIGENDIAN */ +/* #undef HAVE_SHARED */ +/* END DEFINES */ +#define PACKAGE "libzip" +#define VERSION "1.5.2" + +#ifndef HAVE_SSIZE_T_LIBZIP +#if SIZE_T_LIBZIP == INT_LIBZIP +typedef int ssize_t; +#elif SIZE_T_LIBZIP == LONG_LIBZIP +typedef long ssize_t; +#elif SIZE_T_LIBZIP == LONG_LONG_LIBZIP +typedef long long ssize_t; +#else +#error no suitable type for ssize_t found +#endif +#endif + +#endif /* HAD_CONFIG_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip.h new file mode 100644 index 000000000..6d702128e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip.h @@ -0,0 +1,444 @@ +#ifndef _HAD_ZIP_H +#define _HAD_ZIP_H + +/* + zip.h -- exported declarations. + Copyright (C) 1999-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef __cplusplus +extern "C" { +#if 0 +} /* fix autoindent */ +#endif +#endif + +#include "zipconf.h" + +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#ifdef _WIN32 +#define ZIP_EXTERN __declspec(dllimport) +#elif defined(__GNUC__) && __GNUC__ >= 4 +#define ZIP_EXTERN __attribute__((visibility("default"))) +#else +#define ZIP_EXTERN +#endif +#else +#define ZIP_EXTERN +#endif +#endif + +#include +#include +#include + +/* flags for zip_open */ + +#define ZIP_CREATE 1 +#define ZIP_EXCL 2 +#define ZIP_CHECKCONS 4 +#define ZIP_TRUNCATE 8 +#define ZIP_RDONLY 16 + +/* flags for zip_name_locate, zip_fopen, zip_stat, ... */ + +#define ZIP_FL_NOCASE 1u /* ignore case on name lookup */ +#define ZIP_FL_NODIR 2u /* ignore directory component */ +#define ZIP_FL_COMPRESSED 4u /* read compressed data */ +#define ZIP_FL_UNCHANGED 8u /* use original data, ignoring changes */ +#define ZIP_FL_RECOMPRESS 16u /* force recompression of data */ +#define ZIP_FL_ENCRYPTED 32u /* read encrypted data (implies ZIP_FL_COMPRESSED) */ +#define ZIP_FL_ENC_GUESS 0u /* guess string encoding (is default) */ +#define ZIP_FL_ENC_RAW 64u /* get unmodified string */ +#define ZIP_FL_ENC_STRICT 128u /* follow specification strictly */ +#define ZIP_FL_LOCAL 256u /* in local header */ +#define ZIP_FL_CENTRAL 512u /* in central directory */ +/* 1024u reserved for internal use */ +#define ZIP_FL_ENC_UTF_8 2048u /* string is UTF-8 encoded */ +#define ZIP_FL_ENC_CP437 4096u /* string is CP437 encoded */ +#define ZIP_FL_OVERWRITE 8192u /* zip_file_add: if file with name exists, overwrite (replace) it */ + +/* archive global flags flags */ + +#define ZIP_AFL_RDONLY 2u /* read only -- cannot be cleared */ + +/* create a new extra field */ + +#define ZIP_EXTRA_FIELD_ALL ZIP_UINT16_MAX +#define ZIP_EXTRA_FIELD_NEW ZIP_UINT16_MAX + +/* libzip error codes */ + +#define ZIP_ER_OK 0 /* N No error */ +#define ZIP_ER_MULTIDISK 1 /* N Multi-disk zip archives not supported */ +#define ZIP_ER_RENAME 2 /* S Renaming temporary file failed */ +#define ZIP_ER_CLOSE 3 /* S Closing zip archive failed */ +#define ZIP_ER_SEEK 4 /* S Seek error */ +#define ZIP_ER_READ 5 /* S Read error */ +#define ZIP_ER_WRITE 6 /* S Write error */ +#define ZIP_ER_CRC 7 /* N CRC error */ +#define ZIP_ER_ZIPCLOSED 8 /* N Containing zip archive was closed */ +#define ZIP_ER_NOENT 9 /* N No such file */ +#define ZIP_ER_EXISTS 10 /* N File already exists */ +#define ZIP_ER_OPEN 11 /* S Can't open file */ +#define ZIP_ER_TMPOPEN 12 /* S Failure to create temporary file */ +#define ZIP_ER_ZLIB 13 /* Z Zlib error */ +#define ZIP_ER_MEMORY 14 /* N Malloc failure */ +#define ZIP_ER_CHANGED 15 /* N Entry has been changed */ +#define ZIP_ER_COMPNOTSUPP 16 /* N Compression method not supported */ +#define ZIP_ER_EOF 17 /* N Premature end of file */ +#define ZIP_ER_INVAL 18 /* N Invalid argument */ +#define ZIP_ER_NOZIP 19 /* N Not a zip archive */ +#define ZIP_ER_INTERNAL 20 /* N Internal error */ +#define ZIP_ER_INCONS 21 /* N Zip archive inconsistent */ +#define ZIP_ER_REMOVE 22 /* S Can't remove file */ +#define ZIP_ER_DELETED 23 /* N Entry has been deleted */ +#define ZIP_ER_ENCRNOTSUPP 24 /* N Encryption method not supported */ +#define ZIP_ER_RDONLY 25 /* N Read-only archive */ +#define ZIP_ER_NOPASSWD 26 /* N No password provided */ +#define ZIP_ER_WRONGPASSWD 27 /* N Wrong password provided */ +#define ZIP_ER_OPNOTSUPP 28 /* N Operation not supported */ +#define ZIP_ER_INUSE 29 /* N Resource still in use */ +#define ZIP_ER_TELL 30 /* S Tell error */ +#define ZIP_ER_COMPRESSED_DATA 31 /* N Compressed data invalid */ + +/* type of system error value */ + +#define ZIP_ET_NONE 0 /* sys_err unused */ +#define ZIP_ET_SYS 1 /* sys_err is errno */ +#define ZIP_ET_ZLIB 2 /* sys_err is zlib error code */ + +/* compression methods */ + +#define ZIP_CM_DEFAULT -1 /* better of deflate or store */ +#define ZIP_CM_STORE 0 /* stored (uncompressed) */ +#define ZIP_CM_SHRINK 1 /* shrunk */ +#define ZIP_CM_REDUCE_1 2 /* reduced with factor 1 */ +#define ZIP_CM_REDUCE_2 3 /* reduced with factor 2 */ +#define ZIP_CM_REDUCE_3 4 /* reduced with factor 3 */ +#define ZIP_CM_REDUCE_4 5 /* reduced with factor 4 */ +#define ZIP_CM_IMPLODE 6 /* imploded */ +/* 7 - Reserved for Tokenizing compression algorithm */ +#define ZIP_CM_DEFLATE 8 /* deflated */ +#define ZIP_CM_DEFLATE64 9 /* deflate64 */ +#define ZIP_CM_PKWARE_IMPLODE 10 /* PKWARE imploding */ +/* 11 - Reserved by PKWARE */ +#define ZIP_CM_BZIP2 12 /* compressed using BZIP2 algorithm */ +/* 13 - Reserved by PKWARE */ +#define ZIP_CM_LZMA 14 /* LZMA (EFS) */ +/* 15-17 - Reserved by PKWARE */ +#define ZIP_CM_TERSE 18 /* compressed using IBM TERSE (new) */ +#define ZIP_CM_LZ77 19 /* IBM LZ77 z Architecture (PFS) */ +#define ZIP_CM_XZ 95 /* XZ compressed data */ +#define ZIP_CM_JPEG 96 /* Compressed Jpeg data */ +#define ZIP_CM_WAVPACK 97 /* WavPack compressed data */ +#define ZIP_CM_PPMD 98 /* PPMd version I, Rev 1 */ + +/* encryption methods */ + +#define ZIP_EM_NONE 0 /* not encrypted */ +#define ZIP_EM_TRAD_PKWARE 1 /* traditional PKWARE encryption */ +#if 0 /* Strong Encryption Header not parsed yet */ +#define ZIP_EM_DES 0x6601 /* strong encryption: DES */ +#define ZIP_EM_RC2_OLD 0x6602 /* strong encryption: RC2, version < 5.2 */ +#define ZIP_EM_3DES_168 0x6603 +#define ZIP_EM_3DES_112 0x6609 +#define ZIP_EM_PKZIP_AES_128 0x660e +#define ZIP_EM_PKZIP_AES_192 0x660f +#define ZIP_EM_PKZIP_AES_256 0x6610 +#define ZIP_EM_RC2 0x6702 /* strong encryption: RC2, version >= 5.2 */ +#define ZIP_EM_RC4 0x6801 +#endif +#define ZIP_EM_AES_128 0x0101 /* Winzip AES encryption */ +#define ZIP_EM_AES_192 0x0102 +#define ZIP_EM_AES_256 0x0103 +#define ZIP_EM_UNKNOWN 0xffff /* unknown algorithm */ + +#define ZIP_OPSYS_DOS 0x00u +#define ZIP_OPSYS_AMIGA 0x01u +#define ZIP_OPSYS_OPENVMS 0x02u +#define ZIP_OPSYS_UNIX 0x03u +#define ZIP_OPSYS_VM_CMS 0x04u +#define ZIP_OPSYS_ATARI_ST 0x05u +#define ZIP_OPSYS_OS_2 0x06u +#define ZIP_OPSYS_MACINTOSH 0x07u +#define ZIP_OPSYS_Z_SYSTEM 0x08u +#define ZIP_OPSYS_CPM 0x09u +#define ZIP_OPSYS_WINDOWS_NTFS 0x0au +#define ZIP_OPSYS_MVS 0x0bu +#define ZIP_OPSYS_VSE 0x0cu +#define ZIP_OPSYS_ACORN_RISC 0x0du +#define ZIP_OPSYS_VFAT 0x0eu +#define ZIP_OPSYS_ALTERNATE_MVS 0x0fu +#define ZIP_OPSYS_BEOS 0x10u +#define ZIP_OPSYS_TANDEM 0x11u +#define ZIP_OPSYS_OS_400 0x12u +#define ZIP_OPSYS_OS_X 0x13u + +#define ZIP_OPSYS_DEFAULT ZIP_OPSYS_UNIX + +enum zip_source_cmd { + ZIP_SOURCE_OPEN, /* prepare for reading */ + ZIP_SOURCE_READ, /* read data */ + ZIP_SOURCE_CLOSE, /* reading is done */ + ZIP_SOURCE_STAT, /* get meta information */ + ZIP_SOURCE_ERROR, /* get error information */ + ZIP_SOURCE_FREE, /* cleanup and free resources */ + ZIP_SOURCE_SEEK, /* set position for reading */ + ZIP_SOURCE_TELL, /* get read position */ + ZIP_SOURCE_BEGIN_WRITE, /* prepare for writing */ + ZIP_SOURCE_COMMIT_WRITE, /* writing is done */ + ZIP_SOURCE_ROLLBACK_WRITE, /* discard written changes */ + ZIP_SOURCE_WRITE, /* write data */ + ZIP_SOURCE_SEEK_WRITE, /* set position for writing */ + ZIP_SOURCE_TELL_WRITE, /* get write position */ + ZIP_SOURCE_SUPPORTS, /* check whether source supports command */ + ZIP_SOURCE_REMOVE, /* remove file */ + ZIP_SOURCE_GET_COMPRESSION_FLAGS, /* get compression flags, internal only */ + ZIP_SOURCE_BEGIN_WRITE_CLONING /* like ZIP_SOURCE_BEGIN_WRITE, but keep part of original file */ +}; +typedef enum zip_source_cmd zip_source_cmd_t; + +#define ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd) (((zip_int64_t)1) << (cmd)) + +// clang-format off + +#define ZIP_SOURCE_SUPPORTS_READABLE (ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_OPEN) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_READ) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_CLOSE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_STAT) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ERROR) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_FREE)) + +#define ZIP_SOURCE_SUPPORTS_SEEKABLE (ZIP_SOURCE_SUPPORTS_READABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SUPPORTS)) + +#define ZIP_SOURCE_SUPPORTS_WRITABLE (ZIP_SOURCE_SUPPORTS_SEEKABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_COMMIT_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ROLLBACK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_REMOVE)) + +// clang-format on + +/* for use by sources */ +struct zip_source_args_seek { + zip_int64_t offset; + int whence; +}; + +typedef struct zip_source_args_seek zip_source_args_seek_t; +#define ZIP_SOURCE_GET_ARGS(type, data, len, error) ((len) < sizeof(type) ? zip_error_set((error), ZIP_ER_INVAL, 0), (type*)NULL : (type*)(data)) + +/* error information */ +/* use zip_error_*() to access */ +struct zip_error { + int zip_err; /* libzip error code (ZIP_ER_*) */ + int sys_err; /* copy of errno (E*) or zlib error code */ + char* _Nullable str; /* string representation or NULL */ +}; + +#define ZIP_STAT_NAME 0x0001u +#define ZIP_STAT_INDEX 0x0002u +#define ZIP_STAT_SIZE 0x0004u +#define ZIP_STAT_COMP_SIZE 0x0008u +#define ZIP_STAT_MTIME 0x0010u +#define ZIP_STAT_CRC 0x0020u +#define ZIP_STAT_COMP_METHOD 0x0040u +#define ZIP_STAT_ENCRYPTION_METHOD 0x0080u +#define ZIP_STAT_FLAGS 0x0100u + +struct zip_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char* _Nullable name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; + +struct zip_buffer_fragment { + zip_uint8_t* _Nonnull data; + zip_uint64_t length; +}; + +struct zip; +struct zip_file; +struct zip_source; + +typedef struct zip zip_t; +typedef struct zip_error zip_error_t; +typedef struct zip_file zip_file_t; +typedef struct zip_source zip_source_t; +typedef struct zip_stat zip_stat_t; +typedef struct zip_buffer_fragment zip_buffer_fragment_t; + +typedef zip_uint32_t zip_flags_t; + +typedef zip_int64_t (*zip_source_callback)(void* _Nullable, void* _Nullable, zip_uint64_t, zip_source_cmd_t); +typedef void (*zip_progress_callback)(zip_t* _Nonnull, double, void* _Nullable); + +#ifndef ZIP_DISABLE_DEPRECATED +typedef void (*zip_progress_callback_t)(double); +ZIP_EXTERN void zip_register_progress_callback(zip_t* _Nonnull, zip_progress_callback_t _Nullable); /* use zip_register_progress_callback_with_state */ + +ZIP_EXTERN zip_int64_t zip_add(zip_t* _Nonnull, const char* _Nonnull, zip_source_t* _Nonnull); /* use zip_file_add */ +ZIP_EXTERN zip_int64_t zip_add_dir(zip_t* _Nonnull, const char* _Nonnull); /* use zip_dir_add */ +ZIP_EXTERN const char* _Nullable zip_get_file_comment(zip_t* _Nonnull, zip_uint64_t, int* _Nullable, int); /* use zip_file_get_comment */ +ZIP_EXTERN int zip_get_num_files(zip_t* _Nonnull); /* use zip_get_num_entries instead */ +ZIP_EXTERN int zip_rename(zip_t* _Nonnull, zip_uint64_t, const char* _Nonnull); /* use zip_file_rename */ +ZIP_EXTERN int zip_replace(zip_t* _Nonnull, zip_uint64_t, zip_source_t* _Nonnull); /* use zip_file_replace */ +ZIP_EXTERN int zip_set_file_comment(zip_t* _Nonnull, zip_uint64_t, const char* _Nullable, int); /* use zip_file_set_comment */ +ZIP_EXTERN int zip_error_get_sys_type(int); /* use zip_error_system_type */ +ZIP_EXTERN void zip_error_get(zip_t* _Nonnull, int* _Nullable, int* _Nullable); /* use zip_get_error, zip_error_code_zip / zip_error_code_system */ +ZIP_EXTERN int zip_error_to_str(char* _Nonnull, zip_uint64_t, int, int); /* use zip_error_init_with_code / zip_error_strerror */ +ZIP_EXTERN void zip_file_error_get(zip_file_t* _Nonnull, int* _Nullable, int* _Nullable); /* use zip_file_get_error, zip_error_code_zip / zip_error_code_system */ +#endif + +ZIP_EXTERN int zip_close(zip_t* _Nonnull); +ZIP_EXTERN int zip_delete(zip_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int64_t zip_dir_add(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN void zip_discard(zip_t* _Nonnull); + +ZIP_EXTERN zip_error_t* _Nonnull zip_get_error(zip_t* _Nonnull); +ZIP_EXTERN void zip_error_clear(zip_t* _Nonnull); +ZIP_EXTERN int zip_error_code_zip(const zip_error_t* _Nonnull); +ZIP_EXTERN int zip_error_code_system(const zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_fini(zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_init(zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_init_with_code(zip_error_t* _Nonnull, int); +ZIP_EXTERN void zip_error_set(zip_error_t* _Nullable, int, int); +ZIP_EXTERN const char* _Nonnull zip_error_strerror(zip_error_t* _Nonnull); +ZIP_EXTERN int zip_error_system_type(const zip_error_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_error_to_data(const zip_error_t* _Nonnull, void* _Nonnull, zip_uint64_t); + +ZIP_EXTERN int zip_fclose(zip_file_t* _Nonnull); +ZIP_EXTERN zip_t* _Nullable zip_fdopen(int, int, int* _Nullable); +ZIP_EXTERN zip_int64_t zip_file_add(zip_t* _Nonnull, const char* _Nonnull, zip_source_t* _Nonnull, zip_flags_t); +ZIP_EXTERN void zip_file_error_clear(zip_file_t* _Nonnull); +ZIP_EXTERN int zip_file_extra_field_delete(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_delete_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_set(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, const zip_uint8_t* _Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN const zip_uint8_t* _Nullable zip_file_extra_field_get(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t* _Nullable, zip_uint16_t* _Nullable, zip_flags_t); +ZIP_EXTERN const zip_uint8_t* _Nullable zip_file_extra_field_get_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_uint16_t* _Nullable, zip_flags_t); +ZIP_EXTERN const char* _Nullable zip_file_get_comment(zip_t* _Nonnull, zip_uint64_t, zip_uint32_t* _Nullable, zip_flags_t); +ZIP_EXTERN zip_error_t* _Nonnull zip_file_get_error(zip_file_t* _Nonnull); +ZIP_EXTERN int zip_file_get_external_attributes(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t* _Nullable, zip_uint32_t* _Nullable); +ZIP_EXTERN int zip_file_rename(zip_t* _Nonnull, zip_uint64_t, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_replace(zip_t* _Nonnull, zip_uint64_t, zip_source_t* _Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_set_comment(zip_t* _Nonnull, zip_uint64_t, const char* _Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_set_encryption(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, const char* _Nullable); +ZIP_EXTERN int zip_file_set_external_attributes(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t, zip_uint32_t); +ZIP_EXTERN int zip_file_set_mtime(zip_t* _Nonnull, zip_uint64_t, time_t, zip_flags_t); +ZIP_EXTERN const char* _Nonnull zip_file_strerror(zip_file_t* _Nonnull); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_encrypted(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t, const char* _Nullable); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_index(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_index_encrypted(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, const char* _Nullable); +ZIP_EXTERN zip_int64_t zip_fread(zip_file_t* _Nonnull, void* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int8_t zip_fseek(zip_file_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_ftell(zip_file_t* _Nonnull); +ZIP_EXTERN const char* _Nullable zip_get_archive_comment(zip_t* _Nonnull, int* _Nullable, zip_flags_t); +ZIP_EXTERN int zip_get_archive_flag(zip_t* _Nonnull, zip_flags_t, zip_flags_t); +ZIP_EXTERN const char* _Nullable zip_get_name(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int64_t zip_get_num_entries(zip_t* _Nonnull, zip_flags_t); +ZIP_EXTERN const char* _Nonnull zip_libzip_version(void); +ZIP_EXTERN zip_int64_t zip_name_locate(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN zip_t* _Nullable zip_open(const char* _Nonnull, int, int* _Nullable); +ZIP_EXTERN zip_t* _Nullable zip_open_from_source(zip_source_t* _Nonnull, int, zip_error_t* _Nullable); +ZIP_EXTERN int zip_register_progress_callback_with_state(zip_t* _Nonnull, double, zip_progress_callback _Nullable, void (*_Nullable)(void* _Nullable), void* _Nullable); +ZIP_EXTERN int zip_set_archive_comment(zip_t* _Nonnull, const char* _Nullable, zip_uint16_t); +ZIP_EXTERN int zip_set_archive_flag(zip_t* _Nonnull, zip_flags_t, int); +ZIP_EXTERN int zip_set_default_password(zip_t* _Nonnull, const char* _Nullable); +ZIP_EXTERN int zip_set_file_compression(zip_t* _Nonnull, zip_uint64_t, zip_int32_t, zip_uint32_t); +ZIP_EXTERN int zip_source_begin_write(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_begin_write_cloning(zip_source_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer(zip_t* _Nonnull, const void* _Nullable, zip_uint64_t, int); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_create(const void* _Nullable, zip_uint64_t, int, zip_error_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_fragment(zip_t* _Nonnull, const zip_buffer_fragment_t* _Nonnull, zip_uint64_t, int); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_fragment_create(const zip_buffer_fragment_t* _Nonnull, zip_uint64_t, int, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_close(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_commit_write(zip_source_t* _Nonnull); +ZIP_EXTERN zip_error_t* _Nonnull zip_source_error(zip_source_t* _Nonnull); +ZIP_EXTERN zip_source_t* _Nullable zip_source_file(zip_t* _Nonnull, const char* _Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_file_create(const char* _Nonnull, zip_uint64_t, zip_int64_t, zip_error_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_filep(zip_t* _Nonnull, FILE* _Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_filep_create(FILE* _Nonnull, zip_uint64_t, zip_int64_t, zip_error_t* _Nullable); +ZIP_EXTERN void zip_source_free(zip_source_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_function(zip_t* _Nonnull, zip_source_callback _Nonnull, void* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_function_create(zip_source_callback _Nonnull, void* _Nullable, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_is_deleted(zip_source_t* _Nonnull); +ZIP_EXTERN void zip_source_keep(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_make_command_bitmap(zip_source_cmd_t, ...); +ZIP_EXTERN int zip_source_open(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_read(zip_source_t* _Nonnull, void* _Nonnull, zip_uint64_t); +ZIP_EXTERN void zip_source_rollback_write(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_seek(zip_source_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_source_seek_compute_offset(zip_uint64_t, zip_uint64_t, void* _Nonnull, zip_uint64_t, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_seek_write(zip_source_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN int zip_source_stat(zip_source_t* _Nonnull, zip_stat_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell_write(zip_source_t* _Nonnull); +#ifdef _WIN32 +ZIP_EXTERN zip_source_t* zip_source_win32a(zip_t*, const char*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32a_create(const char*, zip_uint64_t, zip_int64_t, zip_error_t*); +ZIP_EXTERN zip_source_t* zip_source_win32handle(zip_t*, void*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32handle_create(void*, zip_uint64_t, zip_int64_t, zip_error_t*); +ZIP_EXTERN zip_source_t* zip_source_win32w(zip_t*, const wchar_t*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32w_create(const wchar_t*, zip_uint64_t, zip_int64_t, zip_error_t*); +#endif +ZIP_EXTERN zip_int64_t zip_source_write(zip_source_t* _Nonnull, const void* _Nullable, zip_uint64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_zip(zip_t* _Nonnull, zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_int64_t); +ZIP_EXTERN int zip_stat(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t, zip_stat_t* _Nonnull); +ZIP_EXTERN int zip_stat_index(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_stat_t* _Nonnull); +ZIP_EXTERN void zip_stat_init(zip_stat_t* _Nonnull); +ZIP_EXTERN const char* _Nonnull zip_strerror(zip_t* _Nonnull); +ZIP_EXTERN int zip_unchange(zip_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN int zip_unchange_all(zip_t* _Nonnull); +ZIP_EXTERN int zip_unchange_archive(zip_t* _Nonnull); + +#ifdef __cplusplus +} +#endif + +#endif /* _HAD_ZIP_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto.h new file mode 100644 index 000000000..585de211c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto.h @@ -0,0 +1,54 @@ +/* + zip_crypto.h -- crypto definitions + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_H +#define HAD_ZIP_CRYPTO_H + +#define ZIP_CRYPTO_SHA1_LENGTH 20 +#define ZIP_CRYPTO_AES_BLOCK_LENGTH 16 + +#if defined(HAVE_WINDOWS_CRYPTO) +#include "zip_crypto_win.h" +#elif defined(HAVE_COMMONCRYPTO) +#include "zip_crypto_commoncrypto.h" +#elif defined(HAVE_GNUTLS) +#include "zip_crypto_gnutls.h" +#elif defined(HAVE_OPENSSL) +#include "zip_crypto_openssl.h" +#elif defined(HAVE_MBEDTLS) +#include "zip_crypto_mbedtls.h" +#else +#error "no crypto backend found" +#endif + +#endif /* HAD_ZIP_CRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_commoncrypto.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_commoncrypto.h new file mode 100644 index 000000000..aa42d3724 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_commoncrypto.h @@ -0,0 +1,53 @@ +/* + zip_crypto_commoncrypto.h -- definitions for CommonCrypto wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_COMMONCRYPTO_H +#define HAD_ZIP_CRYPTO_COMMONCRYPTO_H + +#include + +#define _zip_crypto_aes_t struct _CCCryptor +#define _zip_crypto_hmac_t CCHmacContext + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (CCHmacUpdate((hmac), (data), (length)), true) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac_output(hmac, data) (CCHmacFinal((hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (CCKeyDerivationPBKDF(kCCPBKDF2, (const char*)(key), (key_length), (salt), (salt_length), kCCPRFHmacAlgSHA1, (iterations), (output), (output_length)) == kCCSuccess) + +#endif /* HAD_ZIP_CRYPTO_COMMONCRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_gnutls.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_gnutls.h new file mode 100644 index 000000000..01d854f72 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_gnutls.h @@ -0,0 +1,65 @@ +/* + zip_crypto_gnutls.h -- definitions for GnuTLS wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_GNUTLS_H +#define HAD_ZIP_CRYPTO_GNUTLS_H + +#include +#include + +#include +#include + +typedef struct { + union { + struct aes128_ctx ctx_128; + struct aes192_ctx ctx_192; + struct aes256_ctx ctx_256; + } ctx; + zip_uint16_t key_size; +} _zip_crypto_aes_t; + +#define _zip_crypto_hmac_t gnutls_hmac_hd_t + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (gnutls_hmac(*(hmac), (data), (length)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac_output(hmac, data) (gnutls_hmac_output(*(hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (pbkdf2_hmac_sha1((key_length), (key), (iterations), (salt_length), (salt), (output_length), (output)), true) + +#endif /* HAD_ZIP_CRYPTO_GNUTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_mbedtls.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_mbedtls.h new file mode 100644 index 000000000..259f174db --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_mbedtls.h @@ -0,0 +1,54 @@ +/* + zip_crypto_mbedtls.h -- definitions for mbedtls wrapper + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_MBEDTLS_H +#define HAD_ZIP_CRYPTO_MBEDTLS_H + +#include +#include + +#define _zip_crypto_aes_t mbedtls_aes_context +#define _zip_crypto_hmac_t mbedtls_md_context_t + +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (mbedtls_aes_crypt_ecb((aes), MBEDTLS_AES_ENCRYPT, (in), (out)) == 0) +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); + +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac(hmac, data, length) (mbedtls_md_hmac_update((hmac), (data), (length)) == 0) +#define _zip_crypto_hmac_output(hmac, data) (mbedtls_md_hmac_finish((hmac), (data)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); + +bool _zip_crypto_pbkdf2(const zip_uint8_t* key, zip_uint64_t key_length, const zip_uint8_t* salt, zip_uint16_t salt_length, int iterations, zip_uint8_t* output, zip_uint64_t output_length); + +#endif /* HAD_ZIP_CRYPTO_MBEDTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_openssl.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_openssl.h new file mode 100644 index 000000000..742efb40f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_openssl.h @@ -0,0 +1,54 @@ +/* + zip_crypto_openssl.h -- definitions for OpenSSL wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_OPENSSL_H +#define HAD_ZIP_CRYPTO_OPENSSL_H + +#include +#include + +#define _zip_crypto_aes_t AES_KEY +#define _zip_crypto_hmac_t HMAC_CTX + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (AES_encrypt((in), (out), (aes)), true) +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (HMAC_Update((hmac), (data), (length)) == 1) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t* hmac, zip_uint8_t* data); + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (PKCS5_PBKDF2_HMAC_SHA1((const char*)(key), (key_length), (salt), (salt_length), (iterations), (output_length), (output))) + +#endif /* HAD_ZIP_CRYPTO_OPENSSL_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_win.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_win.h new file mode 100644 index 000000000..f7635e09b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zip_crypto_win.h @@ -0,0 +1,51 @@ +/* + zip_crypto_win.h -- Windows Crypto API wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_WIN_H +#define HAD_ZIP_CRYPTO_WIN_H + +typedef struct _zip_crypto_aes_s _zip_crypto_aes_t; +typedef struct _zip_crypto_hmac_s _zip_crypto_hmac_t; + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); + +bool _zip_crypto_pbkdf2(const zip_uint8_t* key, zip_uint64_t key_length, const zip_uint8_t* salt, zip_uint16_t salt_length, zip_uint16_t iterations, zip_uint8_t* output, zip_uint16_t output_length); + +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +bool _zip_crypto_hmac(_zip_crypto_hmac_t* hmac, zip_uint8_t* data, zip_uint64_t length); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t* hmac, zip_uint8_t* data); + +#endif /* HAD_ZIP_CRYPTO_WIN_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipconf.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipconf.h new file mode 100644 index 000000000..4585bf329 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipconf.h @@ -0,0 +1,45 @@ +#ifndef _HAD_ZIPCONF_H +#define _HAD_ZIPCONF_H + +/* + zipconf.h -- platform specific include file + + This file was generated automatically by CMake + based on ../cmake-zipconf.h.in. + */ + +#define LIBZIP_VERSION "1.5.2" +#define LIBZIP_VERSION_MAJOR 1 +#define LIBZIP_VERSION_MINOR 5 +#define LIBZIP_VERSION_MICRO 2 + +#define ZIP_STATIC + +#include + +typedef int8_t zip_int8_t; +typedef uint8_t zip_uint8_t; +typedef int16_t zip_int16_t; +typedef uint16_t zip_uint16_t; +typedef int32_t zip_int32_t; +typedef uint32_t zip_uint32_t; +typedef int64_t zip_int64_t; +typedef uint64_t zip_uint64_t; + +#define ZIP_INT8_MIN (-ZIP_INT8_MAX - 1) +#define ZIP_INT8_MAX 0x7f +#define ZIP_UINT8_MAX 0xff + +#define ZIP_INT16_MIN (-ZIP_INT16_MAX - 1) +#define ZIP_INT16_MAX 0x7fff +#define ZIP_UINT16_MAX 0xffff + +#define ZIP_INT32_MIN (-ZIP_INT32_MAX - 1L) +#define ZIP_INT32_MAX 0x7fffffffL +#define ZIP_UINT32_MAX 0xffffffffLU + +#define ZIP_INT64_MIN (-ZIP_INT64_MAX - 1LL) +#define ZIP_INT64_MAX 0x7fffffffffffffffLL +#define ZIP_UINT64_MAX 0xffffffffffffffffULL + +#endif /* zipconf.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipint.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipint.h new file mode 100644 index 000000000..48609d972 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipint.h @@ -0,0 +1,579 @@ +#ifndef _HAD_ZIPINT_H +#define _HAD_ZIPINT_H + +/* + zipint.h -- internal declarations. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "compat.h" + +#ifdef ZIP_ALLOCATE_BUFFER +#include +#endif + +#include + +#ifndef _ZIP_COMPILING_DEPRECATED +#define ZIP_DISABLE_DEPRECATED +#endif + +#include "zip.h" + +#define CENTRAL_MAGIC "PK\1\2" +#define LOCAL_MAGIC "PK\3\4" +#define EOCD_MAGIC "PK\5\6" +#define DATADES_MAGIC "PK\7\10" +#define EOCD64LOC_MAGIC "PK\6\7" +#define EOCD64_MAGIC "PK\6\6" +#define CDENTRYSIZE 46u +#define LENTRYSIZE 30 +#define MAXCOMLEN 65536 +#define MAXEXTLEN 65536 +#define EOCDLEN 22 +#define EOCD64LOCLEN 20 +#define EOCD64LEN 56 +#define CDBUFSIZE (MAXCOMLEN + EOCDLEN + EOCD64LOCLEN) +#define BUFSIZE 8192 +#define EFZIP64SIZE 28 +#define EF_WINZIP_AES_SIZE 7 + +#define ZIP_CM_REPLACED_DEFAULT (-2) +#define ZIP_CM_WINZIP_AES 99 /* Winzip AES encrypted */ + +#define WINZIP_AES_PASSWORD_VERIFY_LENGTH 2 +#define WINZIP_AES_MAX_HEADER_LENGTH (16 + WINZIP_AES_PASSWORD_VERIFY_LENGTH) +#define AES_BLOCK_SIZE 16 +#define HMAC_LENGTH 10 +#define SHA1_LENGTH 20 +#define SALT_LENGTH(method) ((method) == ZIP_EM_AES_128 ? 8 : ((method) == ZIP_EM_AES_192 ? 12 : 16)) + +#define ZIP_CM_IS_DEFAULT(x) ((x) == ZIP_CM_DEFAULT || (x) == ZIP_CM_REPLACED_DEFAULT) +#define ZIP_CM_ACTUAL(x) ((zip_uint16_t)(ZIP_CM_IS_DEFAULT(x) ? ZIP_CM_DEFLATE : (x))) + +#define ZIP_EF_UTF_8_COMMENT 0x6375 +#define ZIP_EF_UTF_8_NAME 0x7075 +#define ZIP_EF_WINZIP_AES 0x9901 +#define ZIP_EF_ZIP64 0x0001 + +#define ZIP_EF_IS_INTERNAL(id) ((id) == ZIP_EF_UTF_8_COMMENT || (id) == ZIP_EF_UTF_8_NAME || (id) == ZIP_EF_WINZIP_AES || (id) == ZIP_EF_ZIP64) + +/* according to unzip-6.0's zipinfo.c, this corresponds to a regular file with rw permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT (0100666u << 16) +/* according to unzip-6.0's zipinfo.c, this corresponds to a directory with rwx permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT_DIR (0040777u << 16) + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +/* This section contains API that won't materialize like this. It's + placed in the internal section, pending cleanup. */ + +/* flags for compression and encryption sources */ + +#define ZIP_CODEC_DECODE 0 /* decompress/decrypt (encode flag not set) */ +#define ZIP_CODEC_ENCODE 1 /* compress/encrypt */ + +typedef zip_source_t* (*zip_encryption_implementation)(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); + +zip_encryption_implementation _zip_get_encryption_implementation(zip_uint16_t method, int operation); + +// clang-format off +enum zip_compression_status { + ZIP_COMPRESSION_OK, + ZIP_COMPRESSION_END, + ZIP_COMPRESSION_ERROR, + ZIP_COMPRESSION_NEED_DATA +}; +// clang-format on +typedef enum zip_compression_status zip_compression_status_t; + +struct zip_compression_algorithm { + /* called once to create new context */ + void* (*allocate)(zip_uint16_t method, int compression_flags, zip_error_t* error); + /* called once to free context */ + void (*deallocate)(void* ctx); + + /* get compression specific general purpose bitflags */ + int (*compression_flags)(void* ctx); + + /* start processing */ + bool (*start)(void* ctx); + /* stop processing */ + bool (*end)(void* ctx); + + /* provide new input data, remains valid until next call to input or end */ + bool (*input)(void* ctx, zip_uint8_t* data, zip_uint64_t length); + + /* all input data has been provided */ + void (*end_of_input)(void* ctx); + + /* process input data, writing to data, which has room for length bytes, update length to number of bytes written */ + zip_compression_status_t (*process)(void* ctx, zip_uint8_t* data, zip_uint64_t* length); +}; +typedef struct zip_compression_algorithm zip_compression_algorithm_t; + +extern zip_compression_algorithm_t zip_algorithm_bzip2_compress; +extern zip_compression_algorithm_t zip_algorithm_bzip2_decompress; +extern zip_compression_algorithm_t zip_algorithm_deflate_compress; +extern zip_compression_algorithm_t zip_algorithm_deflate_decompress; + +bool zip_compression_method_supported(zip_int32_t method, bool compress); + +/* This API is not final yet, but we need it internally, so it's private for now. */ + +const zip_uint8_t* zip_get_extra_field_by_id(zip_t*, int, int, zip_uint16_t, int, zip_uint16_t*); + +/* This section contains API that is of limited use until support for + user-supplied compression/encryption implementation is finished. + Thus we will keep it private for now. */ + +typedef zip_int64_t (*zip_source_layered_callback)(zip_source_t*, void*, void*, zip_uint64_t, enum zip_source_cmd); +zip_source_t* zip_source_compress(zip_t* za, zip_source_t* src, zip_int32_t cm, int compression_flags); +zip_source_t* zip_source_crc(zip_t*, zip_source_t*, int); +zip_source_t* zip_source_decompress(zip_t* za, zip_source_t* src, zip_int32_t cm); +zip_source_t* zip_source_layered(zip_t*, zip_source_t*, zip_source_layered_callback, void*); +zip_source_t* zip_source_layered_create(zip_source_t* src, zip_source_layered_callback cb, void* ud, zip_error_t* error); +zip_source_t* zip_source_pkware(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); +int zip_source_remove(zip_source_t*); +zip_int64_t zip_source_supports(zip_source_t* src); +zip_source_t* zip_source_window(zip_t*, zip_source_t*, zip_uint64_t, zip_uint64_t); +zip_source_t* zip_source_winzip_aes_decode(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); +zip_source_t* zip_source_winzip_aes_encode(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); + +/* error source for layered sources */ + +enum zip_les { ZIP_LES_NONE, + ZIP_LES_UPPER, + ZIP_LES_LOWER, + ZIP_LES_INVAL }; + +/* directory entry: general purpose bit flags */ + +#define ZIP_GPBF_ENCRYPTED 0x0001u /* is encrypted */ +#define ZIP_GPBF_DATA_DESCRIPTOR 0x0008u /* crc/size after file data */ +#define ZIP_GPBF_STRONG_ENCRYPTION 0x0040u /* uses strong encryption */ +#define ZIP_GPBF_ENCODING_UTF_8 0x0800u /* file name encoding is UTF-8 */ + +/* extra fields */ +#define ZIP_EF_LOCAL ZIP_FL_LOCAL /* include in local header */ +#define ZIP_EF_CENTRAL ZIP_FL_CENTRAL /* include in central directory */ +#define ZIP_EF_BOTH (ZIP_EF_LOCAL | ZIP_EF_CENTRAL) /* include in both */ + +#define ZIP_FL_FORCE_ZIP64 1024 /* force zip64 extra field (_zip_dirent_write) */ + +#define ZIP_FL_ENCODING_ALL (ZIP_FL_ENC_GUESS | ZIP_FL_ENC_CP437 | ZIP_FL_ENC_UTF_8) + +/* encoding type */ +enum zip_encoding_type { + ZIP_ENCODING_UNKNOWN, /* not yet analyzed */ + ZIP_ENCODING_ASCII, /* plain ASCII */ + ZIP_ENCODING_UTF8_KNOWN, /* is UTF-8 */ + ZIP_ENCODING_UTF8_GUESSED, /* possibly UTF-8 */ + ZIP_ENCODING_CP437, /* Code Page 437 */ + ZIP_ENCODING_ERROR /* should be UTF-8 but isn't */ +}; + +typedef enum zip_encoding_type zip_encoding_type_t; + +struct zip_hash; +struct zip_progress; + +typedef struct zip_cdir zip_cdir_t; +typedef struct zip_dirent zip_dirent_t; +typedef struct zip_entry zip_entry_t; +typedef struct zip_extra_field zip_extra_field_t; +typedef struct zip_string zip_string_t; +typedef struct zip_buffer zip_buffer_t; +typedef struct zip_hash zip_hash_t; +typedef struct zip_progress zip_progress_t; + +/* zip archive, part of API */ + +struct zip { + zip_source_t* src; /* data source for archive */ + unsigned int open_flags; /* flags passed to zip_open */ + zip_error_t error; /* error information */ + + unsigned int flags; /* archive global flags */ + unsigned int ch_flags; /* changed archive global flags */ + + char* default_password; /* password used when no other supplied */ + + zip_string_t* comment_orig; /* archive comment */ + zip_string_t* comment_changes; /* changed archive comment */ + bool comment_changed; /* whether archive comment was changed */ + + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + zip_entry_t* entry; /* entries */ + + unsigned int nopen_source; /* number of open sources using archive */ + unsigned int nopen_source_alloc; /* number of sources allocated */ + zip_source_t** open_source; /* open sources using archive */ + + zip_hash_t* names; /* hash table for name lookup */ + + zip_progress_t* progress; /* progress callback for zip_close() */ +}; + +/* file in zip archive, part of API */ + +struct zip_file { + zip_t* za; /* zip archive containing this file */ + zip_error_t error; /* error information */ + bool eof; + zip_source_t* src; /* data source */ +}; + +/* zip archive directory entry (central or local) */ + +#define ZIP_DIRENT_COMP_METHOD 0x0001u +#define ZIP_DIRENT_FILENAME 0x0002u +#define ZIP_DIRENT_COMMENT 0x0004u +#define ZIP_DIRENT_EXTRA_FIELD 0x0008u +#define ZIP_DIRENT_ATTRIBUTES 0x0010u +#define ZIP_DIRENT_LAST_MOD 0x0020u +#define ZIP_DIRENT_ENCRYPTION_METHOD 0x0040u +#define ZIP_DIRENT_PASSWORD 0x0080u +#define ZIP_DIRENT_ALL ZIP_UINT32_MAX + +struct zip_dirent { + zip_uint32_t changed; + bool local_extra_fields_read; /* whether we already read in local header extra fields */ + bool cloned; /* whether this instance is cloned, and thus shares non-changed strings */ + + bool crc_valid; /* if CRC is valid (sometimes not for encrypted archives) */ + + zip_uint16_t version_madeby; /* (c) version of creator */ + zip_uint16_t version_needed; /* (cl) version needed to extract */ + zip_uint16_t bitflags; /* (cl) general purpose bit flag */ + zip_int32_t comp_method; /* (cl) compression method used (uint16 and ZIP_CM_DEFAULT (-1)) */ + time_t last_mod; /* (cl) time of last modification */ + zip_uint32_t crc; /* (cl) CRC-32 of uncompressed data */ + zip_uint64_t comp_size; /* (cl) size of compressed data */ + zip_uint64_t uncomp_size; /* (cl) size of uncompressed data */ + zip_string_t* filename; /* (cl) file name (NUL-terminated) */ + zip_extra_field_t* extra_fields; /* (cl) extra fields, parsed */ + zip_string_t* comment; /* (c) file comment */ + zip_uint32_t disk_number; /* (c) disk number start */ + zip_uint16_t int_attrib; /* (c) internal file attributes */ + zip_uint32_t ext_attrib; /* (c) external file attributes */ + zip_uint64_t offset; /* (c) offset of local header */ + + zip_uint16_t compression_level; /* level of compression to use (never valid in orig) */ + zip_uint16_t encryption_method; /* encryption method, computed from other fields */ + char* password; /* file specific encryption password */ +}; + +/* zip archive central directory */ + +struct zip_cdir { + zip_entry_t* entry; /* directory entries */ + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + + zip_uint64_t size; /* size of central directory */ + zip_uint64_t offset; /* offset of central directory in file */ + zip_string_t* comment; /* zip archive comment */ + bool is_zip64; /* central directory in zip64 format */ +}; + +struct zip_extra_field { + zip_extra_field_t* next; + zip_flags_t flags; /* in local/central header */ + zip_uint16_t id; /* header id */ + zip_uint16_t size; /* data size */ + zip_uint8_t* data; +}; + +enum zip_source_write_state { + ZIP_SOURCE_WRITE_CLOSED, /* write is not in progress */ + ZIP_SOURCE_WRITE_OPEN, /* write is in progress */ + ZIP_SOURCE_WRITE_FAILED, /* commit failed, only rollback allowed */ + ZIP_SOURCE_WRITE_REMOVED /* file was removed */ +}; +typedef enum zip_source_write_state zip_source_write_state_t; + +struct zip_source { + zip_source_t* src; + union { + zip_source_callback f; + zip_source_layered_callback l; + } cb; + void* ud; + zip_error_t error; + zip_int64_t supports; /* supported commands */ + unsigned int open_count; /* number of times source was opened (directly or as lower layer) */ + zip_source_write_state_t write_state; /* whether source is open for writing */ + bool source_closed; /* set if source archive is closed */ + zip_t* source_archive; /* zip archive we're reading from, NULL if not from archive */ + unsigned int refcount; + bool eof; /* EOF reached */ + bool had_read_error; /* a previous ZIP_SOURCE_READ reported an error */ +}; + +#define ZIP_SOURCE_IS_OPEN_READING(src) ((src)->open_count > 0) +#define ZIP_SOURCE_IS_OPEN_WRITING(src) ((src)->write_state == ZIP_SOURCE_WRITE_OPEN) +#define ZIP_SOURCE_IS_LAYERED(src) ((src)->src != NULL) + +/* entry in zip archive directory */ + +struct zip_entry { + zip_dirent_t* orig; + zip_dirent_t* changes; + zip_source_t* source; + bool deleted; +}; + +/* file or archive comment, or filename */ + +struct zip_string { + zip_uint8_t* raw; /* raw string */ + zip_uint16_t length; /* length of raw string */ + enum zip_encoding_type encoding; /* autorecognized encoding */ + zip_uint8_t* converted; /* autoconverted string */ + zip_uint32_t converted_length; /* length of converted */ +}; + +/* byte array */ + +/* For performance, we usually keep 8k byte arrays on the stack. + However, there are (embedded) systems with a stack size of 12k; + for those, use malloc()/free() */ + +#ifdef ZIP_ALLOCATE_BUFFER +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t* buf +#define byte_array_init(buf, size) (((buf) = (zip_uint8_t*)malloc(size)) != NULL) +#define byte_array_fini(buf) (free(buf)) +#else +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t buf[size] +#define byte_array_init(buf, size) (1) +#define byte_array_fini(buf) ((void)0) +#endif + +/* bounds checked access to memory buffer */ + +struct zip_buffer { + bool ok; + bool free_data; + + zip_uint8_t* data; + zip_uint64_t size; + zip_uint64_t offset; +}; + +/* which files to write in which order */ + +struct zip_filelist { + zip_uint64_t idx; + /* TODO const char *name; */ +}; + +typedef struct zip_filelist zip_filelist_t; + +struct _zip_winzip_aes; +typedef struct _zip_winzip_aes zip_winzip_aes_t; + +extern const char* const _zip_err_str[]; +extern const int _zip_nerr_str; +extern const int _zip_err_type[]; + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +#define ZIP_ENTRY_CHANGED(e, f) ((e)->changes && ((e)->changes->changed & (f))) +#define ZIP_ENTRY_DATA_CHANGED(x) ((x)->source != NULL) +#define ZIP_ENTRY_HAS_CHANGES(e) (ZIP_ENTRY_DATA_CHANGED(e) || (e)->deleted || ZIP_ENTRY_CHANGED((e), ZIP_DIRENT_ALL)) + +#define ZIP_IS_RDONLY(za) ((za)->ch_flags & ZIP_AFL_RDONLY) + +#ifdef HAVE_EXPLICIT_MEMSET +#define _zip_crypto_clear(b, l) explicit_memset((b), 0, (l)) +#else +#ifdef HAVE_EXPLICIT_BZERO +#define _zip_crypto_clear(b, l) explicit_bzero((b), (l)) +#else +#include +#define _zip_crypto_clear(b, l) memset((b), 0, (l)) +#endif +#endif + +zip_int64_t _zip_add_entry(zip_t*); + +zip_uint8_t* _zip_buffer_data(zip_buffer_t* buffer); +bool _zip_buffer_eof(zip_buffer_t* buffer); +void _zip_buffer_free(zip_buffer_t* buffer); +zip_uint8_t* _zip_buffer_get(zip_buffer_t* buffer, zip_uint64_t length); +zip_uint16_t _zip_buffer_get_16(zip_buffer_t* buffer); +zip_uint32_t _zip_buffer_get_32(zip_buffer_t* buffer); +zip_uint64_t _zip_buffer_get_64(zip_buffer_t* buffer); +zip_uint8_t _zip_buffer_get_8(zip_buffer_t* buffer); +zip_uint64_t _zip_buffer_left(zip_buffer_t* buffer); +zip_buffer_t* _zip_buffer_new(zip_uint8_t* data, zip_uint64_t size); +zip_buffer_t* _zip_buffer_new_from_source(zip_source_t* src, zip_uint64_t size, zip_uint8_t* buf, zip_error_t* error); +zip_uint64_t _zip_buffer_offset(zip_buffer_t* buffer); +bool _zip_buffer_ok(zip_buffer_t* buffer); +zip_uint8_t* _zip_buffer_peek(zip_buffer_t* buffer, zip_uint64_t length); +int _zip_buffer_put(zip_buffer_t* buffer, const void* src, size_t length); +int _zip_buffer_put_16(zip_buffer_t* buffer, zip_uint16_t i); +int _zip_buffer_put_32(zip_buffer_t* buffer, zip_uint32_t i); +int _zip_buffer_put_64(zip_buffer_t* buffer, zip_uint64_t i); +int _zip_buffer_put_8(zip_buffer_t* buffer, zip_uint8_t i); +zip_uint64_t _zip_buffer_read(zip_buffer_t* buffer, zip_uint8_t* data, zip_uint64_t length); +int _zip_buffer_skip(zip_buffer_t* buffer, zip_uint64_t length); +int _zip_buffer_set_offset(zip_buffer_t* buffer, zip_uint64_t offset); +zip_uint64_t _zip_buffer_size(zip_buffer_t* buffer); + +int _zip_cdir_compute_crc(zip_t*, uLong*); +void _zip_cdir_free(zip_cdir_t*); +bool _zip_cdir_grow(zip_cdir_t* cd, zip_uint64_t additional_entries, zip_error_t* error); +zip_cdir_t* _zip_cdir_new(zip_uint64_t, zip_error_t*); +zip_int64_t _zip_cdir_write(zip_t* za, const zip_filelist_t* filelist, zip_uint64_t survivors); +void _zip_deregister_source(zip_t* za, zip_source_t* src); + +zip_dirent_t* _zip_dirent_clone(const zip_dirent_t*); +void _zip_dirent_free(zip_dirent_t*); +void _zip_dirent_finalize(zip_dirent_t*); +void _zip_dirent_init(zip_dirent_t*); +bool _zip_dirent_needs_zip64(const zip_dirent_t*, zip_flags_t); +zip_dirent_t* _zip_dirent_new(void); +zip_int64_t _zip_dirent_read(zip_dirent_t* zde, zip_source_t* src, zip_buffer_t* buffer, bool local, zip_error_t* error); +void _zip_dirent_set_version_needed(zip_dirent_t* de, bool force_zip64); +zip_int32_t _zip_dirent_size(zip_source_t* src, zip_uint16_t, zip_error_t*); +int _zip_dirent_write(zip_t* za, zip_dirent_t* dirent, zip_flags_t flags); + +zip_extra_field_t* _zip_ef_clone(const zip_extra_field_t*, zip_error_t*); +zip_extra_field_t* _zip_ef_delete_by_id(zip_extra_field_t*, zip_uint16_t, zip_uint16_t, zip_flags_t); +void _zip_ef_free(zip_extra_field_t*); +const zip_uint8_t* _zip_ef_get_by_id(const zip_extra_field_t*, zip_uint16_t*, zip_uint16_t, zip_uint16_t, zip_flags_t, zip_error_t*); +zip_extra_field_t* _zip_ef_merge(zip_extra_field_t*, zip_extra_field_t*); +zip_extra_field_t* _zip_ef_new(zip_uint16_t, zip_uint16_t, const zip_uint8_t*, zip_flags_t); +bool _zip_ef_parse(const zip_uint8_t*, zip_uint16_t, zip_flags_t, zip_extra_field_t**, zip_error_t*); +zip_extra_field_t* _zip_ef_remove_internal(zip_extra_field_t*); +zip_uint16_t _zip_ef_size(const zip_extra_field_t*, zip_flags_t); +int _zip_ef_write(zip_t* za, const zip_extra_field_t* ef, zip_flags_t flags); + +void _zip_entry_finalize(zip_entry_t*); +void _zip_entry_init(zip_entry_t*); + +void _zip_error_clear(zip_error_t*); +void _zip_error_get(const zip_error_t*, int*, int*); + +void _zip_error_copy(zip_error_t* dst, const zip_error_t* src); +void _zip_error_set_from_source(zip_error_t*, zip_source_t*); + +const zip_uint8_t* _zip_extract_extra_field_by_id(zip_error_t*, zip_uint16_t, int, const zip_uint8_t*, zip_uint16_t, zip_uint16_t*); + +int _zip_file_extra_field_prepare_for_change(zip_t*, zip_uint64_t); +int _zip_file_fillbuf(void*, size_t, zip_file_t*); +zip_uint64_t _zip_file_get_end(const zip_t* za, zip_uint64_t index, zip_error_t* error); +zip_uint64_t _zip_file_get_offset(const zip_t*, zip_uint64_t, zip_error_t*); + +int _zip_filerange_crc(zip_source_t* src, zip_uint64_t offset, zip_uint64_t length, uLong* crcp, zip_error_t* error); + +zip_dirent_t* _zip_get_dirent(zip_t*, zip_uint64_t, zip_flags_t, zip_error_t*); + +enum zip_encoding_type _zip_guess_encoding(zip_string_t*, enum zip_encoding_type); +zip_uint8_t* _zip_cp437_to_utf8(const zip_uint8_t* const, zip_uint32_t, zip_uint32_t*, zip_error_t*); + +bool _zip_hash_add(zip_hash_t* hash, const zip_uint8_t* name, zip_uint64_t index, zip_flags_t flags, zip_error_t* error); +bool _zip_hash_delete(zip_hash_t* hash, const zip_uint8_t* key, zip_error_t* error); +void _zip_hash_free(zip_hash_t* hash); +zip_int64_t _zip_hash_lookup(zip_hash_t* hash, const zip_uint8_t* name, zip_flags_t flags, zip_error_t* error); +zip_hash_t* _zip_hash_new(zip_error_t* error); +bool _zip_hash_reserve_capacity(zip_hash_t* hash, zip_uint64_t capacity, zip_error_t* error); +bool _zip_hash_revert(zip_hash_t* hash, zip_error_t* error); + +zip_t* _zip_open(zip_source_t*, unsigned int, zip_error_t*); + +void _zip_progress_end(zip_progress_t* progress); +void _zip_progress_free(zip_progress_t* progress); +zip_progress_t* _zip_progress_new(zip_t* za, double precision, zip_progress_callback callback, void (*ud_free)(void*), void* ud); +void _zip_progress_start(zip_progress_t* progress); +void _zip_progress_subrange(zip_progress_t* progress, double start, double end); +void _zip_progress_update(zip_progress_t* progress, double value); + +ZIP_EXTERN bool zip_random(zip_uint8_t* buffer, zip_uint16_t length); + +int _zip_read(zip_source_t* src, zip_uint8_t* data, zip_uint64_t length, zip_error_t* error); +int _zip_read_at_offset(zip_source_t* src, zip_uint64_t offset, unsigned char* b, size_t length, zip_error_t* error); +zip_uint8_t* _zip_read_data(zip_buffer_t* buffer, zip_source_t* src, size_t length, bool nulp, zip_error_t* error); +int _zip_read_local_ef(zip_t*, zip_uint64_t); +zip_string_t* _zip_read_string(zip_buffer_t* buffer, zip_source_t* src, zip_uint16_t lenght, bool nulp, zip_error_t* error); +int _zip_register_source(zip_t* za, zip_source_t* src); + +void _zip_set_open_error(int* zep, const zip_error_t* err, int ze); + +zip_int64_t _zip_source_call(zip_source_t* src, void* data, zip_uint64_t length, zip_source_cmd_t command); +bool _zip_source_eof(zip_source_t*); +zip_source_t* _zip_source_file_or_p(const char*, FILE*, zip_uint64_t, zip_int64_t, const zip_stat_t*, zip_error_t* error); +zip_int8_t zip_source_get_compression_flags(zip_source_t*); +bool _zip_source_had_error(zip_source_t*); +void _zip_source_invalidate(zip_source_t* src); +zip_source_t* _zip_source_new(zip_error_t* error); +int _zip_source_set_source_archive(zip_source_t*, zip_t*); +zip_source_t* _zip_source_window_new(zip_source_t* src, zip_uint64_t start, zip_uint64_t length, zip_stat_t* st, zip_int8_t compression_flags, zip_t* source_archive, zip_uint64_t source_index, zip_error_t* error); +zip_source_t* _zip_source_zip_new(zip_t*, zip_t*, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_uint64_t, const char*); + +int _zip_stat_merge(zip_stat_t* dst, const zip_stat_t* src, zip_error_t* error); +int _zip_string_equal(const zip_string_t*, const zip_string_t*); +void _zip_string_free(zip_string_t*); +zip_uint32_t _zip_string_crc32(const zip_string_t*); +const zip_uint8_t* _zip_string_get(zip_string_t*, zip_uint32_t*, zip_flags_t, zip_error_t*); +zip_uint16_t _zip_string_length(const zip_string_t*); +zip_string_t* _zip_string_new(const zip_uint8_t*, zip_uint16_t, zip_flags_t, zip_error_t*); +int _zip_string_write(zip_t* za, const zip_string_t* string); +bool _zip_winzip_aes_decrypt(zip_winzip_aes_t* ctx, zip_uint8_t* data, zip_uint64_t length); +bool _zip_winzip_aes_encrypt(zip_winzip_aes_t* ctx, zip_uint8_t* data, zip_uint64_t length); +bool _zip_winzip_aes_finish(zip_winzip_aes_t* ctx, zip_uint8_t* hmac); +void _zip_winzip_aes_free(zip_winzip_aes_t* ctx); +zip_winzip_aes_t* _zip_winzip_aes_new(const zip_uint8_t* password, zip_uint64_t password_length, const zip_uint8_t* salt, zip_uint16_t key_size, zip_uint8_t* password_verify, zip_error_t* error); + +int _zip_changed(const zip_t*, zip_uint64_t*); +const char* _zip_get_name(zip_t*, zip_uint64_t, zip_flags_t, zip_error_t*); +int _zip_local_header_read(zip_t*, int); +void* _zip_memdup(const void*, size_t, zip_error_t*); +zip_int64_t _zip_name_locate(zip_t*, const char*, zip_flags_t, zip_error_t*); +zip_t* _zip_new(zip_error_t*); + +zip_int64_t _zip_file_replace(zip_t*, zip_uint64_t, const char*, zip_source_t*, zip_flags_t); +int _zip_set_name(zip_t*, zip_uint64_t, const char*, zip_flags_t); +void _zip_u2d_time(time_t, zip_uint16_t*, zip_uint16_t*); +int _zip_unchange(zip_t*, zip_uint64_t, int); +void _zip_unchange_data(zip_entry_t*); +int _zip_write(zip_t* za, const void* data, zip_uint64_t length); + +#endif /* zipint.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipwin32.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipwin32.h new file mode 100644 index 000000000..cd4362fdf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Headers/zipwin32.h @@ -0,0 +1,85 @@ +#ifndef _HAD_ZIPWIN32_H +#define _HAD_ZIPWIN32_H + +/* + zipwin32.h -- internal declarations for Windows. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* 0x0501 => Windows XP; needs to be at least this value because of GetFileSizeEx */ +#if !defined(MS_UWP) && !defined(_WIN32_WINNT) +#define _WIN32_WINNT 0x0501 +#endif + +#include + +/* context for Win32 source */ + +struct _zip_source_win32_file_ops; + +struct _zip_source_win32_read_file { + zip_error_t error; /* last error information */ + zip_int64_t supports; + + /* operations */ + struct _zip_source_win32_file_ops* ops; + + /* reading */ + void* fname; /* name of file to read from - ANSI (char *) or Unicode (wchar_t *) */ + void* h; /* HANDLE for file to read from */ + int closep; /* whether to close f on ZIP_CMD_FREE */ + struct zip_stat st; /* stat information passed in */ + zip_uint64_t start; /* start offset of data to read */ + zip_uint64_t end; /* end offset of data to read, 0 for up to EOF */ + zip_uint64_t current; /* current offset */ + + /* writing */ + void* tmpname; /* name of temp file - ANSI (char *) or Unicode (wchar_t *) */ + void* hout; /* HANDLE for output file */ +}; + +typedef struct _zip_source_win32_read_file _zip_source_win32_read_file_t; + +/* internal operations for Win32 source */ + +struct _zip_source_win32_file_ops { + void* (*op_strdup)(const void*); + void* (*op_open)(_zip_source_win32_read_file_t*); + void* (*op_create_temp)(_zip_source_win32_read_file_t*, void**, zip_uint32_t, PSECURITY_ATTRIBUTES); + int (*op_rename_temp)(_zip_source_win32_read_file_t*); + int (*op_remove)(const void*); +}; + +typedef struct _zip_source_win32_file_ops _zip_source_win32_file_ops_t; + +zip_source_t* _zip_source_win32_handle_or_name(const void*, void*, zip_uint64_t, zip_int64_t, int, const zip_stat_t*, _zip_source_win32_file_ops_t*, zip_error_t*); + +#endif /* zipwin32.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Info.plist b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Info.plist new file mode 100644 index 000000000..3caaefc5b Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/Info.plist differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeDirectory b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeDirectory new file mode 100644 index 000000000..73251b86e Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeDirectory differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeRequirements b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeRequirements new file mode 100644 index 000000000..dbf9d6144 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeRequirements differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeRequirements-1 b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeRequirements-1 new file mode 100644 index 000000000..1006eff05 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeRequirements-1 differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeResources b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeResources new file mode 100644 index 000000000..210f205e5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeResources @@ -0,0 +1,282 @@ + + + + + files + + Headers/compat.h + + HDJ4RGAUsO8YKWt+chXFnrd8psY= + + Headers/config.h + + 2kTU2a5N1JaXk+nEc+ben/mVngg= + + Headers/zip.h + + 0mJRUdMKUDhzc2/aQhBciPUw2Ec= + + Headers/zip_crypto.h + + oqoyC7NU8WDwX3SvMcdyazfIQ84= + + Headers/zip_crypto_commoncrypto.h + + 2zH5ayCaPC244JtobtW292rT1fY= + + Headers/zip_crypto_gnutls.h + + pL9/aa6HukgVg/A5dmG/uwOVH3c= + + Headers/zip_crypto_mbedtls.h + + R45S+Qw6tcZpCIpliCr7Hff7D0o= + + Headers/zip_crypto_openssl.h + + er07Rty1K8WnAAnOiPkXVCO/KKg= + + Headers/zip_crypto_win.h + + TTKVlyBHkuNi2MHJO3Ycg5UyPAM= + + Headers/zipconf.h + + 9pU7cViazuak6a91kc/mWuvR3bQ= + + Headers/zipint.h + + rrUV277k9B8zrw/uY4woEoCuJxo= + + Headers/zipwin32.h + + Rg3mbpKpD9DOhwjt9KqIblwgTkw= + + Info.plist + + 2IKF81OL9R+1X1JZKEde1ELIAlU= + + + files2 + + Headers/compat.h + + hash + + HDJ4RGAUsO8YKWt+chXFnrd8psY= + + hash2 + + 85S+enDw8BqPrKhDzELAxGHEGOtt1thcmRzSX21Syws= + + + Headers/config.h + + hash + + 2kTU2a5N1JaXk+nEc+ben/mVngg= + + hash2 + + 39YslxY54izgajEzuLaEQ/YbtGfvmC+xn1HclXfcnZ8= + + + Headers/zip.h + + hash + + 0mJRUdMKUDhzc2/aQhBciPUw2Ec= + + hash2 + + t9+4bHr5nZJJehMXz339B3gi5Dwb+GsflCF0FAGY9d8= + + + Headers/zip_crypto.h + + hash + + oqoyC7NU8WDwX3SvMcdyazfIQ84= + + hash2 + + pNnzq1EvyskgouKItwQnWDe4suFEi1j5iBEipcrVEVg= + + + Headers/zip_crypto_commoncrypto.h + + hash + + 2zH5ayCaPC244JtobtW292rT1fY= + + hash2 + + cYK6rsfR/MfWg3HzBePxpV2w5M9lbitnGD6eeDmtiik= + + + Headers/zip_crypto_gnutls.h + + hash + + pL9/aa6HukgVg/A5dmG/uwOVH3c= + + hash2 + + 7tuGRXEd12XxJdWlYz49SUNPc7sPjAzKrzc93NiqM9M= + + + Headers/zip_crypto_mbedtls.h + + hash + + R45S+Qw6tcZpCIpliCr7Hff7D0o= + + hash2 + + OG40Sbu9bTu3ZCqaCJbYPoHCn22W/J1qiKlHkdGuTCs= + + + Headers/zip_crypto_openssl.h + + hash + + er07Rty1K8WnAAnOiPkXVCO/KKg= + + hash2 + + MW+frNSY9+h1NPzvUS4jGeUstgg+4dvih2MWpnSr5Rs= + + + Headers/zip_crypto_win.h + + hash + + TTKVlyBHkuNi2MHJO3Ycg5UyPAM= + + hash2 + + alH1c9BoSOR0CPVeSJrj5N9I+TH+vJ8q0jQIj7Naig4= + + + Headers/zipconf.h + + hash + + 9pU7cViazuak6a91kc/mWuvR3bQ= + + hash2 + + TiIBkoknuKrnu7MNZFbtkR86b1bCJszqOlQVxVV+HY0= + + + Headers/zipint.h + + hash + + rrUV277k9B8zrw/uY4woEoCuJxo= + + hash2 + + M9aCgHZxcSXqM8NyYbMW7IibHSz+III5oC6MtBEk6Io= + + + Headers/zipwin32.h + + hash + + Rg3mbpKpD9DOhwjt9KqIblwgTkw= + + hash2 + + kZ4Hka6L6Pq7cAjQCWlZJgUvxSHpwXMsG07seMo7FtQ= + + + + rules + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeSignature b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/_CodeSignature/CodeSignature new file mode 100644 index 000000000..e69de29bb diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/libzip_iOS b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/libzip_iOS new file mode 100644 index 000000000..35d61f22c Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-i386_x86_64-simulator/libzip_iOS.framework/libzip_iOS differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Headers b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Headers new file mode 120000 index 000000000..a177d2a6b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Headers @@ -0,0 +1 @@ +Versions/Current/Headers \ No newline at end of file diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Resources b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Resources new file mode 120000 index 000000000..953ee36f3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Resources @@ -0,0 +1 @@ +Versions/Current/Resources \ No newline at end of file diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/compat.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/compat.h new file mode 100644 index 000000000..132f2cdaf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/compat.h @@ -0,0 +1,206 @@ +#ifndef _HAD_LIBZIP_COMPAT_H +#define _HAD_LIBZIP_COMPAT_H + +/* + compat.h -- compatibility defines. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipconf.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/* to have *_MAX definitions for all types when compiling with g++ */ +#define __STDC_LIMIT_MACROS + +#ifdef _WIN32 +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#define ZIP_EXTERN __declspec(dllexport) +#endif +#endif +/* for dup(), close(), etc. */ +#include +#endif + +#ifdef HAVE_STDBOOL_H +#include +#else +typedef char bool; +#define true 1 +#define false 0 +#endif + +#include + +/* at least MinGW does not provide EOPNOTSUPP, see + * http://sourceforge.net/p/mingw/bugs/263/ + */ +#ifndef EOPNOTSUPP +#define EOPNOTSUPP EINVAL +#endif + +/* at least MinGW does not provide EOVERFLOW, see + * http://sourceforge.net/p/mingw/bugs/242/ + */ +#ifndef EOVERFLOW +#define EOVERFLOW EFBIG +#endif + +#ifdef _WIN32 +#if defined(HAVE__CHMOD) +#define chmod _chmod +#endif +#if defined(HAVE__CLOSE) +#define close _close +#endif +#if defined(HAVE__DUP) +#define dup _dup +#endif +/* crashes reported when using fdopen instead of _fdopen on Windows/Visual Studio 10/Win64 */ +#if defined(HAVE__FDOPEN) +#define fdopen _fdopen +#endif +#if !defined(HAVE_FILENO) && defined(HAVE__FILENO) +#define fileno _fileno +#endif +/* Windows' open() doesn't understand Unix permissions */ +#if defined(HAVE__OPEN) +#define open(a, b, c) _open((a), (b)) +#endif +#if defined(HAVE__SNPRINTF) +#define snprintf _snprintf +#endif +#if defined(HAVE__STRDUP) +#if !defined(HAVE_STRDUP) || defined(_WIN32) +#undef strdup +#define strdup _strdup +#endif +#endif +#if !defined(HAVE__SETMODE) && defined(HAVE_SETMODE) +#define _setmode setmode +#endif +#if !defined(HAVE_STRTOLL) && defined(HAVE__STRTOI64) +#define strtoll _strtoi64 +#endif +#if !defined(HAVE_STRTOULL) && defined(HAVE__STRTOUI64) +#define strtoull _strtoui64 +#endif +#if defined(HAVE__UMASK) +#define umask _umask +#endif +#if defined(HAVE__UNLINK) +#define unlink _unlink +#endif +#endif + +#ifndef HAVE_FSEEKO +#define fseeko(s, o, w) (fseek((s), (long int)(o), (w))) +#endif + +#ifndef HAVE_FTELLO +#define ftello(s) ((long)ftell((s))) +#endif + +#ifndef HAVE_MKSTEMP +int _zip_mkstemp(char*); +#define mkstemp _zip_mkstemp +#endif + +#if !defined(HAVE_STRCASECMP) +#if defined(HAVE__STRICMP) +#define strcasecmp _stricmp +#elif defined(HAVE_STRICMP) +#define strcasecmp stricmp +#endif +#endif + +#ifndef SIZEOF_OFF_T +#error asdf +#endif + +#if SIZEOF_OFF_T == 8 +#define ZIP_OFF_MAX ZIP_INT64_MAX +#define ZIP_OFF_MIN ZIP_INT64_MIN +#elif SIZEOF_OFF_T == 4 +#define ZIP_OFF_MAX ZIP_INT32_MAX +#define ZIP_OFF_MIN ZIP_INT32_MIN +#elif SIZEOF_OFF_T == 2 +#define ZIP_OFF_MAX ZIP_INT16_MAX +#define ZIP_OFF_MIN ZIP_INT16_MIN +#else +#error unsupported size of off_t +#endif + +#if defined(HAVE_FTELLO) && defined(HAVE_FSEEKO) +#define ZIP_FSEEK_MAX ZIP_OFF_MAX +#define ZIP_FSEEK_MIN ZIP_OFF_MIN +#else +#include +#define ZIP_FSEEK_MAX LONG_MAX +#define ZIP_FSEEK_MIN LONG_MIN +#endif + +#ifndef SIZE_MAX +#if SIZEOF_SIZE_T == 8 +#define SIZE_MAX ZIP_INT64_MAX +#elif SIZEOF_SIZE_T == 4 +#define SIZE_MAX ZIP_INT32_MAX +#elif SIZEOF_SIZE_T == 2 +#define SIZE_MAX ZIP_INT16_MAX +#else +#error unsupported size of size_t +#endif +#endif + +#ifndef PRId64 +#ifdef _MSC_VER +#define PRId64 "I64d" +#else +#define PRId64 "lld" +#endif +#endif + +#ifndef PRIu64 +#ifdef _MSC_VER +#define PRIu64 "I64u" +#else +#define PRIu64 "llu" +#endif +#endif + +#ifndef S_ISDIR +#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) +#endif + +#endif /* compat.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/config.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/config.h new file mode 100644 index 000000000..7bc9af833 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/config.h @@ -0,0 +1,92 @@ +#ifndef HAD_CONFIG_H +#define HAD_CONFIG_H +#ifndef _HAD_ZIPCONF_H +#include "zipconf.h" +#endif +/* BEGIN DEFINES */ +/* #undef HAVE___PROGNAME */ +/* #undef HAVE__CHMOD */ +/* #undef HAVE__CLOSE */ +/* #undef HAVE__DUP */ +/* #undef HAVE__FDOPEN */ +/* #undef HAVE__FILENO */ +/* #undef HAVE__OPEN */ +/* #undef HAVE__SETMODE */ +/* #undef HAVE__SNPRINTF */ +/* #undef HAVE__STRDUP */ +/* #undef HAVE__STRICMP */ +/* #undef HAVE__STRTOI64 */ +/* #undef HAVE__STRTOUI64 */ +/* #undef HAVE__UMASK */ +/* #undef HAVE__UNLINK */ +#define HAVE_CLONEFILE +#define HAVE_COMMONCRYPTO +#define HAVE_CRYPTO +/* #undef HAVE_FICLONERANGE */ +#define HAVE_FILENO +#define HAVE_FSEEKO +#define HAVE_FTELLO +#define HAVE_GETPROGNAME +/* #undef HAVE_GNUTLS */ +#define HAVE_LIBBZ2 +/* #undef HAVE_MBEDTLS */ +#define HAVE_MKSTEMP +#define HAVE_NULLABLE +#define HAVE_OPEN +/* #undef HAVE_OPENSSL */ +#define HAVE_SETMODE +#define HAVE_SNPRINTF +#define HAVE_SSIZE_T_LIBZIP +#define HAVE_STRCASECMP +#define HAVE_STRDUP +/* #undef HAVE_STRICMP */ +#define HAVE_STRTOLL +#define HAVE_STRTOULL +/* #undef HAVE_STRUCT_TM_TM_ZONE */ +#define HAVE_STDBOOL_H +#define HAVE_STRINGS_H +#define HAVE_UNISTD_H +/* #undef HAVE_WINDOWS_CRYPTO */ +/* #undef __INT8_LIBZIP */ +#define INT8_T_LIBZIP 1 +#define UINT8_T_LIBZIP 1 +/* #undef __INT16_LIBZIP */ +#define INT16_T_LIBZIP 2 +#define UINT16_T_LIBZIP 2 +/* #undef __INT32_LIBZIP */ +#define INT32_T_LIBZIP 4 +#define UINT32_T_LIBZIP 4 +/* #undef __INT64_LIBZIP */ +#define INT64_T_LIBZIP 8 +#define UINT64_T_LIBZIP 8 +#define SHORT_LIBZIP 2 +#define INT_LIBZIP 4 +#define LONG_LIBZIP 8 +#define LONG_LONG_LIBZIP 8 +#define SIZEOF_OFF_T 8 +#define SIZE_T_LIBZIP 8 +#define SSIZE_T_LIBZIP 8 +/* #undef HAVE_DIRENT_H */ +#define HAVE_FTS_H +/* #undef HAVE_NDIR_H */ +/* #undef HAVE_SYS_DIR_H */ +/* #undef HAVE_SYS_NDIR_H */ +/* #undef WORDS_BIGENDIAN */ +/* #undef HAVE_SHARED */ +/* END DEFINES */ +#define PACKAGE "libzip" +#define VERSION "1.5.2" + +#ifndef HAVE_SSIZE_T_LIBZIP +#if SIZE_T_LIBZIP == INT_LIBZIP +typedef int ssize_t; +#elif SIZE_T_LIBZIP == LONG_LIBZIP +typedef long ssize_t; +#elif SIZE_T_LIBZIP == LONG_LONG_LIBZIP +typedef long long ssize_t; +#else +#error no suitable type for ssize_t found +#endif +#endif + +#endif /* HAD_CONFIG_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip.h new file mode 100644 index 000000000..6d702128e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip.h @@ -0,0 +1,444 @@ +#ifndef _HAD_ZIP_H +#define _HAD_ZIP_H + +/* + zip.h -- exported declarations. + Copyright (C) 1999-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef __cplusplus +extern "C" { +#if 0 +} /* fix autoindent */ +#endif +#endif + +#include "zipconf.h" + +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#ifdef _WIN32 +#define ZIP_EXTERN __declspec(dllimport) +#elif defined(__GNUC__) && __GNUC__ >= 4 +#define ZIP_EXTERN __attribute__((visibility("default"))) +#else +#define ZIP_EXTERN +#endif +#else +#define ZIP_EXTERN +#endif +#endif + +#include +#include +#include + +/* flags for zip_open */ + +#define ZIP_CREATE 1 +#define ZIP_EXCL 2 +#define ZIP_CHECKCONS 4 +#define ZIP_TRUNCATE 8 +#define ZIP_RDONLY 16 + +/* flags for zip_name_locate, zip_fopen, zip_stat, ... */ + +#define ZIP_FL_NOCASE 1u /* ignore case on name lookup */ +#define ZIP_FL_NODIR 2u /* ignore directory component */ +#define ZIP_FL_COMPRESSED 4u /* read compressed data */ +#define ZIP_FL_UNCHANGED 8u /* use original data, ignoring changes */ +#define ZIP_FL_RECOMPRESS 16u /* force recompression of data */ +#define ZIP_FL_ENCRYPTED 32u /* read encrypted data (implies ZIP_FL_COMPRESSED) */ +#define ZIP_FL_ENC_GUESS 0u /* guess string encoding (is default) */ +#define ZIP_FL_ENC_RAW 64u /* get unmodified string */ +#define ZIP_FL_ENC_STRICT 128u /* follow specification strictly */ +#define ZIP_FL_LOCAL 256u /* in local header */ +#define ZIP_FL_CENTRAL 512u /* in central directory */ +/* 1024u reserved for internal use */ +#define ZIP_FL_ENC_UTF_8 2048u /* string is UTF-8 encoded */ +#define ZIP_FL_ENC_CP437 4096u /* string is CP437 encoded */ +#define ZIP_FL_OVERWRITE 8192u /* zip_file_add: if file with name exists, overwrite (replace) it */ + +/* archive global flags flags */ + +#define ZIP_AFL_RDONLY 2u /* read only -- cannot be cleared */ + +/* create a new extra field */ + +#define ZIP_EXTRA_FIELD_ALL ZIP_UINT16_MAX +#define ZIP_EXTRA_FIELD_NEW ZIP_UINT16_MAX + +/* libzip error codes */ + +#define ZIP_ER_OK 0 /* N No error */ +#define ZIP_ER_MULTIDISK 1 /* N Multi-disk zip archives not supported */ +#define ZIP_ER_RENAME 2 /* S Renaming temporary file failed */ +#define ZIP_ER_CLOSE 3 /* S Closing zip archive failed */ +#define ZIP_ER_SEEK 4 /* S Seek error */ +#define ZIP_ER_READ 5 /* S Read error */ +#define ZIP_ER_WRITE 6 /* S Write error */ +#define ZIP_ER_CRC 7 /* N CRC error */ +#define ZIP_ER_ZIPCLOSED 8 /* N Containing zip archive was closed */ +#define ZIP_ER_NOENT 9 /* N No such file */ +#define ZIP_ER_EXISTS 10 /* N File already exists */ +#define ZIP_ER_OPEN 11 /* S Can't open file */ +#define ZIP_ER_TMPOPEN 12 /* S Failure to create temporary file */ +#define ZIP_ER_ZLIB 13 /* Z Zlib error */ +#define ZIP_ER_MEMORY 14 /* N Malloc failure */ +#define ZIP_ER_CHANGED 15 /* N Entry has been changed */ +#define ZIP_ER_COMPNOTSUPP 16 /* N Compression method not supported */ +#define ZIP_ER_EOF 17 /* N Premature end of file */ +#define ZIP_ER_INVAL 18 /* N Invalid argument */ +#define ZIP_ER_NOZIP 19 /* N Not a zip archive */ +#define ZIP_ER_INTERNAL 20 /* N Internal error */ +#define ZIP_ER_INCONS 21 /* N Zip archive inconsistent */ +#define ZIP_ER_REMOVE 22 /* S Can't remove file */ +#define ZIP_ER_DELETED 23 /* N Entry has been deleted */ +#define ZIP_ER_ENCRNOTSUPP 24 /* N Encryption method not supported */ +#define ZIP_ER_RDONLY 25 /* N Read-only archive */ +#define ZIP_ER_NOPASSWD 26 /* N No password provided */ +#define ZIP_ER_WRONGPASSWD 27 /* N Wrong password provided */ +#define ZIP_ER_OPNOTSUPP 28 /* N Operation not supported */ +#define ZIP_ER_INUSE 29 /* N Resource still in use */ +#define ZIP_ER_TELL 30 /* S Tell error */ +#define ZIP_ER_COMPRESSED_DATA 31 /* N Compressed data invalid */ + +/* type of system error value */ + +#define ZIP_ET_NONE 0 /* sys_err unused */ +#define ZIP_ET_SYS 1 /* sys_err is errno */ +#define ZIP_ET_ZLIB 2 /* sys_err is zlib error code */ + +/* compression methods */ + +#define ZIP_CM_DEFAULT -1 /* better of deflate or store */ +#define ZIP_CM_STORE 0 /* stored (uncompressed) */ +#define ZIP_CM_SHRINK 1 /* shrunk */ +#define ZIP_CM_REDUCE_1 2 /* reduced with factor 1 */ +#define ZIP_CM_REDUCE_2 3 /* reduced with factor 2 */ +#define ZIP_CM_REDUCE_3 4 /* reduced with factor 3 */ +#define ZIP_CM_REDUCE_4 5 /* reduced with factor 4 */ +#define ZIP_CM_IMPLODE 6 /* imploded */ +/* 7 - Reserved for Tokenizing compression algorithm */ +#define ZIP_CM_DEFLATE 8 /* deflated */ +#define ZIP_CM_DEFLATE64 9 /* deflate64 */ +#define ZIP_CM_PKWARE_IMPLODE 10 /* PKWARE imploding */ +/* 11 - Reserved by PKWARE */ +#define ZIP_CM_BZIP2 12 /* compressed using BZIP2 algorithm */ +/* 13 - Reserved by PKWARE */ +#define ZIP_CM_LZMA 14 /* LZMA (EFS) */ +/* 15-17 - Reserved by PKWARE */ +#define ZIP_CM_TERSE 18 /* compressed using IBM TERSE (new) */ +#define ZIP_CM_LZ77 19 /* IBM LZ77 z Architecture (PFS) */ +#define ZIP_CM_XZ 95 /* XZ compressed data */ +#define ZIP_CM_JPEG 96 /* Compressed Jpeg data */ +#define ZIP_CM_WAVPACK 97 /* WavPack compressed data */ +#define ZIP_CM_PPMD 98 /* PPMd version I, Rev 1 */ + +/* encryption methods */ + +#define ZIP_EM_NONE 0 /* not encrypted */ +#define ZIP_EM_TRAD_PKWARE 1 /* traditional PKWARE encryption */ +#if 0 /* Strong Encryption Header not parsed yet */ +#define ZIP_EM_DES 0x6601 /* strong encryption: DES */ +#define ZIP_EM_RC2_OLD 0x6602 /* strong encryption: RC2, version < 5.2 */ +#define ZIP_EM_3DES_168 0x6603 +#define ZIP_EM_3DES_112 0x6609 +#define ZIP_EM_PKZIP_AES_128 0x660e +#define ZIP_EM_PKZIP_AES_192 0x660f +#define ZIP_EM_PKZIP_AES_256 0x6610 +#define ZIP_EM_RC2 0x6702 /* strong encryption: RC2, version >= 5.2 */ +#define ZIP_EM_RC4 0x6801 +#endif +#define ZIP_EM_AES_128 0x0101 /* Winzip AES encryption */ +#define ZIP_EM_AES_192 0x0102 +#define ZIP_EM_AES_256 0x0103 +#define ZIP_EM_UNKNOWN 0xffff /* unknown algorithm */ + +#define ZIP_OPSYS_DOS 0x00u +#define ZIP_OPSYS_AMIGA 0x01u +#define ZIP_OPSYS_OPENVMS 0x02u +#define ZIP_OPSYS_UNIX 0x03u +#define ZIP_OPSYS_VM_CMS 0x04u +#define ZIP_OPSYS_ATARI_ST 0x05u +#define ZIP_OPSYS_OS_2 0x06u +#define ZIP_OPSYS_MACINTOSH 0x07u +#define ZIP_OPSYS_Z_SYSTEM 0x08u +#define ZIP_OPSYS_CPM 0x09u +#define ZIP_OPSYS_WINDOWS_NTFS 0x0au +#define ZIP_OPSYS_MVS 0x0bu +#define ZIP_OPSYS_VSE 0x0cu +#define ZIP_OPSYS_ACORN_RISC 0x0du +#define ZIP_OPSYS_VFAT 0x0eu +#define ZIP_OPSYS_ALTERNATE_MVS 0x0fu +#define ZIP_OPSYS_BEOS 0x10u +#define ZIP_OPSYS_TANDEM 0x11u +#define ZIP_OPSYS_OS_400 0x12u +#define ZIP_OPSYS_OS_X 0x13u + +#define ZIP_OPSYS_DEFAULT ZIP_OPSYS_UNIX + +enum zip_source_cmd { + ZIP_SOURCE_OPEN, /* prepare for reading */ + ZIP_SOURCE_READ, /* read data */ + ZIP_SOURCE_CLOSE, /* reading is done */ + ZIP_SOURCE_STAT, /* get meta information */ + ZIP_SOURCE_ERROR, /* get error information */ + ZIP_SOURCE_FREE, /* cleanup and free resources */ + ZIP_SOURCE_SEEK, /* set position for reading */ + ZIP_SOURCE_TELL, /* get read position */ + ZIP_SOURCE_BEGIN_WRITE, /* prepare for writing */ + ZIP_SOURCE_COMMIT_WRITE, /* writing is done */ + ZIP_SOURCE_ROLLBACK_WRITE, /* discard written changes */ + ZIP_SOURCE_WRITE, /* write data */ + ZIP_SOURCE_SEEK_WRITE, /* set position for writing */ + ZIP_SOURCE_TELL_WRITE, /* get write position */ + ZIP_SOURCE_SUPPORTS, /* check whether source supports command */ + ZIP_SOURCE_REMOVE, /* remove file */ + ZIP_SOURCE_GET_COMPRESSION_FLAGS, /* get compression flags, internal only */ + ZIP_SOURCE_BEGIN_WRITE_CLONING /* like ZIP_SOURCE_BEGIN_WRITE, but keep part of original file */ +}; +typedef enum zip_source_cmd zip_source_cmd_t; + +#define ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd) (((zip_int64_t)1) << (cmd)) + +// clang-format off + +#define ZIP_SOURCE_SUPPORTS_READABLE (ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_OPEN) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_READ) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_CLOSE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_STAT) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ERROR) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_FREE)) + +#define ZIP_SOURCE_SUPPORTS_SEEKABLE (ZIP_SOURCE_SUPPORTS_READABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SUPPORTS)) + +#define ZIP_SOURCE_SUPPORTS_WRITABLE (ZIP_SOURCE_SUPPORTS_SEEKABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_COMMIT_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ROLLBACK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_REMOVE)) + +// clang-format on + +/* for use by sources */ +struct zip_source_args_seek { + zip_int64_t offset; + int whence; +}; + +typedef struct zip_source_args_seek zip_source_args_seek_t; +#define ZIP_SOURCE_GET_ARGS(type, data, len, error) ((len) < sizeof(type) ? zip_error_set((error), ZIP_ER_INVAL, 0), (type*)NULL : (type*)(data)) + +/* error information */ +/* use zip_error_*() to access */ +struct zip_error { + int zip_err; /* libzip error code (ZIP_ER_*) */ + int sys_err; /* copy of errno (E*) or zlib error code */ + char* _Nullable str; /* string representation or NULL */ +}; + +#define ZIP_STAT_NAME 0x0001u +#define ZIP_STAT_INDEX 0x0002u +#define ZIP_STAT_SIZE 0x0004u +#define ZIP_STAT_COMP_SIZE 0x0008u +#define ZIP_STAT_MTIME 0x0010u +#define ZIP_STAT_CRC 0x0020u +#define ZIP_STAT_COMP_METHOD 0x0040u +#define ZIP_STAT_ENCRYPTION_METHOD 0x0080u +#define ZIP_STAT_FLAGS 0x0100u + +struct zip_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char* _Nullable name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; + +struct zip_buffer_fragment { + zip_uint8_t* _Nonnull data; + zip_uint64_t length; +}; + +struct zip; +struct zip_file; +struct zip_source; + +typedef struct zip zip_t; +typedef struct zip_error zip_error_t; +typedef struct zip_file zip_file_t; +typedef struct zip_source zip_source_t; +typedef struct zip_stat zip_stat_t; +typedef struct zip_buffer_fragment zip_buffer_fragment_t; + +typedef zip_uint32_t zip_flags_t; + +typedef zip_int64_t (*zip_source_callback)(void* _Nullable, void* _Nullable, zip_uint64_t, zip_source_cmd_t); +typedef void (*zip_progress_callback)(zip_t* _Nonnull, double, void* _Nullable); + +#ifndef ZIP_DISABLE_DEPRECATED +typedef void (*zip_progress_callback_t)(double); +ZIP_EXTERN void zip_register_progress_callback(zip_t* _Nonnull, zip_progress_callback_t _Nullable); /* use zip_register_progress_callback_with_state */ + +ZIP_EXTERN zip_int64_t zip_add(zip_t* _Nonnull, const char* _Nonnull, zip_source_t* _Nonnull); /* use zip_file_add */ +ZIP_EXTERN zip_int64_t zip_add_dir(zip_t* _Nonnull, const char* _Nonnull); /* use zip_dir_add */ +ZIP_EXTERN const char* _Nullable zip_get_file_comment(zip_t* _Nonnull, zip_uint64_t, int* _Nullable, int); /* use zip_file_get_comment */ +ZIP_EXTERN int zip_get_num_files(zip_t* _Nonnull); /* use zip_get_num_entries instead */ +ZIP_EXTERN int zip_rename(zip_t* _Nonnull, zip_uint64_t, const char* _Nonnull); /* use zip_file_rename */ +ZIP_EXTERN int zip_replace(zip_t* _Nonnull, zip_uint64_t, zip_source_t* _Nonnull); /* use zip_file_replace */ +ZIP_EXTERN int zip_set_file_comment(zip_t* _Nonnull, zip_uint64_t, const char* _Nullable, int); /* use zip_file_set_comment */ +ZIP_EXTERN int zip_error_get_sys_type(int); /* use zip_error_system_type */ +ZIP_EXTERN void zip_error_get(zip_t* _Nonnull, int* _Nullable, int* _Nullable); /* use zip_get_error, zip_error_code_zip / zip_error_code_system */ +ZIP_EXTERN int zip_error_to_str(char* _Nonnull, zip_uint64_t, int, int); /* use zip_error_init_with_code / zip_error_strerror */ +ZIP_EXTERN void zip_file_error_get(zip_file_t* _Nonnull, int* _Nullable, int* _Nullable); /* use zip_file_get_error, zip_error_code_zip / zip_error_code_system */ +#endif + +ZIP_EXTERN int zip_close(zip_t* _Nonnull); +ZIP_EXTERN int zip_delete(zip_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int64_t zip_dir_add(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN void zip_discard(zip_t* _Nonnull); + +ZIP_EXTERN zip_error_t* _Nonnull zip_get_error(zip_t* _Nonnull); +ZIP_EXTERN void zip_error_clear(zip_t* _Nonnull); +ZIP_EXTERN int zip_error_code_zip(const zip_error_t* _Nonnull); +ZIP_EXTERN int zip_error_code_system(const zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_fini(zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_init(zip_error_t* _Nonnull); +ZIP_EXTERN void zip_error_init_with_code(zip_error_t* _Nonnull, int); +ZIP_EXTERN void zip_error_set(zip_error_t* _Nullable, int, int); +ZIP_EXTERN const char* _Nonnull zip_error_strerror(zip_error_t* _Nonnull); +ZIP_EXTERN int zip_error_system_type(const zip_error_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_error_to_data(const zip_error_t* _Nonnull, void* _Nonnull, zip_uint64_t); + +ZIP_EXTERN int zip_fclose(zip_file_t* _Nonnull); +ZIP_EXTERN zip_t* _Nullable zip_fdopen(int, int, int* _Nullable); +ZIP_EXTERN zip_int64_t zip_file_add(zip_t* _Nonnull, const char* _Nonnull, zip_source_t* _Nonnull, zip_flags_t); +ZIP_EXTERN void zip_file_error_clear(zip_file_t* _Nonnull); +ZIP_EXTERN int zip_file_extra_field_delete(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_delete_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_set(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, const zip_uint8_t* _Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN const zip_uint8_t* _Nullable zip_file_extra_field_get(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t* _Nullable, zip_uint16_t* _Nullable, zip_flags_t); +ZIP_EXTERN const zip_uint8_t* _Nullable zip_file_extra_field_get_by_id(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_uint16_t* _Nullable, zip_flags_t); +ZIP_EXTERN const char* _Nullable zip_file_get_comment(zip_t* _Nonnull, zip_uint64_t, zip_uint32_t* _Nullable, zip_flags_t); +ZIP_EXTERN zip_error_t* _Nonnull zip_file_get_error(zip_file_t* _Nonnull); +ZIP_EXTERN int zip_file_get_external_attributes(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t* _Nullable, zip_uint32_t* _Nullable); +ZIP_EXTERN int zip_file_rename(zip_t* _Nonnull, zip_uint64_t, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_replace(zip_t* _Nonnull, zip_uint64_t, zip_source_t* _Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_set_comment(zip_t* _Nonnull, zip_uint64_t, const char* _Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_set_encryption(zip_t* _Nonnull, zip_uint64_t, zip_uint16_t, const char* _Nullable); +ZIP_EXTERN int zip_file_set_external_attributes(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t, zip_uint32_t); +ZIP_EXTERN int zip_file_set_mtime(zip_t* _Nonnull, zip_uint64_t, time_t, zip_flags_t); +ZIP_EXTERN const char* _Nonnull zip_file_strerror(zip_file_t* _Nonnull); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_encrypted(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t, const char* _Nullable); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_index(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_file_t* _Nullable zip_fopen_index_encrypted(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, const char* _Nullable); +ZIP_EXTERN zip_int64_t zip_fread(zip_file_t* _Nonnull, void* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int8_t zip_fseek(zip_file_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_ftell(zip_file_t* _Nonnull); +ZIP_EXTERN const char* _Nullable zip_get_archive_comment(zip_t* _Nonnull, int* _Nullable, zip_flags_t); +ZIP_EXTERN int zip_get_archive_flag(zip_t* _Nonnull, zip_flags_t, zip_flags_t); +ZIP_EXTERN const char* _Nullable zip_get_name(zip_t* _Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int64_t zip_get_num_entries(zip_t* _Nonnull, zip_flags_t); +ZIP_EXTERN const char* _Nonnull zip_libzip_version(void); +ZIP_EXTERN zip_int64_t zip_name_locate(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t); +ZIP_EXTERN zip_t* _Nullable zip_open(const char* _Nonnull, int, int* _Nullable); +ZIP_EXTERN zip_t* _Nullable zip_open_from_source(zip_source_t* _Nonnull, int, zip_error_t* _Nullable); +ZIP_EXTERN int zip_register_progress_callback_with_state(zip_t* _Nonnull, double, zip_progress_callback _Nullable, void (*_Nullable)(void* _Nullable), void* _Nullable); +ZIP_EXTERN int zip_set_archive_comment(zip_t* _Nonnull, const char* _Nullable, zip_uint16_t); +ZIP_EXTERN int zip_set_archive_flag(zip_t* _Nonnull, zip_flags_t, int); +ZIP_EXTERN int zip_set_default_password(zip_t* _Nonnull, const char* _Nullable); +ZIP_EXTERN int zip_set_file_compression(zip_t* _Nonnull, zip_uint64_t, zip_int32_t, zip_uint32_t); +ZIP_EXTERN int zip_source_begin_write(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_begin_write_cloning(zip_source_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer(zip_t* _Nonnull, const void* _Nullable, zip_uint64_t, int); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_create(const void* _Nullable, zip_uint64_t, int, zip_error_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_fragment(zip_t* _Nonnull, const zip_buffer_fragment_t* _Nonnull, zip_uint64_t, int); +ZIP_EXTERN zip_source_t* _Nullable zip_source_buffer_fragment_create(const zip_buffer_fragment_t* _Nonnull, zip_uint64_t, int, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_close(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_commit_write(zip_source_t* _Nonnull); +ZIP_EXTERN zip_error_t* _Nonnull zip_source_error(zip_source_t* _Nonnull); +ZIP_EXTERN zip_source_t* _Nullable zip_source_file(zip_t* _Nonnull, const char* _Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_file_create(const char* _Nonnull, zip_uint64_t, zip_int64_t, zip_error_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_filep(zip_t* _Nonnull, FILE* _Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_filep_create(FILE* _Nonnull, zip_uint64_t, zip_int64_t, zip_error_t* _Nullable); +ZIP_EXTERN void zip_source_free(zip_source_t* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_function(zip_t* _Nonnull, zip_source_callback _Nonnull, void* _Nullable); +ZIP_EXTERN zip_source_t* _Nullable zip_source_function_create(zip_source_callback _Nonnull, void* _Nullable, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_is_deleted(zip_source_t* _Nonnull); +ZIP_EXTERN void zip_source_keep(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_make_command_bitmap(zip_source_cmd_t, ...); +ZIP_EXTERN int zip_source_open(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_read(zip_source_t* _Nonnull, void* _Nonnull, zip_uint64_t); +ZIP_EXTERN void zip_source_rollback_write(zip_source_t* _Nonnull); +ZIP_EXTERN int zip_source_seek(zip_source_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_source_seek_compute_offset(zip_uint64_t, zip_uint64_t, void* _Nonnull, zip_uint64_t, zip_error_t* _Nullable); +ZIP_EXTERN int zip_source_seek_write(zip_source_t* _Nonnull, zip_int64_t, int); +ZIP_EXTERN int zip_source_stat(zip_source_t* _Nonnull, zip_stat_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell(zip_source_t* _Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell_write(zip_source_t* _Nonnull); +#ifdef _WIN32 +ZIP_EXTERN zip_source_t* zip_source_win32a(zip_t*, const char*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32a_create(const char*, zip_uint64_t, zip_int64_t, zip_error_t*); +ZIP_EXTERN zip_source_t* zip_source_win32handle(zip_t*, void*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32handle_create(void*, zip_uint64_t, zip_int64_t, zip_error_t*); +ZIP_EXTERN zip_source_t* zip_source_win32w(zip_t*, const wchar_t*, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t* zip_source_win32w_create(const wchar_t*, zip_uint64_t, zip_int64_t, zip_error_t*); +#endif +ZIP_EXTERN zip_int64_t zip_source_write(zip_source_t* _Nonnull, const void* _Nullable, zip_uint64_t); +ZIP_EXTERN zip_source_t* _Nullable zip_source_zip(zip_t* _Nonnull, zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_int64_t); +ZIP_EXTERN int zip_stat(zip_t* _Nonnull, const char* _Nonnull, zip_flags_t, zip_stat_t* _Nonnull); +ZIP_EXTERN int zip_stat_index(zip_t* _Nonnull, zip_uint64_t, zip_flags_t, zip_stat_t* _Nonnull); +ZIP_EXTERN void zip_stat_init(zip_stat_t* _Nonnull); +ZIP_EXTERN const char* _Nonnull zip_strerror(zip_t* _Nonnull); +ZIP_EXTERN int zip_unchange(zip_t* _Nonnull, zip_uint64_t); +ZIP_EXTERN int zip_unchange_all(zip_t* _Nonnull); +ZIP_EXTERN int zip_unchange_archive(zip_t* _Nonnull); + +#ifdef __cplusplus +} +#endif + +#endif /* _HAD_ZIP_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto.h new file mode 100644 index 000000000..585de211c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto.h @@ -0,0 +1,54 @@ +/* + zip_crypto.h -- crypto definitions + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_H +#define HAD_ZIP_CRYPTO_H + +#define ZIP_CRYPTO_SHA1_LENGTH 20 +#define ZIP_CRYPTO_AES_BLOCK_LENGTH 16 + +#if defined(HAVE_WINDOWS_CRYPTO) +#include "zip_crypto_win.h" +#elif defined(HAVE_COMMONCRYPTO) +#include "zip_crypto_commoncrypto.h" +#elif defined(HAVE_GNUTLS) +#include "zip_crypto_gnutls.h" +#elif defined(HAVE_OPENSSL) +#include "zip_crypto_openssl.h" +#elif defined(HAVE_MBEDTLS) +#include "zip_crypto_mbedtls.h" +#else +#error "no crypto backend found" +#endif + +#endif /* HAD_ZIP_CRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_commoncrypto.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_commoncrypto.h new file mode 100644 index 000000000..aa42d3724 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_commoncrypto.h @@ -0,0 +1,53 @@ +/* + zip_crypto_commoncrypto.h -- definitions for CommonCrypto wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_COMMONCRYPTO_H +#define HAD_ZIP_CRYPTO_COMMONCRYPTO_H + +#include + +#define _zip_crypto_aes_t struct _CCCryptor +#define _zip_crypto_hmac_t CCHmacContext + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (CCHmacUpdate((hmac), (data), (length)), true) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac_output(hmac, data) (CCHmacFinal((hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (CCKeyDerivationPBKDF(kCCPBKDF2, (const char*)(key), (key_length), (salt), (salt_length), kCCPRFHmacAlgSHA1, (iterations), (output), (output_length)) == kCCSuccess) + +#endif /* HAD_ZIP_CRYPTO_COMMONCRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_gnutls.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_gnutls.h new file mode 100644 index 000000000..01d854f72 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_gnutls.h @@ -0,0 +1,65 @@ +/* + zip_crypto_gnutls.h -- definitions for GnuTLS wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_GNUTLS_H +#define HAD_ZIP_CRYPTO_GNUTLS_H + +#include +#include + +#include +#include + +typedef struct { + union { + struct aes128_ctx ctx_128; + struct aes192_ctx ctx_192; + struct aes256_ctx ctx_256; + } ctx; + zip_uint16_t key_size; +} _zip_crypto_aes_t; + +#define _zip_crypto_hmac_t gnutls_hmac_hd_t + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (gnutls_hmac(*(hmac), (data), (length)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac_output(hmac, data) (gnutls_hmac_output(*(hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (pbkdf2_hmac_sha1((key_length), (key), (iterations), (salt_length), (salt), (output_length), (output)), true) + +#endif /* HAD_ZIP_CRYPTO_GNUTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_mbedtls.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_mbedtls.h new file mode 100644 index 000000000..259f174db --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_mbedtls.h @@ -0,0 +1,54 @@ +/* + zip_crypto_mbedtls.h -- definitions for mbedtls wrapper + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_MBEDTLS_H +#define HAD_ZIP_CRYPTO_MBEDTLS_H + +#include +#include + +#define _zip_crypto_aes_t mbedtls_aes_context +#define _zip_crypto_hmac_t mbedtls_md_context_t + +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (mbedtls_aes_crypt_ecb((aes), MBEDTLS_AES_ENCRYPT, (in), (out)) == 0) +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); + +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +#define _zip_crypto_hmac(hmac, data, length) (mbedtls_md_hmac_update((hmac), (data), (length)) == 0) +#define _zip_crypto_hmac_output(hmac, data) (mbedtls_md_hmac_finish((hmac), (data)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); + +bool _zip_crypto_pbkdf2(const zip_uint8_t* key, zip_uint64_t key_length, const zip_uint8_t* salt, zip_uint16_t salt_length, int iterations, zip_uint8_t* output, zip_uint64_t output_length); + +#endif /* HAD_ZIP_CRYPTO_MBEDTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_openssl.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_openssl.h new file mode 100644 index 000000000..742efb40f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_openssl.h @@ -0,0 +1,54 @@ +/* + zip_crypto_openssl.h -- definitions for OpenSSL wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_OPENSSL_H +#define HAD_ZIP_CRYPTO_OPENSSL_H + +#include +#include + +#define _zip_crypto_aes_t AES_KEY +#define _zip_crypto_hmac_t HMAC_CTX + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (AES_encrypt((in), (out), (aes)), true) +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); + +#define _zip_crypto_hmac(hmac, data, length) (HMAC_Update((hmac), (data), (length)) == 1) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t* hmac, zip_uint8_t* data); + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (PKCS5_PBKDF2_HMAC_SHA1((const char*)(key), (key_length), (salt), (salt_length), (iterations), (output_length), (output))) + +#endif /* HAD_ZIP_CRYPTO_OPENSSL_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_win.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_win.h new file mode 100644 index 000000000..f7635e09b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zip_crypto_win.h @@ -0,0 +1,51 @@ +/* + zip_crypto_win.h -- Windows Crypto API wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_WIN_H +#define HAD_ZIP_CRYPTO_WIN_H + +typedef struct _zip_crypto_aes_s _zip_crypto_aes_t; +typedef struct _zip_crypto_hmac_s _zip_crypto_hmac_t; + +void _zip_crypto_aes_free(_zip_crypto_aes_t* aes); +_zip_crypto_aes_t* _zip_crypto_aes_new(const zip_uint8_t* key, zip_uint16_t key_size, zip_error_t* error); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t* aes, const zip_uint8_t* in, zip_uint8_t* out); + +bool _zip_crypto_pbkdf2(const zip_uint8_t* key, zip_uint64_t key_length, const zip_uint8_t* salt, zip_uint16_t salt_length, zip_uint16_t iterations, zip_uint8_t* output, zip_uint16_t output_length); + +_zip_crypto_hmac_t* _zip_crypto_hmac_new(const zip_uint8_t* secret, zip_uint64_t secret_length, zip_error_t* error); +void _zip_crypto_hmac_free(_zip_crypto_hmac_t* hmac); +bool _zip_crypto_hmac(_zip_crypto_hmac_t* hmac, zip_uint8_t* data, zip_uint64_t length); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t* hmac, zip_uint8_t* data); + +#endif /* HAD_ZIP_CRYPTO_WIN_H */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipconf.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipconf.h new file mode 100644 index 000000000..4585bf329 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipconf.h @@ -0,0 +1,45 @@ +#ifndef _HAD_ZIPCONF_H +#define _HAD_ZIPCONF_H + +/* + zipconf.h -- platform specific include file + + This file was generated automatically by CMake + based on ../cmake-zipconf.h.in. + */ + +#define LIBZIP_VERSION "1.5.2" +#define LIBZIP_VERSION_MAJOR 1 +#define LIBZIP_VERSION_MINOR 5 +#define LIBZIP_VERSION_MICRO 2 + +#define ZIP_STATIC + +#include + +typedef int8_t zip_int8_t; +typedef uint8_t zip_uint8_t; +typedef int16_t zip_int16_t; +typedef uint16_t zip_uint16_t; +typedef int32_t zip_int32_t; +typedef uint32_t zip_uint32_t; +typedef int64_t zip_int64_t; +typedef uint64_t zip_uint64_t; + +#define ZIP_INT8_MIN (-ZIP_INT8_MAX - 1) +#define ZIP_INT8_MAX 0x7f +#define ZIP_UINT8_MAX 0xff + +#define ZIP_INT16_MIN (-ZIP_INT16_MAX - 1) +#define ZIP_INT16_MAX 0x7fff +#define ZIP_UINT16_MAX 0xffff + +#define ZIP_INT32_MIN (-ZIP_INT32_MAX - 1L) +#define ZIP_INT32_MAX 0x7fffffffL +#define ZIP_UINT32_MAX 0xffffffffLU + +#define ZIP_INT64_MIN (-ZIP_INT64_MAX - 1LL) +#define ZIP_INT64_MAX 0x7fffffffffffffffLL +#define ZIP_UINT64_MAX 0xffffffffffffffffULL + +#endif /* zipconf.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipint.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipint.h new file mode 100644 index 000000000..48609d972 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipint.h @@ -0,0 +1,579 @@ +#ifndef _HAD_ZIPINT_H +#define _HAD_ZIPINT_H + +/* + zipint.h -- internal declarations. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "compat.h" + +#ifdef ZIP_ALLOCATE_BUFFER +#include +#endif + +#include + +#ifndef _ZIP_COMPILING_DEPRECATED +#define ZIP_DISABLE_DEPRECATED +#endif + +#include "zip.h" + +#define CENTRAL_MAGIC "PK\1\2" +#define LOCAL_MAGIC "PK\3\4" +#define EOCD_MAGIC "PK\5\6" +#define DATADES_MAGIC "PK\7\10" +#define EOCD64LOC_MAGIC "PK\6\7" +#define EOCD64_MAGIC "PK\6\6" +#define CDENTRYSIZE 46u +#define LENTRYSIZE 30 +#define MAXCOMLEN 65536 +#define MAXEXTLEN 65536 +#define EOCDLEN 22 +#define EOCD64LOCLEN 20 +#define EOCD64LEN 56 +#define CDBUFSIZE (MAXCOMLEN + EOCDLEN + EOCD64LOCLEN) +#define BUFSIZE 8192 +#define EFZIP64SIZE 28 +#define EF_WINZIP_AES_SIZE 7 + +#define ZIP_CM_REPLACED_DEFAULT (-2) +#define ZIP_CM_WINZIP_AES 99 /* Winzip AES encrypted */ + +#define WINZIP_AES_PASSWORD_VERIFY_LENGTH 2 +#define WINZIP_AES_MAX_HEADER_LENGTH (16 + WINZIP_AES_PASSWORD_VERIFY_LENGTH) +#define AES_BLOCK_SIZE 16 +#define HMAC_LENGTH 10 +#define SHA1_LENGTH 20 +#define SALT_LENGTH(method) ((method) == ZIP_EM_AES_128 ? 8 : ((method) == ZIP_EM_AES_192 ? 12 : 16)) + +#define ZIP_CM_IS_DEFAULT(x) ((x) == ZIP_CM_DEFAULT || (x) == ZIP_CM_REPLACED_DEFAULT) +#define ZIP_CM_ACTUAL(x) ((zip_uint16_t)(ZIP_CM_IS_DEFAULT(x) ? ZIP_CM_DEFLATE : (x))) + +#define ZIP_EF_UTF_8_COMMENT 0x6375 +#define ZIP_EF_UTF_8_NAME 0x7075 +#define ZIP_EF_WINZIP_AES 0x9901 +#define ZIP_EF_ZIP64 0x0001 + +#define ZIP_EF_IS_INTERNAL(id) ((id) == ZIP_EF_UTF_8_COMMENT || (id) == ZIP_EF_UTF_8_NAME || (id) == ZIP_EF_WINZIP_AES || (id) == ZIP_EF_ZIP64) + +/* according to unzip-6.0's zipinfo.c, this corresponds to a regular file with rw permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT (0100666u << 16) +/* according to unzip-6.0's zipinfo.c, this corresponds to a directory with rwx permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT_DIR (0040777u << 16) + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +/* This section contains API that won't materialize like this. It's + placed in the internal section, pending cleanup. */ + +/* flags for compression and encryption sources */ + +#define ZIP_CODEC_DECODE 0 /* decompress/decrypt (encode flag not set) */ +#define ZIP_CODEC_ENCODE 1 /* compress/encrypt */ + +typedef zip_source_t* (*zip_encryption_implementation)(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); + +zip_encryption_implementation _zip_get_encryption_implementation(zip_uint16_t method, int operation); + +// clang-format off +enum zip_compression_status { + ZIP_COMPRESSION_OK, + ZIP_COMPRESSION_END, + ZIP_COMPRESSION_ERROR, + ZIP_COMPRESSION_NEED_DATA +}; +// clang-format on +typedef enum zip_compression_status zip_compression_status_t; + +struct zip_compression_algorithm { + /* called once to create new context */ + void* (*allocate)(zip_uint16_t method, int compression_flags, zip_error_t* error); + /* called once to free context */ + void (*deallocate)(void* ctx); + + /* get compression specific general purpose bitflags */ + int (*compression_flags)(void* ctx); + + /* start processing */ + bool (*start)(void* ctx); + /* stop processing */ + bool (*end)(void* ctx); + + /* provide new input data, remains valid until next call to input or end */ + bool (*input)(void* ctx, zip_uint8_t* data, zip_uint64_t length); + + /* all input data has been provided */ + void (*end_of_input)(void* ctx); + + /* process input data, writing to data, which has room for length bytes, update length to number of bytes written */ + zip_compression_status_t (*process)(void* ctx, zip_uint8_t* data, zip_uint64_t* length); +}; +typedef struct zip_compression_algorithm zip_compression_algorithm_t; + +extern zip_compression_algorithm_t zip_algorithm_bzip2_compress; +extern zip_compression_algorithm_t zip_algorithm_bzip2_decompress; +extern zip_compression_algorithm_t zip_algorithm_deflate_compress; +extern zip_compression_algorithm_t zip_algorithm_deflate_decompress; + +bool zip_compression_method_supported(zip_int32_t method, bool compress); + +/* This API is not final yet, but we need it internally, so it's private for now. */ + +const zip_uint8_t* zip_get_extra_field_by_id(zip_t*, int, int, zip_uint16_t, int, zip_uint16_t*); + +/* This section contains API that is of limited use until support for + user-supplied compression/encryption implementation is finished. + Thus we will keep it private for now. */ + +typedef zip_int64_t (*zip_source_layered_callback)(zip_source_t*, void*, void*, zip_uint64_t, enum zip_source_cmd); +zip_source_t* zip_source_compress(zip_t* za, zip_source_t* src, zip_int32_t cm, int compression_flags); +zip_source_t* zip_source_crc(zip_t*, zip_source_t*, int); +zip_source_t* zip_source_decompress(zip_t* za, zip_source_t* src, zip_int32_t cm); +zip_source_t* zip_source_layered(zip_t*, zip_source_t*, zip_source_layered_callback, void*); +zip_source_t* zip_source_layered_create(zip_source_t* src, zip_source_layered_callback cb, void* ud, zip_error_t* error); +zip_source_t* zip_source_pkware(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); +int zip_source_remove(zip_source_t*); +zip_int64_t zip_source_supports(zip_source_t* src); +zip_source_t* zip_source_window(zip_t*, zip_source_t*, zip_uint64_t, zip_uint64_t); +zip_source_t* zip_source_winzip_aes_decode(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); +zip_source_t* zip_source_winzip_aes_encode(zip_t*, zip_source_t*, zip_uint16_t, int, const char*); + +/* error source for layered sources */ + +enum zip_les { ZIP_LES_NONE, + ZIP_LES_UPPER, + ZIP_LES_LOWER, + ZIP_LES_INVAL }; + +/* directory entry: general purpose bit flags */ + +#define ZIP_GPBF_ENCRYPTED 0x0001u /* is encrypted */ +#define ZIP_GPBF_DATA_DESCRIPTOR 0x0008u /* crc/size after file data */ +#define ZIP_GPBF_STRONG_ENCRYPTION 0x0040u /* uses strong encryption */ +#define ZIP_GPBF_ENCODING_UTF_8 0x0800u /* file name encoding is UTF-8 */ + +/* extra fields */ +#define ZIP_EF_LOCAL ZIP_FL_LOCAL /* include in local header */ +#define ZIP_EF_CENTRAL ZIP_FL_CENTRAL /* include in central directory */ +#define ZIP_EF_BOTH (ZIP_EF_LOCAL | ZIP_EF_CENTRAL) /* include in both */ + +#define ZIP_FL_FORCE_ZIP64 1024 /* force zip64 extra field (_zip_dirent_write) */ + +#define ZIP_FL_ENCODING_ALL (ZIP_FL_ENC_GUESS | ZIP_FL_ENC_CP437 | ZIP_FL_ENC_UTF_8) + +/* encoding type */ +enum zip_encoding_type { + ZIP_ENCODING_UNKNOWN, /* not yet analyzed */ + ZIP_ENCODING_ASCII, /* plain ASCII */ + ZIP_ENCODING_UTF8_KNOWN, /* is UTF-8 */ + ZIP_ENCODING_UTF8_GUESSED, /* possibly UTF-8 */ + ZIP_ENCODING_CP437, /* Code Page 437 */ + ZIP_ENCODING_ERROR /* should be UTF-8 but isn't */ +}; + +typedef enum zip_encoding_type zip_encoding_type_t; + +struct zip_hash; +struct zip_progress; + +typedef struct zip_cdir zip_cdir_t; +typedef struct zip_dirent zip_dirent_t; +typedef struct zip_entry zip_entry_t; +typedef struct zip_extra_field zip_extra_field_t; +typedef struct zip_string zip_string_t; +typedef struct zip_buffer zip_buffer_t; +typedef struct zip_hash zip_hash_t; +typedef struct zip_progress zip_progress_t; + +/* zip archive, part of API */ + +struct zip { + zip_source_t* src; /* data source for archive */ + unsigned int open_flags; /* flags passed to zip_open */ + zip_error_t error; /* error information */ + + unsigned int flags; /* archive global flags */ + unsigned int ch_flags; /* changed archive global flags */ + + char* default_password; /* password used when no other supplied */ + + zip_string_t* comment_orig; /* archive comment */ + zip_string_t* comment_changes; /* changed archive comment */ + bool comment_changed; /* whether archive comment was changed */ + + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + zip_entry_t* entry; /* entries */ + + unsigned int nopen_source; /* number of open sources using archive */ + unsigned int nopen_source_alloc; /* number of sources allocated */ + zip_source_t** open_source; /* open sources using archive */ + + zip_hash_t* names; /* hash table for name lookup */ + + zip_progress_t* progress; /* progress callback for zip_close() */ +}; + +/* file in zip archive, part of API */ + +struct zip_file { + zip_t* za; /* zip archive containing this file */ + zip_error_t error; /* error information */ + bool eof; + zip_source_t* src; /* data source */ +}; + +/* zip archive directory entry (central or local) */ + +#define ZIP_DIRENT_COMP_METHOD 0x0001u +#define ZIP_DIRENT_FILENAME 0x0002u +#define ZIP_DIRENT_COMMENT 0x0004u +#define ZIP_DIRENT_EXTRA_FIELD 0x0008u +#define ZIP_DIRENT_ATTRIBUTES 0x0010u +#define ZIP_DIRENT_LAST_MOD 0x0020u +#define ZIP_DIRENT_ENCRYPTION_METHOD 0x0040u +#define ZIP_DIRENT_PASSWORD 0x0080u +#define ZIP_DIRENT_ALL ZIP_UINT32_MAX + +struct zip_dirent { + zip_uint32_t changed; + bool local_extra_fields_read; /* whether we already read in local header extra fields */ + bool cloned; /* whether this instance is cloned, and thus shares non-changed strings */ + + bool crc_valid; /* if CRC is valid (sometimes not for encrypted archives) */ + + zip_uint16_t version_madeby; /* (c) version of creator */ + zip_uint16_t version_needed; /* (cl) version needed to extract */ + zip_uint16_t bitflags; /* (cl) general purpose bit flag */ + zip_int32_t comp_method; /* (cl) compression method used (uint16 and ZIP_CM_DEFAULT (-1)) */ + time_t last_mod; /* (cl) time of last modification */ + zip_uint32_t crc; /* (cl) CRC-32 of uncompressed data */ + zip_uint64_t comp_size; /* (cl) size of compressed data */ + zip_uint64_t uncomp_size; /* (cl) size of uncompressed data */ + zip_string_t* filename; /* (cl) file name (NUL-terminated) */ + zip_extra_field_t* extra_fields; /* (cl) extra fields, parsed */ + zip_string_t* comment; /* (c) file comment */ + zip_uint32_t disk_number; /* (c) disk number start */ + zip_uint16_t int_attrib; /* (c) internal file attributes */ + zip_uint32_t ext_attrib; /* (c) external file attributes */ + zip_uint64_t offset; /* (c) offset of local header */ + + zip_uint16_t compression_level; /* level of compression to use (never valid in orig) */ + zip_uint16_t encryption_method; /* encryption method, computed from other fields */ + char* password; /* file specific encryption password */ +}; + +/* zip archive central directory */ + +struct zip_cdir { + zip_entry_t* entry; /* directory entries */ + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + + zip_uint64_t size; /* size of central directory */ + zip_uint64_t offset; /* offset of central directory in file */ + zip_string_t* comment; /* zip archive comment */ + bool is_zip64; /* central directory in zip64 format */ +}; + +struct zip_extra_field { + zip_extra_field_t* next; + zip_flags_t flags; /* in local/central header */ + zip_uint16_t id; /* header id */ + zip_uint16_t size; /* data size */ + zip_uint8_t* data; +}; + +enum zip_source_write_state { + ZIP_SOURCE_WRITE_CLOSED, /* write is not in progress */ + ZIP_SOURCE_WRITE_OPEN, /* write is in progress */ + ZIP_SOURCE_WRITE_FAILED, /* commit failed, only rollback allowed */ + ZIP_SOURCE_WRITE_REMOVED /* file was removed */ +}; +typedef enum zip_source_write_state zip_source_write_state_t; + +struct zip_source { + zip_source_t* src; + union { + zip_source_callback f; + zip_source_layered_callback l; + } cb; + void* ud; + zip_error_t error; + zip_int64_t supports; /* supported commands */ + unsigned int open_count; /* number of times source was opened (directly or as lower layer) */ + zip_source_write_state_t write_state; /* whether source is open for writing */ + bool source_closed; /* set if source archive is closed */ + zip_t* source_archive; /* zip archive we're reading from, NULL if not from archive */ + unsigned int refcount; + bool eof; /* EOF reached */ + bool had_read_error; /* a previous ZIP_SOURCE_READ reported an error */ +}; + +#define ZIP_SOURCE_IS_OPEN_READING(src) ((src)->open_count > 0) +#define ZIP_SOURCE_IS_OPEN_WRITING(src) ((src)->write_state == ZIP_SOURCE_WRITE_OPEN) +#define ZIP_SOURCE_IS_LAYERED(src) ((src)->src != NULL) + +/* entry in zip archive directory */ + +struct zip_entry { + zip_dirent_t* orig; + zip_dirent_t* changes; + zip_source_t* source; + bool deleted; +}; + +/* file or archive comment, or filename */ + +struct zip_string { + zip_uint8_t* raw; /* raw string */ + zip_uint16_t length; /* length of raw string */ + enum zip_encoding_type encoding; /* autorecognized encoding */ + zip_uint8_t* converted; /* autoconverted string */ + zip_uint32_t converted_length; /* length of converted */ +}; + +/* byte array */ + +/* For performance, we usually keep 8k byte arrays on the stack. + However, there are (embedded) systems with a stack size of 12k; + for those, use malloc()/free() */ + +#ifdef ZIP_ALLOCATE_BUFFER +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t* buf +#define byte_array_init(buf, size) (((buf) = (zip_uint8_t*)malloc(size)) != NULL) +#define byte_array_fini(buf) (free(buf)) +#else +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t buf[size] +#define byte_array_init(buf, size) (1) +#define byte_array_fini(buf) ((void)0) +#endif + +/* bounds checked access to memory buffer */ + +struct zip_buffer { + bool ok; + bool free_data; + + zip_uint8_t* data; + zip_uint64_t size; + zip_uint64_t offset; +}; + +/* which files to write in which order */ + +struct zip_filelist { + zip_uint64_t idx; + /* TODO const char *name; */ +}; + +typedef struct zip_filelist zip_filelist_t; + +struct _zip_winzip_aes; +typedef struct _zip_winzip_aes zip_winzip_aes_t; + +extern const char* const _zip_err_str[]; +extern const int _zip_nerr_str; +extern const int _zip_err_type[]; + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +#define ZIP_ENTRY_CHANGED(e, f) ((e)->changes && ((e)->changes->changed & (f))) +#define ZIP_ENTRY_DATA_CHANGED(x) ((x)->source != NULL) +#define ZIP_ENTRY_HAS_CHANGES(e) (ZIP_ENTRY_DATA_CHANGED(e) || (e)->deleted || ZIP_ENTRY_CHANGED((e), ZIP_DIRENT_ALL)) + +#define ZIP_IS_RDONLY(za) ((za)->ch_flags & ZIP_AFL_RDONLY) + +#ifdef HAVE_EXPLICIT_MEMSET +#define _zip_crypto_clear(b, l) explicit_memset((b), 0, (l)) +#else +#ifdef HAVE_EXPLICIT_BZERO +#define _zip_crypto_clear(b, l) explicit_bzero((b), (l)) +#else +#include +#define _zip_crypto_clear(b, l) memset((b), 0, (l)) +#endif +#endif + +zip_int64_t _zip_add_entry(zip_t*); + +zip_uint8_t* _zip_buffer_data(zip_buffer_t* buffer); +bool _zip_buffer_eof(zip_buffer_t* buffer); +void _zip_buffer_free(zip_buffer_t* buffer); +zip_uint8_t* _zip_buffer_get(zip_buffer_t* buffer, zip_uint64_t length); +zip_uint16_t _zip_buffer_get_16(zip_buffer_t* buffer); +zip_uint32_t _zip_buffer_get_32(zip_buffer_t* buffer); +zip_uint64_t _zip_buffer_get_64(zip_buffer_t* buffer); +zip_uint8_t _zip_buffer_get_8(zip_buffer_t* buffer); +zip_uint64_t _zip_buffer_left(zip_buffer_t* buffer); +zip_buffer_t* _zip_buffer_new(zip_uint8_t* data, zip_uint64_t size); +zip_buffer_t* _zip_buffer_new_from_source(zip_source_t* src, zip_uint64_t size, zip_uint8_t* buf, zip_error_t* error); +zip_uint64_t _zip_buffer_offset(zip_buffer_t* buffer); +bool _zip_buffer_ok(zip_buffer_t* buffer); +zip_uint8_t* _zip_buffer_peek(zip_buffer_t* buffer, zip_uint64_t length); +int _zip_buffer_put(zip_buffer_t* buffer, const void* src, size_t length); +int _zip_buffer_put_16(zip_buffer_t* buffer, zip_uint16_t i); +int _zip_buffer_put_32(zip_buffer_t* buffer, zip_uint32_t i); +int _zip_buffer_put_64(zip_buffer_t* buffer, zip_uint64_t i); +int _zip_buffer_put_8(zip_buffer_t* buffer, zip_uint8_t i); +zip_uint64_t _zip_buffer_read(zip_buffer_t* buffer, zip_uint8_t* data, zip_uint64_t length); +int _zip_buffer_skip(zip_buffer_t* buffer, zip_uint64_t length); +int _zip_buffer_set_offset(zip_buffer_t* buffer, zip_uint64_t offset); +zip_uint64_t _zip_buffer_size(zip_buffer_t* buffer); + +int _zip_cdir_compute_crc(zip_t*, uLong*); +void _zip_cdir_free(zip_cdir_t*); +bool _zip_cdir_grow(zip_cdir_t* cd, zip_uint64_t additional_entries, zip_error_t* error); +zip_cdir_t* _zip_cdir_new(zip_uint64_t, zip_error_t*); +zip_int64_t _zip_cdir_write(zip_t* za, const zip_filelist_t* filelist, zip_uint64_t survivors); +void _zip_deregister_source(zip_t* za, zip_source_t* src); + +zip_dirent_t* _zip_dirent_clone(const zip_dirent_t*); +void _zip_dirent_free(zip_dirent_t*); +void _zip_dirent_finalize(zip_dirent_t*); +void _zip_dirent_init(zip_dirent_t*); +bool _zip_dirent_needs_zip64(const zip_dirent_t*, zip_flags_t); +zip_dirent_t* _zip_dirent_new(void); +zip_int64_t _zip_dirent_read(zip_dirent_t* zde, zip_source_t* src, zip_buffer_t* buffer, bool local, zip_error_t* error); +void _zip_dirent_set_version_needed(zip_dirent_t* de, bool force_zip64); +zip_int32_t _zip_dirent_size(zip_source_t* src, zip_uint16_t, zip_error_t*); +int _zip_dirent_write(zip_t* za, zip_dirent_t* dirent, zip_flags_t flags); + +zip_extra_field_t* _zip_ef_clone(const zip_extra_field_t*, zip_error_t*); +zip_extra_field_t* _zip_ef_delete_by_id(zip_extra_field_t*, zip_uint16_t, zip_uint16_t, zip_flags_t); +void _zip_ef_free(zip_extra_field_t*); +const zip_uint8_t* _zip_ef_get_by_id(const zip_extra_field_t*, zip_uint16_t*, zip_uint16_t, zip_uint16_t, zip_flags_t, zip_error_t*); +zip_extra_field_t* _zip_ef_merge(zip_extra_field_t*, zip_extra_field_t*); +zip_extra_field_t* _zip_ef_new(zip_uint16_t, zip_uint16_t, const zip_uint8_t*, zip_flags_t); +bool _zip_ef_parse(const zip_uint8_t*, zip_uint16_t, zip_flags_t, zip_extra_field_t**, zip_error_t*); +zip_extra_field_t* _zip_ef_remove_internal(zip_extra_field_t*); +zip_uint16_t _zip_ef_size(const zip_extra_field_t*, zip_flags_t); +int _zip_ef_write(zip_t* za, const zip_extra_field_t* ef, zip_flags_t flags); + +void _zip_entry_finalize(zip_entry_t*); +void _zip_entry_init(zip_entry_t*); + +void _zip_error_clear(zip_error_t*); +void _zip_error_get(const zip_error_t*, int*, int*); + +void _zip_error_copy(zip_error_t* dst, const zip_error_t* src); +void _zip_error_set_from_source(zip_error_t*, zip_source_t*); + +const zip_uint8_t* _zip_extract_extra_field_by_id(zip_error_t*, zip_uint16_t, int, const zip_uint8_t*, zip_uint16_t, zip_uint16_t*); + +int _zip_file_extra_field_prepare_for_change(zip_t*, zip_uint64_t); +int _zip_file_fillbuf(void*, size_t, zip_file_t*); +zip_uint64_t _zip_file_get_end(const zip_t* za, zip_uint64_t index, zip_error_t* error); +zip_uint64_t _zip_file_get_offset(const zip_t*, zip_uint64_t, zip_error_t*); + +int _zip_filerange_crc(zip_source_t* src, zip_uint64_t offset, zip_uint64_t length, uLong* crcp, zip_error_t* error); + +zip_dirent_t* _zip_get_dirent(zip_t*, zip_uint64_t, zip_flags_t, zip_error_t*); + +enum zip_encoding_type _zip_guess_encoding(zip_string_t*, enum zip_encoding_type); +zip_uint8_t* _zip_cp437_to_utf8(const zip_uint8_t* const, zip_uint32_t, zip_uint32_t*, zip_error_t*); + +bool _zip_hash_add(zip_hash_t* hash, const zip_uint8_t* name, zip_uint64_t index, zip_flags_t flags, zip_error_t* error); +bool _zip_hash_delete(zip_hash_t* hash, const zip_uint8_t* key, zip_error_t* error); +void _zip_hash_free(zip_hash_t* hash); +zip_int64_t _zip_hash_lookup(zip_hash_t* hash, const zip_uint8_t* name, zip_flags_t flags, zip_error_t* error); +zip_hash_t* _zip_hash_new(zip_error_t* error); +bool _zip_hash_reserve_capacity(zip_hash_t* hash, zip_uint64_t capacity, zip_error_t* error); +bool _zip_hash_revert(zip_hash_t* hash, zip_error_t* error); + +zip_t* _zip_open(zip_source_t*, unsigned int, zip_error_t*); + +void _zip_progress_end(zip_progress_t* progress); +void _zip_progress_free(zip_progress_t* progress); +zip_progress_t* _zip_progress_new(zip_t* za, double precision, zip_progress_callback callback, void (*ud_free)(void*), void* ud); +void _zip_progress_start(zip_progress_t* progress); +void _zip_progress_subrange(zip_progress_t* progress, double start, double end); +void _zip_progress_update(zip_progress_t* progress, double value); + +ZIP_EXTERN bool zip_random(zip_uint8_t* buffer, zip_uint16_t length); + +int _zip_read(zip_source_t* src, zip_uint8_t* data, zip_uint64_t length, zip_error_t* error); +int _zip_read_at_offset(zip_source_t* src, zip_uint64_t offset, unsigned char* b, size_t length, zip_error_t* error); +zip_uint8_t* _zip_read_data(zip_buffer_t* buffer, zip_source_t* src, size_t length, bool nulp, zip_error_t* error); +int _zip_read_local_ef(zip_t*, zip_uint64_t); +zip_string_t* _zip_read_string(zip_buffer_t* buffer, zip_source_t* src, zip_uint16_t lenght, bool nulp, zip_error_t* error); +int _zip_register_source(zip_t* za, zip_source_t* src); + +void _zip_set_open_error(int* zep, const zip_error_t* err, int ze); + +zip_int64_t _zip_source_call(zip_source_t* src, void* data, zip_uint64_t length, zip_source_cmd_t command); +bool _zip_source_eof(zip_source_t*); +zip_source_t* _zip_source_file_or_p(const char*, FILE*, zip_uint64_t, zip_int64_t, const zip_stat_t*, zip_error_t* error); +zip_int8_t zip_source_get_compression_flags(zip_source_t*); +bool _zip_source_had_error(zip_source_t*); +void _zip_source_invalidate(zip_source_t* src); +zip_source_t* _zip_source_new(zip_error_t* error); +int _zip_source_set_source_archive(zip_source_t*, zip_t*); +zip_source_t* _zip_source_window_new(zip_source_t* src, zip_uint64_t start, zip_uint64_t length, zip_stat_t* st, zip_int8_t compression_flags, zip_t* source_archive, zip_uint64_t source_index, zip_error_t* error); +zip_source_t* _zip_source_zip_new(zip_t*, zip_t*, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_uint64_t, const char*); + +int _zip_stat_merge(zip_stat_t* dst, const zip_stat_t* src, zip_error_t* error); +int _zip_string_equal(const zip_string_t*, const zip_string_t*); +void _zip_string_free(zip_string_t*); +zip_uint32_t _zip_string_crc32(const zip_string_t*); +const zip_uint8_t* _zip_string_get(zip_string_t*, zip_uint32_t*, zip_flags_t, zip_error_t*); +zip_uint16_t _zip_string_length(const zip_string_t*); +zip_string_t* _zip_string_new(const zip_uint8_t*, zip_uint16_t, zip_flags_t, zip_error_t*); +int _zip_string_write(zip_t* za, const zip_string_t* string); +bool _zip_winzip_aes_decrypt(zip_winzip_aes_t* ctx, zip_uint8_t* data, zip_uint64_t length); +bool _zip_winzip_aes_encrypt(zip_winzip_aes_t* ctx, zip_uint8_t* data, zip_uint64_t length); +bool _zip_winzip_aes_finish(zip_winzip_aes_t* ctx, zip_uint8_t* hmac); +void _zip_winzip_aes_free(zip_winzip_aes_t* ctx); +zip_winzip_aes_t* _zip_winzip_aes_new(const zip_uint8_t* password, zip_uint64_t password_length, const zip_uint8_t* salt, zip_uint16_t key_size, zip_uint8_t* password_verify, zip_error_t* error); + +int _zip_changed(const zip_t*, zip_uint64_t*); +const char* _zip_get_name(zip_t*, zip_uint64_t, zip_flags_t, zip_error_t*); +int _zip_local_header_read(zip_t*, int); +void* _zip_memdup(const void*, size_t, zip_error_t*); +zip_int64_t _zip_name_locate(zip_t*, const char*, zip_flags_t, zip_error_t*); +zip_t* _zip_new(zip_error_t*); + +zip_int64_t _zip_file_replace(zip_t*, zip_uint64_t, const char*, zip_source_t*, zip_flags_t); +int _zip_set_name(zip_t*, zip_uint64_t, const char*, zip_flags_t); +void _zip_u2d_time(time_t, zip_uint16_t*, zip_uint16_t*); +int _zip_unchange(zip_t*, zip_uint64_t, int); +void _zip_unchange_data(zip_entry_t*); +int _zip_write(zip_t* za, const void* data, zip_uint64_t length); + +#endif /* zipint.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipwin32.h b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipwin32.h new file mode 100644 index 000000000..cd4362fdf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Headers/zipwin32.h @@ -0,0 +1,85 @@ +#ifndef _HAD_ZIPWIN32_H +#define _HAD_ZIPWIN32_H + +/* + zipwin32.h -- internal declarations for Windows. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* 0x0501 => Windows XP; needs to be at least this value because of GetFileSizeEx */ +#if !defined(MS_UWP) && !defined(_WIN32_WINNT) +#define _WIN32_WINNT 0x0501 +#endif + +#include + +/* context for Win32 source */ + +struct _zip_source_win32_file_ops; + +struct _zip_source_win32_read_file { + zip_error_t error; /* last error information */ + zip_int64_t supports; + + /* operations */ + struct _zip_source_win32_file_ops* ops; + + /* reading */ + void* fname; /* name of file to read from - ANSI (char *) or Unicode (wchar_t *) */ + void* h; /* HANDLE for file to read from */ + int closep; /* whether to close f on ZIP_CMD_FREE */ + struct zip_stat st; /* stat information passed in */ + zip_uint64_t start; /* start offset of data to read */ + zip_uint64_t end; /* end offset of data to read, 0 for up to EOF */ + zip_uint64_t current; /* current offset */ + + /* writing */ + void* tmpname; /* name of temp file - ANSI (char *) or Unicode (wchar_t *) */ + void* hout; /* HANDLE for output file */ +}; + +typedef struct _zip_source_win32_read_file _zip_source_win32_read_file_t; + +/* internal operations for Win32 source */ + +struct _zip_source_win32_file_ops { + void* (*op_strdup)(const void*); + void* (*op_open)(_zip_source_win32_read_file_t*); + void* (*op_create_temp)(_zip_source_win32_read_file_t*, void**, zip_uint32_t, PSECURITY_ATTRIBUTES); + int (*op_rename_temp)(_zip_source_win32_read_file_t*); + int (*op_remove)(const void*); +}; + +typedef struct _zip_source_win32_file_ops _zip_source_win32_file_ops_t; + +zip_source_t* _zip_source_win32_handle_or_name(const void*, void*, zip_uint64_t, zip_int64_t, int, const zip_stat_t*, _zip_source_win32_file_ops_t*, zip_error_t*); + +#endif /* zipwin32.h */ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Resources/Info.plist b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Resources/Info.plist new file mode 100644 index 000000000..4b20e18a6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/Resources/Info.plist @@ -0,0 +1,46 @@ + + + + + BuildMachineOSBuild + 19A526h + CFBundleDevelopmentRegion + en + CFBundleExecutable + libzip_iOS + CFBundleIdentifier + org.testprj.libzip-iOS + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + libzip_iOS + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSupportedPlatforms + + MacOSX + + CFBundleVersion + 1 + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 11M382q + DTPlatformVersion + GM + DTSDKBuild + 19A526e + DTSDKName + macosx10.15 + DTXcode + 1100 + DTXcodeBuild + 11M382q + UIDeviceFamily + + 2 + + + diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/libzip_iOS b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/libzip_iOS new file mode 100644 index 000000000..4f0029b0b Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/A/libzip_iOS differ diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/Current b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/Current new file mode 120000 index 000000000..8c7e5a667 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/Versions/Current @@ -0,0 +1 @@ +A \ No newline at end of file diff --git a/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/libzip_iOS b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/libzip_iOS new file mode 120000 index 000000000..e9ef9716c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS.xcframework/ios-x86_64-maccatalyst/libzip_iOS.framework/libzip_iOS @@ -0,0 +1 @@ +Versions/Current/libzip_iOS \ No newline at end of file diff --git a/plugins/TKLiveSync/libzip_iOS/.clang-format b/plugins/TKLiveSync/libzip_iOS/.clang-format new file mode 100644 index 000000000..55909c02f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/.clang-format @@ -0,0 +1,12 @@ +BasedOnStyle: LLVM +IndentWidth: 4 +ColumnLimit: 2000 +AlwaysBreakAfterReturnType: TopLevelDefinitions +KeepEmptyLinesAtTheStartOfBlocks: false +MaxEmptyLinesToKeep: 2 +BreakBeforeBraces: Custom +BraceWrapping: + BeforeElse: true +AlignEscapedNewlines: Left +UseTab: ForContinuationAndIndentation +#PPDirectiveIndentStyle: AfterHash diff --git a/plugins/TKLiveSync/libzip_iOS/API-CHANGES.md b/plugins/TKLiveSync/libzip_iOS/API-CHANGES.md new file mode 100644 index 000000000..24e3d8e1a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/API-CHANGES.md @@ -0,0 +1,162 @@ +# libzip API changes + +This file describes changes in the libzip API and how to adapt your +code for them. + +You can define `ZIP_DISABLE_DEPRECATED` before including `` to hide +prototypes for deprecated functions, to find out about functions that +might be removed at some point. + +## Changed in libzip-1.0 + +### new type `zip_error_t` + +Error information is stored in the newly public type `zip_error_t`. Use +this to access information about an error, instead of the deprecated +functions that operated on two ints. + +deprecated functions: +- `zip_error_get_sys_type()` +- `zip_error_get()` +- `zip_error_to_str()` +- `zip_file_error_get()` + +See their man pages for instructions on how to replace them. + +The most common affected use is `zip_open`. The new recommended usage +is: + +```c +int err; +if ((za = zip_open(archive, flags, &err)) == NULL) { + zip_error_t error; + zip_error_init_with_code(&error, err); + fprintf(stderr, "can't open zip archive '%s': %s\n", archive, zip_error_strerror(&error)); + zip_error_fini(&error); +} +``` + +### more typedefs + +The following typedefs have been added for better readability: + +```c +typedef struct zip zip_t; +typedef struct zip_file zip_file_t; +typedef struct zip_source zip_source_t; +typedef struct zip_stat zip_stat_t; +``` + +This means you can use "`zip_t`" instead of "`struct zip`", etc. + + +### torrentzip support removed + +torrentzip depends on a particular zlib version which is by now quite +old. + +## Changed in libzip-0.11 + +### new type `zip_flags_t` + +The functions which have flags now use the `zip_flags_t` type for this. +All old flags fit; you need only to adapt code if you were saving flags in a +local variable. Use `zip_flags_t` for such a variable. +This affects: +- `zip_fopen()` +- `zip_fopen_encrypted()` +- `zip_fopen_index()` +- `zip_fopen_index_encrypted()` +- `zip_get_archive_comment()` +- `zip_get_archive_flag()` +- `zip_get_num_entries()` +- `zip_get_name()` +- `zip_name_locate()` +- `zip_set_archive_flag()` +- `zip_source_zip()` +- `zip_stat()` +- `zip_stat_index()` + +#### `ZIP_FL_*`, `ZIP_AFL_*`, `ZIP_STAT_*` are now unsigned constants + +To match the new `zip_flags_t` type. + +#### `zip_add()`, `zip_add_dir()` + +These functions were replaced with `zip_file_add()` and `zip_dir_add()`, respectively, +to add a flags argument. + +#### `zip_rename()`, `zip_replace()` + +These functions were replaced with `zip_file_rename()` and `zip_file_replace()`, +respectively, to add a flags argument. + +#### `zip_get_file_comment()` + +This function was replaced with `zip_file_get_comment()`; one argument was promoted from +`int` to `zip_uint32_t`, the other is now a `zip_flags_t`. + +#### `zip_set_file_comment()` + +This function was replaced with `zip_file_set_comment()`; an argument was promoted from +`int` to `zip_uint16_t`, and a `zip_flags_t` argument was added. + +### integer type size changes + +Some argument and return values were not the right size or sign. + +#### `zip_name_locate()` + +The return value was `int`, which can be too small. The function now returns `zip_int64_t`. + + +#### `zip_get_num_entries()` + +The return type is now signed, to allow signaling errors. + +#### `zip_set_archive_comment()` + +The last argument changed from `int` to `zip_uint16_t`. + +### extra field handling rewritten + +The `zip_get_file_extra()` and `zip_set_file_extra()` functions were removed. +They only worked on the whole extra field set. + +Instead, you can now set, get, count, and delete each extra field separately, +using the functions: +- `zip_file_extra_field_delete()` +- `zip_file_extra_field_delete_by_id()` +- `zip_file_extra_field_get()` +- `zip_file_extra_field_get_by_id()` +- `zip_file_extra_fields_count()` +- `zip_file_extra_fields_count_by_id()` +- `zip_file_extra_field_set()` + +Please read the corresponding man pages for details. + +### new functions + +#### `zip_discard()` + +The new `zip_discard()` function closes an archive without committing the +scheduled changes. + +#### `zip_set_file_compression()` + +The new `zip_set_file_compression()` function allows setting compression +levels for files. + +### argument changes + +#### file names + +File names arguments are now allowed to be `NULL` to have an empty file name. +This mostly affects `zip_file_add()`, `zip_dir_add()`, and `zip_file_rename()`. + +For `zip_get_name()`, `zip_file_get_comment()`, and `zip_get_archive_comment()`, if +the file name or comment is empty, a string of length 0 is returned. +`NULL` is returned for errors only. + +Previously, `NULL` was returned for empty/unset file names and comments and +errors, leaving no way to differentiate between the two. diff --git a/plugins/TKLiveSync/libzip_iOS/AUTHORS b/plugins/TKLiveSync/libzip_iOS/AUTHORS new file mode 100644 index 000000000..a33707b01 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/AUTHORS @@ -0,0 +1,2 @@ +Dieter Baron +Thomas Klausner diff --git a/plugins/TKLiveSync/libzip_iOS/CMakeLists.txt b/plugins/TKLiveSync/libzip_iOS/CMakeLists.txt new file mode 100644 index 000000000..800899550 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/CMakeLists.txt @@ -0,0 +1,420 @@ +# TODO: +# create usable libtool .la file + +CMAKE_MINIMUM_REQUIRED(VERSION 3.0.2) + +LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}) + +PROJECT(libzip C) + +OPTION(ENABLE_COMMONCRYPTO "Enable use of CommonCrypto" ON) +OPTION(ENABLE_GNUTLS "Enable use of GnuTLS" ON) +OPTION(ENABLE_MBEDTLS "Enable use of mbed TLS" ON) +OPTION(ENABLE_OPENSSL "Enable use of OpenSSL" ON) +OPTION(ENABLE_WINDOWS_CRYPTO "Enable use of Windows cryptography libraries" ON) + +OPTION(ENABLE_BZIP2 "Enable use of BZip2" ON) + +OPTION(BUILD_TOOLS "Build tools in the src directory (zipcmp, zipmerge, ziptool)" ON) +OPTION(BUILD_REGRESS "Build regression tests" ON) +OPTION(BUILD_EXAMPLES "Build examples" ON) +OPTION(BUILD_DOC "Build documentation" ON) + +INCLUDE(CheckFunctionExists) +INCLUDE(CheckIncludeFiles) +INCLUDE(CheckSymbolExists) +INCLUDE(CheckTypeSize) +INCLUDE(CheckCSourceRuns) +INCLUDE(CheckCSourceCompiles) +INCLUDE(CheckStructHasMember) +INCLUDE(TestBigEndian) +INCLUDE(GNUInstallDirs) +IF(ENABLE_COMMONCRYPTO) + CHECK_INCLUDE_FILES(CommonCrypto/CommonCrypto.h COMMONCRYPTO_FOUND) +ELSE() + SET(COMMONCRYPTO_FOUND FALSE) +ENDIF() +IF(ENABLE_GNUTLS) + INCLUDE(FindNettle) + INCLUDE(FindGnuTLS) +ELSE() + SET(GNUTLS_FOUND FALSE) +ENDIF() +IF(ENABLE_MBEDTLS) + FIND_PATH(MBEDTLS_INCLUDE_DIR mbedtls/aes.h) + FIND_LIBRARY(MBEDTLS_LIBRARIES NAMES mbedtls) +ELSE() + SET(MBEDTLS_LIBRARIES FALSE) +ENDIF() +IF(ENABLE_OPENSSL) + INCLUDE(FindOpenSSL) +ELSE() + SET(OPENSSL_FOUND FALSE) +ENDIF() +IF(WIN32) + IF(ENABLE_WINDOWS_CRYPTO) + SET(WINDOWS_CRYPTO_FOUND TRUE) + ENDIF() +ELSE() + SET(WINDOWS_CRYPTO_FOUND FALSE) +ENDIF() + +OPTION(BUILD_SHARED_LIBS "Build shared libraries" ON) + + +OPTION(SHARED_LIB_VERSIONNING "Add SO version in .so build" ON) + +FIND_PROGRAM(MDOCTOOL NAMES mandoc groff) +IF (MDOCTOOL) + SET(DOCUMENTATION_FORMAT "mdoc" CACHE STRING "Documentation format") +ELSE() + FIND_PROGRAM(MANTOOL NAMES nroff) + IF (MANTOOL) + SET(DOCUMENTATION_FORMAT "man" CACHE STRING "Documentation format") + ELSE() + SET(DOCUMENTATION_FORMAT "html" CACHE STRING "Documentation format") + ENDIF() +ENDIF() + +SET(PACKAGE "libzip") +SET(PACKAGE_NAME ${PACKAGE}) +SET(PACKAGE_VERSION_MAJOR "1") +SET(PACKAGE_VERSION_MINOR "5") +SET(PACKAGE_VERSION_MICRO "2") +#SET(VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}") +SET(VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_MICRO}") +SET(PACKAGE_VERSION ${VERSION}) +SET(LIBZIP_VERSION ${PACKAGE_VERSION}) +SET(LIBZIP_VERSION_MAJOR ${PACKAGE_VERSION_MAJOR}) +SET(LIBZIP_VERSION_MINOR ${PACKAGE_VERSION_MINOR}) +SET(LIBZIP_VERSION_MICRO ${PACKAGE_VERSION_MICRO}) +SET(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}") + +SET(ARCHIVE_NAME ${PACKAGE_NAME}-${PACKAGE_VERSION}) +ADD_CUSTOM_TARGET(dist + COMMAND git config tar.tar.xz.command "xz -c" + COMMAND git archive --prefix=${ARCHIVE_NAME}/ -o ${ARCHIVE_NAME}.tar.gz HEAD + COMMAND git archive --prefix=${ARCHIVE_NAME}/ -o ${ARCHIVE_NAME}.tar.xz HEAD + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + ) +ADD_CUSTOM_TARGET(distcheck + COMMAND chmod -R u+w ${ARCHIVE_NAME} ${ARCHIVE_NAME}-build ${ARCHIVE_NAME}-dest 2>/dev/null || true + COMMAND rm -rf ${ARCHIVE_NAME} ${ARCHIVE_NAME}-build ${ARCHIVE_NAME}-dest + COMMAND cmake -E tar xf ${ARCHIVE_NAME}.tar.gz + COMMAND chmod -R u-w ${ARCHIVE_NAME} + COMMAND mkdir ${ARCHIVE_NAME}-build + COMMAND mkdir ${ARCHIVE_NAME}-dest + COMMAND cd ${ARCHIVE_NAME}-build && cmake -DCMAKE_INSTALL_PREFIX=../${ARCHIVE_NAME}-dest ../${ARCHIVE_NAME} + COMMAND cd ${ARCHIVE_NAME}-build && make -j4 + COMMAND cd ${ARCHIVE_NAME}-build && make test + COMMAND cd ${ARCHIVE_NAME}-build && make install +# COMMAND cd ${ARCHIVE_NAME}-build && make uninstall +# COMMAND if [ `find ${ARCHIVE_NAME}-dest ! -type d | wc -l` -ne 0 ]; then echo leftover files in ${ARCHIVE_NAME}-dest; false; fi + COMMAND cd ${ARCHIVE_NAME}-build && make clean + COMMAND chmod -R u+w ${ARCHIVE_NAME} ${ARCHIVE_NAME}-build ${ARCHIVE_NAME}-dest + COMMAND rm -rf ${ARCHIVE_NAME} ${ARCHIVE_NAME}-build ${ARCHIVE_NAME}-dest + COMMAND echo "${ARCHIVE_NAME}.tar.gz is ready for distribution." + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + ) +ADD_DEPENDENCIES(distcheck dist) + +IF(BUILD_SHARED_LIBS) + SET(HAVE_SHARED TRUE) +ELSE() + SET(ZIP_STATIC TRUE) +ENDIF() + +# Checks + +CHECK_FUNCTION_EXISTS(_chmod HAVE__CHMOD) +CHECK_FUNCTION_EXISTS(_close HAVE__CLOSE) +CHECK_FUNCTION_EXISTS(_dup HAVE__DUP) +CHECK_FUNCTION_EXISTS(_fdopen HAVE__FDOPEN) +CHECK_FUNCTION_EXISTS(_fileno HAVE__FILENO) +CHECK_FUNCTION_EXISTS(_open HAVE__OPEN) +CHECK_FUNCTION_EXISTS(_setmode HAVE__SETMODE) +CHECK_FUNCTION_EXISTS(_snprintf HAVE__SNPRINTF) +CHECK_FUNCTION_EXISTS(_strdup HAVE__STRDUP) +CHECK_FUNCTION_EXISTS(_stricmp HAVE__STRICMP) +CHECK_FUNCTION_EXISTS(_strtoi64 HAVE__STRTOI64) +CHECK_FUNCTION_EXISTS(_strtoui64 HAVE__STRTOUI64) +CHECK_FUNCTION_EXISTS(_umask HAVE__UMASK) +CHECK_FUNCTION_EXISTS(_unlink HAVE__UNLINK) +CHECK_FUNCTION_EXISTS(clonefile HAVE_CLONEFILE) +CHECK_FUNCTION_EXISTS(explicit_bzero HAVE_EXPLICIT_BZERO) +CHECK_FUNCTION_EXISTS(explicit_memset HAVE_EXPLICIT_MEMSET) +CHECK_FUNCTION_EXISTS(fileno HAVE_FILENO) +CHECK_FUNCTION_EXISTS(fseeko HAVE_FSEEKO) +CHECK_FUNCTION_EXISTS(ftello HAVE_FTELLO) +CHECK_FUNCTION_EXISTS(getprogname HAVE_GETPROGNAME) +CHECK_FUNCTION_EXISTS(open HAVE_OPEN) +CHECK_FUNCTION_EXISTS(mkstemp HAVE_MKSTEMP) +CHECK_FUNCTION_EXISTS(setmode HAVE_SETMODE) +CHECK_FUNCTION_EXISTS(snprintf HAVE_SNPRINTF) +CHECK_FUNCTION_EXISTS(strcasecmp HAVE_STRCASECMP) +CHECK_FUNCTION_EXISTS(strdup HAVE_STRDUP) +CHECK_FUNCTION_EXISTS(stricmp HAVE_STRICMP) +CHECK_FUNCTION_EXISTS(strtoll HAVE_STRTOLL) +CHECK_FUNCTION_EXISTS(strtoull HAVE_STRTOULL) + +CHECK_INCLUDE_FILES("sys/types.h;sys/stat.h;fts.h" HAVE_FTS_H) +CHECK_INCLUDE_FILES(stdbool.h HAVE_STDBOOL_H) +CHECK_INCLUDE_FILES(strings.h HAVE_STRINGS_H) +CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H) + +CHECK_INCLUDE_FILES(inttypes.h HAVE_INTTYPES_H_LIBZIP) +CHECK_INCLUDE_FILES(stdint.h HAVE_STDINT_H_LIBZIP) +CHECK_INCLUDE_FILES(sys/types.h HAVE_SYS_TYPES_H_LIBZIP) + +# TODO: fix test +# this test does not find __progname even when it exists +#CHECK_SYMBOL_EXISTS(__progname stdlib.h HAVE___PROGNAME) + +CHECK_TYPE_SIZE(__int8 __INT8_LIBZIP) +CHECK_TYPE_SIZE(int8_t INT8_T_LIBZIP) +CHECK_TYPE_SIZE(uint8_t UINT8_T_LIBZIP) +CHECK_TYPE_SIZE(__int16 __INT16_LIBZIP) +CHECK_TYPE_SIZE(int16_t INT16_T_LIBZIP) +CHECK_TYPE_SIZE(uint16_t UINT16_T_LIBZIP) +CHECK_TYPE_SIZE(__int32 __INT32_LIBZIP) +CHECK_TYPE_SIZE(int32_t INT32_T_LIBZIP) +CHECK_TYPE_SIZE(uint32_t UINT32_T_LIBZIP) +CHECK_TYPE_SIZE(__int64 __INT64_LIBZIP) +CHECK_TYPE_SIZE(int64_t INT64_T_LIBZIP) +CHECK_TYPE_SIZE(uint64_t UINT64_T_LIBZIP) +CHECK_TYPE_SIZE("short" SHORT_LIBZIP) +CHECK_TYPE_SIZE("int" INT_LIBZIP) +CHECK_TYPE_SIZE("long" LONG_LIBZIP) +CHECK_TYPE_SIZE("long long" LONG_LONG_LIBZIP) +CHECK_TYPE_SIZE("off_t" SIZEOF_OFF_T) +CHECK_TYPE_SIZE("size_t" SIZE_T_LIBZIP) +CHECK_TYPE_SIZE("ssize_t" SSIZE_T_LIBZIP) + +CHECK_C_SOURCE_COMPILES("#include +#include +int main(int argc, char *argv[]) { unsigned long x = FICLONERANGE; }" HAVE_FICLONERANGE) + +CHECK_C_SOURCE_COMPILES(" +int foo(char * _Nullable bar); +int main(int argc, char *argv[]) { }" HAVE_NULLABLE) + +TEST_BIG_ENDIAN(WORDS_BIGENDIAN) + +FIND_PACKAGE(ZLIB REQUIRED) +INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR}) +SET(CMAKE_REQUIRED_INCLUDES ${ZLIB_INCLUDE_DIR}) +IF(ZLIB_VERSION_STRING VERSION_LESS "1.1.2") + MESSAGE(FATAL_ERROR "-- ZLIB version too old, please install at least v1.1.2") +ENDIF(ZLIB_VERSION_STRING VERSION_LESS "1.1.2") + +IF(ENABLE_BZIP2) + FIND_PACKAGE(BZip2) + IF(BZIP2_FOUND) + SET (HAVE_LIBBZ2 1) + + INCLUDE_DIRECTORIES(${BZIP2_INCLUDE_DIR}) + SET (OPTIONAL_LIBRARY ${BZIP2_LIBRARY}) + ELSE() + MESSAGE(WARNING "-- bzip2 library not found; bzip2 support disabled") + ENDIF(BZIP2_FOUND) +ENDIF(ENABLE_BZIP2) + +IF (COMMONCRYPTO_FOUND) + SET (HAVE_CRYPTO 1) + SET (HAVE_COMMONCRYPTO 1) +ELSEIF (WINDOWS_CRYPTO_FOUND) + SET (HAVE_CRYPTO 1) + SET (HAVE_WINDOWS_CRYPTO 1) +ELSEIF (GNUTLS_FOUND AND NETTLE_FOUND) + SET (HAVE_CRYPTO 1) + SET (HAVE_GNUTLS 1) + INCLUDE_DIRECTORIES(${GNUTLS_INCLUDE_DIR} ${NETTLE_INCLUDE_DIR}) + SET (OPTIONAL_LIBRARY ${OPTIONAL_LIBRARY} ${GNUTLS_LIBRARY} ${NETTLE_LIBRARY}) +ELSEIF (OPENSSL_FOUND) + SET (HAVE_CRYPTO 1) + SET (HAVE_OPENSSL 1) + INCLUDE_DIRECTORIES(${OPENSSL_INCLUDE_DIR}) + SET (OPTIONAL_LIBRARY ${OPTIONAL_LIBRARY} ${OPENSSL_LIBRARIES}) +ELSEIF (MBEDTLS_LIBRARIES) + SET (HAVE_CRYPTO 1) + SET (HAVE_MBEDTLS 1) + INCLUDE_DIRECTORIES(${MBEDTLS_INCLUDE_DIR}) + SET (OPTIONAL_LIBRARY ${OPTIONAL_LIBRARY} ${MBEDTLS_LIBRARIES}) +ENDIF() + +IF (NOT HAVE_CRYPTO) + MESSAGE(WARNING "-- neither Common Crypto, GnuTLS, mbed TLS, OpenSSL, nor Windows Cryptography found; AES support disabled") +ENDIF() + +IF(MSVC) +ADD_DEFINITIONS("-D_CRT_SECURE_NO_WARNINGS") +ADD_DEFINITIONS("-D_CRT_NONSTDC_NO_DEPRECATE") +ENDIF(MSVC) + +if(WIN32) + if(HAVE_WINDOWS_CRYPTO) + SET (OPTIONAL_LIBRARY "${OPTIONAL_LIBRARY}" bcrypt) + endif() + if(CMAKE_SYSTEM_NAME MATCHES WindowsPhone OR CMAKE_SYSTEM_NAME MATCHES WindowsStore) + ADD_DEFINITIONS(-DMS_UWP) + else(CMAKE_SYSTEM_NAME MATCHES WindowsPhone OR CMAKE_SYSTEM_NAME MATCHES WindowsStore) + SET (OPTIONAL_LIBRARY "${OPTIONAL_LIBRARY}" advapi32) + endif(CMAKE_SYSTEM_NAME MATCHES WindowsPhone OR CMAKE_SYSTEM_NAME MATCHES WindowsStore) +endif(WIN32) + +ADD_DEFINITIONS("-DHAVE_CONFIG_H") + +# rpath handling: use rpath in installed binaries +IF(NOT CMAKE_SYSTEM_NAME MATCHES Linux) + SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}") + SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) +ENDIF() + +# Testing +ENABLE_TESTING() + +# Targets +ADD_SUBDIRECTORY(lib) + +IF(BUILD_DOC) +ADD_SUBDIRECTORY(man) +ENDIF() + +IF(BUILD_TOOLS) +ADD_SUBDIRECTORY(src) +ENDIF() + +IF(BUILD_REGRESS) +ADD_SUBDIRECTORY(regress) +ENDIF() + +IF(BUILD_EXAMPLES) +ADD_SUBDIRECTORY(examples) +ENDIF() + + +# pkgconfig file +SET(prefix ${CMAKE_INSTALL_PREFIX}) +SET(exec_prefix \${prefix}) +SET(bindir \${exec_prefix}/${CMAKE_INSTALL_BINDIR}) +SET(libdir \${exec_prefix}/${CMAKE_INSTALL_LIBDIR}) +SET(includedir \${prefix}/${CMAKE_INSTALL_INCLUDEDIR}) +IF(BZIP2_FOUND) + SET(LIBS "${LIBS} -lbz2") +ENDIF() +SET(LIBS "${LIBS} -lz") +IF(CMAKE_SYSTEM_NAME MATCHES BSD) + SET(PKG_CONFIG_RPATH "-Wl,-R\${libdir}") +ENDIF(CMAKE_SYSTEM_NAME MATCHES BSD) +CONFIGURE_FILE(libzip.pc.in libzip.pc @ONLY) +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libzip.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) + +# fixed size integral types + +IF(HAVE_STDINT_H_LIBZIP) + SET(LIBZIP_TYPES_INCLUDE "#include ") +ELSEIF(HAVE_INTTYPES_H_LIBZIP) + SET(LIBZIP_TYPES_INCLUDE "#include ") +ELSEIF(HAVE_SYS_TYPES_H_LIBZIP) + SET(LIBZIP_TYPES_INCLUDE "#include ") +ENDIF() + +IF(HAVE_INT8_T_LIBZIP) + SET(ZIP_INT8_T int8_t) +ELSEIF(HAVE___INT8_LIBZIP) + SET(ZIP_INT8_T __int8) +ELSE() + SET(ZIP_INT8_T "signed char") +ENDIF() + +IF(HAVE_UINT8_T_LIBZIP) + SET(ZIP_UINT8_T uint8_t) +ELSEIF(HAVE___INT8_LIBZIP) + SET(ZIP_UINT8_T "unsigned __int8") +ELSE() + SET(ZIP_UINT8_T "unsigned char") +ENDIF() + +IF(HAVE_INT16_T_LIBZIP) + SET(ZIP_INT16_T int16_t) +ELSEIF(HAVE___INT16_LIBZIP) + SET(INT16_T_LIBZIP __int16) +ELSEIF(SHORT_LIBZIP EQUAL 2) + SET(INT16_T_LIBZIP short) +ENDIF() + +IF(HAVE_UINT16_T_LIBZIP) + SET(ZIP_UINT16_T uint16_t) +ELSEIF(HAVE___INT16_LIBZIP) + SET(UINT16_T_LIBZIP "unsigned __int16") +ELSEIF(SHORT_LIBZIP EQUAL 2) + SET(UINT16_T_LIBZIP "unsigned short") +ENDIF() + +IF(HAVE_INT32_T_LIBZIP) + SET(ZIP_INT32_T int32_t) +ELSEIF(HAVE___INT32_LIBZIP) + SET(ZIP_INT32_T __int32) +ELSEIF(INT_LIBZIP EQUAL 4) + SET(ZIP_INT32_T int) +ELSEIF(LONG_LIBZIP EQUAL 4) + SET(ZIP_INT32_T long) +ENDIF() + +IF(HAVE_UINT32_T_LIBZIP) +SET(ZIP_UINT32_T uint32_t) +ELSEIF(HAVE___INT32_LIBZIP) +SET(ZIP_UINT32_T "unsigned __int32") +ELSEIF(INT_LIBZIP EQUAL 4) +SET(ZIP_UINT32_T "unsigned int") +ELSEIF(LONG_LIBZIP EQUAL 4) +SET(ZIP_UINT32_T "unsigned long") +ENDIF() + +IF(HAVE_INT64_T_LIBZIP) + SET(ZIP_INT64_T int64_t) +ELSEIF(HAVE___INT64_LIBZIP) + SET(ZIP_INT64_T __int64) +ELSEIF(LONG_LIBZIP EQUAL 8) + SET(ZIP_INT64_T long) +ELSEIF(LONG_LONG_LIBZIP EQUAL 8) + SET(ZIP_INT64_T "long long") +ENDIF() + +IF(HAVE_UINT64_T_LIBZIP) + SET(ZIP_UINT64_T uint64_t) +ELSEIF(HAVE___INT64_LIBZIP) + SET(ZIP_UINT64_T "unsigned __int64") +ELSEIF(LONG_LIBZIP EQUAL 8) + SET(ZIP_UINT64_T "unsigned long") +ELSEIF(LONG_LONG_LIBZIP EQUAL 8) + SET(ZIP_UINT64_T "unsigned long long") +ENDIF() + +IF(HAVE_NULLABLE) + SET(ZIP_NULLABLE_DEFINES) +ELSE() + SET(ZIP_NULLABLE_DEFINES "#define _Nullable +#define _Nonnull") +ENDIF() + +# write out config file +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake-config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h) +CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/cmake-zipconf.h.in ${CMAKE_CURRENT_BINARY_DIR}/zipconf.h) + +# for tests + +SET(srcdir ${CMAKE_CURRENT_SOURCE_DIR}/regress) +SET(abs_srcdir ${CMAKE_CURRENT_SOURCE_DIR}/regress) +SET(top_builddir ${CMAKE_BINARY_DIR}) + +CONFIGURE_FILE(regress/runtest.in ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/runtest @ONLY) +FILE(COPY ${CMAKE_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/runtest + DESTINATION ${CMAKE_BINARY_DIR}/regress + FILE_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE +) + + +# installation + +INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/zipconf.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) diff --git a/plugins/TKLiveSync/libzip_iOS/FindNettle.cmake b/plugins/TKLiveSync/libzip_iOS/FindNettle.cmake new file mode 100644 index 000000000..1f66610f0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/FindNettle.cmake @@ -0,0 +1,23 @@ +# - Find Nettle +# Find the Nettle include directory and library +# +# NETTLE_INCLUDE_DIR - where to find , etc. +# NETTLE_LIBRARIES - List of libraries when using libnettle. +# NETTLE_FOUND - True if libnettle found. + +IF (NETTLE_INCLUDE_DIR) + # Already in cache, be silent + SET(NETTLE_FIND_QUIETLY TRUE) +ENDIF (NETTLE_INCLUDE_DIR) + +FIND_PATH(NETTLE_INCLUDE_DIR nettle/md5.h nettle/ripemd160.h nettle/sha.h) +FIND_LIBRARY(NETTLE_LIBRARY NAMES nettle libnettle) + +# handle the QUIETLY and REQUIRED arguments and set NETTLE_FOUND to TRUE if +# all listed variables are TRUE +INCLUDE(FindPackageHandleStandardArgs) +FIND_PACKAGE_HANDLE_STANDARD_ARGS(NETTLE DEFAULT_MSG NETTLE_LIBRARY NETTLE_INCLUDE_DIR) + +IF(NETTLE_FOUND) + SET(NETTLE_LIBRARIES ${NETTLE_LIBRARY}) +ENDIF(NETTLE_FOUND) diff --git a/plugins/TKLiveSync/libzip_iOS/INSTALL.md b/plugins/TKLiveSync/libzip_iOS/INSTALL.md new file mode 100644 index 000000000..eef900ef8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/INSTALL.md @@ -0,0 +1,55 @@ +libzip uses [cmake](https://cmake.org) to build. + +For running the tests, you need to have [perl](https://www.perl.org). + +You'll need [zlib](http://www.zlib.net/) (at least version 1.1.2). It +comes with most operating systems. + +For supporting bzip2-compressed zip archives, you need +[bzip2](http://bzip.org/). + +For AES (encryption) support, you need one of these cryptographic libraries, +listed in order of preference: + +- Apple's CommonCrypto (available on macOS and iOS) +- [GnuTLS](https://www.gnutls.org/) +- [mbed TLS](https://tls.mbed.org/) +- [OpenSSL](https://www.openssl.org/) >= 1.0. +- Microsoft Windows Cryptography Framework + +If you don't want a library even if it is installed, you can +pass `-DENABLE_=OFF` to cmake, where `` is one of +`COMMONCRYPTO`, `GNUTLS`, `MBEDTLS`, or `OPENSSL`. + +The basic usage is +```sh +mkdir build +cd build +cmake .. +make +make test +make install +``` + +Some useful parameters you can pass to `cmake` with `-Dparameter=value`: + +- `BUILD_SHARED_LIBS`: set to `ON` or `OFF` to enable/disable building + of shared libraries, defaults to `ON` +- `CMAKE_INSTALL_PREFIX`: for setting the installation path +- `DOCUMENTATION_FORMAT`: choose one of 'man', 'mdoc', and 'html' for + the installed documentation (default: decided by cmake depending on + available tools) + +If you want to compile with custom `CFLAGS`, set them in the environment +before running `cmake`: +```sh +CFLAGS=-DMY_CUSTOM_FLAG cmake .. +``` + +If you are compiling on a system with a small stack size, add +`-DZIP_ALLOCATE_BUFFER` to `CFLAGS`. + +You can get verbose build output with by passing `VERBOSE=1` to +`make`. + +You can also check the [cmake FAQ](https://cmake.org/Wiki/CMake_FAQ). diff --git a/plugins/TKLiveSync/libzip_iOS/LICENSE b/plugins/TKLiveSync/libzip_iOS/LICENSE new file mode 100644 index 000000000..e93454e88 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/LICENSE @@ -0,0 +1,31 @@ +Copyright (C) 1999-2017 Dieter Baron and Thomas Klausner + +The authors can be contacted at + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + +3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/plugins/TKLiveSync/libzip_iOS/NEWS.md b/plugins/TKLiveSync/libzip_iOS/NEWS.md new file mode 100644 index 000000000..9d8d2a339 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/NEWS.md @@ -0,0 +1,227 @@ +1.5.2 [2019-03-12] +================== +* Fix bug in AES encryption affecting certain file sizes +* Keep file permissions when modifying zip archives +* Support systems with small stack size. +* Support mbed TLS as crypto backend. +* Add nullability annotations. + +1.5.1 [2018-04-11] +================== + +* Choose format of installed documentation based on available tools. +* Fix visibility of symbols. +* Fix zipcmp directory support. +* Don't set RPATH on Linux. +* Use Libs.private for link dependencies in pkg-config file. +* Fix build with LibreSSL. +* Various bugfixes. + +1.5.0 [2018-03-11] +================== + +* Use standard cryptographic library instead of custom AES implementation. + This also simplifies the license. +* Use `clang-format` to format the source code. +* More Windows improvements. + +1.4.0 [2017-12-29] +================== + +* Improve build with cmake +* Retire autoconf/automake build system +* Add `zip_source_buffer_fragment()`. +* Add support to clone unchanged beginning of archive (instead of rewriting it). + Supported for buffer sources and on Apple File System. +* Add support for Microsoft Universal Windows Platform. + +1.3.2 [2017-11-20] +================== +* Fix bug introduced in last: zip_t was erroneously freed if zip_close() failed. + +1.3.1 [2017-11-19] +================== + +* Install zipconf.h into ${PREFIX}/include +* Add zip_libzip_version() +* Fix AES tests on Linux + +1.3.0 [2017-09-02] +================== + +* Support bzip2 compressed zip archives +* Improve file progress callback code +* Fix zip_fdopen() +* CVE-2017-12858: Fix double free() +* CVE-2017-14107: Improve EOCD64 parsing + +1.2.0 [2017-02-19] +================== + +* Support for AES encryption (Winzip version), both encryption + and decryption +* Support legacy zip files with >64k entries +* Fix seeking in zip_source_file if start > 0 +* Add zip_fseek() for seeking in uncompressed data +* Add zip_ftell() for telling position in uncompressed data +* Add zip_register_progress_callback() for UI updates during zip_close() + +1.1.3 [2016-05-28] +================== + +* Fix build on Windows when using autoconf + +1.1.2 [2016-02-19] +================== + +* Improve support for 3MF files + +1.1.1 [2016-02-07] +================== + +* Build fixes for Linux +* Fix some warnings reported by PVS-Studio + +1.1 [2016-01-26] +================ + +* ziptool(1): command line tool to modify zip archives +* Speedups for archives with many entries +* Coverity fixes +* Better APK support +* Support for running tests on Windows +* More build fixes for Windows +* Portability fixes +* Documentation improvements + +1.0.1 [2015-05-04] +================== + +* Build fixes for Windows + +1.0 [2015-05-03] +================ + +* Implemented an I/O abstraction layer +* Added support for native Windows API for files +* Added support for setting the last modification time for a file +* Added a new type zip_error_t for errors +* Added more typedefs for structs +* Torrentzip support was removed +* CVE-2015-2331 was fixed +* Addressed all Coverity CIDs + +0.11.2 [2013-12-19] +=================== + +* Support querying/setting operating system and external attributes +* For newly added files, set operating system to UNIX, permissions + to 0666 (0777 for directories) +* Fix bug when writing zip archives containing files bigger than 4GB + +0.11.1 [2013-04-27] +=================== + +* Fix bugs in zip_set_file_compression() +* Include Xcode build infrastructure + +0.11 [2013-03-23] +================= + +* Added Zip64 support (large file support) +* Added UTF-8 support for file names, file comments, and archive comments +* Changed API for name and comment related functions for UTF-8 support +* Added zip_discard() +* Added ZIP_TRUNCATE for zip_open() +* Added zip_set_file_compression() +* Added API for accessing and modifying extra fields +* Improved API type consistency +* Use gcc4's visibility __attribute__ +* More changes for Windows support +* Additional test cases + +0.10.1 [2012-03-20] +=================== + +* Fixed CVE-2012-1162 +* Fixed CVE-2012-1163 + +0.10 [2010-03-18] +================= + +* Added zip_get_num_entries(), deprecated zip_get_num_files() +* Better windows support +* Support for traditional PKWARE encryption added +* Fix opening archives with more than 65535 entries +* Fix some memory leaks +* Fix cmake build and installation +* Fix memory leak in error case in zip_open() +* Fixed CVE-2011-0421 (no security implications though) +* More documentation + +0.9.3 [2010-02-01] +================== + +* Include m4/ directory in distribution; some packagers need it + +0.9.2 [2010-01-31] +================== + +* Avoid passing uninitialized data to deflate() +* Fix memory leak when closing zip archives + +0.9.1 [2010-01-24] +================== + +* Fix infinite loop on reading some broken files +* Optimization in time conversion (don't call localtime()) +* Clear data descriptor flag in central directory, fixing Open Office files +* Allow more than 64k entries + +0.9 [2008-07-25] +================== + +* on Windows, explictly set dllimport/dllexport +* remove erroneous references to GPL +* add support for torrentzip +* new functions: zip_get_archive_flag, zip_set_archive_flag +* zip_source_zip: add flag to force recompression +* zip_sorce_file: only keep file open while reading from it + +0.8 [2007-06-06] +================== + +* fix for zip archives larger than 2GiB +* fix zip_error_strerror to include libzip error string +* add support for reading streamed zip files +* new functions: zip_add_dir, zip_error_clear, zip_file_error_clear +* add basic support for building with CMake (incomplete) + +0.7.1 [2006-05-18] +================== + +* bugfix for zip_close + +0.7 [2006-05-06] +================ + +* struct zip_stat increased for future encryption support +* zip_add return value changed (now returns new index of added file) +* shared library major bump because of previous two +* added functions for reading and writing file and archive comments + New functions: zip_get_archive_comment, zip_get_file_comment, + zip_set_archive_comment, zip_set_file_comment, zip_unchange_archive + +0.6.1 [2005-07-14] +================== + +* various bug fixes + +0.6 [2005-06-09] +================ + +* first standalone release +* changed license to three-clause BSD +* overhauled API +* added man pages +* install zipcmp and zipmerge diff --git a/plugins/TKLiveSync/libzip_iOS/README.md b/plugins/TKLiveSync/libzip_iOS/README.md new file mode 100644 index 000000000..6a7e96e58 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/README.md @@ -0,0 +1,50 @@ +### NativeScript Remarks + +Adapted to create a xcframework by following these steps: +* Source code obtained from the original repository +* Invoked CMake to generate Xcode project +* Added a new iOS Framework target +* Included all source and headers files +* Added a script to package as .xcframework + +=== + +This is libzip, a C library for reading, creating, and modifying zip +archives. Files can be added from data buffers, files, or compressed +data copied directly from other zip archives. Changes made without +closing the archive can be reverted. Decryption and encryption of +Winzip AES and decryption of legacy PKware encrypted files is +supported. The API is documented by man pages. + +libzip is fully documented via man pages. HTML versions of the man +pages are on [libzip.org](https://libzip.org/documentation/) and +in the [man](man) directory. You can start with +[libzip(3)](https://libzip.org/documentation/libzip.html), which +lists +all others. Example source code is in the [examples](examples) and +[src](src) subdirectories. + +If you have developed an application using libzip, you can find out +about API changes and how to adapt your code for them in the included +file [API-CHANGES.md](API-CHANGES.md). + +See the [INSTALL.md](INSTALL.md) file for installation instructions and +dependencies. + +If you make a binary distribution, please include a pointer to the +distribution site: +> https://libzip.org/ + +The latest version can always be found there. The official repository +is at [github](https://github.com/nih-at/libzip/). + +There is a mailing list for developers using libzip. You can +subscribe to it by sending a mail with the subject "subscribe +libzip-discuss" to minimalist at nih.at. List mail should be sent +to libzip-discuss at nih.at. Use this for bug reports or questions. + +If you want to reach the authors in private, use . + +[![Travis Build Status](https://api.travis-ci.org/nih-at/libzip.svg?branch=master)](https://travis-ci.org/nih-at/libzip) +[![Appveyor Build status](https://ci.appveyor.com/api/projects/status/5x1raqqjro4wny7r?svg=true)](https://ci.appveyor.com/project/0-wiz-0/libzip) +[![Coverity Status](https://scan.coverity.com/projects/127/badge.svg)](https://scan.coverity.com/projects/libzip) diff --git a/plugins/TKLiveSync/libzip_iOS/THANKS b/plugins/TKLiveSync/libzip_iOS/THANKS new file mode 100644 index 000000000..e8f3b3d72 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/THANKS @@ -0,0 +1,87 @@ +Thanks to Info-ZIP for info on the DOS-time/date conversion code, +and some other general information gathered from their sources. + +Thanks to these people for suggestions, testing, and bug reports: + +Agostino Sarubbo +Alexander Galanin +Alexandr Shadchin +Andreas Falkenhahn +Andrew Brampton +Andrew Molyneux +Ankur Kothari +BALATON Zoltan +Benjamin Gilbert +Boaz Stolk +Bogdan +Brian 'geeknik' Carpenter +Carl Mastrangelo +Cédric Tabin +Chris Nehren +Coverity +Dane Springmeyer +David Demelier +Del Merritt +Dmytro Rybachenko +Elvis Angelaccio +Erwin Haid +Eun-cheol Joo +Florian Delizy +François Simon +Frederik Ramm +Hanno Böck +HeeMyung +Heiko Becker +Heiko Hund +Ilya Voronin +Info-ZIP group +Jan Weiß +Jay Freeman (saurik) +João Custódio +Joel Ebrahimi +Jono Spiro +Julien Schueller +Keith Jones +Kohei Yoshida +Leith Bade +Lubomir I. Ivanov +Maël Nison +Martin Buchholz +Martin Herkt +Martin Szulecki +Michael Balzer +Michael Beck +Michał Janiszewski +Michal Vyskocil +Mikhail Gusarov . +Miklos Vajna +Oliver Kaiser +Oliver Kuckertz +Pascal Terjan +Patrick Spendrin +Paul Harris +Paul Sheppard +Pavel Raiskup +Pierre Joye +Pierre-Louis Cabelguen +Remi Collet +Richard Schütz +Rick Carback +Robert Norris +Roberto Tirabassi +Roland Ortloff +Sergei Ozerov +Simon Talbot +Stephen Bryant +Tarmo Pikaro +TC +Tim Lunn +Timo Warns +Tom Callaway +Tomas Hoger +Tomáš Malý +Torsten Paul +Vassili Courzakis +William Lee +Wojciech Michalski +Wolfgang Glunz diff --git a/plugins/TKLiveSync/libzip_iOS/TODO.md b/plugins/TKLiveSync/libzip_iOS/TODO.md new file mode 100644 index 000000000..3a6c5c47f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/TODO.md @@ -0,0 +1,189 @@ +# Soon + +* review guidelines/community standards + - (Linux Foundation Core Infrastructure Initiative Best Practices)[https://bestpractices.coreinfrastructure.org/] + - (Readme Maturity Level)[https://github.com/LappleApple/feedmereadmes/blob/master/README-maturity-model.md] + - (Github Community Profile)[https://github.com/nih-at/libzip/community] + +* test different crypto backends with TravisCI. + +* test for zipcmp reading directory (requires fts) + +* improve man page formatting of tagged lists on webpage (`
`) + +* test error cases with special source + - tell it which command should fail + - use it both as source for `zip_add` and `zip_open_from_source` + - `ziptool_regress`: + - `-e error_spec`: source containing zip fails depending on `error_spec` + - `add_with_error name content error_spec`: add content to archive, where source fails depending on `error_spec` + - `add_file_with_error name file_to_add offset len error_spec`: add file to archive, len bytes starting from offset, where source fails depending on `error_spec` + - `error_spec`: + - source command that fails + - error code that source returns + - conditions that must be met for error to trigger + - Nth call of command + - read/write: total byte count so far + - state of source (opened, EOF reached, ...) + +# Later + +## macOS / iOS framework + +* get cmake to optionally build frameworks + +## Prefixes + +For example for adding extractors for self-extracting zip archives. +````c +zip_set_archive_prefix(struct zip *za, const zip_uint8_t *data, zip_uint64_t length); +const zip_uint8_t *zip_get_archive_prefix(struct zip *za, zip_uint64_t *lengthp); +```` + +## Compression + +* add lzma support + +## API Issues + +* `zip_get_archive_comment` has `int *lenp` argument. Cleaner would be `zip_uint32_t *`. + rename and fix. which other functions for naming consistency? +* rename remaining `zip_XXX_{file,archive}_*` to `zip_{file,archive}_XXX_*`? +* compression/crypt implementations: how to set error code on failure +* compression/crypt error messages a la `ZIP_ER_ZLIB` (no detailed info passing) + +## Features + +* add seek support for AES-encrypted files +* consistently use `_zip_crypto_clear()` for passwords +* support setting extra fields from `zip_source` + * introduce layers of extra fields: + * original + * from `zip_source` + * manually set + * when querying extra fields, search all of them in reverse order + * add whiteout (deleted) flag + * allow invalid data flag, used when computing extra field size before writing data + * new command `ZIP_SOURCE_EXTRA_FIELDS` + * no support for multiple copies of same extra field +* delete all extra fields during `zip_replace()` +* function to copy file from one archive to another +* set `O_CLOEXEC` flag after fopen and mkstemp +* `zip_file_set_mtime()`: support InfoZIP time stamps +* support streaming output (creating new archive to e.g. stdout) +* add function to read/set ASCII file flag +* `zip_commit()` (to finish changes without closing archive) +* add custom compression function support +* `zip_source_zip()`: allow rewinding +* add `zip_abort()` to allow aborting `zip_close()` (can be called from progress callback) +* `zipcmp`: add option for file content comparison +* `zipcmp`: add more paranoid checks: + * external attributes/opsys + * last_mod + * version needed/made by + * general purpose bit flags +* add more consistency checks: + * for stored files, test compressed = uncompressed + * data descriptor + * local headers come before central dir +* support for old compression methods? + +## Bugs + +* support InfoZIP encryption header extension (copy data descriptor for encrypted files) +* ensure that nentries is small enough not to cause overflow (size_t for entry, uint64 for CD on disk) +* check for limits imposed by format (central dir size, file size, extra fields, ...) +* `_zip_u2d_time()`: handle `localtime(3)` failure +* POSIX: `zip_open()`: check whether file can be created and fail if not +* fix inconsistent usage of valid flags (not checked in many places) +* `cdr == NULL` -> `ER_NOENT` vs. `idx > cdir->nentry` -> `ER_INVAL` inconsistent (still there?) + + +## Cleanup + +* drop _LIBZIP suffixes in cmake defines (no longer needed since they no longer appear in zipconf.h) +* go over cdir parser and rename various offset/size variables to make it clearer +* use bool +* use `ZIP_SOURCE_SUPPORTS_{READABLE,SEEKABLE,WRITABLE}` +* use `zip_source_seek_compute_offset()` +* get rid of `zip_get_{compression,encryption}_implementation()` +* use `zip_*int*_t` internally + +## Infrastructure + +* rewrite `make_zip_errors.sh` in cmake +* rewrite `make_zip_err_str.sh` in cmake +* configure appveyor for Windows builds of libzip + +## Test Case Issues + +* add test case for clone with files > 4k +* consider testing for malloc/realloc failures +* Winzip AES support + * test cases decryption: <=20, >20, stat for both + * test cases encryption: no password, default password, file-specific password, 128/192/256, <=20, >20 + * support testing on macOS +* add test cases for lots of files (including too many) +* add test cases for holes (between files, between files and cdir, between cdir and eocd, + zip64 where appropriate) +* unchange on added file +* test seek in `zip_source_crc()` +* test cases for `set_extra*`, `delete_extra*`, `*extra_field*` +* test cases for in memory archives + * add + * delete + * delete all + * modify +* use gcov output to increase test coverage +* add test case to change values for newly added files (name, compression method, comment, mtime, . . .) +* `zip_open()` file less than `EOCDLEN` bytes long +* test calls against old API +* run regression tests also from CMake framework +* rename file to dir/ and vice versa (fails) +* fix comment test to be newline insensitive +* check if http://bugs.python.org/issue20078 provides ideas for new tests + +* (`add`, `replace`) + * add to empty zip + * add to existing zip + * add w/ existing file name [E] + * replace ok + * replace w/ illegal index [E] + * replace w/ deleted name [E] + * unchange added/replaced file +* (`close`) + * copy zip file + * open copy + * rename, delete, replace, add w/ new name, add w/ deleted name + * close + * zipcmp copy expected + * remove copy +* (`error_get) +* (`error_get_sys_type`) +* (`error_to_str`) +* (`extra_fields`) +* (`file_error_get`) +* (`file_strerror`) +* (`replace`) +* (`source_buffer`) +* (`source_file`) +* (`source_filep`) +* (`source_free`) +* (`source_function`) +* (`source_zip`) +* (`strerror`) +* (`unchange`) +* (`unchange_all`) +* `open(ZIP_RDONLY)` +* I/O abstraction layer + * `zip_open_from_source` +* read two zip entries interleaved + +## Unsorted + +* `zip_source_file()`: don't allow write if start/len specify a part of the file +* script to check if all exported symbols are marked with `ZIP_EXTERN`, add to make distcheck + +* document: `zip_source_write()`: length can't be > `ZIP_INT64_MAX` +* document: `ZIP_SOURCE_CLOSE` implementation can't return error +* keep error codes in man pages in sync +* document error codes in new man pages diff --git a/plugins/TKLiveSync/libzip_iOS/appveyor.yml b/plugins/TKLiveSync/libzip_iOS/appveyor.yml new file mode 100644 index 000000000..206136513 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/appveyor.yml @@ -0,0 +1,57 @@ +os: +- Visual Studio 2017 +environment: + matrix: + - GENERATOR: "Visual Studio 15 2017 Win64" + TRIPLET: x64-windows + CMAKE_OPTS: "-DBUILD_SHARED_LIBS=off" + - GENERATOR: "Visual Studio 15 2017" + TRIPLET: x86-windows + CMAKE_OPTS: "-DBUILD_SHARED_LIBS=off" + - GENERATOR: "Visual Studio 15 2017 ARM" + TRIPLET: arm-windows + CMAKE_OPTS: "-DENABLE_OPENSSL=off" + - GENERATOR: "Visual Studio 15 2017" + TRIPLET: x86-uwp + CMAKE_OPTS: "-DCMAKE_SYSTEM_NAME=WindowsStore" + - GENERATOR: "Visual Studio 15 2017 Win64" + TRIPLET: x64-uwp + CMAKE_OPTS: "-DCMAKE_SYSTEM_NAME=WindowsStore" + - GENERATOR: "Visual Studio 15 2017 ARM" + TRIPLET: arm-uwp + CMAKE_OPTS: "-DCMAKE_SYSTEM_NAME=WindowsStore -DENABLE_OPENSSL=off" + - GENERATOR: "Visual Studio 15 2017" + TRIPLET: arm64-windows + CMAKE_OPTS: "-AARM64 -DENABLE_OPENSSL=off" + - GENERATOR: "Visual Studio 15 2017" + TRIPLET: arm64-uwp + CMAKE_OPTS: "-AARM64 -DCMAKE_SYSTEM_NAME=WindowsStore -DENABLE_OPENSSL=off" +before_build: + cmd: >- + git clone https://github.com/Microsoft/vcpkg + + cd vcpkg + + .\bootstrap-vcpkg.bat + + .\vcpkg integrate install + + .\vcpkg install zlib:%TRIPLET% bzip2:%TRIPLET% + + cd .. + + mkdir build + + cd build + + cmake -DCMAKE_TOOLCHAIN_FILE=%cd%/../vcpkg/scripts/buildsystems/vcpkg.cmake .. -G "%GENERATOR%" %CMAKE_OPTS% + + appveyor PushArtifact config.h + + appveyor PushArtifact CMakeCache.txt + +build_script: + cmd: >- + cmake --build . --config Release --target INSTALL + + cmake --build . --config Debug --target INSTALL diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeCache.txt b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeCache.txt new file mode 100644 index 000000000..ce0b6778c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeCache.txt @@ -0,0 +1,780 @@ +# This is the CMakeCache file. +# For build in directory: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build +# It was generated by CMake: /usr/local/Cellar/cmake/3.14.4/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Build documentation +BUILD_DOC:BOOL=ON + +//Build examples +BUILD_EXAMPLES:BOOL=ON + +//Build regression tests +BUILD_REGRESS:BOOL=ON + +//Build shared libraries +BUILD_SHARED_LIBS:BOOL=OFF + +//Build tools in the src directory (zipcmp, zipmerge, ziptool) +BUILD_TOOLS:BOOL=ON + +//Path to a file. +BZIP2_INCLUDE_DIR:PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include + +//Path to a library. +BZIP2_LIBRARY_DEBUG:FILEPATH=BZIP2_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +BZIP2_LIBRARY_RELEASE:FILEPATH=/usr/lib/libbz2.dylib + +//Path to a program. +CMAKE_AR:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar + +//Semicolon separated list of supported configuration types, only +// supports Debug, Release, MinSizeRel, and RelWithDebInfo, anything +// else will be ignored. +CMAKE_CONFIGURATION_TYPES:STRING=Debug;Release;MinSizeRel;RelWithDebInfo + +//Flags used by the C compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the C compiler during DEBUG builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the C compiler during MINSIZEREL builds. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the C compiler during RELEASE builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the C compiler during RELWITHDEBINFO builds. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Executable file format +CMAKE_EXECUTABLE_FORMAT:STRING=MACHO + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during DEBUG builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during MINSIZEREL builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during RELEASE builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during RELWITHDEBINFO builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//User executables (bin) +CMAKE_INSTALL_BINDIR:PATH=bin + +//Read-only architecture-independent data (DATAROOTDIR) +CMAKE_INSTALL_DATADIR:PATH= + +//Read-only architecture-independent data root (share) +CMAKE_INSTALL_DATAROOTDIR:PATH=share + +//Documentation root (DATAROOTDIR/doc/PROJECT_NAME) +CMAKE_INSTALL_DOCDIR:PATH= + +//C header files (include) +CMAKE_INSTALL_INCLUDEDIR:PATH=include + +//Info documentation (DATAROOTDIR/info) +CMAKE_INSTALL_INFODIR:PATH= + +//Object code libraries (lib) +CMAKE_INSTALL_LIBDIR:PATH=lib + +//Program executables (libexec) +CMAKE_INSTALL_LIBEXECDIR:PATH=libexec + +//Locale-dependent data (DATAROOTDIR/locale) +CMAKE_INSTALL_LOCALEDIR:PATH= + +//Modifiable single-machine data (var) +CMAKE_INSTALL_LOCALSTATEDIR:PATH=var + +//Man documentation (DATAROOTDIR/man) +CMAKE_INSTALL_MANDIR:PATH= + +//Path to a program. +CMAKE_INSTALL_NAME_TOOL:FILEPATH=/usr/bin/install_name_tool + +//C header files for non-gcc (/usr/include) +CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Run-time variable data (LOCALSTATEDIR/run) +CMAKE_INSTALL_RUNSTATEDIR:PATH= + +//System admin executables (sbin) +CMAKE_INSTALL_SBINDIR:PATH=sbin + +//Modifiable architecture-independent data (com) +CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com + +//Read-only single-machine data (etc) +CMAKE_INSTALL_SYSCONFDIR:PATH=etc + +//Path to a program. +CMAKE_LINKER:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld + +//Flags used by the linker during the creation of modules during +// all build types. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of modules during +// DEBUG builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of modules during +// MINSIZEREL builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of modules during +// RELEASE builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of modules during +// RELWITHDEBINFO builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=CMAKE_OBJCOPY-NOTFOUND + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump + +//Build architectures for OSX +CMAKE_OSX_ARCHITECTURES:STRING= + +//Minimum OS X version to target for deployment (at runtime); newer +// APIs weak linked. Set to empty string for default value. +CMAKE_OSX_DEPLOYMENT_TARGET:STRING= + +//The product will be built against the headers and libraries located +// inside the indicated SDK. +CMAKE_OSX_SYSROOT:PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=libzip + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib + +//Flags used by the linker during the creation of shared libraries +// during all build types. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of shared libraries +// during DEBUG builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of shared libraries +// during MINSIZEREL builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELEASE builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELWITHDEBINFO builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries +// during all build types. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of static libraries +// during DEBUG builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of static libraries +// during MINSIZEREL builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELEASE builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELWITHDEBINFO builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Documentation format +DOCUMENTATION_FORMAT:STRING=mdoc + +//Enable use of BZip2 +ENABLE_BZIP2:BOOL=ON + +//Enable use of CommonCrypto +ENABLE_COMMONCRYPTO:BOOL=ON + +//Enable use of GnuTLS +ENABLE_GNUTLS:BOOL=ON + +//Enable use of mbed TLS +ENABLE_MBEDTLS:BOOL=ON + +//Enable use of OpenSSL +ENABLE_OPENSSL:BOOL=ON + +//Enable use of Windows cryptography libraries +ENABLE_WINDOWS_CRYPTO:BOOL=ON + +//Path to a file. +GNUTLS_INCLUDE_DIR:PATH=GNUTLS_INCLUDE_DIR-NOTFOUND + +//Path to a library. +GNUTLS_LIBRARY:FILEPATH=GNUTLS_LIBRARY-NOTFOUND + +//Path to a file. +MBEDTLS_INCLUDE_DIR:PATH=MBEDTLS_INCLUDE_DIR-NOTFOUND + +//Path to a library. +MBEDTLS_LIBRARIES:FILEPATH=MBEDTLS_LIBRARIES-NOTFOUND + +//Path to a program. +MDOCTOOL:FILEPATH=/usr/bin/groff + +//Path to a file. +NETTLE_INCLUDE_DIR:PATH=NETTLE_INCLUDE_DIR-NOTFOUND + +//Path to a library. +NETTLE_LIBRARY:FILEPATH=NETTLE_LIBRARY-NOTFOUND + +//Path to a library. +OPENSSL_CRYPTO_LIBRARY:FILEPATH=/usr/lib/libcrypto.dylib + +//Path to a file. +OPENSSL_INCLUDE_DIR:PATH=OPENSSL_INCLUDE_DIR-NOTFOUND + +//Path to a library. +OPENSSL_SSL_LIBRARY:FILEPATH=/usr/lib/libssl.dylib + +//pkg-config executable +PKG_CONFIG_EXECUTABLE:FILEPATH=/usr/local/bin/pkg-config + +//Add SO version in .so build +SHARED_LIB_VERSIONNING:BOOL=ON + +//Path to a file. +ZLIB_INCLUDE_DIR:PATH=/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include + +//Path to a library. +ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND + +//Path to a library. +ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib/libz.dylib + +//Value Computed by CMake +libzip_BINARY_DIR:STATIC=/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build + +//Value Computed by CMake +libzip_SOURCE_DIR:STATIC=/Users/bektchiev/Downloads/libzip-1.5.2 + +//Dependencies for the target +zip_LIB_DEPENDS:STATIC=general;/usr/lib/libz.dylib;general;/usr/lib/libbz2.dylib; + + +######################## +# INTERNAL cache entries +######################## + +//Stored Xcode object GUID +ALL_BUILD_GUID_CMAKE:INTERNAL=E587EDAC743A49B481BEFEF1 +//ADVANCED property for variable: BZIP2_INCLUDE_DIR +BZIP2_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: BZIP2_LIBRARY_DEBUG +BZIP2_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: BZIP2_LIBRARY_RELEASE +BZIP2_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//Have symbol BZ2_bzCompressInit +BZIP2_NEED_PREFIX:INTERNAL=1 +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=14 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=4 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.14.4/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.14.4/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/local/Cellar/cmake/3.14.4/bin/ctest +//ADVANCED property for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Xcode +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/Users/bektchiev/Downloads/libzip-1.5.2 +//ADVANCED property for variable: CMAKE_INSTALL_BINDIR +CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_DATADIR +CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR +CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR +CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR +CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_INFODIR +CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR +CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR +CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR +CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR +CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_MANDIR +CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_NAME_TOOL +CMAKE_INSTALL_NAME_TOOL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR +CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR +CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR +CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR +CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR +CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=6 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/local/Cellar/cmake/3.14.4/share/cmake +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//CHECK_TYPE_SIZE: sizeof(unsigned short) +CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=2 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//Have include CommonCrypto/CommonCrypto.h +COMMONCRYPTO_FOUND:INTERNAL=1 +//Details about finding BZip2 +FIND_PACKAGE_MESSAGE_DETAILS_BZip2:INTERNAL=[/usr/lib/libbz2.dylib][/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include][v1.0.6()] +//Details about finding ZLIB +FIND_PACKAGE_MESSAGE_DETAILS_ZLIB:INTERNAL=[/usr/lib/libz.dylib][/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include][v1.2.11()] +//ADVANCED property for variable: GNUTLS_INCLUDE_DIR +GNUTLS_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: GNUTLS_LIBRARY +GNUTLS_LIBRARY-ADVANCED:INTERNAL=1 +//Have function clonefile +HAVE_CLONEFILE:INTERNAL=1 +//Result of TRY_COMPILE +HAVE_CMAKE_SIZEOF_UNSIGNED_SHORT:INTERNAL=TRUE +//Have function explicit_bzero +HAVE_EXPLICIT_BZERO:INTERNAL= +//Have function explicit_memset +HAVE_EXPLICIT_MEMSET:INTERNAL= +//Test HAVE_FICLONERANGE +HAVE_FICLONERANGE:INTERNAL= +//Have function fileno +HAVE_FILENO:INTERNAL=1 +//Have function fseeko +HAVE_FSEEKO:INTERNAL=1 +//Have function ftello +HAVE_FTELLO:INTERNAL=1 +//Have include sys/types.h;sys/stat.h;fts.h +HAVE_FTS_H:INTERNAL=1 +//Have function getopt +HAVE_GETOPT:INTERNAL=1 +//Have function getprogname +HAVE_GETPROGNAME:INTERNAL=1 +//Result of TRY_COMPILE +HAVE_INT16_T_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_INT32_T_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_INT64_T_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_INT8_T_LIBZIP:INTERNAL=TRUE +//Have include inttypes.h +HAVE_INTTYPES_H_LIBZIP:INTERNAL=1 +//Result of TRY_COMPILE +HAVE_INT_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_LONG_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_LONG_LONG_LIBZIP:INTERNAL=TRUE +//Have function mkstemp +HAVE_MKSTEMP:INTERNAL=1 +//Test HAVE_NULLABLE +HAVE_NULLABLE:INTERNAL=1 +//Have function open +HAVE_OPEN:INTERNAL=1 +//Have function setmode +HAVE_SETMODE:INTERNAL=1 +//Result of TRY_COMPILE +HAVE_SHORT_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_SIZEOF_OFF_T:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_SIZE_T_LIBZIP:INTERNAL=TRUE +//Have function snprintf +HAVE_SNPRINTF:INTERNAL=1 +//Result of TRY_COMPILE +HAVE_SSIZE_T_LIBZIP:INTERNAL=TRUE +//Have include stdbool.h +HAVE_STDBOOL_H:INTERNAL=1 +//Have include stddef.h +HAVE_STDDEF_H:INTERNAL=1 +//Have include stdint.h +HAVE_STDINT_H:INTERNAL=1 +//Have include stdint.h +HAVE_STDINT_H_LIBZIP:INTERNAL=1 +//Have function strcasecmp +HAVE_STRCASECMP:INTERNAL=1 +//Have function strdup +HAVE_STRDUP:INTERNAL=1 +//Have function stricmp +HAVE_STRICMP:INTERNAL= +//Have include strings.h +HAVE_STRINGS_H:INTERNAL=1 +//Have function strtoll +HAVE_STRTOLL:INTERNAL=1 +//Have function strtoull +HAVE_STRTOULL:INTERNAL=1 +//Have include sys/types.h +HAVE_SYS_TYPES_H:INTERNAL=1 +//Have include sys/types.h +HAVE_SYS_TYPES_H_LIBZIP:INTERNAL=1 +//Result of TRY_COMPILE +HAVE_UINT16_T_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_UINT32_T_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_UINT64_T_LIBZIP:INTERNAL=TRUE +//Result of TRY_COMPILE +HAVE_UINT8_T_LIBZIP:INTERNAL=TRUE +//Have include unistd.h +HAVE_UNISTD_H:INTERNAL=1 +//Result of TRY_COMPILE +HAVE_WORDS_BIGENDIAN:INTERNAL=TRUE +//Have function _chmod +HAVE__CHMOD:INTERNAL= +//Have function _close +HAVE__CLOSE:INTERNAL= +//Have function _dup +HAVE__DUP:INTERNAL= +//Have function _fdopen +HAVE__FDOPEN:INTERNAL= +//Have function _fileno +HAVE__FILENO:INTERNAL= +//Have function _open +HAVE__OPEN:INTERNAL= +//Have function _setmode +HAVE__SETMODE:INTERNAL= +//Have function _snprintf +HAVE__SNPRINTF:INTERNAL= +//Have function _strdup +HAVE__STRDUP:INTERNAL= +//Have function _stricmp +HAVE__STRICMP:INTERNAL= +//Have function _strtoi64 +HAVE__STRTOI64:INTERNAL= +//Have function _strtoui64 +HAVE__STRTOUI64:INTERNAL= +//Have function _umask +HAVE__UMASK:INTERNAL= +//Have function _unlink +HAVE__UNLINK:INTERNAL= +//Result of TRY_COMPILE +HAVE___INT16_LIBZIP:INTERNAL=FALSE +//Result of TRY_COMPILE +HAVE___INT32_LIBZIP:INTERNAL=FALSE +//Result of TRY_COMPILE +HAVE___INT64_LIBZIP:INTERNAL=FALSE +//Result of TRY_COMPILE +HAVE___INT8_LIBZIP:INTERNAL=FALSE +//CHECK_TYPE_SIZE: sizeof(int16_t) +INT16_T_LIBZIP:INTERNAL=2 +//CHECK_TYPE_SIZE: sizeof(int32_t) +INT32_T_LIBZIP:INTERNAL=4 +//CHECK_TYPE_SIZE: sizeof(int64_t) +INT64_T_LIBZIP:INTERNAL=8 +//CHECK_TYPE_SIZE: sizeof(int8_t) +INT8_T_LIBZIP:INTERNAL=1 +//CHECK_TYPE_SIZE: sizeof(int) +INT_LIBZIP:INTERNAL=4 +//CHECK_TYPE_SIZE: sizeof(long) +LONG_LIBZIP:INTERNAL=8 +//CHECK_TYPE_SIZE: sizeof(long long) +LONG_LONG_LIBZIP:INTERNAL=8 +//ADVANCED property for variable: OPENSSL_CRYPTO_LIBRARY +OPENSSL_CRYPTO_LIBRARY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: OPENSSL_INCLUDE_DIR +OPENSSL_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: OPENSSL_SSL_LIBRARY +OPENSSL_SSL_LIBRARY-ADVANCED:INTERNAL=1 +PC_GNUTLS_CFLAGS:INTERNAL= +PC_GNUTLS_CFLAGS_I:INTERNAL= +PC_GNUTLS_CFLAGS_OTHER:INTERNAL= +PC_GNUTLS_FOUND:INTERNAL= +PC_GNUTLS_INCLUDEDIR:INTERNAL= +PC_GNUTLS_LIBDIR:INTERNAL= +PC_GNUTLS_LIBS:INTERNAL= +PC_GNUTLS_LIBS_L:INTERNAL= +PC_GNUTLS_LIBS_OTHER:INTERNAL= +PC_GNUTLS_LIBS_PATHS:INTERNAL= +PC_GNUTLS_PREFIX:INTERNAL= +PC_GNUTLS_STATIC_CFLAGS:INTERNAL= +PC_GNUTLS_STATIC_CFLAGS_I:INTERNAL= +PC_GNUTLS_STATIC_CFLAGS_OTHER:INTERNAL= +PC_GNUTLS_STATIC_LIBDIR:INTERNAL= +PC_GNUTLS_STATIC_LIBS:INTERNAL= +PC_GNUTLS_STATIC_LIBS_L:INTERNAL= +PC_GNUTLS_STATIC_LIBS_OTHER:INTERNAL= +PC_GNUTLS_STATIC_LIBS_PATHS:INTERNAL= +PC_GNUTLS_VERSION:INTERNAL= +PC_GNUTLS_gnutls_INCLUDEDIR:INTERNAL= +PC_GNUTLS_gnutls_LIBDIR:INTERNAL= +PC_GNUTLS_gnutls_PREFIX:INTERNAL= +PC_GNUTLS_gnutls_VERSION:INTERNAL= +//ADVANCED property for variable: PKG_CONFIG_EXECUTABLE +PKG_CONFIG_EXECUTABLE-ADVANCED:INTERNAL=1 +//Stored Xcode object GUID +PROJECT_libzip_GUID_CMAKE:INTERNAL=545FEC7291C8432F9D13F0A1 +//Stored Xcode object GUID +RUN_TESTS_GUID_CMAKE:INTERNAL=BD0794CF105B464CAE979C47 +//CHECK_TYPE_SIZE: sizeof(short) +SHORT_LIBZIP:INTERNAL=2 +//CHECK_TYPE_SIZE: sizeof(off_t) +SIZEOF_OFF_T:INTERNAL=8 +//CHECK_TYPE_SIZE: sizeof(size_t) +SIZE_T_LIBZIP:INTERNAL=8 +//CHECK_TYPE_SIZE: sizeof(ssize_t) +SSIZE_T_LIBZIP:INTERNAL=8 +//CHECK_TYPE_SIZE: sizeof(uint16_t) +UINT16_T_LIBZIP:INTERNAL=2 +//CHECK_TYPE_SIZE: sizeof(uint32_t) +UINT32_T_LIBZIP:INTERNAL=4 +//CHECK_TYPE_SIZE: sizeof(uint64_t) +UINT64_T_LIBZIP:INTERNAL=8 +//CHECK_TYPE_SIZE: sizeof(uint8_t) +UINT8_T_LIBZIP:INTERNAL=1 +//Result of TEST_BIG_ENDIAN +WORDS_BIGENDIAN:INTERNAL=0 +//Stored Xcode object GUID +ZERO_CHECK_GUID_CMAKE:INTERNAL=0E4CBCF65EE14297B1825289 +//ADVANCED property for variable: ZLIB_INCLUDE_DIR +ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG +ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE +ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1 +//CMAKE_INSTALL_PREFIX during last run +_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=/usr/local +_OPENSSL_CFLAGS:INTERNAL= +_OPENSSL_CFLAGS_I:INTERNAL= +_OPENSSL_CFLAGS_OTHER:INTERNAL= +_OPENSSL_FOUND:INTERNAL= +_OPENSSL_INCLUDEDIR:INTERNAL= +_OPENSSL_LIBDIR:INTERNAL= +_OPENSSL_LIBS:INTERNAL= +_OPENSSL_LIBS_L:INTERNAL= +_OPENSSL_LIBS_OTHER:INTERNAL= +_OPENSSL_LIBS_PATHS:INTERNAL= +_OPENSSL_PREFIX:INTERNAL= +_OPENSSL_STATIC_CFLAGS:INTERNAL= +_OPENSSL_STATIC_CFLAGS_I:INTERNAL= +_OPENSSL_STATIC_CFLAGS_OTHER:INTERNAL= +_OPENSSL_STATIC_LIBDIR:INTERNAL= +_OPENSSL_STATIC_LIBS:INTERNAL= +_OPENSSL_STATIC_LIBS_L:INTERNAL= +_OPENSSL_STATIC_LIBS_OTHER:INTERNAL= +_OPENSSL_STATIC_LIBS_PATHS:INTERNAL= +_OPENSSL_VERSION:INTERNAL= +_OPENSSL_openssl_INCLUDEDIR:INTERNAL= +_OPENSSL_openssl_LIBDIR:INTERNAL= +_OPENSSL_openssl_PREFIX:INTERNAL= +_OPENSSL_openssl_VERSION:INTERNAL= +//CHECK_TYPE_SIZE: __int16 unknown +__INT16_LIBZIP:INTERNAL= +//CHECK_TYPE_SIZE: __int32 unknown +__INT32_LIBZIP:INTERNAL= +//CHECK_TYPE_SIZE: __int64 unknown +__INT64_LIBZIP:INTERNAL= +//CHECK_TYPE_SIZE: __int8 unknown +__INT8_LIBZIP:INTERNAL= +__pkg_config_checked_PC_GNUTLS:INTERNAL=1 +__pkg_config_checked__OPENSSL:INTERNAL=1 +//Stored Xcode object GUID +add_from_filep_GUID_CMAKE:INTERNAL=5E1F62A09B2943958AF7C856 +//Stored Xcode object GUID +can_clone_file_GUID_CMAKE:INTERNAL=6397C2F8BF024CABB60AD74E +//Stored Xcode object GUID +check_GUID_CMAKE:INTERNAL=1AC743C03B054C0AA5AF6F2C +//Stored Xcode object GUID +cleanup_GUID_CMAKE:INTERNAL=888964F5054C4F21A1092E11 +//Stored Xcode object GUID +dist_GUID_CMAKE:INTERNAL=A6CDD43C629C4E2C87AD3E48 +//Stored Xcode object GUID +distcheck_GUID_CMAKE:INTERNAL=E8E99826335F4FFEA6797872 +//Stored Xcode object GUID +fopen_unchanged_GUID_CMAKE:INTERNAL=F8C82B050439466DB6764BB9 +//Stored Xcode object GUID +fread_GUID_CMAKE:INTERNAL=2EE7C069705A4BA4B9C10A60 +//Stored Xcode object GUID +fseek_GUID_CMAKE:INTERNAL=FCA6544E3F9C459DBA3E1EE1 +//Stored Xcode object GUID +hole_GUID_CMAKE:INTERNAL=268B51680EDE4BC1B17DA168 +//Stored Xcode object GUID +in-memory_GUID_CMAKE:INTERNAL=CF106426BFE54D38806BD045 +//Stored Xcode object GUID +install_GUID_CMAKE:INTERNAL=86AD4ABA1D2644A9B01FAAA5 +//Stored Xcode object GUID +man_GUID_CMAKE:INTERNAL=3FF90C8CD9D74E62B5CFE01B +//Stored Xcode object GUID +nonrandomopen_GUID_CMAKE:INTERNAL=6AE33F7A9ACB43D48D6CA530 +//Stored Xcode object GUID +nonrandomopentest_GUID_CMAKE:INTERNAL=C80742A08F784DDB8FD60D7E +//Stored Xcode object GUID +testinput_GUID_CMAKE:INTERNAL=AC903D34B407400492AD0BB9 +//Stored Xcode object GUID +tryopen_GUID_CMAKE:INTERNAL=EE17F42E1734468EB82C10ED +//Stored Xcode object GUID +update-html_GUID_CMAKE:INTERNAL=3861D06FB67E4DD0AD170E3F +//Stored Xcode object GUID +update-man_GUID_CMAKE:INTERNAL=929B6E0CB0184B6397AA1BB7 +//Stored Xcode object GUID +update_zip_err_str_GUID_CMAKE:INTERNAL=755F7C254BD045619F08F484 +//Stored Xcode object GUID +update_zip_errors_GUID_CMAKE:INTERNAL=23DEAC5C823E4B78A813DD74 +//Stored Xcode object GUID +zip_GUID_CMAKE:INTERNAL=392F0459EF7C480EAE0CC561 +//Stored Xcode object GUID +zipcmp_GUID_CMAKE:INTERNAL=A9C046FD73B3493B889661DB +//Stored Xcode object GUID +zipmerge_GUID_CMAKE:INTERNAL=E4C63C21CE7F45A3BFB7F3A4 +//Stored Xcode object GUID +ziptool_GUID_CMAKE:INTERNAL=B2108097E371401DA09DB468 +//Stored Xcode object GUID +ziptool_regress_GUID_CMAKE:INTERNAL=E40F6B1D5CD54998AE5CE904 + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeCCompiler.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeCCompiler.cmake new file mode 100644 index 000000000..1fe728460 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeCCompiler.cmake @@ -0,0 +1,75 @@ +set(CMAKE_C_COMPILER "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "AppleClang") +set(CMAKE_C_COMPILER_VERSION "11.0.0.11000020") +set(CMAKE_C_COMPILER_VERSION_INTERNAL "") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") +set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert") +set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") + +set(CMAKE_C_PLATFORM_ID "Darwin") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_SIMULATE_VERSION "") + + +set(CMAKE_XCODE_ARCHS "x86_64") +set(CMAKE_AR "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar") +set(CMAKE_C_COMPILER_AR "") +set(CMAKE_RANLIB "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib") +set(CMAKE_C_COMPILER_RANLIB "") +set(CMAKE_LINKER "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCC ) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) +set(CMAKE_COMPILER_IS_MINGW ) +set(CMAKE_COMPILER_IS_CYGWIN ) +if(CMAKE_COMPILER_IS_CYGWIN) + set(CYGWIN 1) + set(UNIX 1) +endif() + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +if(CMAKE_COMPILER_IS_MINGW) + set(MINGW 1) +endif() +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "8") +set(CMAKE_C_COMPILER_ABI "") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include;/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include") +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks") diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeDetermineCompilerABI_C.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 000000000..5cb128261 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeDetermineCompilerABI_C.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeSystem.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeSystem.cmake new file mode 100644 index 000000000..1ce45c350 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CMakeSystem.cmake @@ -0,0 +1,15 @@ +set(CMAKE_HOST_SYSTEM "Darwin-19.0.0") +set(CMAKE_HOST_SYSTEM_NAME "Darwin") +set(CMAKE_HOST_SYSTEM_VERSION "19.0.0") +set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64") + + + +set(CMAKE_SYSTEM "Darwin-19.0.0") +set(CMAKE_SYSTEM_NAME "Darwin") +set(CMAKE_SYSTEM_VERSION "19.0.0") +set(CMAKE_SYSTEM_PROCESSOR "x86_64") + +set(CMAKE_CROSSCOMPILING "FALSE") + +set(CMAKE_SYSTEM_LOADED 1) diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c new file mode 100644 index 000000000..ef2a8bbd0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c @@ -0,0 +1,698 @@ +#ifdef __cplusplus +#error "A C++ compiler has been selected for C." +#endif + +#if defined(__18CXX) +#define ID_VOID_MAIN +#endif +#if defined(__CLASSIC_C__) +/* cv-qualifiers did not exist in K&R C */ +#define const +#define volatile +#endif + + +/* Version number components: V=Version, R=Revision, P=Patch + Version date components: YYYY=Year, MM=Month, DD=Day */ + +#if defined(__INTEL_COMPILER) || defined(__ICC) +#define COMPILER_ID "Intel" +#if defined(_MSC_VER) +#define SIMULATE_ID "MSVC" +#endif +/* __INTEL_COMPILER = VRP */ +#define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER / 100) +#define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER / 10 % 10) +#if defined(__INTEL_COMPILER_UPDATE) +#define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE) +#else +#define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10) +#endif +#if defined(__INTEL_COMPILER_BUILD_DATE) +/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */ +#define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE) +#endif +#if defined(_MSC_VER) +/* _MSC_VER = VVRR */ +#define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +#define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +#endif + +#elif defined(__PATHCC__) +#define COMPILER_ID "PathScale" +#define COMPILER_VERSION_MAJOR DEC(__PATHCC__) +#define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__) +#if defined(__PATHCC_PATCHLEVEL__) +#define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__) +#endif + +#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__) +#define COMPILER_ID "Embarcadero" +#define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__ >> 24 & 0x00FF) +#define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__ >> 16 & 0x00FF) +#define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +#define COMPILER_ID "Borland" +/* __BORLANDC__ = 0xVRR */ +#define COMPILER_VERSION_MAJOR HEX(__BORLANDC__ >> 8) +#define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +#define COMPILER_ID "Watcom" +/* __WATCOMC__ = VVRR */ +#define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +#define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +#if (__WATCOMC__ % 10) > 0 +#define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +#endif + +#elif defined(__WATCOMC__) +#define COMPILER_ID "OpenWatcom" +/* __WATCOMC__ = VVRP + 1100 */ +#define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +#define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +#if (__WATCOMC__ % 10) > 0 +#define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +#endif + +#elif defined(__SUNPRO_C) +#define COMPILER_ID "SunPro" +#if __SUNPRO_C >= 0x5100 +/* __SUNPRO_C = 0xVRRP */ +#define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C >> 12) +#define COMPILER_VERSION_MINOR HEX(__SUNPRO_C >> 4 & 0xFF) +#define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +#else +/* __SUNPRO_CC = 0xVRP */ +#define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C >> 8) +#define COMPILER_VERSION_MINOR HEX(__SUNPRO_C >> 4 & 0xF) +#define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +#endif + +#elif defined(__HP_cc) +#define COMPILER_ID "HP" +/* __HP_cc = VVRRPP */ +#define COMPILER_VERSION_MAJOR DEC(__HP_cc / 10000) +#define COMPILER_VERSION_MINOR DEC(__HP_cc / 100 % 100) +#define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +#define COMPILER_ID "Compaq" +/* __DECC_VER = VVRRTPPPP */ +#define COMPILER_VERSION_MAJOR DEC(__DECC_VER / 10000000) +#define COMPILER_VERSION_MINOR DEC(__DECC_VER / 100000 % 100) +#define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +#define COMPILER_ID "zOS" +#if defined(__ibmxl__) +#define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +#define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +#define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +#define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) +#else +/* __IBMC__ = VRP */ +#define COMPILER_VERSION_MAJOR DEC(__IBMC__ / 100) +#define COMPILER_VERSION_MINOR DEC(__IBMC__ / 10 % 10) +#define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +#endif + + +#elif defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800) +#define COMPILER_ID "XL" +#if defined(__ibmxl__) +#define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +#define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +#define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +#define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) +#else +/* __IBMC__ = VRP */ +#define COMPILER_VERSION_MAJOR DEC(__IBMC__ / 100) +#define COMPILER_VERSION_MINOR DEC(__IBMC__ / 10 % 10) +#define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +#endif + + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +#define COMPILER_ID "VisualAge" +#if defined(__ibmxl__) +#define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +#define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +#define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +#define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) +#else +/* __IBMC__ = VRP */ +#define COMPILER_VERSION_MAJOR DEC(__IBMC__ / 100) +#define COMPILER_VERSION_MINOR DEC(__IBMC__ / 10 % 10) +#define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) +#endif + + +#elif defined(__PGI) +#define COMPILER_ID "PGI" +#define COMPILER_VERSION_MAJOR DEC(__PGIC__) +#define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +#if defined(__PGIC_PATCHLEVEL__) +#define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +#endif + +#elif defined(_CRAYC) +#define COMPILER_ID "Cray" +#define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +#define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +#define COMPILER_ID "TI" +/* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +#define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__ / 1000000) +#define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__ / 1000 % 1000) +#define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version) +#define COMPILER_ID "Fujitsu" + +#elif defined(__ghs__) +#define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +#ifdef __GHS_VERSION_NUMBER +#define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +#define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +#define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +#endif + +#elif defined(__TINYC__) +#define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +#define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +#define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +#define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 +/* __ARMCC_VERSION = VRRPPPP */ +#define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION / 1000000) +#define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION / 10000 % 100) +#define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else +/* __ARMCC_VERSION = VRPPPP */ +#define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION / 100000) +#define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION / 10000 % 10) +#define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +#define COMPILER_ID "AppleClang" +#if defined(_MSC_VER) +#define SIMULATE_ID "MSVC" +#endif +#define COMPILER_VERSION_MAJOR DEC(__clang_major__) +#define COMPILER_VERSION_MINOR DEC(__clang_minor__) +#define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +#if defined(_MSC_VER) +/* _MSC_VER = VVRR */ +#define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +#define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +#endif +#define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) +#define COMPILER_ID "Clang" +#if defined(_MSC_VER) +#define SIMULATE_ID "MSVC" +#endif +#define COMPILER_VERSION_MAJOR DEC(__clang_major__) +#define COMPILER_VERSION_MINOR DEC(__clang_minor__) +#define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +#if defined(_MSC_VER) +/* _MSC_VER = VVRR */ +#define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +#define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +#endif + +#elif defined(__GNUC__) +#define COMPILER_ID "GNU" +#define COMPILER_VERSION_MAJOR DEC(__GNUC__) +#if defined(__GNUC_MINOR__) +#define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +#endif +#if defined(__GNUC_PATCHLEVEL__) +#define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +#endif + +#elif defined(_MSC_VER) +#define COMPILER_ID "MSVC" +/* _MSC_VER = VVRR */ +#define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +#define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +#if defined(_MSC_FULL_VER) +#if _MSC_VER >= 1400 +/* _MSC_FULL_VER = VVRRPPPPP */ +#define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +#else +/* _MSC_FULL_VER = VVRRPPPP */ +#define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +#endif +#endif +#if defined(_MSC_BUILD) +#define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +#endif + +#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__) +#define COMPILER_ID "ADSP" +#if defined(__VISUALDSPVERSION__) +/* __VISUALDSPVERSION__ = 0xVVRRPP00 */ +#define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__ >> 24) +#define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__ >> 16 & 0xFF) +#define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__ >> 8 & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +#define COMPILER_ID "IAR" +#if defined(__VER__) && defined(__ICCARM__) +#define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +#define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +#define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +#define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +#elif defined(__VER__) && defined(__ICCAVR__) +#define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +#define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100) * 100)) +#define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +#define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +#endif + +#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) +#define COMPILER_ID "SDCC" +#if defined(__SDCC_VERSION_MAJOR) +#define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) +#define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) +#define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) +#else +/* SDCC = VRP */ +#define COMPILER_VERSION_MAJOR DEC(SDCC / 100) +#define COMPILER_VERSION_MINOR DEC(SDCC / 10 % 10) +#define COMPILER_VERSION_PATCH DEC(SDCC % 10) +#endif + +#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION) +#define COMPILER_ID "MIPSpro" +#if defined(_SGI_COMPILER_VERSION) +/* _SGI_COMPILER_VERSION = VRP */ +#define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION / 100) +#define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION / 10 % 10) +#define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10) +#else +/* _COMPILER_VERSION = VRP */ +#define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION / 100) +#define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION / 10 % 10) +#define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 10) +#endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +#define COMPILER_ID "HP" + +#else /* unknown compiler */ +#define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const *info_compiler = "INFO" + ":" + "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const *info_simulate = "INFO" + ":" + "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const *qnxnto = "INFO" + ":" + "qnxnto[]"; +#endif + +#if defined(__CRAYXE) || defined(__CRAYXC) +char const *info_cray = "INFO" + ":" + "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +#define PLATFORM_ID "Linux" + +#elif defined(__CYGWIN__) +#define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +#define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +#define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +#define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +#define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +#define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +#define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +#define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +#define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +#define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +#define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +#define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +#define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +#define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +#define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +#define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +#define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +#define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +#define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +#define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +#define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +#define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +#define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +#if defined(__LINUX__) +#define PLATFORM_ID "Linux" + +#elif defined(__DOS__) +#define PLATFORM_ID "DOS" + +#elif defined(__OS2__) +#define PLATFORM_ID "OS2" + +#elif defined(__WINDOWS__) +#define PLATFORM_ID "Windows3x" + +#else /* unknown platform */ +#define PLATFORM_ID +#endif + +#elif defined(__INTEGRITY) +#if defined(INT_178B) +#define PLATFORM_ID "Integrity178" + +#else /* regular Integrity */ +#define PLATFORM_ID "Integrity" +#endif + +#else /* unknown platform */ +#define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +#if defined(_M_IA64) +#define ARCHITECTURE_ID "IA64" + +#elif defined(_M_X64) || defined(_M_AMD64) +#define ARCHITECTURE_ID "x64" + +#elif defined(_M_IX86) +#define ARCHITECTURE_ID "X86" + +#elif defined(_M_ARM64) +#define ARCHITECTURE_ID "ARM64" + +#elif defined(_M_ARM) +#if _M_ARM == 4 +#define ARCHITECTURE_ID "ARMV4I" +#elif _M_ARM == 5 +#define ARCHITECTURE_ID "ARMV5I" +#else +#define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +#endif + +#elif defined(_M_MIPS) +#define ARCHITECTURE_ID "MIPS" + +#elif defined(_M_SH) +#define ARCHITECTURE_ID "SHx" + +#else /* unknown architecture */ +#define ARCHITECTURE_ID "" +#endif + +#elif defined(__WATCOMC__) +#if defined(_M_I86) +#define ARCHITECTURE_ID "I86" + +#elif defined(_M_IX86) +#define ARCHITECTURE_ID "X86" + +#else /* unknown architecture */ +#define ARCHITECTURE_ID "" +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +#if defined(__ICCARM__) +#define ARCHITECTURE_ID "ARM" + +#elif defined(__ICCAVR__) +#define ARCHITECTURE_ID "AVR" + +#else /* unknown architecture */ +#define ARCHITECTURE_ID "" +#endif + +#elif defined(__ghs__) +#if defined(__PPC64__) +#define ARCHITECTURE_ID "PPC64" + +#elif defined(__ppc__) +#define ARCHITECTURE_ID "PPC" + +#elif defined(__ARM__) +#define ARCHITECTURE_ID "ARM" + +#elif defined(__x86_64__) +#define ARCHITECTURE_ID "x64" + +#elif defined(__i386__) +#define ARCHITECTURE_ID "X86" + +#else /* unknown architecture */ +#define ARCHITECTURE_ID "" +#endif +#else +#define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) ('0' + (((n) / 10000000) % 10)), ('0' + (((n) / 1000000) % 10)), ('0' + (((n) / 100000) % 10)), ('0' + (((n) / 10000) % 10)), ('0' + (((n) / 1000) % 10)), ('0' + (((n) / 100) % 10)), ('0' + (((n) / 10) % 10)), ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) ('0' + ((n) >> 28 & 0xF)), ('0' + ((n) >> 24 & 0xF)), ('0' + ((n) >> 20 & 0xF)), ('0' + ((n) >> 16 & 0xF)), ('0' + ((n) >> 12 & 0xF)), ('0' + ((n) >> 8 & 0xF)), ('0' + ((n) >> 4 & 0xF)), ('0' + ((n)&0xF)) + +/* Construct a string literal encoding the version number components. */ +#ifdef COMPILER_VERSION_MAJOR +char const info_version[] = {'I', + 'N', + 'F', + 'O', + ':', + 'c', + 'o', + 'm', + 'p', + 'i', + 'l', + 'e', + 'r', + '_', + 'v', + 'e', + 'r', + 's', + 'i', + 'o', + 'n', + '[', + COMPILER_VERSION_MAJOR, +#ifdef COMPILER_VERSION_MINOR + '.', + COMPILER_VERSION_MINOR, +#ifdef COMPILER_VERSION_PATCH + '.', + COMPILER_VERSION_PATCH, +#ifdef COMPILER_VERSION_TWEAK + '.', + COMPILER_VERSION_TWEAK, +#endif +#endif +#endif + ']', + '\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = {'I', 'N', 'F', 'O', ':', 'c', 'o', 'm', 'p', 'i', 'l', 'e', 'r', '_', 'v', 'e', 'r', 's', 'i', 'o', 'n', '_', 'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '[', COMPILER_VERSION_INTERNAL, ']', '\0'}; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = {'I', + 'N', + 'F', + 'O', + ':', + 's', + 'i', + 'm', + 'u', + 'l', + 'a', + 't', + 'e', + '_', + 'v', + 'e', + 'r', + 's', + 'i', + 'o', + 'n', + '[', + SIMULATE_VERSION_MAJOR, +#ifdef SIMULATE_VERSION_MINOR + '.', + SIMULATE_VERSION_MINOR, +#ifdef SIMULATE_VERSION_PATCH + '.', + SIMULATE_VERSION_PATCH, +#ifdef SIMULATE_VERSION_TWEAK + '.', + SIMULATE_VERSION_TWEAK, +#endif +#endif +#endif + ']', + '\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const *info_platform = "INFO" + ":" + "platform[" PLATFORM_ID "]"; +char const *info_arch = "INFO" + ":" + "arch[" ARCHITECTURE_ID "]"; + + +#if !defined(__STDC__) +#if (defined(_MSC_VER) && !defined(__clang__)) || (defined(__ibmxl__) || defined(__IBMC__)) +#define C_DIALECT "90" +#else +#define C_DIALECT +#endif +#elif __STDC_VERSION__ >= 201000L +#define C_DIALECT "11" +#elif __STDC_VERSION__ >= 199901L +#define C_DIALECT "99" +#else +#define C_DIALECT "90" +#endif +const char *info_language_dialect_default = "INFO" + ":" + "dialect_default[" C_DIALECT "]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void +main() {} +#else +#if defined(__CLASSIC_C__) +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXE) || defined(__CRAYXC) + require += info_cray[argc]; +#endif + require += info_language_dialect_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC new file mode 100755 index 000000000..b1c357816 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.xcodeproj/project.pbxproj b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.xcodeproj/project.pbxproj new file mode 100644 index 000000000..8dee69e18 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.xcodeproj/project.pbxproj @@ -0,0 +1,113 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 45; + objects = { + + 2C18F0B615DC1E0300593670 = {isa = PBXBuildFile; fileRef = 2C18F0B415DC1DC700593670; }; + 2C18F0B415DC1DC700593670 = {isa = PBXFileReference; fileEncoding = 4; explicitFileType = sourcecode.c.c; path = CMakeCCompilerId.c; sourceTree = ""; }; + 08FB7794FE84155DC02AAC07 = { + isa = PBXGroup; + children = ( + 2C18F0B415DC1DC700593670, + ); + name = CompilerIdC; + sourceTree = ""; + }; + 8DD76FA90486AB0100D96B5E = { + isa = PBXNativeTarget; + buildConfigurationList = 1DEB928508733DD80010E9CD; + buildPhases = ( + 2C18F0B515DC1DCE00593670, + 2C8FEB8E15DC1A1A00E56A5D, + ); + buildRules = ( + ); + dependencies = ( + ); + name = CompilerIdC; + productName = CompilerIdC; + productType = "com.apple.product-type.tool"; + }; + 08FB7793FE84155DC02AAC07 = { + isa = PBXProject; + buildConfigurationList = 1DEB928908733DD80010E9CD; + compatibilityVersion = "Xcode 3.1"; + developmentRegion = English; + hasScannedForEncodings = 1; + knownRegions = ( + en, + ); + mainGroup = 08FB7794FE84155DC02AAC07; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 8DD76FA90486AB0100D96B5E, + ); + }; + 2C8FEB8E15DC1A1A00E56A5D = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "echo \"GCC_VERSION=$GCC_VERSION\" ; echo \"ARCHS=$ARCHS\""; + showEnvVarsInLog = 0; + }; + 2C18F0B515DC1DCE00593670 = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2C18F0B615DC1E0300593670, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 1DEB928608733DD80010E9CD = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + PRODUCT_NAME = CompilerIdC; + }; + name = Debug; + }; + 1DEB928A08733DD80010E9CD = { + isa = XCBuildConfiguration; + buildSettings = { + ONLY_ACTIVE_ARCH = YES; + CODE_SIGNING_REQUIRED = NO; + CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; + SYMROOT = .; + + + + + SDKROOT = "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"; + }; + name = Debug; + }; + 1DEB928508733DD80010E9CD = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB928608733DD80010E9CD, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 1DEB928908733DD80010E9CD = { + isa = XCConfigurationList; + buildConfigurations = ( + 1DEB928A08733DD80010E9CD, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + }; + rootObject = 08FB7793FE84155DC02AAC07; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/937ae7850bcb7cb3390deaa388b32514-desc.xcbuild b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/937ae7850bcb7cb3390deaa388b32514-desc.xcbuild new file mode 100644 index 000000000..27c09e659 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/937ae7850bcb7cb3390deaa388b32514-desc.xcbuild differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/937ae7850bcb7cb3390deaa388b32514-manifest.xcbuild b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/937ae7850bcb7cb3390deaa388b32514-manifest.xcbuild new file mode 100644 index 000000000..f792f1c11 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/937ae7850bcb7cb3390deaa388b32514-manifest.xcbuild @@ -0,0 +1,57 @@ +client: + name: basic + version: 0 + file-system: default + +targets: + "": [""] + +nodes: + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC": {"is-mutated":true} + +commands: + "": {"tool":"phony","inputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","",""],"outputs":[""]} + "": {"tool":"stale-file-removal","expectedOutputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml"],"roots":["/tmp/CompilerIdC.dst","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC"],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--Barrier-ChangeAlternatePermissions": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--Barrier-ChangePermissions": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--Barrier-CodeSign": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--Barrier-CopyAside": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--Barrier-RegisterExecutionPolicyException": {"tool":"phony","inputs":["","",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--Barrier-StripSymbols": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--Barrier-Validate": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--GeneratedFilesTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--HeadermapTaskProducer": {"tool":"phony","inputs":["","","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml"],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--InfoPlistTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--ModuleMapTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--ProductPostprocessingTaskProducer": {"tool":"phony","inputs":["","","","","","","","","",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--ProductStructureTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--SanitizerTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--StubBinaryTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--SwiftStandardLibrariesTaskProducer": {"tool":"phony","inputs":["","",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--TestTargetPostprocessingTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--TestTargetTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--VersionPlistTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--XCFrameworkTaskProducer": {"tool":"phony","inputs":["",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--begin-compiling": {"tool":"phony","inputs":["","","",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--end": {"tool":"phony","inputs":["","","","","","","","","","","","","","","","","","","","","","","","","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o","","","","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml"],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--entry": {"tool":"phony","inputs":["","","","",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--generated-headers": {"tool":"phony","inputs":[""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--immediate": {"tool":"phony","inputs":["","","",""],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--modules-ready": {"tool":"phony","inputs":["","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o","","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh"],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--phase0-compile-sources": {"tool":"phony","inputs":["","","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o","","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList"],"outputs":[""]} + "Gate target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d--phase1-run-script": {"tool":"phony","inputs":["","","","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh"],"outputs":[""]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::CompileC /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler": {"tool":"shell","description":"CompileC /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler","inputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c","","",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o"],"args":["/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang","-x","c","-target","x86_64-apple-macos10.15","-fmessage-length=0","-fdiagnostics-show-note-include-stack","-fmacro-backtrace-limit=0","-Wno-trigraphs","-fpascal-strings","-Os","-Wno-missing-field-initializers","-Wno-missing-prototypes","-Wno-return-type","-Wno-missing-braces","-Wparentheses","-Wswitch","-Wno-unused-function","-Wno-unused-label","-Wno-unused-parameter","-Wno-unused-variable","-Wunused-value","-Wno-empty-body","-Wno-uninitialized","-Wno-unknown-pragmas","-Wno-shadow","-Wno-four-char-constants","-Wno-conversion","-Wno-constant-conversion","-Wno-int-conversion","-Wno-bool-conversion","-Wno-enum-conversion","-Wno-float-conversion","-Wno-non-literal-null-conversion","-Wno-objc-literal-conversion","-Wno-shorten-64-to-32","-Wpointer-sign","-Wno-newline-eof","-isysroot","/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk","-fasm-blocks","-fstrict-aliasing","-Wdeprecated-declarations","-g","-fvisibility=hidden","-Wno-sign-conversion","-Wno-infinite-recursion","-Wno-comma","-Wno-block-capture-autoreleasing","-Wno-strict-prototypes","-Wno-semicolon-before-method-body","-iquote","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap","-I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap","-I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap","-iquote","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap","-I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/include","-I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources-normal/x86_64","-I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources/x86_64","-I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources","-F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","-MMD","-MT","dependencies","-MF","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d","--serialize-diagnostics","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.dia","-c","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c","-o","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o"],"env":{"LANG":"en_US.US-ASCII"},"working-directory":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","deps":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d"],"deps-style":"makefile","signature":"1cb5533ce2ab676e8fe61fcf44f770ad"} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::CreateBuildDirectory /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC": {"tool":"create-build-directory","description":"CreateBuildDirectory /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","inputs":[],"outputs":["","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::Ld /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC normal x86_64": {"tool":"shell","description":"Ld /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC normal x86_64","inputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList","",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC",""],"args":["/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang","-target","x86_64-apple-macos10.15","-isysroot","/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk","-L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","-F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","-filelist","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList","-Xlinker","-object_path_lto","-Xlinker","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_lto.o","-Xlinker","-dependency_info","-Xlinker","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat","-o","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC"],"env":{},"working-directory":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","deps":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat"],"deps-style":"dependency-info","signature":"673072dd19fd9fa1b886ef39cb96cfe9"} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::PhaseScriptExecution Run Script /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh": {"tool":"shell","description":"PhaseScriptExecution Run Script /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh","inputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh","",""],"outputs":[""],"args":["/bin/sh","-c","/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh"],"env":{"ACTION":"build","AD_HOC_CODE_SIGNING_ALLOWED":"YES","ALTERNATE_GROUP":"PROGRESS\\TelerikDomainUsers","ALTERNATE_MODE":"u+w,go-w,a+rX","ALTERNATE_OWNER":"bektchiev","ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES":"NO","ALWAYS_SEARCH_USER_PATHS":"YES","ALWAYS_USE_SEPARATE_HEADERMAPS":"NO","APPLE_INTERNAL_DEVELOPER_DIR":"/AppleInternal/Developer","APPLE_INTERNAL_DIR":"/AppleInternal","APPLE_INTERNAL_DOCUMENTATION_DIR":"/AppleInternal/Documentation","APPLE_INTERNAL_LIBRARY_DIR":"/AppleInternal/Library","APPLE_INTERNAL_TOOLS":"/AppleInternal/Developer/Tools","APPLICATION_EXTENSION_API_ONLY":"NO","APPLY_RULES_IN_COPY_FILES":"NO","APPLY_RULES_IN_COPY_HEADERS":"NO","ARCHS":"x86_64","ARCHS_STANDARD":"x86_64","ARCHS_STANDARD_32_64_BIT":"x86_64 i386","ARCHS_STANDARD_32_BIT":"i386","ARCHS_STANDARD_64_BIT":"x86_64","ARCHS_STANDARD_INCLUDING_64_BIT":"x86_64","AVAILABLE_PLATFORMS":"appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator","BITCODE_GENERATION_MODE":"marker","BUILD_ACTIVE_RESOURCES_ONLY":"NO","BUILD_COMPONENTS":"headers build","BUILD_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","BUILD_LIBRARY_FOR_DISTRIBUTION":"NO","BUILD_ROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","BUILD_STYLE":"","BUILD_VARIANTS":"normal","BUILT_PRODUCTS_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","CACHE_ROOT":"/var/folders/4x/jj_1pqns395fmjd3_jlfhfhrlp6586/C/com.apple.DeveloperTools/11.0-11M336w/Xcode","CCHROOT":"/var/folders/4x/jj_1pqns395fmjd3_jlfhfhrlp6586/C/com.apple.DeveloperTools/11.0-11M336w/Xcode","CHMOD":"/bin/chmod","CHOWN":"/usr/sbin/chown","CLANG_MODULES_BUILD_SESSION_FILE":"/var/folders/4x/jj_1pqns395fmjd3_jlfhfhrlp6586/C/org.llvm.clang/ModuleCache.noindex/Session.modulevalidation","CLASS_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/JavaClasses","CLEAN_PRECOMPS":"YES","CLONE_HEADERS":"NO","CODESIGNING_FOLDER_PATH":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC","CODE_SIGNING_ALLOWED":"YES","CODE_SIGNING_REQUIRED":"NO","CODE_SIGN_IDENTITY_NO":"Apple Development","CODE_SIGN_IDENTITY_YES":"-","CODE_SIGN_INJECT_BASE_ENTITLEMENTS":"YES","COLOR_DIAGNOSTICS":"NO","COMBINE_HIDPI_IMAGES":"NO","COMPILER_INDEX_STORE_ENABLE":"Default","COMPOSITE_SDK_DIRS":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompositeSDKs","COMPRESS_PNG_FILES":"NO","CONFIGURATION":"Debug","CONFIGURATION_BUILD_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","CONFIGURATION_TEMP_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug","COPYING_PRESERVES_HFS_DATA":"NO","COPY_HEADERS_RUN_UNIFDEF":"NO","COPY_PHASE_STRIP":"YES","COPY_RESOURCES_FROM_STATIC_FRAMEWORKS":"YES","CP":"/bin/cp","CREATE_INFOPLIST_SECTION_IN_BINARY":"NO","CURRENT_ARCH":"undefined_arch","CURRENT_VARIANT":"normal","DEAD_CODE_STRIPPING":"NO","DEBUGGING_SYMBOLS":"YES","DEBUG_INFORMATION_FORMAT":"dwarf","DEFAULT_COMPILER":"com.apple.compilers.llvm.clang.1_0","DEFAULT_DEXT_INSTALL_PATH":"/System/Library/DriverExtensions","DEFAULT_KEXT_INSTALL_PATH":"/System/Library/Extensions","DEFINES_MODULE":"NO","DEPLOYMENT_LOCATION":"NO","DEPLOYMENT_POSTPROCESSING":"NO","DEPLOYMENT_TARGET_CLANG_ENV_NAME":"MACOSX_DEPLOYMENT_TARGET","DEPLOYMENT_TARGET_CLANG_FLAG_NAME":"mmacosx-version-min","DEPLOYMENT_TARGET_LD_ENV_NAME":"MACOSX_DEPLOYMENT_TARGET","DEPLOYMENT_TARGET_LD_FLAG_NAME":"macosx_version_min","DEPLOYMENT_TARGET_SETTING_NAME":"MACOSX_DEPLOYMENT_TARGET","DEPLOYMENT_TARGET_SUGGESTED_VALUES":"10.6 10.7 10.8 10.9 10.10 10.11 10.12 10.13 10.14 10.15","DERIVED_FILES_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources","DERIVED_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources","DERIVED_SOURCES_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources","DEVELOPER_APPLICATIONS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications","DEVELOPER_BIN_DIR":"/Applications/Xcode-beta.app/Contents/Developer/usr/bin","DEVELOPER_DIR":"/Applications/Xcode-beta.app/Contents/Developer","DEVELOPER_FRAMEWORKS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Library/Frameworks","DEVELOPER_FRAMEWORKS_DIR_QUOTED":"/Applications/Xcode-beta.app/Contents/Developer/Library/Frameworks","DEVELOPER_LIBRARY_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Library","DEVELOPER_SDK_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs","DEVELOPER_TOOLS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Tools","DEVELOPER_USR_DIR":"/Applications/Xcode-beta.app/Contents/Developer/usr","DEVELOPMENT_LANGUAGE":"English","DONT_GENERATE_INFOPLIST_FILE":"NO","DO_HEADER_SCANNING_IN_JAM":"NO","DSTROOT":"/tmp/CompilerIdC.dst","DT_TOOLCHAIN_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain","DWARF_DSYM_FILE_NAME":"CompilerIdC.dSYM","DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT":"NO","DWARF_DSYM_FOLDER_PATH":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","EMBEDDED_CONTENT_CONTAINS_SWIFT":"NO","EMBEDDED_PROFILE_NAME":"embedded.provisionprofile","EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE":"NO","ENABLE_BITCODE":"NO","ENABLE_DEFAULT_HEADER_SEARCH_PATHS":"YES","ENABLE_HARDENED_RUNTIME":"NO","ENABLE_HEADER_DEPENDENCIES":"YES","ENABLE_ON_DEMAND_RESOURCES":"NO","ENABLE_PREVIEWS":"NO","ENABLE_TESTABILITY":"NO","EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS":".DS_Store .svn .git .hg CVS","EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES":"*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj","EXECUTABLE_NAME":"CompilerIdC","EXECUTABLE_PATH":"CompilerIdC","FILE_LIST":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects/LinkFileList","FIXED_FILES_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/FixedFiles","FRAMEWORK_FLAG_PREFIX":"-framework","FRAMEWORK_SEARCH_PATHS":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC ","FRAMEWORK_VERSION":"A","FULL_PRODUCT_NAME":"CompilerIdC","GCC3_VERSION":"3.3","GCC_DYNAMIC_NO_PIC":"NO","GCC_INLINES_ARE_PRIVATE_EXTERN":"YES","GCC_PFE_FILE_C_DIALECTS":"c objective-c c++ objective-c++","GCC_SYMBOLS_PRIVATE_EXTERN":"YES","GCC_TREAT_WARNINGS_AS_ERRORS":"NO","GCC_VERSION":"com.apple.compilers.llvm.clang.1_0","GCC_VERSION_IDENTIFIER":"com_apple_compilers_llvm_clang_1_0","GENERATE_MASTER_OBJECT_FILE":"NO","GENERATE_PKGINFO_FILE":"NO","GENERATE_PROFILING_CODE":"NO","GENERATE_TEXT_BASED_STUBS":"NO","GID":"157071322","GROUP":"PROGRESS\\TelerikDomainUsers","HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT":"YES","HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES":"YES","HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS":"YES","HEADERMAP_INCLUDES_PROJECT_HEADERS":"YES","HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES":"YES","HEADERMAP_USES_VFS":"NO","HEADER_SEARCH_PATHS":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/include ","HIDE_BITCODE_SYMBOLS":"YES","HOME":"/Users/bektchiev","ICONV":"/usr/bin/iconv","INFOPLIST_EXPAND_BUILD_SETTINGS":"YES","INFOPLIST_OUTPUT_FORMAT":"same-as-input","INFOPLIST_PREPROCESS":"NO","INLINE_PRIVATE_FRAMEWORKS":"NO","INSTALLHDRS_COPY_PHASE":"NO","INSTALLHDRS_SCRIPT_PHASE":"NO","INSTALL_DIR":"/tmp/CompilerIdC.dst/usr/local/bin","INSTALL_GROUP":"PROGRESS\\TelerikDomainUsers","INSTALL_MODE_FLAG":"u+w,go-w,a+rX","INSTALL_OWNER":"bektchiev","INSTALL_PATH":"/usr/local/bin","INSTALL_ROOT":"/tmp/CompilerIdC.dst","IOS_UNZIPPERED_TWIN_PREFIX_PATH":"/System/iOSSupport","IS_UIKITFORMAC":"NO","JAVAC_DEFAULT_FLAGS":"-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8","JAVA_APP_STUB":"/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub","JAVA_ARCHIVE_CLASSES":"YES","JAVA_ARCHIVE_TYPE":"JAR","JAVA_COMPILER":"/usr/bin/javac","JAVA_FRAMEWORK_RESOURCES_DIRS":"Resources","JAVA_JAR_FLAGS":"cv","JAVA_SOURCE_SUBDIR":".","JAVA_USE_DEPENDENCIES":"YES","JAVA_ZIP_FLAGS":"-urg","JIKES_DEFAULT_FLAGS":"+E +OLDCSO","KASAN_DEFAULT_CFLAGS":"-DKASAN=1 -fsanitize=address -mllvm -asan-globals-live-support -mllvm -asan-force-dynamic-shadow","KEEP_PRIVATE_EXTERNS":"NO","LD_DEPENDENCY_INFO_FILE":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/undefined_arch/CompilerIdC_dependency_info.dat","LD_GENERATE_MAP_FILE":"NO","LD_MAP_FILE_PATH":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-LinkMap-normal-undefined_arch.txt","LD_NO_PIE":"NO","LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER":"YES","LEGACY_DEVELOPER_DIR":"/Applications/Xcode-beta.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer","LEX":"lex","LIBRARY_DEXT_INSTALL_PATH":"/Library/DriverExtensions","LIBRARY_FLAG_NOSPACE":"YES","LIBRARY_FLAG_PREFIX":"-l","LIBRARY_KEXT_INSTALL_PATH":"/Library/Extensions","LIBRARY_SEARCH_PATHS":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC ","LINKER_DISPLAYS_MANGLED_NAMES":"NO","LINK_FILE_LIST_normal_x86_64":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList","LINK_WITH_STANDARD_LIBRARIES":"YES","LLVM_TARGET_TRIPLE_OS_VERSION":"macos10.15","LLVM_TARGET_TRIPLE_OS_VERSION_NO":"macos10.15","LLVM_TARGET_TRIPLE_OS_VERSION_YES":"macos10.15","LLVM_TARGET_TRIPLE_VENDOR":"apple","LOCALIZED_STRING_MACRO_NAMES":"NSLocalizedString CFLocalizedString","LOCAL_ADMIN_APPS_DIR":"/Applications/Utilities","LOCAL_APPS_DIR":"/Applications","LOCAL_DEVELOPER_DIR":"/Library/Developer","LOCAL_LIBRARY_DIR":"/Library","LOCROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","LOCSYMROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","MACH_O_TYPE":"mh_execute","MACOSX_DEPLOYMENT_TARGET":"10.15","MAC_OS_X_PRODUCT_BUILD_VERSION":"19A487l","MAC_OS_X_VERSION_ACTUAL":"101500","MAC_OS_X_VERSION_MAJOR":"101500","MAC_OS_X_VERSION_MINOR":"1500","METAL_LIBRARY_FILE_BASE":"default","METAL_LIBRARY_OUTPUT_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/","NATIVE_ARCH":"i386","NATIVE_ARCH_32_BIT":"i386","NATIVE_ARCH_64_BIT":"x86_64","NATIVE_ARCH_ACTUAL":"x86_64","NO_COMMON":"YES","OBJECT_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects","OBJECT_FILE_DIR_normal":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal","OBJROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","ONLY_ACTIVE_ARCH":"YES","OS":"MACOS","OSAC":"/usr/bin/osacompile","PACKAGE_TYPE":"com.apple.package-type.mach-o-executable","PASCAL_STRINGS":"YES","PATH":"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/usr/local/bin:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Library/Apple/bin:/Users/bektchiev/.nvm/versions/node/v8.11.1/bin:/Users/bektchiev/Library/Android/sdk/build-tools:/Users/bektchiev/Library/Android/sdk/tools/:/Users/bektchiev/Library/Android/sdk/platform-tools:/Users/bektchiev/.rvm/bin","PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES":"/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode-beta.app/Contents/Developer/Headers /Applications/Xcode-beta.app/Contents/Developer/SDKs /Applications/Xcode-beta.app/Contents/Developer/Platforms","PER_ARCH_OBJECT_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/undefined_arch","PER_VARIANT_OBJECT_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal","PKGINFO_FILE_PATH":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/PkgInfo","PLATFORM_DEVELOPER_APPLICATIONS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications","PLATFORM_DEVELOPER_BIN_DIR":"/Applications/Xcode-beta.app/Contents/Developer/usr/bin","PLATFORM_DEVELOPER_LIBRARY_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Library","PLATFORM_DEVELOPER_SDK_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs","PLATFORM_DEVELOPER_TOOLS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Tools","PLATFORM_DEVELOPER_USR_DIR":"/Applications/Xcode-beta.app/Contents/Developer/usr","PLATFORM_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform","PLATFORM_DISPLAY_NAME":"macOS","PLATFORM_NAME":"macosx","PLATFORM_PREFERRED_ARCH":"x86_64","PLATFORM_PRODUCT_BUILD_VERSION":"11M336w","PLIST_FILE_OUTPUT_FORMAT":"same-as-input","PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR":"YES","PRECOMP_DESTINATION_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/PrefixHeaders","PRESERVE_DEAD_CODE_INITS_AND_TERMS":"NO","PRODUCT_MODULE_NAME":"CompilerIdC","PRODUCT_NAME":"CompilerIdC","PRODUCT_SETTINGS_PATH":"","PRODUCT_TYPE":"com.apple.product-type.tool","PROFILING_CODE":"NO","PROJECT":"CompilerIdC","PROJECT_DERIVED_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/DerivedSources","PROJECT_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","PROJECT_FILE_PATH":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.xcodeproj","PROJECT_NAME":"CompilerIdC","PROJECT_TEMP_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build","PROJECT_TEMP_ROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS":"YES","REMOVE_CVS_FROM_RESOURCES":"YES","REMOVE_GIT_FROM_RESOURCES":"YES","REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES":"YES","REMOVE_HG_FROM_RESOURCES":"YES","REMOVE_SVN_FROM_RESOURCES":"YES","REZ_COLLECTOR_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/ResourceManagerResources","REZ_EXECUTABLE":"YES","REZ_OBJECTS_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/ResourceManagerResources/Objects","REZ_SEARCH_PATHS":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC ","SCAN_ALL_SOURCE_FILES_FOR_INCLUDES":"NO","SCRIPT_INPUT_FILE_COUNT":"0","SCRIPT_INPUT_FILE_LIST_COUNT":"0","SCRIPT_OUTPUT_FILE_COUNT":"0","SCRIPT_OUTPUT_FILE_LIST_COUNT":"0","SDKROOT":"/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk","SDK_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk","SDK_DIR_macosx10_15":"/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk","SDK_NAME":"macosx10.15","SDK_NAMES":"macosx10.15","SDK_PRODUCT_BUILD_VERSION":"19A471t","SDK_VERSION":"10.15","SDK_VERSION_ACTUAL":"101500","SDK_VERSION_MAJOR":"101500","SDK_VERSION_MINOR":"1500","SED":"/usr/bin/sed","SEPARATE_STRIP":"NO","SEPARATE_SYMBOL_EDIT":"NO","SET_DIR_MODE_OWNER_GROUP":"YES","SET_FILE_MODE_OWNER_GROUP":"NO","SHALLOW_BUNDLE":"NO","SHARED_DERIVED_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/DerivedSources","SHARED_PRECOMPS_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/SharedPrecompiledHeaders","SKIP_INSTALL":"NO","SOURCE_ROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","SRCROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","STRINGS_FILE_OUTPUT_ENCODING":"UTF-16","STRIP_BITCODE_FROM_COPIED_FILES":"NO","STRIP_INSTALLED_PRODUCT":"YES","STRIP_PNG_TEXT":"NO","STRIP_STYLE":"all","STRIP_SWIFT_SYMBOLS":"YES","SUPPORTED_PLATFORMS":"macosx","SUPPORTS_TEXT_BASED_API":"NO","SWIFT_PLATFORM_TARGET_PREFIX":"macos","SWIFT_TARGET_TRIPLE":"undefined_arch-apple-macos10.15","SYMROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","SYSTEM_ADMIN_APPS_DIR":"/Applications/Utilities","SYSTEM_APPS_DIR":"/Applications","SYSTEM_CORE_SERVICES_DIR":"/System/Library/CoreServices","SYSTEM_DEMOS_DIR":"/Applications/Extras","SYSTEM_DEVELOPER_APPS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications","SYSTEM_DEVELOPER_BIN_DIR":"/Applications/Xcode-beta.app/Contents/Developer/usr/bin","SYSTEM_DEVELOPER_DEMOS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications/Utilities/Built Examples","SYSTEM_DEVELOPER_DIR":"/Applications/Xcode-beta.app/Contents/Developer","SYSTEM_DEVELOPER_DOC_DIR":"/Applications/Xcode-beta.app/Contents/Developer/ADC Reference Library","SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications/Graphics Tools","SYSTEM_DEVELOPER_JAVA_TOOLS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications/Java Tools","SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications/Performance Tools","SYSTEM_DEVELOPER_RELEASENOTES_DIR":"/Applications/Xcode-beta.app/Contents/Developer/ADC Reference Library/releasenotes","SYSTEM_DEVELOPER_TOOLS":"/Applications/Xcode-beta.app/Contents/Developer/Tools","SYSTEM_DEVELOPER_TOOLS_DOC_DIR":"/Applications/Xcode-beta.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools","SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR":"/Applications/Xcode-beta.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools","SYSTEM_DEVELOPER_USR_DIR":"/Applications/Xcode-beta.app/Contents/Developer/usr","SYSTEM_DEVELOPER_UTILITIES_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Applications/Utilities","SYSTEM_DEXT_INSTALL_PATH":"/System/Library/DriverExtensions","SYSTEM_DOCUMENTATION_DIR":"/Library/Documentation","SYSTEM_KEXT_INSTALL_PATH":"/System/Library/Extensions","SYSTEM_LIBRARY_DIR":"/System/Library","TAPI_VERIFY_MODE":"ErrorsOnly","TARGETNAME":"CompilerIdC","TARGET_BUILD_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","TARGET_NAME":"CompilerIdC","TARGET_TEMP_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build","TEMP_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build","TEMP_FILES_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build","TEMP_FILE_DIR":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build","TEMP_ROOT":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","TOOLCHAINS":"com.apple.dt.toolchain.XcodeDefault","TOOLCHAIN_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain","TREAT_MISSING_BASELINES_AS_TEST_FAILURES":"NO","UID":"660804870","UNSTRIPPED_PRODUCT":"NO","USER":"bektchiev","USER_APPS_DIR":"/Users/bektchiev/Applications","USER_LIBRARY_DIR":"/Users/bektchiev/Library","USE_DYNAMIC_NO_PIC":"YES","USE_HEADERMAP":"YES","USE_HEADER_SYMLINKS":"NO","USE_LLVM_TARGET_TRIPLES":"YES","USE_LLVM_TARGET_TRIPLES_FOR_CLANG":"YES","USE_LLVM_TARGET_TRIPLES_FOR_LD":"YES","USE_LLVM_TARGET_TRIPLES_FOR_TAPI":"YES","VALIDATE_DEVELOPMENT_ASSET_PATHS":"YES_ERROR","VALIDATE_PRODUCT":"NO","VALIDATE_WORKSPACE":"NO","VALID_ARCHS":"i386 x86_64","VERBOSE_PBXCP":"NO","VERSION_INFO_BUILDER":"bektchiev","VERSION_INFO_FILE":"CompilerIdC_vers.c","VERSION_INFO_STRING":"\"@(#)PROGRAM:CompilerIdC PROJECT:CompilerIdC-\"","WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES":"NO","XCODE_APP_SUPPORT_DIR":"/Applications/Xcode-beta.app/Contents/Developer/Library/Xcode","XCODE_PRODUCT_BUILD_VERSION":"11M336w","XCODE_VERSION_ACTUAL":"1100","XCODE_VERSION_MAJOR":"1100","XCODE_VERSION_MINOR":"1100","XPCSERVICES_FOLDER_PATH":"/XPCServices","YACC":"yacc","_BOOL_":"NO","_BOOL_NO":"NO","_BOOL_YES":"YES","_DEVELOPMENT_TEAM_IS_EMPTY":"YES","_IS_EMPTY_":"YES","_MACOSX_DEPLOYMENT_TARGET_IS_EMPTY":"NO","arch":"undefined_arch","variant":"normal"},"allow-missing-inputs":true,"always-out-of-date":true,"working-directory":"/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC","control-enabled":false,"signature":"f5c7704b989b1fd555951b91e3d88e61"} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::RegisterExecutionPolicyException /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC": {"tool":"register-execution-policy-exception","description":"RegisterExecutionPolicyException /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC","inputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC","",""],"outputs":[""]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh"]} + "target-CompilerIdC-d1f817bf5d8ff1f79a62c4c7f37845f53f938c03aee3f24af46a5caa592e362d-::WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml": {"tool":"auxiliary-file","description":"WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml","inputs":["",""],"outputs":["/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml"]} + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/BuildDescriptionCacheIndex-9299e08f650f180a1e64fba6054c9eed b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/BuildDescriptionCacheIndex-9299e08f650f180a1e64fba6054c9eed new file mode 100644 index 000000000..ad73ec101 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/BuildDescriptionCacheIndex-9299e08f650f180a1e64fba6054c9eed differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/build.db b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/build.db new file mode 100644 index 000000000..e36d3eeab Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/3.14.4/CompilerIdC/XCBuildData/build.db differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CMakeError.log b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CMakeError.log new file mode 100644 index 000000000..0a7eb7a97 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CMakeError.log @@ -0,0 +1,1241 @@ +Determining if the function _chmod exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_f5a1a -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_f5a1a OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/cmTC_f5a1a.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_chmod -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_f5a1a normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/cmTC_f5a1a.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/cmTC_f5a1a_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f5a1a.build/Objects-normal/x86_64/cmTC_f5a1a_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_f5a1a +Undefined symbols for architecture x86_64: + "__chmod", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_f5a1a normal x86_64 +(1 failure) + + +Determining if the function _close exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_fc438 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_fc438 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/cmTC_fc438.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_close -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_fc438 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/cmTC_fc438.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/cmTC_fc438_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fc438.build/Objects-normal/x86_64/cmTC_fc438_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_fc438 +Undefined symbols for architecture x86_64: + "__close", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_fc438 normal x86_64 +(1 failure) + + +Determining if the function _dup exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_1fda0 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_1fda0 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/cmTC_1fda0.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_dup -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_1fda0 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/cmTC_1fda0.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/cmTC_1fda0_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1fda0.build/Objects-normal/x86_64/cmTC_1fda0_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_1fda0 +Undefined symbols for architecture x86_64: + "__dup", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_1fda0 normal x86_64 +(1 failure) + + +Determining if the function _fdopen exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_559c3 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_559c3 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/cmTC_559c3.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_fdopen -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_559c3 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/cmTC_559c3.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/cmTC_559c3_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_559c3.build/Objects-normal/x86_64/cmTC_559c3_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_559c3 +Undefined symbols for architecture x86_64: + "__fdopen", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_559c3 normal x86_64 +(1 failure) + + +Determining if the function _fileno exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_36132 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_36132 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/cmTC_36132.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_fileno -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_36132 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/cmTC_36132.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/cmTC_36132_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36132.build/Objects-normal/x86_64/cmTC_36132_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_36132 +Undefined symbols for architecture x86_64: + "__fileno", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_36132 normal x86_64 +(1 failure) + + +Determining if the function _open exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_c03ae -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_c03ae OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/cmTC_c03ae.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_open -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_c03ae normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/cmTC_c03ae.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/cmTC_c03ae_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c03ae.build/Objects-normal/x86_64/cmTC_c03ae_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_c03ae +Undefined symbols for architecture x86_64: + "__open", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_c03ae normal x86_64 +(1 failure) + + +Determining if the function _setmode exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_912fb -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_912fb OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/cmTC_912fb.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_setmode -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_912fb normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/cmTC_912fb.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/cmTC_912fb_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_912fb.build/Objects-normal/x86_64/cmTC_912fb_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_912fb +Undefined symbols for architecture x86_64: + "__setmode", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_912fb normal x86_64 +(1 failure) + + +Determining if the function _snprintf exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_361f3 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_361f3 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/cmTC_361f3.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_snprintf -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_361f3 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/cmTC_361f3.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/cmTC_361f3_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_361f3.build/Objects-normal/x86_64/cmTC_361f3_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_361f3 +Undefined symbols for architecture x86_64: + "__snprintf", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_361f3 normal x86_64 +(1 failure) + + +Determining if the function _strdup exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_d09f5 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_d09f5 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/cmTC_d09f5.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_strdup -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_d09f5 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/cmTC_d09f5.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/cmTC_d09f5_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d09f5.build/Objects-normal/x86_64/cmTC_d09f5_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_d09f5 +Undefined symbols for architecture x86_64: + "__strdup", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_d09f5 normal x86_64 +(1 failure) + + +Determining if the function _stricmp exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_79f1f -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_79f1f OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/cmTC_79f1f.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_stricmp -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_79f1f normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/cmTC_79f1f.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/cmTC_79f1f_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_79f1f.build/Objects-normal/x86_64/cmTC_79f1f_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_79f1f +Undefined symbols for architecture x86_64: + "__stricmp", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_79f1f normal x86_64 +(1 failure) + + +Determining if the function _strtoi64 exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_e9023 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_e9023 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/cmTC_e9023.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_strtoi64 -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_e9023 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/cmTC_e9023.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/cmTC_e9023_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e9023.build/Objects-normal/x86_64/cmTC_e9023_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e9023 +Undefined symbols for architecture x86_64: + "__strtoi64", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_e9023 normal x86_64 +(1 failure) + + +Determining if the function _strtoui64 exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_ef4e5 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_ef4e5 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/cmTC_ef4e5.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_strtoui64 -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_ef4e5 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/cmTC_ef4e5.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/cmTC_ef4e5_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_ef4e5.build/Objects-normal/x86_64/cmTC_ef4e5_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_ef4e5 +Undefined symbols for architecture x86_64: + "__strtoui64", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_ef4e5 normal x86_64 +(1 failure) + + +Determining if the function _umask exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_42f38 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_42f38 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/cmTC_42f38.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_umask -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_42f38 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/cmTC_42f38.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/cmTC_42f38_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_42f38.build/Objects-normal/x86_64/cmTC_42f38_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_42f38 +Undefined symbols for architecture x86_64: + "__umask", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_42f38 normal x86_64 +(1 failure) + + +Determining if the function _unlink exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_4bf61 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_4bf61 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/cmTC_4bf61.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=_unlink -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_4bf61 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/cmTC_4bf61.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/cmTC_4bf61_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4bf61.build/Objects-normal/x86_64/cmTC_4bf61_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4bf61 +Undefined symbols for architecture x86_64: + "__unlink", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_4bf61 normal x86_64 +(1 failure) + + +Determining if the function explicit_bzero exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_c98c9 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_c98c9 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/cmTC_c98c9.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=explicit_bzero -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_c98c9 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/cmTC_c98c9.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/cmTC_c98c9_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c98c9.build/Objects-normal/x86_64/cmTC_c98c9_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_c98c9 +Undefined symbols for architecture x86_64: + "_explicit_bzero", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_c98c9 normal x86_64 +(1 failure) + + +Determining if the function explicit_memset exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_d8680 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_d8680 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/cmTC_d8680.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=explicit_memset -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_d8680 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/cmTC_d8680.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/cmTC_d8680_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d8680.build/Objects-normal/x86_64/cmTC_d8680_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_d8680 +Undefined symbols for architecture x86_64: + "_explicit_memset", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_d8680 normal x86_64 +(1 failure) + + +Determining if the function stricmp exists failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_517db -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_517db OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/cmTC_517db.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=stricmp -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_517db normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/cmTC_517db.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/cmTC_517db_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_517db.build/Objects-normal/x86_64/cmTC_517db_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_517db +Undefined symbols for architecture x86_64: + "_stricmp", referenced from: + _main in CheckFunctionExists.o +ld: symbol(s) not found for architecture x86_64 +clang: error: linker command failed with exit code 1 (use -v to see invocation) + +** BUILD FAILED ** + + +The following build commands failed: + Ld Debug/cmTC_517db normal x86_64 +(1 failure) + + +Determining size of __int8 failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_fe77b -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_fe77b OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/Objects-normal/x86_64/cmTC_fe77b.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/Objects-normal/x86_64/__INT8_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/Objects-normal/x86_64/__INT8_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/Objects-normal/x86_64/__INT8_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/Objects-normal/x86_64/__INT8_LIBZIP.o +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:25:12: error: use of undeclared identifier '__int8' + ('0' + ((SIZE / 10000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int8)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:26:12: error: use of undeclared identifier '__int8' + ('0' + ((SIZE / 1000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int8)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:27:12: error: use of undeclared identifier '__int8' + ('0' + ((SIZE / 100)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int8)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:28:12: error: use of undeclared identifier '__int8' + ('0' + ((SIZE / 10)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int8)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:29:12: error: use of undeclared identifier '__int8' + ('0' + (SIZE % 10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int8)) + ^ +5 errors generated. + +** BUILD FAILED ** + + +The following build commands failed: + CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_fe77b.build/Objects-normal/x86_64/__INT8_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler +(1 failure) + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c: +#include +#include +#include + + +#undef KEY +#if defined(__i386) +# define KEY '_','_','i','3','8','6' +#elif defined(__x86_64) +# define KEY '_','_','x','8','6','_','6','4' +#elif defined(__ppc__) +# define KEY '_','_','p','p','c','_','_' +#elif defined(__ppc64__) +# define KEY '_','_','p','p','c','6','4','_','_' +#elif defined(__aarch64__) +# define KEY '_','_','a','a','r','c','h','6','4','_','_' +#elif defined(__ARM_ARCH_7A__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' +#elif defined(__ARM_ARCH_7S__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' +#endif + +#define SIZE (sizeof(__int8)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', + ('0' + ((SIZE / 10000)%10)), + ('0' + ((SIZE / 1000)%10)), + ('0' + ((SIZE / 100)%10)), + ('0' + ((SIZE / 10)%10)), + ('0' + (SIZE % 10)), + ']', +#ifdef KEY + ' ','k','e','y','[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; char *argv[]; +#else +int main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} + + +Determining size of __int16 failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_5fb04 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_5fb04 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/Objects-normal/x86_64/cmTC_5fb04.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/Objects-normal/x86_64/__INT16_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/Objects-normal/x86_64/__INT16_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/Objects-normal/x86_64/__INT16_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/Objects-normal/x86_64/__INT16_LIBZIP.o +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:25:12: error: use of undeclared identifier '__int16' + ('0' + ((SIZE / 10000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int16)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:26:12: error: use of undeclared identifier '__int16' + ('0' + ((SIZE / 1000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int16)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:27:12: error: use of undeclared identifier '__int16' + ('0' + ((SIZE / 100)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int16)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:28:12: error: use of undeclared identifier '__int16' + ('0' + ((SIZE / 10)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int16)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:29:12: error: use of undeclared identifier '__int16' + ('0' + (SIZE % 10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int16)) + ^ +5 errors generated. + +** BUILD FAILED ** + + +The following build commands failed: + CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_5fb04.build/Objects-normal/x86_64/__INT16_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler +(1 failure) + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c: +#include +#include +#include + + +#undef KEY +#if defined(__i386) +# define KEY '_','_','i','3','8','6' +#elif defined(__x86_64) +# define KEY '_','_','x','8','6','_','6','4' +#elif defined(__ppc__) +# define KEY '_','_','p','p','c','_','_' +#elif defined(__ppc64__) +# define KEY '_','_','p','p','c','6','4','_','_' +#elif defined(__aarch64__) +# define KEY '_','_','a','a','r','c','h','6','4','_','_' +#elif defined(__ARM_ARCH_7A__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' +#elif defined(__ARM_ARCH_7S__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' +#endif + +#define SIZE (sizeof(__int16)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', + ('0' + ((SIZE / 10000)%10)), + ('0' + ((SIZE / 1000)%10)), + ('0' + ((SIZE / 100)%10)), + ('0' + ((SIZE / 10)%10)), + ('0' + (SIZE % 10)), + ']', +#ifdef KEY + ' ','k','e','y','[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; char *argv[]; +#else +int main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} + + +Determining size of __int32 failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_7ff10 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_7ff10 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/Objects-normal/x86_64/cmTC_7ff10.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/Objects-normal/x86_64/__INT32_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/Objects-normal/x86_64/__INT32_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/Objects-normal/x86_64/__INT32_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/Objects-normal/x86_64/__INT32_LIBZIP.o +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:25:12: error: use of undeclared identifier '__int32' + ('0' + ((SIZE / 10000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int32)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:26:12: error: use of undeclared identifier '__int32' + ('0' + ((SIZE / 1000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int32)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:27:12: error: use of undeclared identifier '__int32' + ('0' + ((SIZE / 100)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int32)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:28:12: error: use of undeclared identifier '__int32' + ('0' + ((SIZE / 10)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int32)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:29:12: error: use of undeclared identifier '__int32' + ('0' + (SIZE % 10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int32)) + ^ +5 errors generated. + +** BUILD FAILED ** + + +The following build commands failed: + CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_7ff10.build/Objects-normal/x86_64/__INT32_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler +(1 failure) + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c: +#include +#include +#include + + +#undef KEY +#if defined(__i386) +# define KEY '_','_','i','3','8','6' +#elif defined(__x86_64) +# define KEY '_','_','x','8','6','_','6','4' +#elif defined(__ppc__) +# define KEY '_','_','p','p','c','_','_' +#elif defined(__ppc64__) +# define KEY '_','_','p','p','c','6','4','_','_' +#elif defined(__aarch64__) +# define KEY '_','_','a','a','r','c','h','6','4','_','_' +#elif defined(__ARM_ARCH_7A__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' +#elif defined(__ARM_ARCH_7S__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' +#endif + +#define SIZE (sizeof(__int32)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', + ('0' + ((SIZE / 10000)%10)), + ('0' + ((SIZE / 1000)%10)), + ('0' + ((SIZE / 100)%10)), + ('0' + ((SIZE / 10)%10)), + ('0' + (SIZE % 10)), + ']', +#ifdef KEY + ' ','k','e','y','[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; char *argv[]; +#else +int main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} + + +Determining size of __int64 failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_45b6b -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_45b6b OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/Objects-normal/x86_64/cmTC_45b6b.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/Objects-normal/x86_64/__INT64_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/Objects-normal/x86_64/__INT64_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/Objects-normal/x86_64/__INT64_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/Objects-normal/x86_64/__INT64_LIBZIP.o +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:25:12: error: use of undeclared identifier '__int64' + ('0' + ((SIZE / 10000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int64)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:26:12: error: use of undeclared identifier '__int64' + ('0' + ((SIZE / 1000)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int64)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:27:12: error: use of undeclared identifier '__int64' + ('0' + ((SIZE / 100)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int64)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:28:12: error: use of undeclared identifier '__int64' + ('0' + ((SIZE / 10)%10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int64)) + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:29:12: error: use of undeclared identifier '__int64' + ('0' + (SIZE % 10)), + ^ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c:23:22: note: expanded from macro 'SIZE' +#define SIZE (sizeof(__int64)) + ^ +5 errors generated. + +** BUILD FAILED ** + + +The following build commands failed: + CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_45b6b.build/Objects-normal/x86_64/__INT64_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler +(1 failure) + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c: +#include +#include +#include + + +#undef KEY +#if defined(__i386) +# define KEY '_','_','i','3','8','6' +#elif defined(__x86_64) +# define KEY '_','_','x','8','6','_','6','4' +#elif defined(__ppc__) +# define KEY '_','_','p','p','c','_','_' +#elif defined(__ppc64__) +# define KEY '_','_','p','p','c','6','4','_','_' +#elif defined(__aarch64__) +# define KEY '_','_','a','a','r','c','h','6','4','_','_' +#elif defined(__ARM_ARCH_7A__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' +#elif defined(__ARM_ARCH_7S__) +# define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' +#endif + +#define SIZE (sizeof(__int64)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', + ('0' + ((SIZE / 10000)%10)), + ('0' + ((SIZE / 1000)%10)), + ('0' + ((SIZE / 100)%10)), + ('0' + ((SIZE / 10)%10)), + ('0' + (SIZE % 10)), + ']', +#ifdef KEY + ' ','k','e','y','[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; char *argv[]; +#else +int main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} + + +Performing C SOURCE FILE Test HAVE_FICLONERANGE failed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_926bf -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_926bf OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/Objects-normal/x86_64/cmTC_926bf.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/Objects-normal/x86_64/src.o src.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DHAVE_FICLONERANGE -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/Objects-normal/x86_64/src.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/Objects-normal/x86_64/src.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/src.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/Objects-normal/x86_64/src.o +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/src.c:2:10: fatal error: 'linux/fs.h' file not found +#include + ^~~~~~~~~~~~ +1 error generated. + +** BUILD FAILED ** + + +The following build commands failed: + CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_926bf.build/Objects-normal/x86_64/src.o src.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler +(1 failure) + +Source file was: +#include +#include +int main(int argc, char *argv[]) { unsigned long x = FICLONERANGE; } diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CMakeOutput.log b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CMakeOutput.log new file mode 100644 index 000000000..c007bba03 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CMakeOutput.log @@ -0,0 +1,3146 @@ +The system is: Darwin - 19.0.0 - x86_64 +Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. +Compiler: +Build flags: +Id flags: + +The output was: +0 +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +note: Using new build system +note: Planning build +note: Constructing build description +warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. +CreateBuildDirectory /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + builtin-create-build-directory /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/all-product-headers.yaml + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC.hmap + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-non-framework-target-headers.hmap + +CompileC /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + export LANG=en_US.US-ASCII + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-generated-files.hmap -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-own-target-headers.hmap -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-all-target-headers.hmap -iquote /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/CompilerIdC-project-headers.hmap -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/DerivedSources -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CMakeCCompilerId.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CMakeCCompilerId.o + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList + +Ld /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC normal x86_64 (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_lto.o -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Objects-normal/x86_64/CompilerIdC_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC + +WriteAuxiliaryFile /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh + +PhaseScriptExecution Run\ Script /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + /bin/sh -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC.build/Debug/CompilerIdC.build/Script-2C8FEB8E15DC1A1A00E56A5D.sh +GCC_VERSION=com.apple.compilers.llvm.clang.1_0 +ARCHS=x86_64 + +RegisterExecutionPolicyException /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC (in target: CompilerIdC) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC + builtin-RegisterExecutionPolicyException /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC +note: Execution policy exception registration failed and was skipped: Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted" + +** BUILD SUCCEEDED ** [0.539 sec] + + + +Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC" + +The C compiler identification is AppleClang, found in "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CompilerIdC/CompilerIdC" + +Determining if the C compiler works passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_3a609 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_3a609 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/cmTC_3a609.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/testCCompiler.o testCCompiler.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/testCCompiler.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/testCCompiler.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/testCCompiler.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/testCCompiler.o + +Ld Debug/cmTC_3a609 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/cmTC_3a609.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/cmTC_3a609_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/Objects-normal/x86_64/cmTC_3a609_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_3a609 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/cmTC_3a609.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/cmTC_3a609.xcent + +CodeSign Debug/cmTC_3a609 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3a609.build/cmTC_3a609.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_3a609 + +** BUILD SUCCEEDED ** [0.212 sec] + + + +Detecting C compiler ABI info compiled with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_4e997 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_4e997 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompilerABI.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -v -Wl,-v -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompilerABI.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.o +Apple clang version 11.0.0 (clang-1100.0.20.17) +Target: x86_64-apple-macos10.15 +Thread model: posix +InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin +clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument] + "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 510.3 -v -coverage-notes-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.gcno -resource-dir /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0 -dependency-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.d -skip-unused-modulemap-deps -MT dependencies -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -D "CMAKE_INTDIR=\"Debug\"" -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources-normal/x86_64 -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources/x86_64 -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -O0 -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmacro-backtrace-limit 0 -fmessage-length 0 -stack-protector 1 -fstack-check -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fpascal-strings -fmax-type-align=16 -fdiagnostics-show-option -fdiagnostics-show-note-include-stack -fasm-blocks -serialize-diagnostic-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.o -x c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompilerABI.c +clang -cc1 version 11.0.0 (clang-1100.0.20.17) default target x86_64-apple-darwin19.0.0 +ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include" +ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources-normal/x86_64" +ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources/x86_64" +ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources" +ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug" +ignoring nonexistent directory "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/local/include" +ignoring nonexistent directory "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/Library/Frameworks" +#include "..." search starts here: +#include <...> search starts here: + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include + /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include + /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks (framework directory) +End of search list. + +Ld Debug/cmTC_4e997 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_lto.o -Xlinker -no_deduplicate -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997 +Apple clang version 11.0.0 (clang-1100.0.20.17) +Target: x86_64-apple-macos10.15 +Thread model: posix +InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin + "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997 -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList -object_path_lto /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_lto.o -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_dependency_info.dat -lSystem /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug +@(#)PROGRAM:ld PROJECT:ld64-510.3 +BUILD 10:27:00 May 27 2019 +configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em +Library search paths: + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug + /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib +Framework search paths: + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug + /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/ + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/cmTC_4e997.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/cmTC_4e997.xcent + +CodeSign Debug/cmTC_4e997 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/cmTC_4e997.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997 + +** BUILD SUCCEEDED ** [0.200 sec] + + + +Parsed C implicit include dir info from above output: rv=done + found start of include info + found start of implicit include info + add: [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include] + add: [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include] + add: [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include] + end of search list found + collapse include dir [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include] ==> [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include] + collapse include dir [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include] ==> [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include] + collapse include dir [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include] ==> [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include] + implicit include dirs: [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include;/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include;/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include] + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_4e997 -configuration Debug -hideShellScriptEnvironment ] + ignore line: [User defaults from command line:] + ignore line: [ HideShellScriptEnvironment = YES] + ignore line: [] + ignore line: [Prepare build] + ignore line: [note: Using legacy build system] + ignore line: [] + ignore line: [Build Preparation] + ignore line: [Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks] + ignore line: [] + ignore line: [=== BUILD TARGET cmTC_4e997 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug ===] + ignore line: [] + ignore line: [Check dependencies] + ignore line: [] + ignore line: [Write auxiliary files] + ignore line: [/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64] + ignore line: [write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList] + ignore line: [] + ignore line: [CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompilerABI.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler] + ignore line: [ (running because there is no record of having run this command since the last clean)] + ignore line: [ cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp] + ignore line: [ /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -v -Wl,-v -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompilerABI.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.o] + ignore line: [Apple clang version 11.0.0 (clang-1100.0.20.17)] + ignore line: [Target: x86_64-apple-macos10.15] + ignore line: [Thread model: posix] + ignore line: [InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin] + ignore line: [clang: warning: -Wl,-v: 'linker' input unused [-Wunused-command-line-argument]] + ignore line: [ "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" -cc1 -triple x86_64-apple-macosx10.15.0 -Wdeprecated-objc-isa-usage -Werror=deprecated-objc-isa-usage -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -discard-value-names -main-file-name CMakeCCompilerABI.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fno-strict-return -masm-verbose -munwind-tables -target-sdk-version=10.15 -target-cpu penryn -dwarf-column-info -debug-info-kind=standalone -dwarf-version=4 -debugger-tuning=lldb -ggnu-pubnames -target-linker-version 510.3 -v -coverage-notes-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.gcno -resource-dir /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0 -dependency-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.d -skip-unused-modulemap-deps -MT dependencies -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -D "CMAKE_INTDIR=\"Debug\"" -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources-normal/x86_64 -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources/x86_64 -I /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -O0 -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -Wno-framework-include-private-from-public -Wno-atimport-in-framework-header -Wno-extra-semi-stmt -Wno-quoted-include-in-framework-header -fdebug-compilation-dir /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp -ferror-limit 19 -fmacro-backtrace-limit 0 -fmessage-length 0 -stack-protector 1 -fstack-check -fblocks -fencode-extended-block-signature -fregister-global-dtors-with-atexit -fobjc-runtime=macosx-10.15.0 -fpascal-strings -fmax-type-align=16 -fdiagnostics-show-option -fdiagnostics-show-note-include-stack -fasm-blocks -serialize-diagnostic-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.dia -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/CMakeCCompilerABI.o -x c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompilerABI.c] + ignore line: [clang -cc1 version 11.0.0 (clang-1100.0.20.17) default target x86_64-apple-darwin19.0.0] + ignore line: [ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include"] + ignore line: [ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources-normal/x86_64"] + ignore line: [ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources/x86_64"] + ignore line: [ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/DerivedSources"] + ignore line: [ignoring nonexistent directory "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug"] + ignore line: [ignoring nonexistent directory "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/local/include"] + ignore line: [ignoring nonexistent directory "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/Library/Frameworks"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/include] + ignore line: [ /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include] + ignore line: [ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include] + ignore line: [ /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks (framework directory)] + ignore line: [End of search list.] + ignore line: [] + ignore line: [Ld Debug/cmTC_4e997 normal x86_64] + ignore line: [ (running because there is no record of having run this command since the last clean)] + ignore line: [ cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp] + ignore line: [ /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_lto.o -Xlinker -no_deduplicate -v -Wl,-v -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997] + ignore line: [Apple clang version 11.0.0 (clang-1100.0.20.17)] + ignore line: [Target: x86_64-apple-macos10.15] + ignore line: [Thread model: posix] + ignore line: [InstalledDir: /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin] + reduced line: [ "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997 -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList -object_path_lto /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_lto.o -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_dependency_info.dat -lSystem /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug] + to: [ "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997 -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList -object_path_lto /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_lto.o -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_dependency_info.dat -lSystem /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a ] + link line: [ "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -lto_library /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch x86_64 -macosx_version_min 10.15.0 -syslibroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997 -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList -object_path_lto /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_lto.o -no_deduplicate -v -search_paths_first -headerpad_max_install_names -dependency_info /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_dependency_info.dat -lSystem /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a ] + arg [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore + arg [-demangle] ==> ignore + arg [-lto_library] ==> ignore, skip following value + arg [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib] ==> skip value of -lto_library + arg [-dynamic] ==> ignore + arg [-arch] ==> ignore + arg [x86_64] ==> ignore + arg [-macosx_version_min] ==> ignore + arg [10.15.0] ==> ignore + arg [-syslibroot] ==> ignore + arg [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk] ==> ignore + arg [-o] ==> ignore + arg [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4e997] ==> ignore + arg [-filelist] ==> ignore + arg [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997.LinkFileList] ==> ignore + arg [-object_path_lto] ==> ignore + arg [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_lto.o] ==> ignore + arg [-no_deduplicate] ==> ignore + arg [-v] ==> ignore + arg [-search_paths_first] ==> ignore + arg [-headerpad_max_install_names] ==> ignore + arg [-dependency_info] ==> ignore + arg [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4e997.build/Objects-normal/x86_64/cmTC_4e997_dependency_info.dat] ==> ignore + arg [-lSystem] ==> lib [System] + arg [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a] + Library search paths: [;/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib] + Framework search paths: [;/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug;/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/] + remove lib [System] + remove lib [/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/11.0.0/lib/darwin/libclang_rt.osx.a] + collapse library dir [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug] ==> [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug], skipping non-system directory + collapse library dir [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib] ==> [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib] + collapse framework dir [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug] ==> [/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug], skipping non-system directory + collapse framework dir [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/] ==> [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks] + implicit libs: [] + implicit dirs: [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/lib] + implicit fwks: [/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks] + + + + +Detecting C [-std=c11] compiler features compiled with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_dbe8c -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_dbe8c OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/cmTC_dbe8c.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/feature_tests.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -std=c11 -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/feature_tests.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/feature_tests.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/feature_tests.o + +Ld Debug/cmTC_dbe8c normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/cmTC_dbe8c.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/cmTC_dbe8c_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/Objects-normal/x86_64/cmTC_dbe8c_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_dbe8c + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/cmTC_dbe8c.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/cmTC_dbe8c.xcent + +CodeSign Debug/cmTC_dbe8c + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_dbe8c.build/cmTC_dbe8c.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_dbe8c + +** BUILD SUCCEEDED ** [0.215 sec] + + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:1c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c99] compiler features compiled with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_4b2c1 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_4b2c1 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/cmTC_4b2c1.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/feature_tests.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -std=c99 -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/feature_tests.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/feature_tests.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/feature_tests.o + +Ld Debug/cmTC_4b2c1 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/cmTC_4b2c1.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/cmTC_4b2c1_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/Objects-normal/x86_64/cmTC_4b2c1_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4b2c1 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/cmTC_4b2c1.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/cmTC_4b2c1.xcent + +CodeSign Debug/cmTC_4b2c1 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_4b2c1.build/cmTC_4b2c1.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_4b2c1 + +** BUILD SUCCEEDED ** [0.215 sec] + + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:1c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:1c_variadic_macros + + +Detecting C [-std=c90] compiler features compiled with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_89e0f -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_89e0f OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/cmTC_89e0f.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/feature_tests.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/feature_tests.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -std=c90 -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/feature_tests.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/feature_tests.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/feature_tests.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/feature_tests.o + +Ld Debug/cmTC_89e0f normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/cmTC_89e0f.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/cmTC_89e0f_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/Objects-normal/x86_64/cmTC_89e0f_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_89e0f + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/cmTC_89e0f.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/cmTC_89e0f.xcent + +CodeSign Debug/cmTC_89e0f + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_89e0f.build/cmTC_89e0f.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_89e0f + +** BUILD SUCCEEDED ** [0.199 sec] + + + + Feature record: C_FEATURE:1c_function_prototypes + Feature record: C_FEATURE:0c_restrict + Feature record: C_FEATURE:0c_static_assert + Feature record: C_FEATURE:0c_variadic_macros +Determining if files CommonCrypto/CommonCrypto.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_abfc8 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_abfc8 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/cmTC_abfc8.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/COMMONCRYPTO_FOUND.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/COMMONCRYPTO_FOUND.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/COMMONCRYPTO_FOUND.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/COMMONCRYPTO_FOUND.o + +Ld Debug/cmTC_abfc8 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/cmTC_abfc8.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/cmTC_abfc8_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/Objects-normal/x86_64/cmTC_abfc8_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_abfc8 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/cmTC_abfc8.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/cmTC_abfc8.xcent + +CodeSign Debug/cmTC_abfc8 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_abfc8.build/cmTC_abfc8.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_abfc8 + +** BUILD SUCCEEDED ** [0.366 sec] + + + +Determining if the function clonefile exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_19ecb -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_19ecb OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/cmTC_19ecb.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=clonefile -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_19ecb normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/cmTC_19ecb.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/cmTC_19ecb_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/Objects-normal/x86_64/cmTC_19ecb_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_19ecb + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/cmTC_19ecb.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/cmTC_19ecb.xcent + +CodeSign Debug/cmTC_19ecb + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_19ecb.build/cmTC_19ecb.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_19ecb + +** BUILD SUCCEEDED ** [0.221 sec] + + + +Determining if the function fileno exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_159fe -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_159fe OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/cmTC_159fe.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=fileno -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_159fe normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/cmTC_159fe.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/cmTC_159fe_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/Objects-normal/x86_64/cmTC_159fe_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_159fe + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/cmTC_159fe.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/cmTC_159fe.xcent + +CodeSign Debug/cmTC_159fe + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_159fe.build/cmTC_159fe.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_159fe + +** BUILD SUCCEEDED ** [0.199 sec] + + + +Determining if the function fseeko exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_f939e -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_f939e OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/cmTC_f939e.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=fseeko -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_f939e normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/cmTC_f939e.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/cmTC_f939e_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/Objects-normal/x86_64/cmTC_f939e_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_f939e + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/cmTC_f939e.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/cmTC_f939e.xcent + +CodeSign Debug/cmTC_f939e + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f939e.build/cmTC_f939e.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_f939e + +** BUILD SUCCEEDED ** [0.211 sec] + + + +Determining if the function ftello exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_122f7 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_122f7 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/cmTC_122f7.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=ftello -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_122f7 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/cmTC_122f7.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/cmTC_122f7_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/Objects-normal/x86_64/cmTC_122f7_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_122f7 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/cmTC_122f7.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/cmTC_122f7.xcent + +CodeSign Debug/cmTC_122f7 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_122f7.build/cmTC_122f7.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_122f7 + +** BUILD SUCCEEDED ** [0.202 sec] + + + +Determining if the function getprogname exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_58f07 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_58f07 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/cmTC_58f07.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=getprogname -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_58f07 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/cmTC_58f07.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/cmTC_58f07_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/Objects-normal/x86_64/cmTC_58f07_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_58f07 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/cmTC_58f07.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/cmTC_58f07.xcent + +CodeSign Debug/cmTC_58f07 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_58f07.build/cmTC_58f07.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_58f07 + +** BUILD SUCCEEDED ** [0.195 sec] + + + +Determining if the function open exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_63f16 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_63f16 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/cmTC_63f16.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=open -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_63f16 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/cmTC_63f16.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/cmTC_63f16_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/Objects-normal/x86_64/cmTC_63f16_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_63f16 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/cmTC_63f16.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/cmTC_63f16.xcent + +CodeSign Debug/cmTC_63f16 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_63f16.build/cmTC_63f16.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_63f16 + +** BUILD SUCCEEDED ** [0.209 sec] + + + +Determining if the function mkstemp exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_805c9 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_805c9 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/cmTC_805c9.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=mkstemp -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_805c9 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/cmTC_805c9.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/cmTC_805c9_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/Objects-normal/x86_64/cmTC_805c9_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_805c9 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/cmTC_805c9.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/cmTC_805c9.xcent + +CodeSign Debug/cmTC_805c9 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_805c9.build/cmTC_805c9.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_805c9 + +** BUILD SUCCEEDED ** [0.211 sec] + + + +Determining if the function setmode exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_71f0b -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_71f0b OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/cmTC_71f0b.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=setmode -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_71f0b normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/cmTC_71f0b.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/cmTC_71f0b_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/Objects-normal/x86_64/cmTC_71f0b_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_71f0b + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/cmTC_71f0b.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/cmTC_71f0b.xcent + +CodeSign Debug/cmTC_71f0b + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_71f0b.build/cmTC_71f0b.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_71f0b + +** BUILD SUCCEEDED ** [0.219 sec] + + + +Determining if the function snprintf exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_b3855 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_b3855 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/cmTC_b3855.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=snprintf -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/CheckFunctionExists.o +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] + CHECK_FUNCTION_EXISTS(void); + ^ +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS snprintf + ^ +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS snprintf + ^ +1 warning generated. + +Ld Debug/cmTC_b3855 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/cmTC_b3855.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/cmTC_b3855_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/Objects-normal/x86_64/cmTC_b3855_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_b3855 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/cmTC_b3855.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/cmTC_b3855.xcent + +CodeSign Debug/cmTC_b3855 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_b3855.build/cmTC_b3855.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_b3855 + +** BUILD SUCCEEDED ** [0.215 sec] + + + +Determining if the function strcasecmp exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_289fa -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_289fa OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/cmTC_289fa.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=strcasecmp -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/CheckFunctionExists.o +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] + CHECK_FUNCTION_EXISTS(void); + ^ +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strcasecmp + ^ +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strcasecmp + ^ +1 warning generated. + +Ld Debug/cmTC_289fa normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/cmTC_289fa.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/cmTC_289fa_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/Objects-normal/x86_64/cmTC_289fa_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_289fa + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/cmTC_289fa.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/cmTC_289fa.xcent + +CodeSign Debug/cmTC_289fa + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_289fa.build/cmTC_289fa.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_289fa + +** BUILD SUCCEEDED ** [0.179 sec] + + + +Determining if the function strdup exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_9ea50 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_9ea50 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/cmTC_9ea50.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=strdup -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/CheckFunctionExists.o +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] + CHECK_FUNCTION_EXISTS(void); + ^ +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strdup + ^ +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'strdup' is a builtin with type 'char *(const char *)' +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strdup + ^ +1 warning generated. + +Ld Debug/cmTC_9ea50 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/cmTC_9ea50.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/cmTC_9ea50_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/Objects-normal/x86_64/cmTC_9ea50_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_9ea50 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/cmTC_9ea50.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/cmTC_9ea50.xcent + +CodeSign Debug/cmTC_9ea50 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_9ea50.build/cmTC_9ea50.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_9ea50 + +** BUILD SUCCEEDED ** [0.203 sec] + + + +Determining if the function strtoll exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_bc7fc -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_bc7fc OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/cmTC_bc7fc.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=strtoll -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/CheckFunctionExists.o +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'strtoll' [-Wincompatible-library-redeclaration] + CHECK_FUNCTION_EXISTS(void); + ^ +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strtoll + ^ +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'strtoll' is a builtin with type 'long long (const char *, char **, int)' +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strtoll + ^ +1 warning generated. + +Ld Debug/cmTC_bc7fc normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/cmTC_bc7fc.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/cmTC_bc7fc_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/Objects-normal/x86_64/cmTC_bc7fc_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_bc7fc + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/cmTC_bc7fc.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/cmTC_bc7fc.xcent + +CodeSign Debug/cmTC_bc7fc + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bc7fc.build/cmTC_bc7fc.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_bc7fc + +** BUILD SUCCEEDED ** [0.258 sec] + + + +Determining if the function strtoull exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_a31ba -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_a31ba OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/cmTC_a31ba.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=strtoull -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/CheckFunctionExists.o +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: warning: incompatible redeclaration of library function 'strtoull' [-Wincompatible-library-redeclaration] + CHECK_FUNCTION_EXISTS(void); + ^ +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strtoull + ^ +/usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c:7:3: note: 'strtoull' is a builtin with type 'unsigned long long (const char *, char **, int)' +In file included from :363: +:2:31: note: expanded from here +#define CHECK_FUNCTION_EXISTS strtoull + ^ +1 warning generated. + +Ld Debug/cmTC_a31ba normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/cmTC_a31ba.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/cmTC_a31ba_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/Objects-normal/x86_64/cmTC_a31ba_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_a31ba + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/cmTC_a31ba.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/cmTC_a31ba.xcent + +CodeSign Debug/cmTC_a31ba + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a31ba.build/cmTC_a31ba.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_a31ba + +** BUILD SUCCEEDED ** [0.214 sec] + + + +Determining if files sys/types.h;sys/stat.h;fts.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_6412f -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_6412f OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/cmTC_6412f.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/HAVE_FTS_H.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_FTS_H.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/HAVE_FTS_H.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/HAVE_FTS_H.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_FTS_H.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/HAVE_FTS_H.o + +Ld Debug/cmTC_6412f normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/cmTC_6412f.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/cmTC_6412f_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/Objects-normal/x86_64/cmTC_6412f_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_6412f + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/cmTC_6412f.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/cmTC_6412f.xcent + +CodeSign Debug/cmTC_6412f + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6412f.build/cmTC_6412f.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_6412f + +** BUILD SUCCEEDED ** [0.230 sec] + + + +Determining if files stdbool.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_61c3a -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_61c3a OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/cmTC_61c3a.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/HAVE_STDBOOL_H.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDBOOL_H.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/HAVE_STDBOOL_H.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/HAVE_STDBOOL_H.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDBOOL_H.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/HAVE_STDBOOL_H.o + +Ld Debug/cmTC_61c3a normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/cmTC_61c3a.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/cmTC_61c3a_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/Objects-normal/x86_64/cmTC_61c3a_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_61c3a + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/cmTC_61c3a.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/cmTC_61c3a.xcent + +CodeSign Debug/cmTC_61c3a + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_61c3a.build/cmTC_61c3a.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_61c3a + +** BUILD SUCCEEDED ** [0.186 sec] + + + +Determining if files strings.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_3bf8f -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_3bf8f OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/cmTC_3bf8f.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/HAVE_STRINGS_H.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STRINGS_H.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/HAVE_STRINGS_H.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/HAVE_STRINGS_H.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STRINGS_H.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/HAVE_STRINGS_H.o + +Ld Debug/cmTC_3bf8f normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/cmTC_3bf8f.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/cmTC_3bf8f_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/Objects-normal/x86_64/cmTC_3bf8f_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_3bf8f + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/cmTC_3bf8f.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/cmTC_3bf8f.xcent + +CodeSign Debug/cmTC_3bf8f + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_3bf8f.build/cmTC_3bf8f.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_3bf8f + +** BUILD SUCCEEDED ** [0.232 sec] + + + +Determining if files unistd.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_e2d2c -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_e2d2c OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/cmTC_e2d2c.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/HAVE_UNISTD_H.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_UNISTD_H.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/HAVE_UNISTD_H.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/HAVE_UNISTD_H.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_UNISTD_H.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/HAVE_UNISTD_H.o + +Ld Debug/cmTC_e2d2c normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/cmTC_e2d2c.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/cmTC_e2d2c_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/Objects-normal/x86_64/cmTC_e2d2c_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e2d2c + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/cmTC_e2d2c.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/cmTC_e2d2c.xcent + +CodeSign Debug/cmTC_e2d2c + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e2d2c.build/cmTC_e2d2c.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e2d2c + +** BUILD SUCCEEDED ** [0.265 sec] + + + +Determining if files inttypes.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_e1683 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_e1683 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/cmTC_e1683.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/HAVE_INTTYPES_H_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_INTTYPES_H_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/HAVE_INTTYPES_H_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/HAVE_INTTYPES_H_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_INTTYPES_H_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/HAVE_INTTYPES_H_LIBZIP.o + +Ld Debug/cmTC_e1683 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/cmTC_e1683.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/cmTC_e1683_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/Objects-normal/x86_64/cmTC_e1683_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e1683 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/cmTC_e1683.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/cmTC_e1683.xcent + +CodeSign Debug/cmTC_e1683 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1683.build/cmTC_e1683.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e1683 + +** BUILD SUCCEEDED ** [0.200 sec] + + + +Determining if files stdint.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_00858 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_00858 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/cmTC_00858.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/HAVE_STDINT_H_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDINT_H_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/HAVE_STDINT_H_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/HAVE_STDINT_H_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDINT_H_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/HAVE_STDINT_H_LIBZIP.o + +Ld Debug/cmTC_00858 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/cmTC_00858.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/cmTC_00858_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/Objects-normal/x86_64/cmTC_00858_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_00858 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/cmTC_00858.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/cmTC_00858.xcent + +CodeSign Debug/cmTC_00858 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_00858.build/cmTC_00858.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_00858 + +** BUILD SUCCEEDED ** [0.198 sec] + + + +Determining if files sys/types.h exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_36bb8 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_36bb8 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/cmTC_36bb8.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/HAVE_SYS_TYPES_H_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_TYPES_H_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/HAVE_SYS_TYPES_H_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/HAVE_SYS_TYPES_H_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_TYPES_H_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/HAVE_SYS_TYPES_H_LIBZIP.o + +Ld Debug/cmTC_36bb8 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/cmTC_36bb8.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/cmTC_36bb8_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/Objects-normal/x86_64/cmTC_36bb8_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_36bb8 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/cmTC_36bb8.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/cmTC_36bb8.xcent + +CodeSign Debug/cmTC_36bb8 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_36bb8.build/cmTC_36bb8.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_36bb8 + +** BUILD SUCCEEDED ** [0.222 sec] + + + +Determining if the include file sys/types.h exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_8c26b -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_8c26b OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/cmTC_8c26b.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/CheckIncludeFile.o CheckIncludeFile.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/CheckIncludeFile.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/CheckIncludeFile.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/CheckIncludeFile.o + +Ld Debug/cmTC_8c26b normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/cmTC_8c26b.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/cmTC_8c26b_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/Objects-normal/x86_64/cmTC_8c26b_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_8c26b + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/cmTC_8c26b.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/cmTC_8c26b.xcent + +CodeSign Debug/cmTC_8c26b + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_8c26b.build/cmTC_8c26b.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_8c26b + +** BUILD SUCCEEDED ** [0.211 sec] + + + +Determining if the include file stdint.h exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_54c5e -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_54c5e OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/cmTC_54c5e.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/CheckIncludeFile.o CheckIncludeFile.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/CheckIncludeFile.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/CheckIncludeFile.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/CheckIncludeFile.o + +Ld Debug/cmTC_54c5e normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/cmTC_54c5e.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/cmTC_54c5e_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/Objects-normal/x86_64/cmTC_54c5e_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_54c5e + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/cmTC_54c5e.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/cmTC_54c5e.xcent + +CodeSign Debug/cmTC_54c5e + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_54c5e.build/cmTC_54c5e.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_54c5e + +** BUILD SUCCEEDED ** [0.204 sec] + + + +Determining if the include file stddef.h exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_bf701 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_bf701 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/cmTC_bf701.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/CheckIncludeFile.o CheckIncludeFile.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/CheckIncludeFile.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/CheckIncludeFile.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/CheckIncludeFile.o + +Ld Debug/cmTC_bf701 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/cmTC_bf701.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/cmTC_bf701_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/Objects-normal/x86_64/cmTC_bf701_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_bf701 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/cmTC_bf701.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/cmTC_bf701.xcent + +CodeSign Debug/cmTC_bf701 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bf701.build/cmTC_bf701.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_bf701 + +** BUILD SUCCEEDED ** [0.277 sec] + + + +Determining size of int8_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_bfdc4 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_bfdc4 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/cmTC_bfdc4.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/INT8_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/INT8_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/INT8_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/INT8_T_LIBZIP.o + +Ld Debug/cmTC_bfdc4 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/cmTC_bfdc4.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/cmTC_bfdc4_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/Objects-normal/x86_64/cmTC_bfdc4_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_bfdc4 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/cmTC_bfdc4.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/cmTC_bfdc4.xcent + +CodeSign Debug/cmTC_bfdc4 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_bfdc4.build/cmTC_bfdc4.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_bfdc4 + +** BUILD SUCCEEDED ** [0.235 sec] + + + +Determining size of uint8_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_20684 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_20684 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/cmTC_20684.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/UINT8_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/UINT8_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/UINT8_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/UINT8_T_LIBZIP.o + +Ld Debug/cmTC_20684 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/cmTC_20684.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/cmTC_20684_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/Objects-normal/x86_64/cmTC_20684_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_20684 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/cmTC_20684.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/cmTC_20684.xcent + +CodeSign Debug/cmTC_20684 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_20684.build/cmTC_20684.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_20684 + +** BUILD SUCCEEDED ** [0.191 sec] + + + +Determining size of int16_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_eba5c -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_eba5c OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/cmTC_eba5c.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/INT16_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/INT16_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/INT16_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/INT16_T_LIBZIP.o + +Ld Debug/cmTC_eba5c normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/cmTC_eba5c.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/cmTC_eba5c_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/Objects-normal/x86_64/cmTC_eba5c_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_eba5c + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/cmTC_eba5c.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/cmTC_eba5c.xcent + +CodeSign Debug/cmTC_eba5c + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_eba5c.build/cmTC_eba5c.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_eba5c + +** BUILD SUCCEEDED ** [0.284 sec] + + + +Determining size of uint16_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_c8978 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_c8978 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/cmTC_c8978.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/UINT16_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/UINT16_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/UINT16_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/UINT16_T_LIBZIP.o + +Ld Debug/cmTC_c8978 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/cmTC_c8978.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/cmTC_c8978_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/Objects-normal/x86_64/cmTC_c8978_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_c8978 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/cmTC_c8978.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/cmTC_c8978.xcent + +CodeSign Debug/cmTC_c8978 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_c8978.build/cmTC_c8978.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_c8978 + +** BUILD SUCCEEDED ** [0.203 sec] + + + +Determining size of int32_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_6dbb6 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_6dbb6 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/cmTC_6dbb6.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/INT32_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/INT32_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/INT32_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/INT32_T_LIBZIP.o + +Ld Debug/cmTC_6dbb6 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/cmTC_6dbb6.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/cmTC_6dbb6_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/Objects-normal/x86_64/cmTC_6dbb6_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_6dbb6 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/cmTC_6dbb6.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/cmTC_6dbb6.xcent + +CodeSign Debug/cmTC_6dbb6 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_6dbb6.build/cmTC_6dbb6.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_6dbb6 + +** BUILD SUCCEEDED ** [0.209 sec] + + + +Determining size of uint32_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_360c8 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_360c8 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/cmTC_360c8.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/UINT32_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/UINT32_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/UINT32_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/UINT32_T_LIBZIP.o + +Ld Debug/cmTC_360c8 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/cmTC_360c8.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/cmTC_360c8_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/Objects-normal/x86_64/cmTC_360c8_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_360c8 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/cmTC_360c8.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/cmTC_360c8.xcent + +CodeSign Debug/cmTC_360c8 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_360c8.build/cmTC_360c8.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_360c8 + +** BUILD SUCCEEDED ** [0.214 sec] + + + +Determining size of int64_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_e1237 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_e1237 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/cmTC_e1237.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/INT64_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/INT64_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/INT64_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/INT64_T_LIBZIP.o + +Ld Debug/cmTC_e1237 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/cmTC_e1237.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/cmTC_e1237_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/Objects-normal/x86_64/cmTC_e1237_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e1237 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/cmTC_e1237.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/cmTC_e1237.xcent + +CodeSign Debug/cmTC_e1237 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1237.build/cmTC_e1237.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e1237 + +** BUILD SUCCEEDED ** [0.234 sec] + + + +Determining size of uint64_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_a5379 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_a5379 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/cmTC_a5379.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/UINT64_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/UINT64_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/UINT64_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/UINT64_T_LIBZIP.o + +Ld Debug/cmTC_a5379 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/cmTC_a5379.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/cmTC_a5379_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/Objects-normal/x86_64/cmTC_a5379_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_a5379 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/cmTC_a5379.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/cmTC_a5379.xcent + +CodeSign Debug/cmTC_a5379 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_a5379.build/cmTC_a5379.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_a5379 + +** BUILD SUCCEEDED ** [0.205 sec] + + + +Determining size of short passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_f46ef -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_f46ef OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/cmTC_f46ef.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/SHORT_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/SHORT_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/SHORT_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/SHORT_LIBZIP.o + +Ld Debug/cmTC_f46ef normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/cmTC_f46ef.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/cmTC_f46ef_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/Objects-normal/x86_64/cmTC_f46ef_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_f46ef + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/cmTC_f46ef.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/cmTC_f46ef.xcent + +CodeSign Debug/cmTC_f46ef + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_f46ef.build/cmTC_f46ef.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_f46ef + +** BUILD SUCCEEDED ** [0.208 sec] + + + +Determining size of int passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_179b9 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_179b9 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/cmTC_179b9.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/INT_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/INT_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/INT_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/INT_LIBZIP.o + +Ld Debug/cmTC_179b9 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/cmTC_179b9.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/cmTC_179b9_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/Objects-normal/x86_64/cmTC_179b9_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_179b9 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/cmTC_179b9.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/cmTC_179b9.xcent + +CodeSign Debug/cmTC_179b9 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_179b9.build/cmTC_179b9.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_179b9 + +** BUILD SUCCEEDED ** [0.190 sec] + + + +Determining size of long passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_d0734 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_d0734 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/cmTC_d0734.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/LONG_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/LONG_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/LONG_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/LONG_LIBZIP.o + +Ld Debug/cmTC_d0734 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/cmTC_d0734.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/cmTC_d0734_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/Objects-normal/x86_64/cmTC_d0734_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_d0734 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/cmTC_d0734.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/cmTC_d0734.xcent + +CodeSign Debug/cmTC_d0734 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_d0734.build/cmTC_d0734.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_d0734 + +** BUILD SUCCEEDED ** [0.212 sec] + + + +Determining size of long long passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_39420 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_39420 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/cmTC_39420.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/LONG_LONG_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/LONG_LONG_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/LONG_LONG_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/LONG_LONG_LIBZIP.o + +Ld Debug/cmTC_39420 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/cmTC_39420.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/cmTC_39420_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/Objects-normal/x86_64/cmTC_39420_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_39420 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/cmTC_39420.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/cmTC_39420.xcent + +CodeSign Debug/cmTC_39420 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_39420.build/cmTC_39420.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_39420 + +** BUILD SUCCEEDED ** [0.180 sec] + + + +Determining size of off_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_76833 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_76833 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/cmTC_76833.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/SIZEOF_OFF_T.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/SIZEOF_OFF_T.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/SIZEOF_OFF_T.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/SIZEOF_OFF_T.o + +Ld Debug/cmTC_76833 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/cmTC_76833.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/cmTC_76833_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/Objects-normal/x86_64/cmTC_76833_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_76833 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/cmTC_76833.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/cmTC_76833.xcent + +CodeSign Debug/cmTC_76833 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_76833.build/cmTC_76833.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_76833 + +** BUILD SUCCEEDED ** [0.196 sec] + + + +Determining size of size_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_59fd5 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_59fd5 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/cmTC_59fd5.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/SIZE_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/SIZE_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/SIZE_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/SIZE_T_LIBZIP.o + +Ld Debug/cmTC_59fd5 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/cmTC_59fd5.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/cmTC_59fd5_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/Objects-normal/x86_64/cmTC_59fd5_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_59fd5 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/cmTC_59fd5.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/cmTC_59fd5.xcent + +CodeSign Debug/cmTC_59fd5 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_59fd5.build/cmTC_59fd5.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_59fd5 + +** BUILD SUCCEEDED ** [0.205 sec] + + + +Determining size of ssize_t passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_12219 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_12219 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/cmTC_12219.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/SSIZE_T_LIBZIP.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/SSIZE_T_LIBZIP.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/SSIZE_T_LIBZIP.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/SSIZE_T_LIBZIP.o + +Ld Debug/cmTC_12219 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/cmTC_12219.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/cmTC_12219_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/Objects-normal/x86_64/cmTC_12219_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_12219 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/cmTC_12219.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/cmTC_12219.xcent + +CodeSign Debug/cmTC_12219 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_12219.build/cmTC_12219.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_12219 + +** BUILD SUCCEEDED ** [0.205 sec] + + + +Performing C SOURCE FILE Test HAVE_NULLABLE succeeded with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_cc9ca -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_cc9ca OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/cmTC_cc9ca.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/src.o src.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DHAVE_NULLABLE -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/src.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/src.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/src.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/src.o + +Ld Debug/cmTC_cc9ca normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/cmTC_cc9ca.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/cmTC_cc9ca_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/Objects-normal/x86_64/cmTC_cc9ca_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_cc9ca + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/cmTC_cc9ca.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/cmTC_cc9ca.xcent + +CodeSign Debug/cmTC_cc9ca + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_cc9ca.build/cmTC_cc9ca.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_cc9ca + +** BUILD SUCCEEDED ** [0.178 sec] + + +Source file was: + +int foo(char * _Nullable bar); +int main(int argc, char *argv[]) { } +Determining size of unsigned short passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_1918e -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_1918e OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/cmTC_1918e.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/CMAKE_SIZEOF_UNSIGNED_SHORT.o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/CMAKE_SIZEOF_UNSIGNED_SHORT.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/CMAKE_SIZEOF_UNSIGNED_SHORT.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/CMAKE_SIZEOF_UNSIGNED_SHORT.o + +Ld Debug/cmTC_1918e normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/cmTC_1918e.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/cmTC_1918e_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/Objects-normal/x86_64/cmTC_1918e_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_1918e + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/cmTC_1918e.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/cmTC_1918e.xcent + +CodeSign Debug/cmTC_1918e + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_1918e.build/cmTC_1918e.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_1918e + +** BUILD SUCCEEDED ** [0.223 sec] + + + +Determining if the system is big endian passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_e8e77 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_e8e77 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/cmTC_e8e77.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/TestEndianess.o TestEndianess.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/TestEndianess.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/TestEndianess.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/TestEndianess.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/TestEndianess.o + +Ld Debug/cmTC_e8e77 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/cmTC_e8e77.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/cmTC_e8e77_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/Objects-normal/x86_64/cmTC_e8e77_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e8e77 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/cmTC_e8e77.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/cmTC_e8e77.xcent + +CodeSign Debug/cmTC_e8e77 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e8e77.build/cmTC_e8e77.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e8e77 + +** BUILD SUCCEEDED ** [0.184 sec] + + +TestEndianess.c: +/* A 16 bit integer is required. */ +typedef unsigned short cmakeint16; + +/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE ENDIAN." + On a big endian machine the characters will be exchanged pairwise. */ +const cmakeint16 info_little[] = {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000}; + +/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN." + On a little endian machine the characters will be exchanged pairwise. */ +const cmakeint16 info_big[] = {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; char *argv[]; +#else +int main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_little[argc]; + require += info_big[argc]; + (void)argv; + return require; +} + + +Determining if the BZ2_bzCompressInit exist passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_e1af2 -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_e1af2 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/cmTC_e1af2.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/CheckSymbolExists.o CheckSymbolExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/CheckSymbolExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/CheckSymbolExists.dia -c /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/CheckSymbolExists.o + +Ld Debug/cmTC_e1af2 normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/cmTC_e1af2.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/cmTC_e1af2_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names /usr/lib/libbz2.dylib -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/Objects-normal/x86_64/cmTC_e1af2_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e1af2 + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/cmTC_e1af2.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/cmTC_e1af2.xcent + +CodeSign Debug/cmTC_e1af2 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_e1af2.build/cmTC_e1af2.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_e1af2 + +** BUILD SUCCEEDED ** [0.197 sec] + + +File /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: +/* */ +#include + +int main(int argc, char** argv) +{ + (void)argv; +#ifndef BZ2_bzCompressInit + return ((int*)(&BZ2_bzCompressInit))[argc]; +#else + (void)argc; + return 0; +#endif +} + +Determining if the function getopt exists passed with the following output: +Change Dir: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Run Build Command(s):/usr/bin/xcodebuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTC_721bd -configuration Debug -hideShellScriptEnvironment +User defaults from command line: + HideShellScriptEnvironment = YES + +Prepare build +note: Using legacy build system + +Build Preparation +Build task concurrency set to 8 via user default IDEBuildOperationMaxNumberOfConcurrentCompileTasks + +=== BUILD TARGET cmTC_721bd OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === + +Check dependencies + +Write auxiliary files +/bin/mkdir -p /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64 +write-file /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/cmTC_721bd.LinkFileList + +CompileC CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/CheckFunctionExists.o /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -target x86_64-apple-macos10.15 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/include -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/DerivedSources-normal/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/DerivedSources/x86_64 -I/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/DerivedSources -Wmost -Wno-four-char-constants -Wno-unknown-pragmas -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -DCHECK_FUNCTION_EXISTS=getopt -MMD -MT dependencies -MF /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/CheckFunctionExists.d --serialize-diagnostics /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/CheckFunctionExists.dia -c /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/CheckFunctionExists.o + +Ld Debug/cmTC_721bd normal x86_64 + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target x86_64-apple-macos10.15 -isysroot /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk -L/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -F/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug -filelist /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/cmTC_721bd.LinkFileList -Xlinker -object_path_lto -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/cmTC_721bd_lto.o -Xlinker -no_deduplicate -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Xlinker -dependency_info -Xlinker /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/Objects-normal/x86_64/cmTC_721bd_dependency_info.dat -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_721bd + +ProcessProductPackaging "" CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/cmTC_721bd.xcent + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + + +Entitlements: + +{ + "com.apple.security.get-task-allow" = 1; +} + + + builtin-productPackagingUtility -entitlements -format xml -o /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/cmTC_721bd.xcent + +CodeSign Debug/cmTC_721bd + (running because there is no record of having run this command since the last clean) + cd /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp + +Signing Identity: "-" + + /usr/bin/codesign --force --sign - --entitlements /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/CMAKE_TRY_COMPILE.build/Debug/cmTC_721bd.build/cmTC_721bd.xcent --timestamp=none /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CMakeTmp/Debug/cmTC_721bd + +** BUILD SUCCEEDED ** [0.192 sec] + + + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c new file mode 100644 index 000000000..8168b049b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c @@ -0,0 +1,8 @@ +/* */ +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_FTS_H.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_FTS_H.c new file mode 100644 index 000000000..359e6e2cf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_FTS_H.c @@ -0,0 +1,10 @@ +/* */ +#include +#include +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_INTTYPES_H_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_INTTYPES_H_LIBZIP.c new file mode 100644 index 000000000..813feff42 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_INTTYPES_H_LIBZIP.c @@ -0,0 +1,8 @@ +/* */ +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDBOOL_H.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDBOOL_H.c new file mode 100644 index 000000000..003c62f22 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDBOOL_H.c @@ -0,0 +1,8 @@ +/* */ +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDINT_H_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDINT_H_LIBZIP.c new file mode 100644 index 000000000..b1eaa1a1d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDINT_H_LIBZIP.c @@ -0,0 +1,8 @@ +/* */ +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STRINGS_H.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STRINGS_H.c new file mode 100644 index 000000000..0c27df9eb --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STRINGS_H.c @@ -0,0 +1,8 @@ +/* */ +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_TYPES_H_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_TYPES_H_LIBZIP.c new file mode 100644 index 000000000..5e85a6fb0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_TYPES_H_LIBZIP.c @@ -0,0 +1,8 @@ +/* */ +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_UNISTD_H.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_UNISTD_H.c new file mode 100644 index 000000000..499dcaae0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_UNISTD_H.c @@ -0,0 +1,8 @@ +/* */ +#include + + +int +main(void) { + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.bin new file mode 100755 index 000000000..6335aad21 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c new file mode 100644 index 000000000..9504391f6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(unsigned short)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.bin new file mode 100755 index 000000000..86cc0cddf Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.c new file mode 100644 index 000000000..97ded8d9a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(int16_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.bin new file mode 100755 index 000000000..27feb1cf9 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.c new file mode 100644 index 000000000..10751f0c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(int32_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.bin new file mode 100755 index 000000000..98c1020b9 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.c new file mode 100644 index 000000000..84a0524f5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(int64_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.bin new file mode 100755 index 000000000..95c51bcd1 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.c new file mode 100644 index 000000000..785e2ad7c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(int8_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.bin new file mode 100755 index 000000000..c63a58659 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.c new file mode 100644 index 000000000..32d52eb6c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(int)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.bin new file mode 100755 index 000000000..5ada48ce0 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.c new file mode 100644 index 000000000..b2c95310c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(long)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.bin new file mode 100755 index 000000000..08e782aa5 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.c new file mode 100644 index 000000000..9750704ba --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(long long)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.bin new file mode 100755 index 000000000..3f77b07fb Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.c new file mode 100644 index 000000000..00b7c4168 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(short)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.bin new file mode 100755 index 000000000..4ec054626 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.c new file mode 100644 index 000000000..6d946be9a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(off_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.bin new file mode 100755 index 000000000..7ad186431 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.c new file mode 100644 index 000000000..e2e5e32ee --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(size_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.bin new file mode 100755 index 000000000..d4bfcd150 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.c new file mode 100644 index 000000000..36c4189de --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(ssize_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.bin new file mode 100755 index 000000000..aa145dd05 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.c new file mode 100644 index 000000000..756a37050 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(uint16_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.bin new file mode 100755 index 000000000..4afad85df Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.c new file mode 100644 index 000000000..26331490e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(uint32_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.bin new file mode 100755 index 000000000..998eef715 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.c new file mode 100644 index 000000000..3ef9da75a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(uint64_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.bin new file mode 100755 index 000000000..518a7f0f0 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.c new file mode 100644 index 000000000..62bc65bff --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(uint8_t)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c new file mode 100644 index 000000000..1b9d1a745 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(__int16)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c new file mode 100644 index 000000000..d2c703a17 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(__int32)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c new file mode 100644 index 000000000..0fadde83c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(__int64)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c new file mode 100644 index 000000000..b566e2b7d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c @@ -0,0 +1,42 @@ +#include +#include +#include + + +#undef KEY +#if defined(__i386) +#define KEY '_', '_', 'i', '3', '8', '6' +#elif defined(__x86_64) +#define KEY '_', '_', 'x', '8', '6', '_', '6', '4' +#elif defined(__ppc__) +#define KEY '_', '_', 'p', 'p', 'c', '_', '_' +#elif defined(__ppc64__) +#define KEY '_', '_', 'p', 'p', 'c', '6', '4', '_', '_' +#elif defined(__aarch64__) +#define KEY '_', '_', 'a', 'a', 'r', 'c', 'h', '6', '4', '_', '_' +#elif defined(__ARM_ARCH_7A__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'A', '_', '_' +#elif defined(__ARM_ARCH_7S__) +#define KEY '_', '_', 'A', 'R', 'M', '_', 'A', 'R', 'C', 'H', '_', '7', 'S', '_', '_' +#endif + +#define SIZE (sizeof(__int8)) +char info_size[] = {'I', 'N', 'F', 'O', ':', 's', 'i', 'z', 'e', '[', ('0' + ((SIZE / 10000) % 10)), ('0' + ((SIZE / 1000) % 10)), ('0' + ((SIZE / 100) % 10)), ('0' + ((SIZE / 10) % 10)), ('0' + (SIZE % 10)), ']', +#ifdef KEY + ' ', 'k', 'e', 'y', '[', KEY, ']', +#endif + '\0'}; + +#ifdef __CLASSIC_C__ +int main(argc, argv) int argc; +char *argv[]; +#else +int +main(int argc, char *argv[]) +#endif +{ + int require = 0; + require += info_size[argc]; + (void)argv; + return require; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/TargetDirectories.txt b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/TargetDirectories.txt new file mode 100644 index 000000000..65d8a29ab --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,39 @@ +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/RUN_TESTS.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/install.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/install.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/zip.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/RUN_TESTS.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/install.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/RUN_TESTS.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update-html.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update-man.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/man.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/CMakeFiles/install.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/CMakeFiles/RUN_TESTS.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/CMakeFiles/ziptool.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/CMakeFiles/zipmerge.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/CMakeFiles/zipcmp.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/RUN_TESTS.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/testinput.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/cleanup.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/fread.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/nonrandomopen.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/check.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/fseek.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/ziptool_regress.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/nonrandomopentest.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/hole.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/install.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/add_from_filep.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/tryopen.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/fopen_unchanged.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeFiles/can_clone_file.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/CMakeFiles/install.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/CMakeFiles/RUN_TESTS.dir +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/CMakeFiles/in-memory.dir diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/TestEndianess.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/TestEndianess.bin new file mode 100755 index 000000000..5f4fdbb85 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/TestEndianess.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/cmake.check_cache b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/cmake.check_cache new file mode 100644 index 000000000..3dccd7317 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/feature_tests.bin b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/feature_tests.bin new file mode 100755 index 000000000..31681d39f Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/feature_tests.bin differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/feature_tests.c b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/feature_tests.c new file mode 100644 index 000000000..e74eaf244 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/feature_tests.c @@ -0,0 +1,38 @@ + +const char features[] = {"\n" + "C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 + "1" +#else + "0" +#endif + "c_function_prototypes\n" + "C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + "1" +#else + "0" +#endif + "c_restrict\n" + "C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L + "1" +#else + "0" +#endif + "c_static_assert\n" + "C_FEATURE:" +#if ((__clang_major__ * 100) + __clang_minor__) >= 400 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L + "1" +#else + "0" +#endif + "c_variadic_macros\n" + +}; + +int +main(int argc, char **argv) { + (void)argv; + return features[argc]; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/runtest b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/runtest new file mode 100644 index 000000000..fd7168d29 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeFiles/runtest @@ -0,0 +1,60 @@ +#!/usr/bin/env perl + +# runtest -- run regression tests +# Copyright (C) 2002-2014 Dieter Baron and Thomas Klausner +# +# This file is part of ckmame, a program to check rom sets for MAME. +# The authors can be contacted at +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. The names of the authors may not be used to endorse or promote +# products derived from this software without specific prior +# written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +use strict; + +BEGIN { push @INC, '/Users/bektchiev/Downloads/libzip-1.5.2/regress'; } + +use NiHTest; + +my $test = NiHTest::new({ default_program => 'ziptool_regress', srcdir => '/Users/bektchiev/Downloads/libzip-1.5.2/regress', top_builddir => '/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build', zipcmp => '../../src/zipcmp', zipcmp_flags => '-p' }); + +sub mangle_test { + my ($test, $variant) = @_; + + if (defined($test->{test}->{preload})) { + if (!defined($test->{test}->{features})) { + $test->{test}->{features} = []; + } + push @{$test->{test}->{features}}, 'SHARED'; + } + + return 1; +} + + +$test->add_comparator('zip/zip', \&NiHTest::comparator_zip); +$test->add_hook('post_parse', \&mangle_test); + +$test->run(@ARGV); diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..28bf32a54 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..28bf32a54 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..28bf32a54 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..28bf32a54 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ALL_BUILD +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ALL_BUILD: + echo "" + echo Build\ all\ projects diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeDebug new file mode 100644 index 000000000..7cc9edf59 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeDebug @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for RUN_TESTS +.SUFFIXES: +all: \ + RUN_TESTS_buildpart_0 + + +RUN_TESTS_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/ctest --force-new-ctest-process -C $(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..7cc9edf59 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeMinSizeRel @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for RUN_TESTS +.SUFFIXES: +all: \ + RUN_TESTS_buildpart_0 + + +RUN_TESTS_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/ctest --force-new-ctest-process -C $(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..7cc9edf59 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeRelWithDebInfo @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for RUN_TESTS +.SUFFIXES: +all: \ + RUN_TESTS_buildpart_0 + + +RUN_TESTS_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/ctest --force-new-ctest-process -C $(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeRelease new file mode 100644 index 000000000..7cc9edf59 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.makeRelease @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for RUN_TESTS +.SUFFIXES: +all: \ + RUN_TESTS_buildpart_0 + + +RUN_TESTS_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/ctest --force-new-ctest-process -C $(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ReRunCMake.make b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ReRunCMake.make new file mode 100644 index 000000000..c5ef0349c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ReRunCMake.make @@ -0,0 +1,147 @@ +# Generated by CMake, DO NOT EDIT + +TARGETS:= +empty:= +space:= $(empty) $(empty) +spaceplus:= $(empty)\ $(empty) + +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/CMakeLists.txt)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/FindNettle.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CMakeCCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/3.14.4/CMakeSystem.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/COMMONCRYPTO_FOUND.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_FTS_H.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_INTTYPES_H_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDBOOL_H.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STDINT_H_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_STRINGS_H.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_SYS_TYPES_H_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckIncludeFiles/HAVE_UNISTD_H.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT16_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT32_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT64_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT8_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/INT_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/LONG_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/LONG_LONG_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SHORT_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SIZEOF_OFF_T.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SIZE_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/SSIZE_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT16_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT32_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT64_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/UINT8_T_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT16_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT32_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT64_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/CheckTypeSize/__INT8_LIBZIP.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/feature_tests.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-config.h.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/cmake-zipconf.h.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/examples/CMakeLists.txt)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/lib/CMakeLists.txt)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/libzip.pc.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/man/CMakeLists.txt)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/regress/CMakeLists.txt)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/regress/runtest.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /Users/bektchiev/Downloads/libzip-1.5.2/src/CMakeLists.txt)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompiler.cmake.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCCompilerABI.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCInformation.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCheckCompilerFlagCommonPatterns.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCommonLanguageInclude.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeCompilerIdDetection.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeConfigurableFile.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeDetermineCCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeDetermineCompileFeatures.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeDetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeDetermineCompilerABI.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeDetermineCompilerId.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeDetermineSystem.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeFindBinUtils.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeGenericSystem.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeInitializeConfigs.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeLanguageInformation.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeParseImplicitIncludeInfo.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeParseImplicitLinkInfo.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakePushCheckState.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeSystem.cmake.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeSystemSpecificInformation.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeTestCCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CMakeTestCompilerCommon.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckCSourceCompiles.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckCSourceRuns.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckCXXSourceCompiles.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.c)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckFunctionExists.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckIncludeFile.c.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckIncludeFile.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckIncludeFileCXX.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckIncludeFiles.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckStructHasMember.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckSymbolExists.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckTypeSize.c.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CheckTypeSize.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/ADSP-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/ARMCC-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/AppleClang-C-FeatureTests.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/AppleClang-C.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/AppleClang-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Borland-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Bruce-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Clang-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Clang-DetermineCompilerInternal.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Clang.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Compaq-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Cray-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Embarcadero-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Fujitsu-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/GHS-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/GNU-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/GNU.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/HP-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/IAR-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Intel-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/MIPSpro-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/MSVC-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/NVIDIA-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/PGI-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/PathScale-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/SCO-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/SDCC-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/SunPro-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/TI-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/Watcom-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/XL-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Compiler/zOS-C-DetermineCompiler.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/CompilerId/Xcode-3.pbxproj.in)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/FindBZip2.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/FindGnuTLS.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/FindOpenSSL.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/FindPackageHandleStandardArgs.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/FindPackageMessage.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/FindPkgConfig.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/FindZLIB.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/GNUInstallDirs.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Internal/CMakeCheckCompilerFlag.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Internal/FeatureTesting.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Platform/Apple-AppleClang-C.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Platform/Apple-Clang-C.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Platform/Apple-Clang.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Platform/Darwin-Initialize.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Platform/Darwin.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/Platform/UnixPaths.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/SelectLibraryConfigurations.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/TestBigEndian.cmake)) +TARGETS += $(subst $(space),$(spaceplus),$(wildcard /usr/local/Cellar/cmake/3.14.4/share/cmake/Modules/TestEndianess.c.in)) + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/cmake.check_cache: $(TARGETS) + /usr/local/Cellar/cmake/3.14.4/bin/cmake -H/Users/bektchiev/Downloads/libzip-1.5.2 -B/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/XCODE_DEPEND_HELPER.make b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/XCODE_DEPEND_HELPER.make new file mode 100644 index 000000000..876166623 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/XCODE_DEPEND_HELPER.make @@ -0,0 +1,510 @@ +# DO NOT EDIT +# This makefile makes sure all linkable targets are +# up-to-date with anything they link to +default: + echo "Do not invoke directly" + +# Rules to remove targets that are older than anything to which they +# link. This forces Xcode to relink the targets from scratch. It +# does not seem to check these dependencies itself. +PostBuild.add_from_filep.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/add_from_filep +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/add_from_filep:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/add_from_filep + + +PostBuild.can_clone_file.Debug: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/can_clone_file: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/can_clone_file + + +PostBuild.fopen_unchanged.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fopen_unchanged +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fopen_unchanged:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fopen_unchanged + + +PostBuild.fread.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fread +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fread:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fread + + +PostBuild.fseek.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fseek +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fseek:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/fseek + + +PostBuild.hole.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/hole +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/hole:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/hole + + +PostBuild.in-memory.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/Debug/in-memory +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/Debug/in-memory:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/Debug/in-memory + + +PostBuild.nonrandomopen.Debug: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/libnonrandomopen.so: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/libnonrandomopen.so + + +PostBuild.nonrandomopentest.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/nonrandomopentest +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/nonrandomopentest:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/nonrandomopentest + + +PostBuild.tryopen.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/tryopen +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/tryopen:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/tryopen + + +PostBuild.zip.Debug: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a + + +PostBuild.zipcmp.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipcmp +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipcmp:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipcmp + + +PostBuild.zipmerge.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipmerge +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipmerge:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipmerge + + +PostBuild.ziptool.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/ziptool +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/ziptool:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/ziptool + + +PostBuild.ziptool_regress.Debug: +PostBuild.zip.Debug: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/ziptool_regress +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/ziptool_regress:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Debug/ziptool_regress + + +PostBuild.add_from_filep.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/add_from_filep +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/add_from_filep:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/add_from_filep + + +PostBuild.can_clone_file.Release: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/can_clone_file: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/can_clone_file + + +PostBuild.fopen_unchanged.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fopen_unchanged +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fopen_unchanged:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fopen_unchanged + + +PostBuild.fread.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fread +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fread:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fread + + +PostBuild.fseek.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fseek +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fseek:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/fseek + + +PostBuild.hole.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/hole +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/hole:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/hole + + +PostBuild.in-memory.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/Release/in-memory +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/Release/in-memory:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/Release/in-memory + + +PostBuild.nonrandomopen.Release: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/libnonrandomopen.so: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/libnonrandomopen.so + + +PostBuild.nonrandomopentest.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/nonrandomopentest +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/nonrandomopentest:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/nonrandomopentest + + +PostBuild.tryopen.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/tryopen +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/tryopen:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/tryopen + + +PostBuild.zip.Release: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a + + +PostBuild.zipcmp.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipcmp +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipcmp:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipcmp + + +PostBuild.zipmerge.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipmerge +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipmerge:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipmerge + + +PostBuild.ziptool.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/ziptool +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/ziptool:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/ziptool + + +PostBuild.ziptool_regress.Release: +PostBuild.zip.Release: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/ziptool_regress +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/ziptool_regress:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/Release/ziptool_regress + + +PostBuild.add_from_filep.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/add_from_filep +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/add_from_filep:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/add_from_filep + + +PostBuild.can_clone_file.MinSizeRel: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/can_clone_file: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/can_clone_file + + +PostBuild.fopen_unchanged.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fopen_unchanged +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fopen_unchanged:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fopen_unchanged + + +PostBuild.fread.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fread +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fread:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fread + + +PostBuild.fseek.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fseek +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fseek:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/fseek + + +PostBuild.hole.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/hole +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/hole:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/hole + + +PostBuild.in-memory.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/MinSizeRel/in-memory +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/MinSizeRel/in-memory:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/MinSizeRel/in-memory + + +PostBuild.nonrandomopen.MinSizeRel: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/libnonrandomopen.so: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/libnonrandomopen.so + + +PostBuild.nonrandomopentest.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/nonrandomopentest +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/nonrandomopentest:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/nonrandomopentest + + +PostBuild.tryopen.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/tryopen +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/tryopen:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/tryopen + + +PostBuild.zip.MinSizeRel: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a + + +PostBuild.zipcmp.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipcmp +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipcmp:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipcmp + + +PostBuild.zipmerge.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipmerge +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipmerge:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipmerge + + +PostBuild.ziptool.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/ziptool +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/ziptool:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/ziptool + + +PostBuild.ziptool_regress.MinSizeRel: +PostBuild.zip.MinSizeRel: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/ziptool_regress +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/ziptool_regress:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/MinSizeRel/ziptool_regress + + +PostBuild.add_from_filep.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/add_from_filep +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/add_from_filep:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/add_from_filep + + +PostBuild.can_clone_file.RelWithDebInfo: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/can_clone_file: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/can_clone_file + + +PostBuild.fopen_unchanged.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fopen_unchanged +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fopen_unchanged:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fopen_unchanged + + +PostBuild.fread.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fread +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fread:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fread + + +PostBuild.fseek.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fseek +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fseek:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/fseek + + +PostBuild.hole.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/hole +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/hole:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/hole + + +PostBuild.in-memory.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/RelWithDebInfo/in-memory +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/RelWithDebInfo/in-memory:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/RelWithDebInfo/in-memory + + +PostBuild.nonrandomopen.RelWithDebInfo: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/libnonrandomopen.so: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/libnonrandomopen.so + + +PostBuild.nonrandomopentest.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/nonrandomopentest +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/nonrandomopentest:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/nonrandomopentest + + +PostBuild.tryopen.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/tryopen +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/tryopen:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/tryopen + + +PostBuild.zip.RelWithDebInfo: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a: + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a + + +PostBuild.zipcmp.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipcmp +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipcmp:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipcmp + + +PostBuild.zipmerge.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipmerge +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipmerge:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipmerge + + +PostBuild.ziptool.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/ziptool +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/ziptool:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/ziptool + + +PostBuild.ziptool_regress.RelWithDebInfo: +PostBuild.zip.RelWithDebInfo: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/ziptool_regress +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/ziptool_regress:\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a\ + /usr/lib/libz.dylib\ + /usr/lib/libbz2.dylib + /bin/rm -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/RelWithDebInfo/ziptool_regress + + + + +# For each target create a dummy ruleso the target does not have to exist +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a: +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a: +/usr/lib/libbz2.dylib: +/usr/lib/libz.dylib: diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..0174ea3fe --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/ReRunCMake.make diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..0174ea3fe --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/ReRunCMake.make diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..0174ea3fe --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/ReRunCMake.make diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..0174ea3fe --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,10 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for ZERO_CHECK +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/ZERO_CHECK: + echo "" + make -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/ReRunCMake.make diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..dd4281671 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for dist +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git config tar.tar.xz.command xz\ -c + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.gz HEAD + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.xz HEAD diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..dd4281671 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for dist +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git config tar.tar.xz.command xz\ -c + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.gz HEAD + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.xz HEAD diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..dd4281671 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for dist +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git config tar.tar.xz.command xz\ -c + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.gz HEAD + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.xz HEAD diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..dd4281671 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for dist +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/dist: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git config tar.tar.xz.command xz\ -c + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.gz HEAD + cd /Users/bektchiev/Downloads/libzip-1.5.2 && git archive --prefix=libzip-1.5.2/ -o libzip-1.5.2.tar.xz HEAD diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..7aead1fa1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,23 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for distcheck +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest 2>/dev/null || true + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cmake -E tar xf libzip-1.5.2.tar.gz + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u-w libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-build + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && cmake -DCMAKE_INSTALL_PREFIX=../libzip-1.5.2-dest ../libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make -j4 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make test + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make install + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make clean + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && echo libzip-1.5.2.tar.gz\ is\ ready\ for\ distribution. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..7aead1fa1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,23 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for distcheck +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest 2>/dev/null || true + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cmake -E tar xf libzip-1.5.2.tar.gz + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u-w libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-build + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && cmake -DCMAKE_INSTALL_PREFIX=../libzip-1.5.2-dest ../libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make -j4 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make test + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make install + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make clean + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && echo libzip-1.5.2.tar.gz\ is\ ready\ for\ distribution. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..7aead1fa1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,23 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for distcheck +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest 2>/dev/null || true + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cmake -E tar xf libzip-1.5.2.tar.gz + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u-w libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-build + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && cmake -DCMAKE_INSTALL_PREFIX=../libzip-1.5.2-dest ../libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make -j4 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make test + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make install + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make clean + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && echo libzip-1.5.2.tar.gz\ is\ ready\ for\ distribution. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..7aead1fa1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,23 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for distcheck +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeFiles/distcheck: + echo "" + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest 2>/dev/null || true + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cmake -E tar xf libzip-1.5.2.tar.gz + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u-w libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-build + cd /Users/bektchiev/Downloads/libzip-1.5.2 && mkdir libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && cmake -DCMAKE_INSTALL_PREFIX=../libzip-1.5.2-dest ../libzip-1.5.2 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make -j4 + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make test + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make install + cd /Users/bektchiev/Downloads/libzip-1.5.2 && cd libzip-1.5.2-build && make clean + cd /Users/bektchiev/Downloads/libzip-1.5.2 && chmod -R u+w libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && rm -rf libzip-1.5.2 libzip-1.5.2-build libzip-1.5.2-dest + cd /Users/bektchiev/Downloads/libzip-1.5.2 && echo libzip-1.5.2.tar.gz\ is\ ready\ for\ distribution. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeDebug new file mode 100644 index 000000000..42dabcafc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeDebug @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for install +.SUFFIXES: +all: \ + install_buildpart_0 + + +install_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..42dabcafc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeMinSizeRel @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for install +.SUFFIXES: +all: \ + install_buildpart_0 + + +install_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..42dabcafc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeRelWithDebInfo @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for install +.SUFFIXES: +all: \ + install_buildpart_0 + + +install_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeRelease new file mode 100644 index 000000000..42dabcafc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CMakeScripts/install_postBuildPhase.makeRelease @@ -0,0 +1,9 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for install +.SUFFIXES: +all: \ + install_buildpart_0 + + +install_buildpart_0: + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DBUILD_TYPE=$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -P cmake_install.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/CTestTestfile.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/CTestTestfile.cmake new file mode 100644 index 000000000..526b0549b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/CTestTestfile.cmake @@ -0,0 +1,11 @@ +# CMake generated Testfile for +# Source directory: /Users/bektchiev/Downloads/libzip-1.5.2 +# Build directory: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +subdirs("lib") +subdirs("man") +subdirs("src") +subdirs("regress") +subdirs("examples") diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/cmake_install.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/cmake_install.cmake new file mode 100644 index 000000000..4d43faaa6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/cmake_install.cmake @@ -0,0 +1,62 @@ +# Install script for directory: /Users/bektchiev/Downloads/libzip-1.5.2 + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Release") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/libzip.pc") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/zipconf.h") +endif() + +if(NOT CMAKE_INSTALL_LOCAL_ONLY) + # Include the install script for each subdirectory. + include("/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/cmake_install.cmake") + include("/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/cmake_install.cmake") + include("/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/cmake_install.cmake") + include("/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/cmake_install.cmake") + include("/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/cmake_install.cmake") + +endif() + +if(CMAKE_INSTALL_COMPONENT) + set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt") +else() + set(CMAKE_INSTALL_MANIFEST "install_manifest.txt") +endif() + +string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT + "${CMAKE_INSTALL_MANIFEST_FILES}") +file(WRITE "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/${CMAKE_INSTALL_MANIFEST}" + "${CMAKE_INSTALL_MANIFEST_CONTENT}") diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/config.h b/plugins/TKLiveSync/libzip_iOS/cmake-build/config.h new file mode 100644 index 000000000..7bc9af833 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/config.h @@ -0,0 +1,92 @@ +#ifndef HAD_CONFIG_H +#define HAD_CONFIG_H +#ifndef _HAD_ZIPCONF_H +#include "zipconf.h" +#endif +/* BEGIN DEFINES */ +/* #undef HAVE___PROGNAME */ +/* #undef HAVE__CHMOD */ +/* #undef HAVE__CLOSE */ +/* #undef HAVE__DUP */ +/* #undef HAVE__FDOPEN */ +/* #undef HAVE__FILENO */ +/* #undef HAVE__OPEN */ +/* #undef HAVE__SETMODE */ +/* #undef HAVE__SNPRINTF */ +/* #undef HAVE__STRDUP */ +/* #undef HAVE__STRICMP */ +/* #undef HAVE__STRTOI64 */ +/* #undef HAVE__STRTOUI64 */ +/* #undef HAVE__UMASK */ +/* #undef HAVE__UNLINK */ +#define HAVE_CLONEFILE +#define HAVE_COMMONCRYPTO +#define HAVE_CRYPTO +/* #undef HAVE_FICLONERANGE */ +#define HAVE_FILENO +#define HAVE_FSEEKO +#define HAVE_FTELLO +#define HAVE_GETPROGNAME +/* #undef HAVE_GNUTLS */ +#define HAVE_LIBBZ2 +/* #undef HAVE_MBEDTLS */ +#define HAVE_MKSTEMP +#define HAVE_NULLABLE +#define HAVE_OPEN +/* #undef HAVE_OPENSSL */ +#define HAVE_SETMODE +#define HAVE_SNPRINTF +#define HAVE_SSIZE_T_LIBZIP +#define HAVE_STRCASECMP +#define HAVE_STRDUP +/* #undef HAVE_STRICMP */ +#define HAVE_STRTOLL +#define HAVE_STRTOULL +/* #undef HAVE_STRUCT_TM_TM_ZONE */ +#define HAVE_STDBOOL_H +#define HAVE_STRINGS_H +#define HAVE_UNISTD_H +/* #undef HAVE_WINDOWS_CRYPTO */ +/* #undef __INT8_LIBZIP */ +#define INT8_T_LIBZIP 1 +#define UINT8_T_LIBZIP 1 +/* #undef __INT16_LIBZIP */ +#define INT16_T_LIBZIP 2 +#define UINT16_T_LIBZIP 2 +/* #undef __INT32_LIBZIP */ +#define INT32_T_LIBZIP 4 +#define UINT32_T_LIBZIP 4 +/* #undef __INT64_LIBZIP */ +#define INT64_T_LIBZIP 8 +#define UINT64_T_LIBZIP 8 +#define SHORT_LIBZIP 2 +#define INT_LIBZIP 4 +#define LONG_LIBZIP 8 +#define LONG_LONG_LIBZIP 8 +#define SIZEOF_OFF_T 8 +#define SIZE_T_LIBZIP 8 +#define SSIZE_T_LIBZIP 8 +/* #undef HAVE_DIRENT_H */ +#define HAVE_FTS_H +/* #undef HAVE_NDIR_H */ +/* #undef HAVE_SYS_DIR_H */ +/* #undef HAVE_SYS_NDIR_H */ +/* #undef WORDS_BIGENDIAN */ +/* #undef HAVE_SHARED */ +/* END DEFINES */ +#define PACKAGE "libzip" +#define VERSION "1.5.2" + +#ifndef HAVE_SSIZE_T_LIBZIP +#if SIZE_T_LIBZIP == INT_LIBZIP +typedef int ssize_t; +#elif SIZE_T_LIBZIP == LONG_LIBZIP +typedef long ssize_t; +#elif SIZE_T_LIBZIP == LONG_LONG_LIBZIP +typedef long long ssize_t; +#else +#error no suitable type for ssize_t found +#endif +#endif + +#endif /* HAD_CONFIG_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/CTestTestfile.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/CTestTestfile.cmake new file mode 100644 index 000000000..42643ecc8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/CTestTestfile.cmake @@ -0,0 +1,6 @@ +# CMake generated Testfile for +# Source directory: /Users/bektchiev/Downloads/libzip-1.5.2/examples +# Build directory: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/Debug/in-memory b/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/Debug/in-memory new file mode 100755 index 000000000..ba9a18deb Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/Debug/in-memory differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/cmake_install.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/cmake_install.cmake new file mode 100644 index 000000000..9da707d2c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/examples/cmake_install.cmake @@ -0,0 +1,34 @@ +# Install script for directory: /Users/bektchiev/Downloads/libzip-1.5.2/examples + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Release") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..d9878a9ba --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_err_str +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip_err_str.c diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..d9878a9ba --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_err_str +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip_err_str.c diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..d9878a9ba --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_err_str +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip_err_str.c diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..d9878a9ba --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_err_str +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeFiles/update_zip_err_str: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/make_zip_err_str.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip_err_str.c diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CTestTestfile.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CTestTestfile.cmake new file mode 100644 index 000000000..c7214c0b4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/CTestTestfile.cmake @@ -0,0 +1,6 @@ +# CMake generated Testfile for +# Source directory: /Users/bektchiev/Downloads/libzip-1.5.2/lib +# Build directory: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/Debug/libzip.a b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/Debug/libzip.a new file mode 100644 index 000000000..3d41a9ba4 Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/Debug/libzip.a differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/cmake_install.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/cmake_install.cmake new file mode 100644 index 000000000..d15113436 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/lib/cmake_install.cmake @@ -0,0 +1,66 @@ +# Install script for directory: /Users/bektchiev/Downloads/libzip-1.5.2/lib + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Release") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib" TYPE STATIC_LIBRARY FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/libzip.a") + endif() + endif() +endif() + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.pc b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.pc new file mode 100644 index 000000000..5c6b32a57 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.pc @@ -0,0 +1,15 @@ +prefix=/usr/local +exec_prefix=${prefix} +bindir=${exec_prefix}/bin +libdir=${exec_prefix}/lib +includedir=${prefix}/include + +zipcmp=${exec_prefix}/bin/zipcmp + +Name: libzip +Description: library for handling zip archives +Version: 1.5.2 +Libs: -L${libdir} -lzip +Libs.private: -lbz2 -lz +Cflags: -I${includedir} + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.pbxproj b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.pbxproj new file mode 100644 index 000000000..94a859204 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.pbxproj @@ -0,0 +1,7521 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXAggregateTarget section */ + 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 35C6204177824A30873ED0CA /* Build configuration list for PBXAggregateTarget "ZERO_CHECK" */; + buildPhases = ( + E9EFB13DAD3F462FB14BEE3E /* CMake Rules */, + ); + dependencies = ( + ); + name = ZERO_CHECK; + productName = ZERO_CHECK; + }; + 1AC743C03B054C0AA5AF6F2C /* check */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 3D72DF072D9C47B7894DC84C /* Build configuration list for PBXAggregateTarget "check" */; + buildPhases = ( + E031D67870D04D35A05582A6 /* CMake Rules */, + ); + dependencies = ( + F1EA45ECE63947E090E73698 /* PBXTargetDependency */, + ); + name = check; + productName = check; + }; + 23DEAC5C823E4B78A813DD74 /* update_zip_errors */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 9771E51C5666463E9417DAFD /* Build configuration list for PBXAggregateTarget "update_zip_errors" */; + buildPhases = ( + 69D9402604AB4CA997ED91DD /* CMake Rules */, + ); + dependencies = ( + 13BACBD2D3F64C0F867574EF /* PBXTargetDependency */, + ); + name = update_zip_errors; + productName = update_zip_errors; + }; + 3861D06FB67E4DD0AD170E3F /* update-html */ = { + isa = PBXAggregateTarget; + buildConfigurationList = EC975CA581E743C192DE35AF /* Build configuration list for PBXAggregateTarget "update-html" */; + buildPhases = ( + 6BF3B41056494B65931E4E54 /* CMake Rules */, + ); + dependencies = ( + 7BB3635B52E14FDAA4CF5D55 /* PBXTargetDependency */, + ); + name = "update-html"; + productName = "update-html"; + }; + 3FF90C8CD9D74E62B5CFE01B /* man */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 52D95D32E97D4B23ADD89CAD /* Build configuration list for PBXAggregateTarget "man" */; + buildPhases = ( + 851BA143052240D4906C66AB /* CMake Rules */, + ); + dependencies = ( + 034F985F108740E08CA8E39A /* PBXTargetDependency */, + ); + name = man; + productName = man; + }; + 755F7C254BD045619F08F484 /* update_zip_err_str */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 28BBDE558C7B424FA7E137AE /* Build configuration list for PBXAggregateTarget "update_zip_err_str" */; + buildPhases = ( + 4318EB4533C04528879284A1 /* CMake Rules */, + ); + dependencies = ( + B8276ED509DD40F9AE13E337 /* PBXTargetDependency */, + ); + name = update_zip_err_str; + productName = update_zip_err_str; + }; + 86AD4ABA1D2644A9B01FAAA5 /* install */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 612AEA1DCB834339A5EE0794 /* Build configuration list for PBXAggregateTarget "install" */; + buildPhases = ( + 7EC8857B33BD4DD5AFAE15C4 /* CMake PostBuild Rules */, + ); + dependencies = ( + 793CD99A74494606BD58C163 /* PBXTargetDependency */, + ); + name = install; + productName = install; + }; + 888964F5054C4F21A1092E11 /* cleanup */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 5C612D26BD7749B88D5C999B /* Build configuration list for PBXAggregateTarget "cleanup" */; + buildPhases = ( + F28EB14A00AE48319ABC1C62 /* CMake Rules */, + ); + dependencies = ( + D46E4FF77B594D71A04563ED /* PBXTargetDependency */, + ); + name = cleanup; + productName = cleanup; + }; + 929B6E0CB0184B6397AA1BB7 /* update-man */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 2AF8AD6D648F4147854F6F90 /* Build configuration list for PBXAggregateTarget "update-man" */; + buildPhases = ( + E41F3B7F46AD4F6C89279E99 /* CMake Rules */, + ); + dependencies = ( + 12703032711741BFA74E167D /* PBXTargetDependency */, + ); + name = "update-man"; + productName = "update-man"; + }; + A6CDD43C629C4E2C87AD3E48 /* dist */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 8AD24DE5A1FE4C9FA142870B /* Build configuration list for PBXAggregateTarget "dist" */; + buildPhases = ( + C31FA951CC4E4250AEA81C38 /* CMake Rules */, + ); + dependencies = ( + E56A1B3E227C4D4390F0B409 /* PBXTargetDependency */, + ); + name = dist; + productName = dist; + }; + AC903D34B407400492AD0BB9 /* testinput */ = { + isa = PBXAggregateTarget; + buildConfigurationList = F2EC6CA02C3444B8A9F30D0B /* Build configuration list for PBXAggregateTarget "testinput" */; + buildPhases = ( + E3DF79FCCEE14DA8B989AD04 /* CMake Rules */, + ); + dependencies = ( + 74AF9F9609544904BD1A57D0 /* PBXTargetDependency */, + ); + name = testinput; + productName = testinput; + }; + BD0794CF105B464CAE979C47 /* RUN_TESTS */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 8BF79BED01D7489F8C5A228A /* Build configuration list for PBXAggregateTarget "RUN_TESTS" */; + buildPhases = ( + 0BAF5AC8F0454CF2BBCA08C8 /* CMake PostBuild Rules */, + ); + dependencies = ( + ); + name = RUN_TESTS; + productName = RUN_TESTS; + }; + E587EDAC743A49B481BEFEF1 /* ALL_BUILD */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 54AA4BDADF8943668E9C9D24 /* Build configuration list for PBXAggregateTarget "ALL_BUILD" */; + buildPhases = ( + DB7D259C03534790B74859C5 /* CMake Rules */, + ); + dependencies = ( + B48A73BCACF543AA9F9758ED /* PBXTargetDependency */, + B5300EA61F544BE684232581 /* PBXTargetDependency */, + A6740C4D826D4D23BB6AFB5F /* PBXTargetDependency */, + 827D0327BA99487599239406 /* PBXTargetDependency */, + 381BAB2760264FB39676F146 /* PBXTargetDependency */, + 0860168EA03E48A6ABC2E765 /* PBXTargetDependency */, + CF8C861F37CE4001A4DFCB39 /* PBXTargetDependency */, + 0CB7325E0832459EA428BD08 /* PBXTargetDependency */, + A7F424E4AE7A4D6E972C7A31 /* PBXTargetDependency */, + 6828F83FE15E4624AE38CB2E /* PBXTargetDependency */, + 4FAD2C9985654F3D912F3169 /* PBXTargetDependency */, + 217A4F529EF5433A8465493F /* PBXTargetDependency */, + B2022E8F04B4499D82E4F58C /* PBXTargetDependency */, + 4E20BDBCD2F4456B89AE290C /* PBXTargetDependency */, + 6C0A1210310547B68C73C1EF /* PBXTargetDependency */, + 2B2B87F98FBA4F8CB0D91628 /* PBXTargetDependency */, + 9D281B79836E4665A09FCA20 /* PBXTargetDependency */, + 4F11494525724E93AB1384F0 /* PBXTargetDependency */, + ); + name = ALL_BUILD; + productName = ALL_BUILD; + }; + E8E99826335F4FFEA6797872 /* distcheck */ = { + isa = PBXAggregateTarget; + buildConfigurationList = 312AD85194F04CCEBC34B7EF /* Build configuration list for PBXAggregateTarget "distcheck" */; + buildPhases = ( + A5B67573A92B40CFADEC4B6E /* CMake Rules */, + ); + dependencies = ( + F75766FDC7134C6794F753F7 /* PBXTargetDependency */, + 8D4DBCA5C4B64C8BAC477A32 /* PBXTargetDependency */, + ); + name = distcheck; + productName = distcheck; + }; +/* End PBXAggregateTarget section */ + +/* Begin PBXBuildFile section */ + 0069FE3DC42942BDA7F7501F /* zip_file_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = C0CEABBD2C2249EE92EE2084 /* zip_file_strerror.c */; }; + 02BEAA21669648D0AC62E680 /* zip_source_close.c in Sources */ = {isa = PBXBuildFile; fileRef = 7221C363FFFF4CF1BEB64E42 /* zip_source_close.c */; }; + 04407E316F344FBA82344996 /* zip_source_free.c in Sources */ = {isa = PBXBuildFile; fileRef = 57E939F10829425190611AB4 /* zip_source_free.c */; }; + 044F402417F945599E54ADCF /* zip_source_commit_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 75C1F3C09DC24BCFB3F25BDA /* zip_source_commit_write.c */; }; + 060E7C326BAA435B8988EFD4 /* zip_fseek.c in Sources */ = {isa = PBXBuildFile; fileRef = 38ACD540441D413EB403EF78 /* zip_fseek.c */; }; + 0832965F16F549CF8209B8AB /* zip_algorithm_deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = 2B9EE5DDC6E6463CA0343880 /* zip_algorithm_deflate.c */; }; + 08B3017F0E2541F0AF774664 /* zip_file_set_encryption.c in Sources */ = {isa = PBXBuildFile; fileRef = 4B476A867607493CA6F295ED /* zip_file_set_encryption.c */; }; + 0AC3522A49DF4A8CBAB8EC97 /* zip_buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = E5B679EC462F41508741B4B5 /* zip_buffer.c */; }; + 0B9510F18BA74C3AA21F23B8 /* zip_name_locate.c in Sources */ = {isa = PBXBuildFile; fileRef = 1649452451714969971E9F06 /* zip_name_locate.c */; }; + 0C3E6B7DA95742C78E2CA28E /* zip_error.c in Sources */ = {isa = PBXBuildFile; fileRef = AE19F9BF18504EAAA804A4B5 /* zip_error.c */; }; + 10DEF0E3DCA34F0E9C7B548D /* zip_extra_field.c in Sources */ = {isa = PBXBuildFile; fileRef = 4255B46ADF65451B9993A9B3 /* zip_extra_field.c */; }; + 1447924E641E4540BF8A7ACE /* zip_file_set_mtime.c in Sources */ = {isa = PBXBuildFile; fileRef = DA9AE346BDFA4D149CB029CD /* zip_file_set_mtime.c */; }; + 1614385F8BFD4E2E8C43145B /* zip_source_open.c in Sources */ = {isa = PBXBuildFile; fileRef = 8706DC1D0CD54D26B51999FA /* zip_source_open.c */; }; + 16550341343A41DFB590551B /* zip_algorithm_bzip2.c in Sources */ = {isa = PBXBuildFile; fileRef = D28C1DEC56324B939A44501D /* zip_algorithm_bzip2.c */; }; + 197078BF47764C4D94AE6522 /* zip_get_num_files.c in Sources */ = {isa = PBXBuildFile; fileRef = ED9A5EF9FC1D46EA8985A8C5 /* zip_get_num_files.c */; }; + 19DC40946FE74514AEDD56D0 /* zip_source_zip.c in Sources */ = {isa = PBXBuildFile; fileRef = 2F34B2237EC64715ACB48B57 /* zip_source_zip.c */; }; + 1B30E312B2B541A48B4EA964 /* zip_add_dir.c in Sources */ = {isa = PBXBuildFile; fileRef = 3BC1B089D4D4445783A1638A /* zip_add_dir.c */; }; + 1B467BF9E6FE4A9C892C1AD4 /* zip_file_get_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 95DE86D31B424DD499C9FB9C /* zip_file_get_comment.c */; }; + 1C3F4D87D147405589DEE156 /* zip_source_crc.c in Sources */ = {isa = PBXBuildFile; fileRef = B26233B6008946169DFE2CB0 /* zip_source_crc.c */; }; + 1D7E7D67E6A94B9882C11200 /* zip_source_begin_write_cloning.c in Sources */ = {isa = PBXBuildFile; fileRef = 13F2F61EBDA248A3A10291E5 /* zip_source_begin_write_cloning.c */; }; + 1F45BF0A4D7F4CCF896A1D29 /* zip_error_to_str.c in Sources */ = {isa = PBXBuildFile; fileRef = 1C39B71275AE4DBC8BC08010 /* zip_error_to_str.c */; }; + 1FAE12534E9E49F195E60C56 /* zip_ftell.c in Sources */ = {isa = PBXBuildFile; fileRef = 496DCD1C19854733904709DA /* zip_ftell.c */; }; + 1FAFDC171D73402997C66DA1 /* source_hole.c in Sources */ = {isa = PBXBuildFile; fileRef = 49AB596D318E43688B2D116B /* source_hole.c */; }; + 2091B8FF17BA4617A64F2D46 /* zip_new.c in Sources */ = {isa = PBXBuildFile; fileRef = 7A2A8251080D47CE94094745 /* zip_new.c */; }; + 230558BAC27B46CA9A744032 /* zip_set_archive_flag.c in Sources */ = {isa = PBXBuildFile; fileRef = 19216CF889DE497EB7A08AF8 /* zip_set_archive_flag.c */; }; + 290A9D36B4AC447E88087DF6 /* zip_progress.c in Sources */ = {isa = PBXBuildFile; fileRef = 3A4EDCA25C0B455D819BC327 /* zip_progress.c */; }; + 2A17C90560664A838081BADA /* zip_source_filep.c in Sources */ = {isa = PBXBuildFile; fileRef = FDF6BE4A9DF24316BEB686CB /* zip_source_filep.c */; }; + 2AE2F2F7AB1B47DBBE174DC5 /* zip_file_error_get.c in Sources */ = {isa = PBXBuildFile; fileRef = FE2D6AD037A24DE887BC23BF /* zip_file_error_get.c */; }; + 2B0D41B168E84B55945F88B6 /* zip_get_archive_flag.c in Sources */ = {isa = PBXBuildFile; fileRef = 80D980A4C87E46168C6CD95A /* zip_get_archive_flag.c */; }; + 2E09A6CC7DC14A5C9C48D1E8 /* zip_source_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = 8260D377DC2B47518FD7E703 /* zip_source_compress.c */; }; + 2E0AC5D8FFBA430A8B444516 /* zip_entry.c in Sources */ = {isa = PBXBuildFile; fileRef = 68B28F9F5D8D4442B7BFB448 /* zip_entry.c */; }; + 2F642BC7FB0044708F39FAAF /* zip_source_get_compression_flags.c in Sources */ = {isa = PBXBuildFile; fileRef = 354B673AF4ED41AF850CC8CA /* zip_source_get_compression_flags.c */; }; + 32FCB86F1A98428394069E9A /* in-memory.c in Sources */ = {isa = PBXBuildFile; fileRef = 3B83745C208B43E7879DDE39 /* in-memory.c */; }; + 33254BED98CA4C47A72EB49E /* zip_fopen_index.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ADDC74CF5284D30B7E544C3 /* zip_fopen_index.c */; }; + 3705697025E544B297EEC558 /* zip_get_archive_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 0858B73B1C7E4C38BEA4F79F /* zip_get_archive_comment.c */; }; + 389E56412BDA4D2F97522186 /* zip_open.c in Sources */ = {isa = PBXBuildFile; fileRef = 475BC1AE0B9C4C78A0B70EBE /* zip_open.c */; }; + 394CF28A15EC4BA2BEBCE85F /* source_hole.c in Sources */ = {isa = PBXBuildFile; fileRef = 83BB13CBC7664F9A99BA6D38 /* source_hole.c */; }; + 39940DA122C5214A0050DDE1 /* zip_add.c in Sources */ = {isa = PBXBuildFile; fileRef = D01E637C6641430DB833BA47 /* zip_add.c */; }; + 39940DA222C5214A0050DDE1 /* zip_add_dir.c in Sources */ = {isa = PBXBuildFile; fileRef = 3BC1B089D4D4445783A1638A /* zip_add_dir.c */; }; + 39940DA322C5214A0050DDE1 /* zip_add_entry.c in Sources */ = {isa = PBXBuildFile; fileRef = D75F83D6D67544E3893724E3 /* zip_add_entry.c */; }; + 39940DA422C5214A0050DDE1 /* zip_algorithm_bzip2.c in Sources */ = {isa = PBXBuildFile; fileRef = D28C1DEC56324B939A44501D /* zip_algorithm_bzip2.c */; }; + 39940DA522C5214A0050DDE1 /* zip_algorithm_deflate.c in Sources */ = {isa = PBXBuildFile; fileRef = 2B9EE5DDC6E6463CA0343880 /* zip_algorithm_deflate.c */; }; + 39940DA622C5214A0050DDE1 /* zip_buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = E5B679EC462F41508741B4B5 /* zip_buffer.c */; }; + 39940DA722C5214A0050DDE1 /* zip_close.c in Sources */ = {isa = PBXBuildFile; fileRef = 4A15B51E9C9F440CBC684EF0 /* zip_close.c */; }; + 39940DA822C5214A0050DDE1 /* zip_crypto_commoncrypto.c in Sources */ = {isa = PBXBuildFile; fileRef = EA3ED43448834BE2808B3992 /* zip_crypto_commoncrypto.c */; }; + 39940DA922C5214A0050DDE1 /* zip_delete.c in Sources */ = {isa = PBXBuildFile; fileRef = 23F00C327E7D4DC6A0AFC1A8 /* zip_delete.c */; }; + 39940DAA22C5214A0050DDE1 /* zip_dir_add.c in Sources */ = {isa = PBXBuildFile; fileRef = 36F7773A65A84B4293F0FF42 /* zip_dir_add.c */; }; + 39940DAB22C5214A0050DDE1 /* zip_dirent.c in Sources */ = {isa = PBXBuildFile; fileRef = CFDA889ABEC841EBB01EEC70 /* zip_dirent.c */; }; + 39940DAC22C5214A0050DDE1 /* zip_discard.c in Sources */ = {isa = PBXBuildFile; fileRef = 0D05D42C7E114204B1154992 /* zip_discard.c */; }; + 39940DAD22C5214A0050DDE1 /* zip_entry.c in Sources */ = {isa = PBXBuildFile; fileRef = 68B28F9F5D8D4442B7BFB448 /* zip_entry.c */; }; + 39940DAE22C5214A0050DDE1 /* zip_err_str.c in Sources */ = {isa = PBXBuildFile; fileRef = 193AC787F366444A8BB0A8BE /* zip_err_str.c */; }; + 39940DAF22C5214A0050DDE1 /* zip_error.c in Sources */ = {isa = PBXBuildFile; fileRef = AE19F9BF18504EAAA804A4B5 /* zip_error.c */; }; + 39940DB022C5214A0050DDE1 /* zip_error_clear.c in Sources */ = {isa = PBXBuildFile; fileRef = 72E56921B9BF4877A138DAE6 /* zip_error_clear.c */; }; + 39940DB122C5214A0050DDE1 /* zip_error_get.c in Sources */ = {isa = PBXBuildFile; fileRef = 508A120B1C6E445E88917FE8 /* zip_error_get.c */; }; + 39940DB222C5214A0050DDE1 /* zip_error_get_sys_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F76ABDE60210486B96DD28D0 /* zip_error_get_sys_type.c */; }; + 39940DB322C5214A0050DDE1 /* zip_error_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = 873CF3E625624545AEC59D03 /* zip_error_strerror.c */; }; + 39940DB422C5214A0050DDE1 /* zip_error_to_str.c in Sources */ = {isa = PBXBuildFile; fileRef = 1C39B71275AE4DBC8BC08010 /* zip_error_to_str.c */; }; + 39940DB522C5214A0050DDE1 /* zip_extra_field.c in Sources */ = {isa = PBXBuildFile; fileRef = 4255B46ADF65451B9993A9B3 /* zip_extra_field.c */; }; + 39940DB622C5214A0050DDE1 /* zip_extra_field_api.c in Sources */ = {isa = PBXBuildFile; fileRef = 71D87CB2A16A475CBBCCADBE /* zip_extra_field_api.c */; }; + 39940DB722C5214A0050DDE1 /* zip_fclose.c in Sources */ = {isa = PBXBuildFile; fileRef = DB5B91264BE14E49A1C26CAD /* zip_fclose.c */; }; + 39940DB822C5214A0050DDE1 /* zip_fdopen.c in Sources */ = {isa = PBXBuildFile; fileRef = 314A527FFB244451B41419A0 /* zip_fdopen.c */; }; + 39940DB922C5214A0050DDE1 /* zip_file_add.c in Sources */ = {isa = PBXBuildFile; fileRef = FA5CCB2E48984F0EB6643E4B /* zip_file_add.c */; }; + 39940DBA22C5214A0050DDE1 /* zip_file_error_clear.c in Sources */ = {isa = PBXBuildFile; fileRef = A29F948C23674A4E8A708924 /* zip_file_error_clear.c */; }; + 39940DBB22C5214A0050DDE1 /* zip_file_error_get.c in Sources */ = {isa = PBXBuildFile; fileRef = FE2D6AD037A24DE887BC23BF /* zip_file_error_get.c */; }; + 39940DBC22C5214A0050DDE1 /* zip_file_get_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 95DE86D31B424DD499C9FB9C /* zip_file_get_comment.c */; }; + 39940DBD22C5214A0050DDE1 /* zip_file_get_external_attributes.c in Sources */ = {isa = PBXBuildFile; fileRef = 8A94D021A5A24595BC076C7E /* zip_file_get_external_attributes.c */; }; + 39940DBE22C5214A0050DDE1 /* zip_file_get_offset.c in Sources */ = {isa = PBXBuildFile; fileRef = 65D2367607294425B9E2F9C0 /* zip_file_get_offset.c */; }; + 39940DBF22C5214A0050DDE1 /* zip_file_rename.c in Sources */ = {isa = PBXBuildFile; fileRef = D768F6BDDFFB4584BFA176DC /* zip_file_rename.c */; }; + 39940DC022C5214A0050DDE1 /* zip_file_replace.c in Sources */ = {isa = PBXBuildFile; fileRef = E1CC97D75D8C48C294E44A42 /* zip_file_replace.c */; }; + 39940DC122C5214A0050DDE1 /* zip_file_set_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 7A3B426999704EC2861C9A7F /* zip_file_set_comment.c */; }; + 39940DC222C5214A0050DDE1 /* zip_file_set_encryption.c in Sources */ = {isa = PBXBuildFile; fileRef = 4B476A867607493CA6F295ED /* zip_file_set_encryption.c */; }; + 39940DC322C5214A0050DDE1 /* zip_file_set_external_attributes.c in Sources */ = {isa = PBXBuildFile; fileRef = D0FAEA81622945A2B553652C /* zip_file_set_external_attributes.c */; }; + 39940DC422C5214A0050DDE1 /* zip_file_set_mtime.c in Sources */ = {isa = PBXBuildFile; fileRef = DA9AE346BDFA4D149CB029CD /* zip_file_set_mtime.c */; }; + 39940DC522C5214A0050DDE1 /* zip_file_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = C0CEABBD2C2249EE92EE2084 /* zip_file_strerror.c */; }; + 39940DC622C5214A0050DDE1 /* zip_filerange_crc.c in Sources */ = {isa = PBXBuildFile; fileRef = CFDBB64D2840449B91A16083 /* zip_filerange_crc.c */; }; + 39940DC722C5214A0050DDE1 /* zip_fopen.c in Sources */ = {isa = PBXBuildFile; fileRef = FBDE8C1BFEBC49BBAA747C68 /* zip_fopen.c */; }; + 39940DC822C5214A0050DDE1 /* zip_fopen_encrypted.c in Sources */ = {isa = PBXBuildFile; fileRef = 0D76F024441D4F2FAE418D5A /* zip_fopen_encrypted.c */; }; + 39940DC922C5214A0050DDE1 /* zip_fopen_index.c in Sources */ = {isa = PBXBuildFile; fileRef = 1ADDC74CF5284D30B7E544C3 /* zip_fopen_index.c */; }; + 39940DCA22C5214A0050DDE1 /* zip_fopen_index_encrypted.c in Sources */ = {isa = PBXBuildFile; fileRef = 7E027EA0D9FD4D75BE3A44B2 /* zip_fopen_index_encrypted.c */; }; + 39940DCB22C5214B0050DDE1 /* zip_fread.c in Sources */ = {isa = PBXBuildFile; fileRef = D330C053479741578E62BFFF /* zip_fread.c */; }; + 39940DCC22C5214B0050DDE1 /* zip_fseek.c in Sources */ = {isa = PBXBuildFile; fileRef = 38ACD540441D413EB403EF78 /* zip_fseek.c */; }; + 39940DCD22C5214B0050DDE1 /* zip_ftell.c in Sources */ = {isa = PBXBuildFile; fileRef = 496DCD1C19854733904709DA /* zip_ftell.c */; }; + 39940DCE22C5214B0050DDE1 /* zip_get_archive_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 0858B73B1C7E4C38BEA4F79F /* zip_get_archive_comment.c */; }; + 39940DCF22C5214B0050DDE1 /* zip_get_archive_flag.c in Sources */ = {isa = PBXBuildFile; fileRef = 80D980A4C87E46168C6CD95A /* zip_get_archive_flag.c */; }; + 39940DD022C5214B0050DDE1 /* zip_get_encryption_implementation.c in Sources */ = {isa = PBXBuildFile; fileRef = FF79DDE5BC434D47A9175F65 /* zip_get_encryption_implementation.c */; }; + 39940DD122C5214B0050DDE1 /* zip_get_file_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 457B4C18E9B747A6A78EE5B1 /* zip_get_file_comment.c */; }; + 39940DD222C5214B0050DDE1 /* zip_get_name.c in Sources */ = {isa = PBXBuildFile; fileRef = 40677177733E4A6FA2B889EB /* zip_get_name.c */; }; + 39940DD322C5214B0050DDE1 /* zip_get_num_entries.c in Sources */ = {isa = PBXBuildFile; fileRef = 8B26D004BB874A89BE4C066A /* zip_get_num_entries.c */; }; + 39940DD422C5214B0050DDE1 /* zip_get_num_files.c in Sources */ = {isa = PBXBuildFile; fileRef = ED9A5EF9FC1D46EA8985A8C5 /* zip_get_num_files.c */; }; + 39940DD522C5214B0050DDE1 /* zip_hash.c in Sources */ = {isa = PBXBuildFile; fileRef = D82A10797D99415AAC27E0C2 /* zip_hash.c */; }; + 39940DD622C5214B0050DDE1 /* zip_io_util.c in Sources */ = {isa = PBXBuildFile; fileRef = 96F450448D584C889784EBF2 /* zip_io_util.c */; }; + 39940DD722C5214B0050DDE1 /* zip_libzip_version.c in Sources */ = {isa = PBXBuildFile; fileRef = 75FBEEA2AD8545ECABBAB5F5 /* zip_libzip_version.c */; }; + 39940DD822C5214B0050DDE1 /* zip_memdup.c in Sources */ = {isa = PBXBuildFile; fileRef = C0D362ECDAAD46BF9B9BE9A0 /* zip_memdup.c */; }; + 39940DD922C5214B0050DDE1 /* zip_name_locate.c in Sources */ = {isa = PBXBuildFile; fileRef = 1649452451714969971E9F06 /* zip_name_locate.c */; }; + 39940DDA22C5214B0050DDE1 /* zip_new.c in Sources */ = {isa = PBXBuildFile; fileRef = 7A2A8251080D47CE94094745 /* zip_new.c */; }; + 39940DDB22C5214B0050DDE1 /* zip_open.c in Sources */ = {isa = PBXBuildFile; fileRef = 475BC1AE0B9C4C78A0B70EBE /* zip_open.c */; }; + 39940DDC22C5214B0050DDE1 /* zip_progress.c in Sources */ = {isa = PBXBuildFile; fileRef = 3A4EDCA25C0B455D819BC327 /* zip_progress.c */; }; + 39940DDD22C5214B0050DDE1 /* zip_rename.c in Sources */ = {isa = PBXBuildFile; fileRef = F56A9C80C1E14C4DB8EAB6AE /* zip_rename.c */; }; + 39940DDE22C5214B0050DDE1 /* zip_replace.c in Sources */ = {isa = PBXBuildFile; fileRef = E3315AC707C0412B9D51F4AC /* zip_replace.c */; }; + 39940DDF22C5214B0050DDE1 /* zip_set_archive_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 14B4B734999E4907A9C16EF6 /* zip_set_archive_comment.c */; }; + 39940DE022C5214B0050DDE1 /* zip_set_archive_flag.c in Sources */ = {isa = PBXBuildFile; fileRef = 19216CF889DE497EB7A08AF8 /* zip_set_archive_flag.c */; }; + 39940DE122C5214B0050DDE1 /* zip_set_default_password.c in Sources */ = {isa = PBXBuildFile; fileRef = FB93224336F04B84956673F2 /* zip_set_default_password.c */; }; + 39940DE222C5214B0050DDE1 /* zip_set_file_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 13D177AD931D486ABCEFEFBF /* zip_set_file_comment.c */; }; + 39940DE322C5214B0050DDE1 /* zip_set_file_compression.c in Sources */ = {isa = PBXBuildFile; fileRef = 67604620C9314EEA86FF60C9 /* zip_set_file_compression.c */; }; + 39940DE422C5214B0050DDE1 /* zip_set_name.c in Sources */ = {isa = PBXBuildFile; fileRef = AE4B4DF5A62B49CEA7F37688 /* zip_set_name.c */; }; + 39940DE522C5214B0050DDE1 /* zip_source_begin_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 8317E041BD3540138275ED58 /* zip_source_begin_write.c */; }; + 39940DE622C5214B0050DDE1 /* zip_source_begin_write_cloning.c in Sources */ = {isa = PBXBuildFile; fileRef = 13F2F61EBDA248A3A10291E5 /* zip_source_begin_write_cloning.c */; }; + 39940DE722C5214B0050DDE1 /* zip_source_buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 7E9E44B690C3405AB75B2E38 /* zip_source_buffer.c */; }; + 39940DE822C5214B0050DDE1 /* zip_source_call.c in Sources */ = {isa = PBXBuildFile; fileRef = 032F5C897A87436A81AC93C3 /* zip_source_call.c */; }; + 39940DE922C5214B0050DDE1 /* zip_source_close.c in Sources */ = {isa = PBXBuildFile; fileRef = 7221C363FFFF4CF1BEB64E42 /* zip_source_close.c */; }; + 39940DEA22C5214B0050DDE1 /* zip_source_commit_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 75C1F3C09DC24BCFB3F25BDA /* zip_source_commit_write.c */; }; + 39940DEB22C5214B0050DDE1 /* zip_source_compress.c in Sources */ = {isa = PBXBuildFile; fileRef = 8260D377DC2B47518FD7E703 /* zip_source_compress.c */; }; + 39940DEC22C5214B0050DDE1 /* zip_source_crc.c in Sources */ = {isa = PBXBuildFile; fileRef = B26233B6008946169DFE2CB0 /* zip_source_crc.c */; }; + 39940DED22C5214B0050DDE1 /* zip_source_error.c in Sources */ = {isa = PBXBuildFile; fileRef = C45608E111824F1C902253F9 /* zip_source_error.c */; }; + 39940DEE22C5214B0050DDE1 /* zip_source_file.c in Sources */ = {isa = PBXBuildFile; fileRef = C856C3A2447C4ACBBE377A7E /* zip_source_file.c */; }; + 39940DEF22C5214B0050DDE1 /* zip_source_filep.c in Sources */ = {isa = PBXBuildFile; fileRef = FDF6BE4A9DF24316BEB686CB /* zip_source_filep.c */; }; + 39940DF022C5214B0050DDE1 /* zip_source_free.c in Sources */ = {isa = PBXBuildFile; fileRef = 57E939F10829425190611AB4 /* zip_source_free.c */; }; + 39940DF122C5214B0050DDE1 /* zip_source_function.c in Sources */ = {isa = PBXBuildFile; fileRef = AFE5EA81CDE24C5EBB19513B /* zip_source_function.c */; }; + 39940DF222C5214B0050DDE1 /* zip_source_get_compression_flags.c in Sources */ = {isa = PBXBuildFile; fileRef = 354B673AF4ED41AF850CC8CA /* zip_source_get_compression_flags.c */; }; + 39940DF322C5214B0050DDE1 /* zip_source_is_deleted.c in Sources */ = {isa = PBXBuildFile; fileRef = 5F8245084A0148BD90CC3A48 /* zip_source_is_deleted.c */; }; + 39940DF422C5214B0050DDE1 /* zip_source_layered.c in Sources */ = {isa = PBXBuildFile; fileRef = AB815B8E80BA46F3A7E90885 /* zip_source_layered.c */; }; + 39940DF522C5214B0050DDE1 /* zip_source_open.c in Sources */ = {isa = PBXBuildFile; fileRef = 8706DC1D0CD54D26B51999FA /* zip_source_open.c */; }; + 39940DF622C5214B0050DDE1 /* zip_source_pkware.c in Sources */ = {isa = PBXBuildFile; fileRef = DAD31592B9E04F8389F96901 /* zip_source_pkware.c */; }; + 39940DF722C5214B0050DDE1 /* zip_source_read.c in Sources */ = {isa = PBXBuildFile; fileRef = 3665685516E247B080B7820A /* zip_source_read.c */; }; + 39940DF822C5214B0050DDE1 /* zip_source_remove.c in Sources */ = {isa = PBXBuildFile; fileRef = 03B6622F53304FCCA2008FE2 /* zip_source_remove.c */; }; + 39940DF922C5214B0050DDE1 /* zip_source_rollback_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 31765A74C1D14485866990B4 /* zip_source_rollback_write.c */; }; + 39940DFA22C5214B0050DDE1 /* zip_source_seek.c in Sources */ = {isa = PBXBuildFile; fileRef = 63009BEFF7044EA4AD472B5D /* zip_source_seek.c */; }; + 39940DFB22C5214B0050DDE1 /* zip_source_seek_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 88A961D124BF4B349761272C /* zip_source_seek_write.c */; }; + 39940DFC22C5214B0050DDE1 /* zip_source_stat.c in Sources */ = {isa = PBXBuildFile; fileRef = B3684A6947954FD78A0276E9 /* zip_source_stat.c */; }; + 39940DFD22C5214B0050DDE1 /* zip_source_supports.c in Sources */ = {isa = PBXBuildFile; fileRef = 9A9593F6A0F44A9AB52F1635 /* zip_source_supports.c */; }; + 39940DFE22C5214B0050DDE1 /* zip_source_tell.c in Sources */ = {isa = PBXBuildFile; fileRef = AF679626FE3B4D02BE40D443 /* zip_source_tell.c */; }; + 39940DFF22C5214B0050DDE1 /* zip_source_tell_write.c in Sources */ = {isa = PBXBuildFile; fileRef = B85743C1E912405699B8E86D /* zip_source_tell_write.c */; }; + 39940E0022C5214B0050DDE1 /* zip_source_window.c in Sources */ = {isa = PBXBuildFile; fileRef = 1F588E39D29346E193DCC7A6 /* zip_source_window.c */; }; + 39940E0122C5214B0050DDE1 /* zip_source_winzip_aes_decode.c in Sources */ = {isa = PBXBuildFile; fileRef = 0DAFE80A3C9B411AA16DFCC8 /* zip_source_winzip_aes_decode.c */; }; + 39940E0222C5214B0050DDE1 /* zip_source_winzip_aes_encode.c in Sources */ = {isa = PBXBuildFile; fileRef = C0CC1EDF8E874E66BEB5607B /* zip_source_winzip_aes_encode.c */; }; + 39940E0322C5214B0050DDE1 /* zip_source_write.c in Sources */ = {isa = PBXBuildFile; fileRef = B5098FEB63DC47D489B59AC5 /* zip_source_write.c */; }; + 39940E0422C5214B0050DDE1 /* zip_source_zip.c in Sources */ = {isa = PBXBuildFile; fileRef = 2F34B2237EC64715ACB48B57 /* zip_source_zip.c */; }; + 39940E0522C5214B0050DDE1 /* zip_source_zip_new.c in Sources */ = {isa = PBXBuildFile; fileRef = 7155F9B130754272B4EB8385 /* zip_source_zip_new.c */; }; + 39940E0622C5214B0050DDE1 /* zip_stat.c in Sources */ = {isa = PBXBuildFile; fileRef = 34808CCE62B44C49AC4DFC8D /* zip_stat.c */; }; + 39940E0722C5214B0050DDE1 /* zip_stat_index.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E5D60FB0803469ABAF41734 /* zip_stat_index.c */; }; + 39940E0822C5214B0050DDE1 /* zip_stat_init.c in Sources */ = {isa = PBXBuildFile; fileRef = 708539CBE0A7434796055DCD /* zip_stat_init.c */; }; + 39940E0922C5214B0050DDE1 /* zip_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = DC5E20830F304058A46F0F6C /* zip_strerror.c */; }; + 39940E0A22C5214B0050DDE1 /* zip_string.c in Sources */ = {isa = PBXBuildFile; fileRef = C41A22F60FE345F0919ABD83 /* zip_string.c */; }; + 39940E0B22C5214B0050DDE1 /* zip_unchange.c in Sources */ = {isa = PBXBuildFile; fileRef = DEA391150CF9441599656753 /* zip_unchange.c */; }; + 39940E0C22C5214B0050DDE1 /* zip_unchange_all.c in Sources */ = {isa = PBXBuildFile; fileRef = D793C34E727B4E43A5E60433 /* zip_unchange_all.c */; }; + 39940E0D22C5214B0050DDE1 /* zip_unchange_archive.c in Sources */ = {isa = PBXBuildFile; fileRef = 7372853322B948DBB1A66AB5 /* zip_unchange_archive.c */; }; + 39940E0E22C5214B0050DDE1 /* zip_unchange_data.c in Sources */ = {isa = PBXBuildFile; fileRef = 8986EA932BB34E92B62EBBB9 /* zip_unchange_data.c */; }; + 39940E0F22C5214B0050DDE1 /* zip_utf-8.c in Sources */ = {isa = PBXBuildFile; fileRef = 3C88298BDEA64A02BEBC89AF /* zip_utf-8.c */; }; + 39940E1022C5214B0050DDE1 /* zip_winzip_aes.c in Sources */ = {isa = PBXBuildFile; fileRef = 3EC04E24004A492FAA8F5C08 /* zip_winzip_aes.c */; }; + 39940E4122C6309A0050DDE1 /* config.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E4022C6308B0050DDE1 /* config.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4222C6309A0050DDE1 /* zipconf.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3F22C6308B0050DDE1 /* zipconf.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4322C6309A0050DDE1 /* compat.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3D22C630700050DDE1 /* compat.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4422C6309A0050DDE1 /* zip_crypto_commoncrypto.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3C22C630700050DDE1 /* zip_crypto_commoncrypto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4522C6309A0050DDE1 /* zip_crypto_gnutls.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3522C630700050DDE1 /* zip_crypto_gnutls.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4622C6309A0050DDE1 /* zip_crypto_mbedtls.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3622C630700050DDE1 /* zip_crypto_mbedtls.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4722C6309A0050DDE1 /* zip_crypto_openssl.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3E22C630700050DDE1 /* zip_crypto_openssl.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4822C6309A0050DDE1 /* zip_crypto_win.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3922C630700050DDE1 /* zip_crypto_win.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4922C6309A0050DDE1 /* zip_crypto.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3A22C630700050DDE1 /* zip_crypto.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4A22C6309A0050DDE1 /* zip.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3722C630700050DDE1 /* zip.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4B22C6309A0050DDE1 /* zipint.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3822C630700050DDE1 /* zipint.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 39940E4C22C6309A0050DDE1 /* zipwin32.h in Headers */ = {isa = PBXBuildFile; fileRef = 39940E3B22C630700050DDE1 /* zipwin32.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 3A22429C83B44867953F8C3F /* add_from_filep.c in Sources */ = {isa = PBXBuildFile; fileRef = A44BE256E3C543DB9BBD5760 /* add_from_filep.c */; }; + 3E800AD4E8484C8B915C97BD /* zip_string.c in Sources */ = {isa = PBXBuildFile; fileRef = C41A22F60FE345F0919ABD83 /* zip_string.c */; }; + 40BD0D65BB584519869D1D4A /* fseek.c in Sources */ = {isa = PBXBuildFile; fileRef = 91AF44FF327849A5B3A0B54B /* fseek.c */; }; + 455C466D3B554008B13FB879 /* zip_source_buffer.c in Sources */ = {isa = PBXBuildFile; fileRef = 7E9E44B690C3405AB75B2E38 /* zip_source_buffer.c */; }; + 46FCB80FD3B64C879A9CAD88 /* zip_get_encryption_implementation.c in Sources */ = {isa = PBXBuildFile; fileRef = FF79DDE5BC434D47A9175F65 /* zip_get_encryption_implementation.c */; }; + 47502DD7D1224EC29DCB11EA /* zip_utf-8.c in Sources */ = {isa = PBXBuildFile; fileRef = 3C88298BDEA64A02BEBC89AF /* zip_utf-8.c */; }; + 47B03628C05342AF8865E8F5 /* zip_discard.c in Sources */ = {isa = PBXBuildFile; fileRef = 0D05D42C7E114204B1154992 /* zip_discard.c */; }; + 4960D30C7CF74DD0B7C6CBD2 /* zip_file_get_external_attributes.c in Sources */ = {isa = PBXBuildFile; fileRef = 8A94D021A5A24595BC076C7E /* zip_file_get_external_attributes.c */; }; + 49F8EBC9A48A47C88897C16A /* ziptool.c in Sources */ = {isa = PBXBuildFile; fileRef = F0ADC907336041A9880D52D5 /* ziptool.c */; }; + 4D7974685C554D109A9CCD9C /* zip_source_call.c in Sources */ = {isa = PBXBuildFile; fileRef = 032F5C897A87436A81AC93C3 /* zip_source_call.c */; }; + 4EB931E7E0AF4FBB89FE3A51 /* zip_set_file_compression.c in Sources */ = {isa = PBXBuildFile; fileRef = 67604620C9314EEA86FF60C9 /* zip_set_file_compression.c */; }; + 518087CD70EC4FB09775905B /* zip_dir_add.c in Sources */ = {isa = PBXBuildFile; fileRef = 36F7773A65A84B4293F0FF42 /* zip_dir_add.c */; }; + 5286723A08AA4FF9A3A863E1 /* zip_source_layered.c in Sources */ = {isa = PBXBuildFile; fileRef = AB815B8E80BA46F3A7E90885 /* zip_source_layered.c */; }; + 5479D604F3B8439283E5A670 /* zip_source_seek.c in Sources */ = {isa = PBXBuildFile; fileRef = 63009BEFF7044EA4AD472B5D /* zip_source_seek.c */; }; + 5A6D8B330C9743B9A7554F16 /* zip_source_stat.c in Sources */ = {isa = PBXBuildFile; fileRef = B3684A6947954FD78A0276E9 /* zip_source_stat.c */; }; + 5C12B6A2DFDF4E0CB4679D13 /* zip_crypto_commoncrypto.c in Sources */ = {isa = PBXBuildFile; fileRef = EA3ED43448834BE2808B3992 /* zip_crypto_commoncrypto.c */; }; + 5EE2975D4F164C3887369511 /* zip_fclose.c in Sources */ = {isa = PBXBuildFile; fileRef = DB5B91264BE14E49A1C26CAD /* zip_fclose.c */; }; + 64845A30FDA14FAA9BDEEFA5 /* zip_source_file.c in Sources */ = {isa = PBXBuildFile; fileRef = C856C3A2447C4ACBBE377A7E /* zip_source_file.c */; }; + 68BB874DE5B6419FA033D66D /* zip_source_pkware.c in Sources */ = {isa = PBXBuildFile; fileRef = DAD31592B9E04F8389F96901 /* zip_source_pkware.c */; }; + 6A212E06F9B8435591CBCD90 /* zip_fopen_encrypted.c in Sources */ = {isa = PBXBuildFile; fileRef = 0D76F024441D4F2FAE418D5A /* zip_fopen_encrypted.c */; }; + 6A58F7705A524B9DBE8D8AAB /* zip_set_name.c in Sources */ = {isa = PBXBuildFile; fileRef = AE4B4DF5A62B49CEA7F37688 /* zip_set_name.c */; }; + 6B6DB09C5EBA4955BB283AC6 /* zip_get_name.c in Sources */ = {isa = PBXBuildFile; fileRef = 40677177733E4A6FA2B889EB /* zip_get_name.c */; }; + 6B9B63BC309B41318F9B32FA /* zip_stat.c in Sources */ = {isa = PBXBuildFile; fileRef = 34808CCE62B44C49AC4DFC8D /* zip_stat.c */; }; + 7017BFC723164931B241D700 /* zip_rename.c in Sources */ = {isa = PBXBuildFile; fileRef = F56A9C80C1E14C4DB8EAB6AE /* zip_rename.c */; }; + 70782746BE304131A28E5E82 /* zip_error_clear.c in Sources */ = {isa = PBXBuildFile; fileRef = 72E56921B9BF4877A138DAE6 /* zip_error_clear.c */; }; + 72B08408023B4545B493543F /* zip_unchange.c in Sources */ = {isa = PBXBuildFile; fileRef = DEA391150CF9441599656753 /* zip_unchange.c */; }; + 73D78C0756A24F32870EF254 /* zip_set_archive_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 14B4B734999E4907A9C16EF6 /* zip_set_archive_comment.c */; }; + 76AC452DC0EA4F4097B91E8A /* zip_source_rollback_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 31765A74C1D14485866990B4 /* zip_source_rollback_write.c */; }; + 7A55F4C0EA3B49D196583E84 /* can_clone_file.c in Sources */ = {isa = PBXBuildFile; fileRef = 63D0CBF345DE4C789451B9D5 /* can_clone_file.c */; }; + 7B4278152FFE4C44BCC504BB /* zip_dirent.c in Sources */ = {isa = PBXBuildFile; fileRef = CFDA889ABEC841EBB01EEC70 /* zip_dirent.c */; }; + 7C5BE17E6D3D4B9E98278DBF /* ziptool_regress.c in Sources */ = {isa = PBXBuildFile; fileRef = 88859D71B54B492E88F0187A /* ziptool_regress.c */; }; + 7DE4488B003A463D8DBF5768 /* zip_stat_init.c in Sources */ = {isa = PBXBuildFile; fileRef = 708539CBE0A7434796055DCD /* zip_stat_init.c */; }; + 7F5622780ECE4255919FCD87 /* zip_source_window.c in Sources */ = {isa = PBXBuildFile; fileRef = 1F588E39D29346E193DCC7A6 /* zip_source_window.c */; }; + 818A0D37EFA64A8E9F45DB73 /* zip_source_winzip_aes_encode.c in Sources */ = {isa = PBXBuildFile; fileRef = C0CC1EDF8E874E66BEB5607B /* zip_source_winzip_aes_encode.c */; }; + 81FD748A1AFA43CCA1FFAD06 /* zip_fopen.c in Sources */ = {isa = PBXBuildFile; fileRef = FBDE8C1BFEBC49BBAA747C68 /* zip_fopen.c */; }; + 8279D4E2E3914AC2AA7C02F7 /* zip_set_file_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 13D177AD931D486ABCEFEFBF /* zip_set_file_comment.c */; }; + 84DC22B8760C43B2BAD84CDC /* zip_source_read.c in Sources */ = {isa = PBXBuildFile; fileRef = 3665685516E247B080B7820A /* zip_source_read.c */; }; + 86539AAC010A43078B807696 /* zip_source_tell_write.c in Sources */ = {isa = PBXBuildFile; fileRef = B85743C1E912405699B8E86D /* zip_source_tell_write.c */; }; + 86A7B77013434E61BD809139 /* zip_add.c in Sources */ = {isa = PBXBuildFile; fileRef = D01E637C6641430DB833BA47 /* zip_add.c */; }; + 884906D83DD84917A3178CF4 /* zip_hash.c in Sources */ = {isa = PBXBuildFile; fileRef = D82A10797D99415AAC27E0C2 /* zip_hash.c */; }; + 8A113A439BB0466E87F9CD4B /* zip_file_add.c in Sources */ = {isa = PBXBuildFile; fileRef = FA5CCB2E48984F0EB6643E4B /* zip_file_add.c */; }; + 8A73A6BDD7534504971D0A44 /* zip_unchange_archive.c in Sources */ = {isa = PBXBuildFile; fileRef = 7372853322B948DBB1A66AB5 /* zip_unchange_archive.c */; }; + 8BA4B94F76284CB59BD0E3AA /* tryopen.c in Sources */ = {isa = PBXBuildFile; fileRef = 696AABED346B4CE8BE2DE91D /* tryopen.c */; }; + 8D0EC17FBD4F4E6CBA402456 /* zip_close.c in Sources */ = {isa = PBXBuildFile; fileRef = 4A15B51E9C9F440CBC684EF0 /* zip_close.c */; }; + 8D19CCE1611644E0B2367EB4 /* zip_source_function.c in Sources */ = {isa = PBXBuildFile; fileRef = AFE5EA81CDE24C5EBB19513B /* zip_source_function.c */; }; + 91636293AABC45C1A85A2F1E /* zip_source_error.c in Sources */ = {isa = PBXBuildFile; fileRef = C45608E111824F1C902253F9 /* zip_source_error.c */; }; + 948B59B5F12C41D4973AAED2 /* zip_file_error_clear.c in Sources */ = {isa = PBXBuildFile; fileRef = A29F948C23674A4E8A708924 /* zip_file_error_clear.c */; }; + 95A9101E68AD423DA9CC018A /* zip_add_entry.c in Sources */ = {isa = PBXBuildFile; fileRef = D75F83D6D67544E3893724E3 /* zip_add_entry.c */; }; + 976C358BE2F8433D947A89F3 /* zip_file_set_external_attributes.c in Sources */ = {isa = PBXBuildFile; fileRef = D0FAEA81622945A2B553652C /* zip_file_set_external_attributes.c */; }; + 9848FD81321846DC93EFAA65 /* zip_error_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = 873CF3E625624545AEC59D03 /* zip_error_strerror.c */; }; + 99B8452856C14638891030BD /* zip_file_replace.c in Sources */ = {isa = PBXBuildFile; fileRef = E1CC97D75D8C48C294E44A42 /* zip_file_replace.c */; }; + 9A9F1F2861684CC5ABBA83FD /* zip_get_num_entries.c in Sources */ = {isa = PBXBuildFile; fileRef = 8B26D004BB874A89BE4C066A /* zip_get_num_entries.c */; }; + 9AE7F86C950C475BADFE3348 /* nonrandomopen.c in Sources */ = {isa = PBXBuildFile; fileRef = 5CD45DA05B5B4872AFB867C3 /* nonrandomopen.c */; }; + 9D9186105E3140DFA75246D9 /* zip_io_util.c in Sources */ = {isa = PBXBuildFile; fileRef = 96F450448D584C889784EBF2 /* zip_io_util.c */; }; + A32A9AEC1F0F44418B03DFFA /* zip_source_supports.c in Sources */ = {isa = PBXBuildFile; fileRef = 9A9593F6A0F44A9AB52F1635 /* zip_source_supports.c */; }; + A33D93801015449298B4CB5F /* fopen_unchanged.c in Sources */ = {isa = PBXBuildFile; fileRef = 7D24A35817F44A658D3053B8 /* fopen_unchanged.c */; }; + A3650F874A31431283EAAD38 /* nonrandomopentest.c in Sources */ = {isa = PBXBuildFile; fileRef = E35625DF0CD646738B8AFACD /* nonrandomopentest.c */; }; + A7011E49A4474D20BF45FD2F /* zip_source_remove.c in Sources */ = {isa = PBXBuildFile; fileRef = 03B6622F53304FCCA2008FE2 /* zip_source_remove.c */; }; + A7073BA5DCD84136BD50F424 /* zip_file_set_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 7A3B426999704EC2861C9A7F /* zip_file_set_comment.c */; }; + A87EE002D54044B2B74A6A8D /* zip_source_begin_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 8317E041BD3540138275ED58 /* zip_source_begin_write.c */; }; + A96EA4D1D433463B9708A231 /* zip_delete.c in Sources */ = {isa = PBXBuildFile; fileRef = 23F00C327E7D4DC6A0AFC1A8 /* zip_delete.c */; }; + AB56C60B93374167A778D35B /* zipmerge.c in Sources */ = {isa = PBXBuildFile; fileRef = 79E51AD1F6D14D25BB655E30 /* zipmerge.c */; }; + ABB2496198EE462AB739B1E7 /* zipcmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 8B8ABB5A4C0143D9AAEA09C2 /* zipcmp.c */; }; + AC958A5623CF4FAF89FF3921 /* zip_source_tell.c in Sources */ = {isa = PBXBuildFile; fileRef = AF679626FE3B4D02BE40D443 /* zip_source_tell.c */; }; + B18E20EFEDE8413291C3363B /* zip_source_seek_write.c in Sources */ = {isa = PBXBuildFile; fileRef = 88A961D124BF4B349761272C /* zip_source_seek_write.c */; }; + B1CFDC4F71FB414A9DAA3D28 /* zip_fread.c in Sources */ = {isa = PBXBuildFile; fileRef = D330C053479741578E62BFFF /* zip_fread.c */; }; + B5A1734E22994E589EE605C1 /* zip_stat_index.c in Sources */ = {isa = PBXBuildFile; fileRef = 0E5D60FB0803469ABAF41734 /* zip_stat_index.c */; }; + B998070D2692454A93D8C0E4 /* zip_file_rename.c in Sources */ = {isa = PBXBuildFile; fileRef = D768F6BDDFFB4584BFA176DC /* zip_file_rename.c */; }; + BCBC651B600F4CC2BC3F4F52 /* zip_fopen_index_encrypted.c in Sources */ = {isa = PBXBuildFile; fileRef = 7E027EA0D9FD4D75BE3A44B2 /* zip_fopen_index_encrypted.c */; }; + BCD65FAA39D740E28A363442 /* zip_error_get.c in Sources */ = {isa = PBXBuildFile; fileRef = 508A120B1C6E445E88917FE8 /* zip_error_get.c */; }; + BCFCFF9E3EFC4952B632D5E8 /* hole.c in Sources */ = {isa = PBXBuildFile; fileRef = E8F0295B55114012B5615F90 /* hole.c */; }; + C480A14590E749BDBA42999B /* zip_strerror.c in Sources */ = {isa = PBXBuildFile; fileRef = DC5E20830F304058A46F0F6C /* zip_strerror.c */; }; + C5382AA594E24913A6A8865E /* zip_source_write.c in Sources */ = {isa = PBXBuildFile; fileRef = B5098FEB63DC47D489B59AC5 /* zip_source_write.c */; }; + C9513EC079094ADFA5BDD567 /* zip_source_is_deleted.c in Sources */ = {isa = PBXBuildFile; fileRef = 5F8245084A0148BD90CC3A48 /* zip_source_is_deleted.c */; }; + C9735DDBBD024CB8826D8A48 /* zip_file_get_offset.c in Sources */ = {isa = PBXBuildFile; fileRef = 65D2367607294425B9E2F9C0 /* zip_file_get_offset.c */; }; + CC7305AE8F2D4BB497CF5ACB /* zip_fdopen.c in Sources */ = {isa = PBXBuildFile; fileRef = 314A527FFB244451B41419A0 /* zip_fdopen.c */; }; + CD573F552C354543B55E054F /* zip_set_default_password.c in Sources */ = {isa = PBXBuildFile; fileRef = FB93224336F04B84956673F2 /* zip_set_default_password.c */; }; + CD8E0B7CE4634C44AE250E29 /* zip_winzip_aes.c in Sources */ = {isa = PBXBuildFile; fileRef = 3EC04E24004A492FAA8F5C08 /* zip_winzip_aes.c */; }; + CE4A103E3D6944EAB10544F3 /* zip_get_file_comment.c in Sources */ = {isa = PBXBuildFile; fileRef = 457B4C18E9B747A6A78EE5B1 /* zip_get_file_comment.c */; }; + CFF0D36434BD4393B8342892 /* fread.c in Sources */ = {isa = PBXBuildFile; fileRef = 68A28B8340084E468139F881 /* fread.c */; }; + D22337875BE74C76B6A8F62F /* zip_filerange_crc.c in Sources */ = {isa = PBXBuildFile; fileRef = CFDBB64D2840449B91A16083 /* zip_filerange_crc.c */; }; + D23578D0D3344A26AE0FA4C5 /* zip_unchange_all.c in Sources */ = {isa = PBXBuildFile; fileRef = D793C34E727B4E43A5E60433 /* zip_unchange_all.c */; }; + DD99D0C3ABA147AD803614A3 /* zip_source_winzip_aes_decode.c in Sources */ = {isa = PBXBuildFile; fileRef = 0DAFE80A3C9B411AA16DFCC8 /* zip_source_winzip_aes_decode.c */; }; + DED18606C0614036963DDAA2 /* zip_extra_field_api.c in Sources */ = {isa = PBXBuildFile; fileRef = 71D87CB2A16A475CBBCCADBE /* zip_extra_field_api.c */; }; + E3BBB95C37EF403FA6B5B7AF /* zip_unchange_data.c in Sources */ = {isa = PBXBuildFile; fileRef = 8986EA932BB34E92B62EBBB9 /* zip_unchange_data.c */; }; + E6E4C8518494469681F95F9B /* zip_replace.c in Sources */ = {isa = PBXBuildFile; fileRef = E3315AC707C0412B9D51F4AC /* zip_replace.c */; }; + EBAECAA9FA0649F88D5F180A /* zip_source_zip_new.c in Sources */ = {isa = PBXBuildFile; fileRef = 7155F9B130754272B4EB8385 /* zip_source_zip_new.c */; }; + F1F2C750D42748DE94567F96 /* zip_memdup.c in Sources */ = {isa = PBXBuildFile; fileRef = C0D362ECDAAD46BF9B9BE9A0 /* zip_memdup.c */; }; + F7B07140DF374420AB3B492E /* zip_error_get_sys_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F76ABDE60210486B96DD28D0 /* zip_error_get_sys_type.c */; }; + FBC1F6F8C2BA498DAC0216F9 /* zip_err_str.c in Sources */ = {isa = PBXBuildFile; fileRef = 193AC787F366444A8BB0A8BE /* zip_err_str.c */; }; + FE900AEFCA9C467D82539668 /* zip_libzip_version.c in Sources */ = {isa = PBXBuildFile; fileRef = 75FBEEA2AD8545ECABBAB5F5 /* zip_libzip_version.c */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 09028652F6924F8CAB652294 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 268B51680EDE4BC1B17DA168; + remoteInfo = hole; + }; + 11523B4F9D5D472BB86BF049 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 12F6AE8876CC41F8801C0CA7 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 153C964627434243B29FA20A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 1676103D3C0143BB8726572E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A9C046FD73B3493B889661DB; + remoteInfo = zipcmp; + }; + 2C243C9410CE4687A7CC54F3 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = F8C82B050439466DB6764BB9; + remoteInfo = fopen_unchanged; + }; + 2CFE5ABFC2634DB7B37AAEB8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E587EDAC743A49B481BEFEF1; + remoteInfo = ALL_BUILD; + }; + 2DACE9A703B54C938D0C255A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 2EE6C5B5F9874A8791D09BBA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 307EBB20A9024E389EAB438B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + 30A0B159B18D4ABCAE5037BA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 3B41A33AAD76433BA3DEE06E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 3FF90C8CD9D74E62B5CFE01B; + remoteInfo = man; + }; + 3CD9AFA5BD174E89A2D0D899 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + 41931B0E6102434DA32492D0 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = EE17F42E1734468EB82C10ED; + remoteInfo = tryopen; + }; + 48DA6167F74F4F2DA503F8DA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 4AF1E7C84D1F423DA5941C4C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + 525EDE4259F54422B0CF2C9E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 591B995E1691431E837445EE /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 5C280E68C7B044A3AA00B006 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 5FEBD0D5805C4732852517ED /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 64C28229375D40318404E1D1 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 6C6A6F038D3740D7A20B0BA8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + 6DA52A4B1E014ACEB5C73E5F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2EE7C069705A4BA4B9C10A60; + remoteInfo = fread; + }; + 6F19E5245F93421AAC02EF21 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 722CB54B923D4CB09F60B941 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 7A7BF2939EEB41FEA757164A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + 81D93173C8ED41DE8A6D3EE2 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 87FC7B41E2F24B9D8926B82A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 8E5E4C40664F48CBB23D8FDA /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + 911A511465004F8DB9B1D935 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E40F6B1D5CD54998AE5CE904; + remoteInfo = ziptool_regress; + }; + 933243D2558640EDA3836418 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 9559247CD8884D368F0595A9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 97D101148B7E4D258DA7C4DE /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 9BE98156CFEA4876AFED482B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + 9FD3F355D75F464D91878ABE /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + A020FADA630F4FA7A30A3235 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = B2108097E371401DA09DB468; + remoteInfo = ziptool; + }; + A8040FEE985F42F08FAE9A4A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + ABBE0A04B40144C3B888CE03 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = E4C63C21CE7F45A3BFB7F3A4; + remoteInfo = zipmerge; + }; + B11B6F9B58234A4182B3174B /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = FCA6544E3F9C459DBA3E1EE1; + remoteInfo = fseek; + }; + C20B3601B372455BA222A38F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = A6CDD43C629C4E2C87AD3E48; + remoteInfo = dist; + }; + C223D73D294641B28C213D11 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + C5AEBCBEF83F494098F4BFC5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + CE9C091EFE58498DABC1AA69 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + D524AAA9D654420C972C19D9 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + D8C01B1912B34B0E9DAF6DB8 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = AC903D34B407400492AD0BB9; + remoteInfo = testinput; + }; + D8E1FAFB4A924F899D05E825 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + DAA08628D2374614B37F1C3C /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = C80742A08F784DDB8FD60D7E; + remoteInfo = nonrandomopentest; + }; + E16364CAD855436D8FA1B1C5 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + E1C86083EED642DFB7BB6188 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6AE33F7A9ACB43D48D6CA530; + remoteInfo = nonrandomopen; + }; + E36FD8863780471B81DDBB63 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + E97B759BEDBF4014980CB773 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + EDE7CC38E8CA44BE981F149F /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 6397C2F8BF024CABB60AD74E; + remoteInfo = can_clone_file; + }; + F0741A41D7E64DEBB91D8477 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + F3EEC76927A943B487D9EFEF /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 392F0459EF7C480EAE0CC561; + remoteInfo = zip; + }; + F944352AF00146B6B420F336 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 0E4CBCF65EE14297B1825289; + remoteInfo = ZERO_CHECK; + }; + F9D7AAB281044AFDAEF44487 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = CF106426BFE54D38806BD045; + remoteInfo = "in-memory"; + }; + FBF995840539437B90F1D088 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 545FEC7291C8432F9D13F0A1 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 5E1F62A09B2943958AF7C856; + remoteInfo = add_from_filep; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 032F5C897A87436A81AC93C3 /* zip_source_call.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_call.c; path = lib/zip_source_call.c; sourceTree = SOURCE_ROOT; }; + 03B6622F53304FCCA2008FE2 /* zip_source_remove.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_remove.c; path = lib/zip_source_remove.c; sourceTree = SOURCE_ROOT; }; + 04E51BADFB664972AF58D281 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = man/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 0858B73B1C7E4C38BEA4F79F /* zip_get_archive_comment.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_get_archive_comment.c; path = lib/zip_get_archive_comment.c; sourceTree = SOURCE_ROOT; }; + 0CD4614EFDCC4B08A988A6A4 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 0D05D42C7E114204B1154992 /* zip_discard.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_discard.c; path = lib/zip_discard.c; sourceTree = SOURCE_ROOT; }; + 0D76F024441D4F2FAE418D5A /* zip_fopen_encrypted.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fopen_encrypted.c; path = lib/zip_fopen_encrypted.c; sourceTree = SOURCE_ROOT; }; + 0DAFE80A3C9B411AA16DFCC8 /* zip_source_winzip_aes_decode.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_winzip_aes_decode.c; path = lib/zip_source_winzip_aes_decode.c; sourceTree = SOURCE_ROOT; }; + 0E5D60FB0803469ABAF41734 /* zip_stat_index.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_stat_index.c; path = lib/zip_stat_index.c; sourceTree = SOURCE_ROOT; }; + 1004C064CA5B46239D90533D /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 123182FBB16B406297ED14E8 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 13D177AD931D486ABCEFEFBF /* zip_set_file_comment.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_set_file_comment.c; path = lib/zip_set_file_comment.c; sourceTree = SOURCE_ROOT; }; + 13F2F61EBDA248A3A10291E5 /* zip_source_begin_write_cloning.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_begin_write_cloning.c; path = lib/zip_source_begin_write_cloning.c; sourceTree = SOURCE_ROOT; }; + 14B4B734999E4907A9C16EF6 /* zip_set_archive_comment.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_set_archive_comment.c; path = lib/zip_set_archive_comment.c; sourceTree = SOURCE_ROOT; }; + 1649452451714969971E9F06 /* zip_name_locate.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_name_locate.c; path = lib/zip_name_locate.c; sourceTree = SOURCE_ROOT; }; + 19216CF889DE497EB7A08AF8 /* zip_set_archive_flag.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_set_archive_flag.c; path = lib/zip_set_archive_flag.c; sourceTree = SOURCE_ROOT; }; + 193AC787F366444A8BB0A8BE /* zip_err_str.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_err_str.c; path = lib/zip_err_str.c; sourceTree = SOURCE_ROOT; }; + 1964B2BAF6D64D6ABF03AE43 /* ziptool_regress */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = ziptool_regress; sourceTree = BUILT_PRODUCTS_DIR; }; + 1ADDC74CF5284D30B7E544C3 /* zip_fopen_index.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fopen_index.c; path = lib/zip_fopen_index.c; sourceTree = SOURCE_ROOT; }; + 1C39B71275AE4DBC8BC08010 /* zip_error_to_str.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_error_to_str.c; path = lib/zip_error_to_str.c; sourceTree = SOURCE_ROOT; }; + 1F588E39D29346E193DCC7A6 /* zip_source_window.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_window.c; path = lib/zip_source_window.c; sourceTree = SOURCE_ROOT; }; + 23F00C327E7D4DC6A0AFC1A8 /* zip_delete.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_delete.c; path = lib/zip_delete.c; sourceTree = SOURCE_ROOT; }; + 26D7929DA14D44859B834D95 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 29FE9E7045094558BFE6253D /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 2A2A2CB7D947460698C08065 /* fread */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = fread; sourceTree = BUILT_PRODUCTS_DIR; }; + 2B9EE5DDC6E6463CA0343880 /* zip_algorithm_deflate.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_algorithm_deflate.c; path = lib/zip_algorithm_deflate.c; sourceTree = SOURCE_ROOT; }; + 2F34B2237EC64715ACB48B57 /* zip_source_zip.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_zip.c; path = lib/zip_source_zip.c; sourceTree = SOURCE_ROOT; }; + 314A527FFB244451B41419A0 /* zip_fdopen.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fdopen.c; path = lib/zip_fdopen.c; sourceTree = SOURCE_ROOT; }; + 31765A74C1D14485866990B4 /* zip_source_rollback_write.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_rollback_write.c; path = lib/zip_source_rollback_write.c; sourceTree = SOURCE_ROOT; }; + 34808CCE62B44C49AC4DFC8D /* zip_stat.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_stat.c; path = lib/zip_stat.c; sourceTree = SOURCE_ROOT; }; + 354B673AF4ED41AF850CC8CA /* zip_source_get_compression_flags.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_get_compression_flags.c; path = lib/zip_source_get_compression_flags.c; sourceTree = SOURCE_ROOT; }; + 3665685516E247B080B7820A /* zip_source_read.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_read.c; path = lib/zip_source_read.c; sourceTree = SOURCE_ROOT; }; + 36F7773A65A84B4293F0FF42 /* zip_dir_add.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_dir_add.c; path = lib/zip_dir_add.c; sourceTree = SOURCE_ROOT; }; + 38ACD540441D413EB403EF78 /* zip_fseek.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fseek.c; path = lib/zip_fseek.c; sourceTree = SOURCE_ROOT; }; + 39940D9722C520CA0050DDE1 /* libzip_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = libzip_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 39940D9A22C520CA0050DDE1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 39940E1222C524060050DDE1 /* libbz2.1.0.5.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libbz2.1.0.5.tbd; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/usr/lib/libbz2.1.0.5.tbd; sourceTree = DEVELOPER_DIR; }; + 39940E1522C524810050DDE1 /* libbz2.1.0.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libbz2.1.0.tbd; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/usr/lib/libbz2.1.0.tbd; sourceTree = DEVELOPER_DIR; }; + 39940E3522C630700050DDE1 /* zip_crypto_gnutls.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zip_crypto_gnutls.h; path = lib/zip_crypto_gnutls.h; sourceTree = SOURCE_ROOT; }; + 39940E3622C630700050DDE1 /* zip_crypto_mbedtls.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zip_crypto_mbedtls.h; path = lib/zip_crypto_mbedtls.h; sourceTree = SOURCE_ROOT; }; + 39940E3722C630700050DDE1 /* zip.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zip.h; path = lib/zip.h; sourceTree = SOURCE_ROOT; }; + 39940E3822C630700050DDE1 /* zipint.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zipint.h; path = lib/zipint.h; sourceTree = SOURCE_ROOT; }; + 39940E3922C630700050DDE1 /* zip_crypto_win.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zip_crypto_win.h; path = lib/zip_crypto_win.h; sourceTree = SOURCE_ROOT; }; + 39940E3A22C630700050DDE1 /* zip_crypto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zip_crypto.h; path = lib/zip_crypto.h; sourceTree = SOURCE_ROOT; }; + 39940E3B22C630700050DDE1 /* zipwin32.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zipwin32.h; path = lib/zipwin32.h; sourceTree = SOURCE_ROOT; }; + 39940E3C22C630700050DDE1 /* zip_crypto_commoncrypto.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zip_crypto_commoncrypto.h; path = lib/zip_crypto_commoncrypto.h; sourceTree = SOURCE_ROOT; }; + 39940E3D22C630700050DDE1 /* compat.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = compat.h; path = lib/compat.h; sourceTree = SOURCE_ROOT; }; + 39940E3E22C630700050DDE1 /* zip_crypto_openssl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zip_crypto_openssl.h; path = lib/zip_crypto_openssl.h; sourceTree = SOURCE_ROOT; }; + 39940E3F22C6308B0050DDE1 /* zipconf.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = zipconf.h; path = "cmake-build/zipconf.h"; sourceTree = SOURCE_ROOT; }; + 39940E4022C6308B0050DDE1 /* config.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = config.h; path = "cmake-build/config.h"; sourceTree = SOURCE_ROOT; }; + 39940E6122C6333E0050DDE1 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 39940E6922C639700050DDE1 /* libz.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libz.tbd; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/usr/lib/libz.tbd; sourceTree = DEVELOPER_DIR; }; + 3A4EDCA25C0B455D819BC327 /* zip_progress.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_progress.c; path = lib/zip_progress.c; sourceTree = SOURCE_ROOT; }; + 3B83745C208B43E7879DDE39 /* in-memory.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = "in-memory.c"; path = "examples/in-memory.c"; sourceTree = SOURCE_ROOT; }; + 3BC1B089D4D4445783A1638A /* zip_add_dir.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_add_dir.c; path = lib/zip_add_dir.c; sourceTree = SOURCE_ROOT; }; + 3C88298BDEA64A02BEBC89AF /* zip_utf-8.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = "zip_utf-8.c"; path = "lib/zip_utf-8.c"; sourceTree = SOURCE_ROOT; }; + 3CD59881EC7B4DE8B9F44C99 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = man/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 3EC04E24004A492FAA8F5C08 /* zip_winzip_aes.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_winzip_aes.c; path = lib/zip_winzip_aes.c; sourceTree = SOURCE_ROOT; }; + 3F543010E22F45FE92D7CE66 /* zipcmp */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = zipcmp; sourceTree = BUILT_PRODUCTS_DIR; }; + 40677177733E4A6FA2B889EB /* zip_get_name.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_get_name.c; path = lib/zip_get_name.c; sourceTree = SOURCE_ROOT; }; + 4255B46ADF65451B9993A9B3 /* zip_extra_field.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_extra_field.c; path = lib/zip_extra_field.c; sourceTree = SOURCE_ROOT; }; + 437B61A47820420FA632CF3B /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 457B4C18E9B747A6A78EE5B1 /* zip_get_file_comment.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_get_file_comment.c; path = lib/zip_get_file_comment.c; sourceTree = SOURCE_ROOT; }; + 463696BFCECD4AF390DCF966 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = man/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 4676DFF6ACC441C5A128D3BC /* in-memory */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = "in-memory"; sourceTree = BUILT_PRODUCTS_DIR; }; + 475BC1AE0B9C4C78A0B70EBE /* zip_open.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_open.c; path = lib/zip_open.c; sourceTree = SOURCE_ROOT; }; + 49032D67B72B4F3F973ACE28 /* add_from_filep */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = add_from_filep; sourceTree = BUILT_PRODUCTS_DIR; }; + 494F9593A29B4BFB9FDF97FF /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = examples/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 496DCD1C19854733904709DA /* zip_ftell.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_ftell.c; path = lib/zip_ftell.c; sourceTree = SOURCE_ROOT; }; + 49AB596D318E43688B2D116B /* source_hole.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = source_hole.c; path = regress/source_hole.c; sourceTree = SOURCE_ROOT; }; + 4A15B51E9C9F440CBC684EF0 /* zip_close.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_close.c; path = lib/zip_close.c; sourceTree = SOURCE_ROOT; }; + 4B476A867607493CA6F295ED /* zip_file_set_encryption.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_set_encryption.c; path = lib/zip_file_set_encryption.c; sourceTree = SOURCE_ROOT; }; + 4E0C23ECB5D4477BB29571E3 /* tryopen */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = tryopen; sourceTree = BUILT_PRODUCTS_DIR; }; + 508A120B1C6E445E88917FE8 /* zip_error_get.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_error_get.c; path = lib/zip_error_get.c; sourceTree = SOURCE_ROOT; }; + 50E5FA40A406499CA9BE6FAF /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = man/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 57E939F10829425190611AB4 /* zip_source_free.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_free.c; path = lib/zip_source_free.c; sourceTree = SOURCE_ROOT; }; + 590A200B53234AFF888808B1 /* libnonrandomopen.so */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = libnonrandomopen.so; sourceTree = BUILT_PRODUCTS_DIR; }; + 5B783AE657C24537BAFA3F5A /* libzip.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libzip.a; sourceTree = BUILT_PRODUCTS_DIR; }; + 5CD45DA05B5B4872AFB867C3 /* nonrandomopen.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = nonrandomopen.c; path = regress/nonrandomopen.c; sourceTree = SOURCE_ROOT; }; + 5F8245084A0148BD90CC3A48 /* zip_source_is_deleted.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_is_deleted.c; path = lib/zip_source_is_deleted.c; sourceTree = SOURCE_ROOT; }; + 63009BEFF7044EA4AD472B5D /* zip_source_seek.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_seek.c; path = lib/zip_source_seek.c; sourceTree = SOURCE_ROOT; }; + 63D0CBF345DE4C789451B9D5 /* can_clone_file.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = can_clone_file.c; path = regress/can_clone_file.c; sourceTree = SOURCE_ROOT; }; + 65D2367607294425B9E2F9C0 /* zip_file_get_offset.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_get_offset.c; path = lib/zip_file_get_offset.c; sourceTree = SOURCE_ROOT; }; + 66C3091ACD3B47188B43A94D /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = src/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 67604620C9314EEA86FF60C9 /* zip_set_file_compression.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_set_file_compression.c; path = lib/zip_set_file_compression.c; sourceTree = SOURCE_ROOT; }; + 68A28B8340084E468139F881 /* fread.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = fread.c; path = regress/fread.c; sourceTree = SOURCE_ROOT; }; + 68B28F9F5D8D4442B7BFB448 /* zip_entry.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_entry.c; path = lib/zip_entry.c; sourceTree = SOURCE_ROOT; }; + 696AABED346B4CE8BE2DE91D /* tryopen.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = tryopen.c; path = regress/tryopen.c; sourceTree = SOURCE_ROOT; }; + 69A18260A3304D2C9A64A0A9 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 708539CBE0A7434796055DCD /* zip_stat_init.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_stat_init.c; path = lib/zip_stat_init.c; sourceTree = SOURCE_ROOT; }; + 7155F9B130754272B4EB8385 /* zip_source_zip_new.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_zip_new.c; path = lib/zip_source_zip_new.c; sourceTree = SOURCE_ROOT; }; + 71D87CB2A16A475CBBCCADBE /* zip_extra_field_api.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_extra_field_api.c; path = lib/zip_extra_field_api.c; sourceTree = SOURCE_ROOT; }; + 7221C363FFFF4CF1BEB64E42 /* zip_source_close.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_close.c; path = lib/zip_source_close.c; sourceTree = SOURCE_ROOT; }; + 72E56921B9BF4877A138DAE6 /* zip_error_clear.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_error_clear.c; path = lib/zip_error_clear.c; sourceTree = SOURCE_ROOT; }; + 7372853322B948DBB1A66AB5 /* zip_unchange_archive.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_unchange_archive.c; path = lib/zip_unchange_archive.c; sourceTree = SOURCE_ROOT; }; + 75C1F3C09DC24BCFB3F25BDA /* zip_source_commit_write.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_commit_write.c; path = lib/zip_source_commit_write.c; sourceTree = SOURCE_ROOT; }; + 75E5DB94BC624F61ADBDB6FB /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = lib/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 75FBEEA2AD8545ECABBAB5F5 /* zip_libzip_version.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_libzip_version.c; path = lib/zip_libzip_version.c; sourceTree = SOURCE_ROOT; }; + 78E99D6DD6DF417E9F5DBEF0 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = lib/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 79E51AD1F6D14D25BB655E30 /* zipmerge.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zipmerge.c; path = src/zipmerge.c; sourceTree = SOURCE_ROOT; }; + 7A2A8251080D47CE94094745 /* zip_new.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_new.c; path = lib/zip_new.c; sourceTree = SOURCE_ROOT; }; + 7A3B426999704EC2861C9A7F /* zip_file_set_comment.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_set_comment.c; path = lib/zip_file_set_comment.c; sourceTree = SOURCE_ROOT; }; + 7C6918CCDFBD449E942E6705 /* fseek */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = fseek; sourceTree = BUILT_PRODUCTS_DIR; }; + 7D24A35817F44A658D3053B8 /* fopen_unchanged.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = fopen_unchanged.c; path = regress/fopen_unchanged.c; sourceTree = SOURCE_ROOT; }; + 7E027EA0D9FD4D75BE3A44B2 /* zip_fopen_index_encrypted.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fopen_index_encrypted.c; path = lib/zip_fopen_index_encrypted.c; sourceTree = SOURCE_ROOT; }; + 7E9E44B690C3405AB75B2E38 /* zip_source_buffer.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_buffer.c; path = lib/zip_source_buffer.c; sourceTree = SOURCE_ROOT; }; + 80D980A4C87E46168C6CD95A /* zip_get_archive_flag.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_get_archive_flag.c; path = lib/zip_get_archive_flag.c; sourceTree = SOURCE_ROOT; }; + 8260D377DC2B47518FD7E703 /* zip_source_compress.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_compress.c; path = lib/zip_source_compress.c; sourceTree = SOURCE_ROOT; }; + 8317E041BD3540138275ED58 /* zip_source_begin_write.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_begin_write.c; path = lib/zip_source_begin_write.c; sourceTree = SOURCE_ROOT; }; + 83BB13CBC7664F9A99BA6D38 /* source_hole.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = source_hole.c; path = regress/source_hole.c; sourceTree = SOURCE_ROOT; }; + 8706DC1D0CD54D26B51999FA /* zip_source_open.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_open.c; path = lib/zip_source_open.c; sourceTree = SOURCE_ROOT; }; + 873CF3E625624545AEC59D03 /* zip_error_strerror.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_error_strerror.c; path = lib/zip_error_strerror.c; sourceTree = SOURCE_ROOT; }; + 88859D71B54B492E88F0187A /* ziptool_regress.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = ziptool_regress.c; path = regress/ziptool_regress.c; sourceTree = SOURCE_ROOT; }; + 88A961D124BF4B349761272C /* zip_source_seek_write.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_seek_write.c; path = lib/zip_source_seek_write.c; sourceTree = SOURCE_ROOT; }; + 8986EA932BB34E92B62EBBB9 /* zip_unchange_data.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_unchange_data.c; path = lib/zip_unchange_data.c; sourceTree = SOURCE_ROOT; }; + 8A94D021A5A24595BC076C7E /* zip_file_get_external_attributes.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_get_external_attributes.c; path = lib/zip_file_get_external_attributes.c; sourceTree = SOURCE_ROOT; }; + 8B26D004BB874A89BE4C066A /* zip_get_num_entries.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_get_num_entries.c; path = lib/zip_get_num_entries.c; sourceTree = SOURCE_ROOT; }; + 8B8ABB5A4C0143D9AAEA09C2 /* zipcmp.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zipcmp.c; path = src/zipcmp.c; sourceTree = SOURCE_ROOT; }; + 8DD4EB32F53543168E88BA1F /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 91AF44FF327849A5B3A0B54B /* fseek.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = fseek.c; path = regress/fseek.c; sourceTree = SOURCE_ROOT; }; + 95DE86D31B424DD499C9FB9C /* zip_file_get_comment.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_get_comment.c; path = lib/zip_file_get_comment.c; sourceTree = SOURCE_ROOT; }; + 96F450448D584C889784EBF2 /* zip_io_util.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_io_util.c; path = lib/zip_io_util.c; sourceTree = SOURCE_ROOT; }; + 9A9593F6A0F44A9AB52F1635 /* zip_source_supports.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_supports.c; path = lib/zip_source_supports.c; sourceTree = SOURCE_ROOT; }; + 9B59FA929CEE454DB5C74A60 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + 9FEBC04559134375BB4D3954 /* ziptool */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = ziptool; sourceTree = BUILT_PRODUCTS_DIR; }; + A1859BAE3C244CC9B11F8AA6 /* fopen_unchanged */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = fopen_unchanged; sourceTree = BUILT_PRODUCTS_DIR; }; + A29F948C23674A4E8A708924 /* zip_file_error_clear.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_error_clear.c; path = lib/zip_file_error_clear.c; sourceTree = SOURCE_ROOT; }; + A44BE256E3C543DB9BBD5760 /* add_from_filep.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = add_from_filep.c; path = regress/add_from_filep.c; sourceTree = SOURCE_ROOT; }; + A5C99EA2360F4201927F7842 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = src/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + A60D3C00899240A0A3253136 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + AB815B8E80BA46F3A7E90885 /* zip_source_layered.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_layered.c; path = lib/zip_source_layered.c; sourceTree = SOURCE_ROOT; }; + AE19F9BF18504EAAA804A4B5 /* zip_error.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_error.c; path = lib/zip_error.c; sourceTree = SOURCE_ROOT; }; + AE4B4DF5A62B49CEA7F37688 /* zip_set_name.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_set_name.c; path = lib/zip_set_name.c; sourceTree = SOURCE_ROOT; }; + AE83201C3D9340BA900D0C55 /* can_clone_file */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = can_clone_file; sourceTree = BUILT_PRODUCTS_DIR; }; + AEE860FB00344E648D427B6D /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + AF679626FE3B4D02BE40D443 /* zip_source_tell.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_tell.c; path = lib/zip_source_tell.c; sourceTree = SOURCE_ROOT; }; + AFE5EA81CDE24C5EBB19513B /* zip_source_function.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_function.c; path = lib/zip_source_function.c; sourceTree = SOURCE_ROOT; }; + B0EB089EE60248B6AC16160E /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + B26233B6008946169DFE2CB0 /* zip_source_crc.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_crc.c; path = lib/zip_source_crc.c; sourceTree = SOURCE_ROOT; }; + B3684A6947954FD78A0276E9 /* zip_source_stat.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_stat.c; path = lib/zip_source_stat.c; sourceTree = SOURCE_ROOT; }; + B5098FEB63DC47D489B59AC5 /* zip_source_write.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_write.c; path = lib/zip_source_write.c; sourceTree = SOURCE_ROOT; }; + B85743C1E912405699B8E86D /* zip_source_tell_write.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_tell_write.c; path = lib/zip_source_tell_write.c; sourceTree = SOURCE_ROOT; }; + B8FAEE05FBB446988467ACDF /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = src/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + C0CC1EDF8E874E66BEB5607B /* zip_source_winzip_aes_encode.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_winzip_aes_encode.c; path = lib/zip_source_winzip_aes_encode.c; sourceTree = SOURCE_ROOT; }; + C0CEABBD2C2249EE92EE2084 /* zip_file_strerror.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_strerror.c; path = lib/zip_file_strerror.c; sourceTree = SOURCE_ROOT; }; + C0D362ECDAAD46BF9B9BE9A0 /* zip_memdup.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_memdup.c; path = lib/zip_memdup.c; sourceTree = SOURCE_ROOT; }; + C10C08AB89AC4839A5B00562 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; path = CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + C41A22F60FE345F0919ABD83 /* zip_string.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_string.c; path = lib/zip_string.c; sourceTree = SOURCE_ROOT; }; + C45608E111824F1C902253F9 /* zip_source_error.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_error.c; path = lib/zip_source_error.c; sourceTree = SOURCE_ROOT; }; + C5C766D95FBF44E0B2354C8F /* zipmerge */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = zipmerge; sourceTree = BUILT_PRODUCTS_DIR; }; + C856C3A2447C4ACBBE377A7E /* zip_source_file.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_file.c; path = lib/zip_source_file.c; sourceTree = SOURCE_ROOT; }; + CFDA889ABEC841EBB01EEC70 /* zip_dirent.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_dirent.c; path = lib/zip_dirent.c; sourceTree = SOURCE_ROOT; }; + CFDBB64D2840449B91A16083 /* zip_filerange_crc.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_filerange_crc.c; path = lib/zip_filerange_crc.c; sourceTree = SOURCE_ROOT; }; + D01E637C6641430DB833BA47 /* zip_add.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_add.c; path = lib/zip_add.c; sourceTree = SOURCE_ROOT; }; + D0FAEA81622945A2B553652C /* zip_file_set_external_attributes.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_set_external_attributes.c; path = lib/zip_file_set_external_attributes.c; sourceTree = SOURCE_ROOT; }; + D28C1DEC56324B939A44501D /* zip_algorithm_bzip2.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_algorithm_bzip2.c; path = lib/zip_algorithm_bzip2.c; sourceTree = SOURCE_ROOT; }; + D330C053479741578E62BFFF /* zip_fread.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fread.c; path = lib/zip_fread.c; sourceTree = SOURCE_ROOT; }; + D75F83D6D67544E3893724E3 /* zip_add_entry.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_add_entry.c; path = lib/zip_add_entry.c; sourceTree = SOURCE_ROOT; }; + D768F6BDDFFB4584BFA176DC /* zip_file_rename.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_rename.c; path = lib/zip_file_rename.c; sourceTree = SOURCE_ROOT; }; + D793C34E727B4E43A5E60433 /* zip_unchange_all.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_unchange_all.c; path = lib/zip_unchange_all.c; sourceTree = SOURCE_ROOT; }; + D82A10797D99415AAC27E0C2 /* zip_hash.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_hash.c; path = lib/zip_hash.c; sourceTree = SOURCE_ROOT; }; + DA9AE346BDFA4D149CB029CD /* zip_file_set_mtime.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_set_mtime.c; path = lib/zip_file_set_mtime.c; sourceTree = SOURCE_ROOT; }; + DAD31592B9E04F8389F96901 /* zip_source_pkware.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_pkware.c; path = lib/zip_source_pkware.c; sourceTree = SOURCE_ROOT; }; + DB5B91264BE14E49A1C26CAD /* zip_fclose.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fclose.c; path = lib/zip_fclose.c; sourceTree = SOURCE_ROOT; }; + DC2BEE3C237D4929B46B20E3 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + DC5E20830F304058A46F0F6C /* zip_strerror.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_strerror.c; path = lib/zip_strerror.c; sourceTree = SOURCE_ROOT; }; + DEA391150CF9441599656753 /* zip_unchange.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_unchange.c; path = lib/zip_unchange.c; sourceTree = SOURCE_ROOT; }; + E1CC97D75D8C48C294E44A42 /* zip_file_replace.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_replace.c; path = lib/zip_file_replace.c; sourceTree = SOURCE_ROOT; }; + E3315AC707C0412B9D51F4AC /* zip_replace.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_replace.c; path = lib/zip_replace.c; sourceTree = SOURCE_ROOT; }; + E35625DF0CD646738B8AFACD /* nonrandomopentest.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = nonrandomopentest.c; path = regress/nonrandomopentest.c; sourceTree = SOURCE_ROOT; }; + E445F8BC8268402BA86A7E42 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + E5B679EC462F41508741B4B5 /* zip_buffer.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_buffer.c; path = lib/zip_buffer.c; sourceTree = SOURCE_ROOT; }; + E8F0295B55114012B5615F90 /* hole.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = hole.c; path = regress/hole.c; sourceTree = SOURCE_ROOT; }; + EA3ED43448834BE2808B3992 /* zip_crypto_commoncrypto.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_crypto_commoncrypto.c; path = lib/zip_crypto_commoncrypto.c; sourceTree = SOURCE_ROOT; }; + EC2028687D3C49889643FD40 /* CMakeLists.txt */ = {isa = PBXFileReference; explicitFileType = sourcecode.text; fileEncoding = 4; lastKnownFileType = text; name = CMakeLists.txt; path = regress/CMakeLists.txt; sourceTree = SOURCE_ROOT; }; + ED9A5EF9FC1D46EA8985A8C5 /* zip_get_num_files.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_get_num_files.c; path = lib/zip_get_num_files.c; sourceTree = SOURCE_ROOT; }; + F0ADC907336041A9880D52D5 /* ziptool.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = ziptool.c; path = src/ziptool.c; sourceTree = SOURCE_ROOT; }; + F3E1D7BFC20E4C33B6DF7430 /* nonrandomopentest */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = nonrandomopentest; sourceTree = BUILT_PRODUCTS_DIR; }; + F56A9C80C1E14C4DB8EAB6AE /* zip_rename.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_rename.c; path = lib/zip_rename.c; sourceTree = SOURCE_ROOT; }; + F76ABDE60210486B96DD28D0 /* zip_error_get_sys_type.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_error_get_sys_type.c; path = lib/zip_error_get_sys_type.c; sourceTree = SOURCE_ROOT; }; + FA5CCB2E48984F0EB6643E4B /* zip_file_add.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_add.c; path = lib/zip_file_add.c; sourceTree = SOURCE_ROOT; }; + FB93224336F04B84956673F2 /* zip_set_default_password.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_set_default_password.c; path = lib/zip_set_default_password.c; sourceTree = SOURCE_ROOT; }; + FBDE8C1BFEBC49BBAA747C68 /* zip_fopen.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_fopen.c; path = lib/zip_fopen.c; sourceTree = SOURCE_ROOT; }; + FC71DB4EB82B4949A7A724A5 /* hole */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; path = hole; sourceTree = BUILT_PRODUCTS_DIR; }; + FDF6BE4A9DF24316BEB686CB /* zip_source_filep.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_source_filep.c; path = lib/zip_source_filep.c; sourceTree = SOURCE_ROOT; }; + FE2D6AD037A24DE887BC23BF /* zip_file_error_get.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_file_error_get.c; path = lib/zip_file_error_get.c; sourceTree = SOURCE_ROOT; }; + FF79DDE5BC434D47A9175F65 /* zip_get_encryption_implementation.c */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.c; fileEncoding = 4; name = zip_get_encryption_implementation.c; path = lib/zip_get_encryption_implementation.c; sourceTree = SOURCE_ROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 39940D9422C520CA0050DDE1 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 0235C90153AA433182A4B54C /* nonrandomopentest */ = { + isa = PBXGroup; + children = ( + E4D8E5BC31994562BF60331F /* Source Files */, + 437B61A47820420FA632CF3B /* CMakeLists.txt */, + ); + name = nonrandomopentest; + sourceTree = ""; + }; + 024AC39DDEBD477CB5388DCA /* cleanup */ = { + isa = PBXGroup; + children = ( + 86BD3BF33C874707A3B4722E /* CMake Rules */, + 29FE9E7045094558BFE6253D /* CMakeLists.txt */, + ); + name = cleanup; + sourceTree = ""; + }; + 1A1D5EAAAB274ADAADF3EB58 /* Source Files */ = { + isa = PBXGroup; + children = ( + 7D24A35817F44A658D3053B8 /* fopen_unchanged.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + 1C4D23DC921441E2A9582B41 /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + 1E2BB944269044BEA301D7B5 /* add_from_filep */ = { + isa = PBXGroup; + children = ( + 3BE233363BEF46099E4D7615 /* Source Files */, + B0EB089EE60248B6AC16160E /* CMakeLists.txt */, + ); + name = add_from_filep; + sourceTree = ""; + }; + 1F3E1CB3367D44ADB98924AE /* can_clone_file */ = { + isa = PBXGroup; + children = ( + 899F22750750452CADB39261 /* Source Files */, + 26D7929DA14D44859B834D95 /* CMakeLists.txt */, + ); + name = can_clone_file; + sourceTree = ""; + }; + 21AFB3701606473189162633 /* tryopen */ = { + isa = PBXGroup; + children = ( + E998C551CF504633A329C23D /* Source Files */, + 9B59FA929CEE454DB5C74A60 /* CMakeLists.txt */, + ); + name = tryopen; + sourceTree = ""; + }; + 22C22DFF57E346699076D88A /* hole */ = { + isa = PBXGroup; + children = ( + AE03198A9A104C92ADC37F2A /* Source Files */, + 0CD4614EFDCC4B08A988A6A4 /* CMakeLists.txt */, + ); + name = hole; + sourceTree = ""; + }; + 25684AA7694B48CEBF9D8B1A /* Source Files */ = { + isa = PBXGroup; + children = ( + 8B8ABB5A4C0143D9AAEA09C2 /* zipcmp.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + 29105369EA0A4E849D5E83D6 /* fread */ = { + isa = PBXGroup; + children = ( + D25F55507FF54EAB93D865C6 /* Source Files */, + EC2028687D3C49889643FD40 /* CMakeLists.txt */, + ); + name = fread; + sourceTree = ""; + }; + 2FE7E4986F4A4F98B60ED094 /* Products */ = { + isa = PBXGroup; + children = ( + 49032D67B72B4F3F973ACE28 /* add_from_filep */, + AE83201C3D9340BA900D0C55 /* can_clone_file */, + A1859BAE3C244CC9B11F8AA6 /* fopen_unchanged */, + 2A2A2CB7D947460698C08065 /* fread */, + 7C6918CCDFBD449E942E6705 /* fseek */, + FC71DB4EB82B4949A7A724A5 /* hole */, + 4676DFF6ACC441C5A128D3BC /* in-memory */, + 590A200B53234AFF888808B1 /* libnonrandomopen.so */, + F3E1D7BFC20E4C33B6DF7430 /* nonrandomopentest */, + 4E0C23ECB5D4477BB29571E3 /* tryopen */, + 5B783AE657C24537BAFA3F5A /* libzip.a */, + 3F543010E22F45FE92D7CE66 /* zipcmp */, + C5C766D95FBF44E0B2354C8F /* zipmerge */, + 9FEBC04559134375BB4D3954 /* ziptool */, + 1964B2BAF6D64D6ABF03AE43 /* ziptool_regress */, + 39940D9722C520CA0050DDE1 /* libzip_iOS.framework */, + ); + name = Products; + sourceTree = ""; + }; + 39940D9822C520CA0050DDE1 /* libzip_iOS */ = { + isa = PBXGroup; + children = ( + 39940E3422C62FB30050DDE1 /* Headers */, + A5F58C6F13444273BF7AF583 /* Source Files */, + 39940D9A22C520CA0050DDE1 /* Info.plist */, + ); + name = libzip_iOS; + path = "cmake-build/libzip_iOS"; + sourceTree = ""; + }; + 39940E1122C524050050DDE1 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 39940E6922C639700050DDE1 /* libz.tbd */, + 39940E1522C524810050DDE1 /* libbz2.1.0.tbd */, + 39940E1222C524060050DDE1 /* libbz2.1.0.5.tbd */, + ); + name = Frameworks; + sourceTree = ""; + }; + 39940E3422C62FB30050DDE1 /* Headers */ = { + isa = PBXGroup; + children = ( + 39940E4022C6308B0050DDE1 /* config.h */, + 39940E3F22C6308B0050DDE1 /* zipconf.h */, + 39940E3D22C630700050DDE1 /* compat.h */, + 39940E3C22C630700050DDE1 /* zip_crypto_commoncrypto.h */, + 39940E3522C630700050DDE1 /* zip_crypto_gnutls.h */, + 39940E3622C630700050DDE1 /* zip_crypto_mbedtls.h */, + 39940E3E22C630700050DDE1 /* zip_crypto_openssl.h */, + 39940E3922C630700050DDE1 /* zip_crypto_win.h */, + 39940E3A22C630700050DDE1 /* zip_crypto.h */, + 39940E3722C630700050DDE1 /* zip.h */, + 39940E3822C630700050DDE1 /* zipint.h */, + 39940E3B22C630700050DDE1 /* zipwin32.h */, + ); + name = Headers; + sourceTree = ""; + }; + 39940E6022C6333E0050DDE1 /* libzip_iOS.xcframework */ = { + isa = PBXGroup; + children = ( + 39940E6122C6333E0050DDE1 /* Info.plist */, + ); + name = libzip_iOS.xcframework; + path = "cmake-build/libzip_iOS.xcframework"; + sourceTree = ""; + }; + 3998BCC6E3154955AE7D5D68 /* testinput */ = { + isa = PBXGroup; + children = ( + 9CE42855B5D8474D8C4EB101 /* CMake Rules */, + 8DD4EB32F53543168E88BA1F /* CMakeLists.txt */, + ); + name = testinput; + sourceTree = ""; + }; + 3BE233363BEF46099E4D7615 /* Source Files */ = { + isa = PBXGroup; + children = ( + A44BE256E3C543DB9BBD5760 /* add_from_filep.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + 3E6B1350EC0F4E4FB8C137AD /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + 4269A845C95743AC8A3CA553 /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + 4F6DC23B99994EFAB3E1A7CF /* Source Files */ = { + isa = PBXGroup; + children = ( + 49AB596D318E43688B2D116B /* source_hole.c */, + 88859D71B54B492E88F0187A /* ziptool_regress.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + 568E06D209664FD596CA5999 /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + 569AFC76324B410AB8C98B16 /* update_zip_errors */ = { + isa = PBXGroup; + children = ( + 5EEC8245EB504A15BA554466 /* CMake Rules */, + 50E5FA40A406499CA9BE6FAF /* CMakeLists.txt */, + ); + name = update_zip_errors; + sourceTree = ""; + }; + 5C775EB253F0471E9B13B8E6 /* update-man */ = { + isa = PBXGroup; + children = ( + B5CCC940943142BCBB8159DB /* CMake Rules */, + 04E51BADFB664972AF58D281 /* CMakeLists.txt */, + ); + name = "update-man"; + sourceTree = ""; + }; + 5EEC8245EB504A15BA554466 /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + 633612481F764A7ABF1DCE01 /* zip */ = { + isa = PBXGroup; + children = ( + 75E5DB94BC624F61ADBDB6FB /* CMakeLists.txt */, + ); + name = zip; + sourceTree = ""; + }; + 6531989B51B54BAE942F10CF /* distcheck */ = { + isa = PBXGroup; + children = ( + 3E6B1350EC0F4E4FB8C137AD /* CMake Rules */, + 123182FBB16B406297ED14E8 /* CMakeLists.txt */, + ); + name = distcheck; + sourceTree = ""; + }; + 669D7671C90F44B39F3C6E6D /* zipcmp */ = { + isa = PBXGroup; + children = ( + 25684AA7694B48CEBF9D8B1A /* Source Files */, + 66C3091ACD3B47188B43A94D /* CMakeLists.txt */, + ); + name = zipcmp; + sourceTree = ""; + }; + 7049EF473DA443B2BB103DB8 /* Source Files */ = { + isa = PBXGroup; + children = ( + 3B83745C208B43E7879DDE39 /* in-memory.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + 760BCC20BE5F46B38B33C591 /* check */ = { + isa = PBXGroup; + children = ( + 568E06D209664FD596CA5999 /* CMake Rules */, + DC2BEE3C237D4929B46B20E3 /* CMakeLists.txt */, + ); + name = check; + sourceTree = ""; + }; + 81D932BAE68245FFAB5A3709 /* ziptool_regress */ = { + isa = PBXGroup; + children = ( + 4F6DC23B99994EFAB3E1A7CF /* Source Files */, + AEE860FB00344E648D427B6D /* CMakeLists.txt */, + ); + name = ziptool_regress; + sourceTree = ""; + }; + 86BD3BF33C874707A3B4722E /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + 899F22750750452CADB39261 /* Source Files */ = { + isa = PBXGroup; + children = ( + 63D0CBF345DE4C789451B9D5 /* can_clone_file.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + 9CE42855B5D8474D8C4EB101 /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + A5F58C6F13444273BF7AF583 /* Source Files */ = { + isa = PBXGroup; + children = ( + D01E637C6641430DB833BA47 /* zip_add.c */, + 3BC1B089D4D4445783A1638A /* zip_add_dir.c */, + D75F83D6D67544E3893724E3 /* zip_add_entry.c */, + D28C1DEC56324B939A44501D /* zip_algorithm_bzip2.c */, + 2B9EE5DDC6E6463CA0343880 /* zip_algorithm_deflate.c */, + E5B679EC462F41508741B4B5 /* zip_buffer.c */, + 4A15B51E9C9F440CBC684EF0 /* zip_close.c */, + EA3ED43448834BE2808B3992 /* zip_crypto_commoncrypto.c */, + 23F00C327E7D4DC6A0AFC1A8 /* zip_delete.c */, + 36F7773A65A84B4293F0FF42 /* zip_dir_add.c */, + CFDA889ABEC841EBB01EEC70 /* zip_dirent.c */, + 0D05D42C7E114204B1154992 /* zip_discard.c */, + 68B28F9F5D8D4442B7BFB448 /* zip_entry.c */, + 193AC787F366444A8BB0A8BE /* zip_err_str.c */, + AE19F9BF18504EAAA804A4B5 /* zip_error.c */, + 72E56921B9BF4877A138DAE6 /* zip_error_clear.c */, + 508A120B1C6E445E88917FE8 /* zip_error_get.c */, + F76ABDE60210486B96DD28D0 /* zip_error_get_sys_type.c */, + 873CF3E625624545AEC59D03 /* zip_error_strerror.c */, + 1C39B71275AE4DBC8BC08010 /* zip_error_to_str.c */, + 4255B46ADF65451B9993A9B3 /* zip_extra_field.c */, + 71D87CB2A16A475CBBCCADBE /* zip_extra_field_api.c */, + DB5B91264BE14E49A1C26CAD /* zip_fclose.c */, + 314A527FFB244451B41419A0 /* zip_fdopen.c */, + FA5CCB2E48984F0EB6643E4B /* zip_file_add.c */, + A29F948C23674A4E8A708924 /* zip_file_error_clear.c */, + FE2D6AD037A24DE887BC23BF /* zip_file_error_get.c */, + 95DE86D31B424DD499C9FB9C /* zip_file_get_comment.c */, + 8A94D021A5A24595BC076C7E /* zip_file_get_external_attributes.c */, + 65D2367607294425B9E2F9C0 /* zip_file_get_offset.c */, + D768F6BDDFFB4584BFA176DC /* zip_file_rename.c */, + E1CC97D75D8C48C294E44A42 /* zip_file_replace.c */, + 7A3B426999704EC2861C9A7F /* zip_file_set_comment.c */, + 4B476A867607493CA6F295ED /* zip_file_set_encryption.c */, + D0FAEA81622945A2B553652C /* zip_file_set_external_attributes.c */, + DA9AE346BDFA4D149CB029CD /* zip_file_set_mtime.c */, + C0CEABBD2C2249EE92EE2084 /* zip_file_strerror.c */, + CFDBB64D2840449B91A16083 /* zip_filerange_crc.c */, + FBDE8C1BFEBC49BBAA747C68 /* zip_fopen.c */, + 0D76F024441D4F2FAE418D5A /* zip_fopen_encrypted.c */, + 1ADDC74CF5284D30B7E544C3 /* zip_fopen_index.c */, + 7E027EA0D9FD4D75BE3A44B2 /* zip_fopen_index_encrypted.c */, + D330C053479741578E62BFFF /* zip_fread.c */, + 38ACD540441D413EB403EF78 /* zip_fseek.c */, + 496DCD1C19854733904709DA /* zip_ftell.c */, + 0858B73B1C7E4C38BEA4F79F /* zip_get_archive_comment.c */, + 80D980A4C87E46168C6CD95A /* zip_get_archive_flag.c */, + FF79DDE5BC434D47A9175F65 /* zip_get_encryption_implementation.c */, + 457B4C18E9B747A6A78EE5B1 /* zip_get_file_comment.c */, + 40677177733E4A6FA2B889EB /* zip_get_name.c */, + 8B26D004BB874A89BE4C066A /* zip_get_num_entries.c */, + ED9A5EF9FC1D46EA8985A8C5 /* zip_get_num_files.c */, + D82A10797D99415AAC27E0C2 /* zip_hash.c */, + 96F450448D584C889784EBF2 /* zip_io_util.c */, + 75FBEEA2AD8545ECABBAB5F5 /* zip_libzip_version.c */, + C0D362ECDAAD46BF9B9BE9A0 /* zip_memdup.c */, + 1649452451714969971E9F06 /* zip_name_locate.c */, + 7A2A8251080D47CE94094745 /* zip_new.c */, + 475BC1AE0B9C4C78A0B70EBE /* zip_open.c */, + 3A4EDCA25C0B455D819BC327 /* zip_progress.c */, + F56A9C80C1E14C4DB8EAB6AE /* zip_rename.c */, + E3315AC707C0412B9D51F4AC /* zip_replace.c */, + 14B4B734999E4907A9C16EF6 /* zip_set_archive_comment.c */, + 19216CF889DE497EB7A08AF8 /* zip_set_archive_flag.c */, + FB93224336F04B84956673F2 /* zip_set_default_password.c */, + 13D177AD931D486ABCEFEFBF /* zip_set_file_comment.c */, + 67604620C9314EEA86FF60C9 /* zip_set_file_compression.c */, + AE4B4DF5A62B49CEA7F37688 /* zip_set_name.c */, + 8317E041BD3540138275ED58 /* zip_source_begin_write.c */, + 13F2F61EBDA248A3A10291E5 /* zip_source_begin_write_cloning.c */, + 7E9E44B690C3405AB75B2E38 /* zip_source_buffer.c */, + 032F5C897A87436A81AC93C3 /* zip_source_call.c */, + 7221C363FFFF4CF1BEB64E42 /* zip_source_close.c */, + 75C1F3C09DC24BCFB3F25BDA /* zip_source_commit_write.c */, + 8260D377DC2B47518FD7E703 /* zip_source_compress.c */, + B26233B6008946169DFE2CB0 /* zip_source_crc.c */, + C45608E111824F1C902253F9 /* zip_source_error.c */, + C856C3A2447C4ACBBE377A7E /* zip_source_file.c */, + FDF6BE4A9DF24316BEB686CB /* zip_source_filep.c */, + 57E939F10829425190611AB4 /* zip_source_free.c */, + AFE5EA81CDE24C5EBB19513B /* zip_source_function.c */, + 354B673AF4ED41AF850CC8CA /* zip_source_get_compression_flags.c */, + 5F8245084A0148BD90CC3A48 /* zip_source_is_deleted.c */, + AB815B8E80BA46F3A7E90885 /* zip_source_layered.c */, + 8706DC1D0CD54D26B51999FA /* zip_source_open.c */, + DAD31592B9E04F8389F96901 /* zip_source_pkware.c */, + 3665685516E247B080B7820A /* zip_source_read.c */, + 03B6622F53304FCCA2008FE2 /* zip_source_remove.c */, + 31765A74C1D14485866990B4 /* zip_source_rollback_write.c */, + 63009BEFF7044EA4AD472B5D /* zip_source_seek.c */, + 88A961D124BF4B349761272C /* zip_source_seek_write.c */, + B3684A6947954FD78A0276E9 /* zip_source_stat.c */, + 9A9593F6A0F44A9AB52F1635 /* zip_source_supports.c */, + AF679626FE3B4D02BE40D443 /* zip_source_tell.c */, + B85743C1E912405699B8E86D /* zip_source_tell_write.c */, + 1F588E39D29346E193DCC7A6 /* zip_source_window.c */, + 0DAFE80A3C9B411AA16DFCC8 /* zip_source_winzip_aes_decode.c */, + C0CC1EDF8E874E66BEB5607B /* zip_source_winzip_aes_encode.c */, + B5098FEB63DC47D489B59AC5 /* zip_source_write.c */, + 2F34B2237EC64715ACB48B57 /* zip_source_zip.c */, + 7155F9B130754272B4EB8385 /* zip_source_zip_new.c */, + 34808CCE62B44C49AC4DFC8D /* zip_stat.c */, + 0E5D60FB0803469ABAF41734 /* zip_stat_index.c */, + 708539CBE0A7434796055DCD /* zip_stat_init.c */, + DC5E20830F304058A46F0F6C /* zip_strerror.c */, + C41A22F60FE345F0919ABD83 /* zip_string.c */, + DEA391150CF9441599656753 /* zip_unchange.c */, + D793C34E727B4E43A5E60433 /* zip_unchange_all.c */, + 7372853322B948DBB1A66AB5 /* zip_unchange_archive.c */, + 8986EA932BB34E92B62EBBB9 /* zip_unchange_data.c */, + 3C88298BDEA64A02BEBC89AF /* zip_utf-8.c */, + 3EC04E24004A492FAA8F5C08 /* zip_winzip_aes.c */, + ); + name = "Source Files"; + path = ../..; + sourceTree = ""; + }; + A8EF5E19D76F49A69E316F48 /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + AE03198A9A104C92ADC37F2A /* Source Files */ = { + isa = PBXGroup; + children = ( + E8F0295B55114012B5615F90 /* hole.c */, + 83BB13CBC7664F9A99BA6D38 /* source_hole.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + B5636AC6884E4C4D9EA949BC /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + B5CCC940943142BCBB8159DB /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + BC89617A5732409B8566AB28 /* dist */ = { + isa = PBXGroup; + children = ( + C7303B24A1644B08B1E7DFF7 /* CMake Rules */, + C10C08AB89AC4839A5B00562 /* CMakeLists.txt */, + ); + name = dist; + sourceTree = ""; + }; + C5DF35F637A44AD2A7C80AA0 /* Source Files */ = { + isa = PBXGroup; + children = ( + 91AF44FF327849A5B3A0B54B /* fseek.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + C68ED89E3A6C46E09B1DF3E6 /* zipmerge */ = { + isa = PBXGroup; + children = ( + E04B401D87F74954BCC5A1E1 /* Source Files */, + A5C99EA2360F4201927F7842 /* CMakeLists.txt */, + ); + name = zipmerge; + sourceTree = ""; + }; + C690343A209B4714AA18EC03 /* Source Files */ = { + isa = PBXGroup; + children = ( + 5CD45DA05B5B4872AFB867C3 /* nonrandomopen.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + C7303B24A1644B08B1E7DFF7 /* CMake Rules */ = { + isa = PBXGroup; + children = ( + ); + name = "CMake Rules"; + sourceTree = ""; + }; + CAF6B774BB3D4B33A1C73A8F /* nonrandomopen */ = { + isa = PBXGroup; + children = ( + C690343A209B4714AA18EC03 /* Source Files */, + A60D3C00899240A0A3253136 /* CMakeLists.txt */, + ); + name = nonrandomopen; + sourceTree = ""; + }; + CD748266E4D64710B7AC249C /* in-memory */ = { + isa = PBXGroup; + children = ( + 7049EF473DA443B2BB103DB8 /* Source Files */, + 494F9593A29B4BFB9FDF97FF /* CMakeLists.txt */, + ); + name = "in-memory"; + sourceTree = ""; + }; + D25F55507FF54EAB93D865C6 /* Source Files */ = { + isa = PBXGroup; + children = ( + 68A28B8340084E468139F881 /* fread.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + D4360F04450F44D0A51F4CD6 /* fseek */ = { + isa = PBXGroup; + children = ( + C5DF35F637A44AD2A7C80AA0 /* Source Files */, + 1004C064CA5B46239D90533D /* CMakeLists.txt */, + ); + name = fseek; + sourceTree = ""; + }; + D62664F986AE463192874215 /* update_zip_err_str */ = { + isa = PBXGroup; + children = ( + B5636AC6884E4C4D9EA949BC /* CMake Rules */, + 78E99D6DD6DF417E9F5DBEF0 /* CMakeLists.txt */, + ); + name = update_zip_err_str; + sourceTree = ""; + }; + D749B196CF0F4021A260B5DA = { + isa = PBXGroup; + children = ( + 6531989B51B54BAE942F10CF /* distcheck */, + BC89617A5732409B8566AB28 /* dist */, + F9ACCAD6B1FC4923A7E1817A /* ALL_BUILD */, + 633612481F764A7ABF1DCE01 /* zip */, + D62664F986AE463192874215 /* update_zip_err_str */, + 569AFC76324B410AB8C98B16 /* update_zip_errors */, + F4FE0933A6154647A17EC771 /* update-html */, + 5C775EB253F0471E9B13B8E6 /* update-man */, + F3802B44F5C842E6943519ED /* man */, + F94C918243B8421E81C37C69 /* ziptool */, + C68ED89E3A6C46E09B1DF3E6 /* zipmerge */, + 669D7671C90F44B39F3C6E6D /* zipcmp */, + 3998BCC6E3154955AE7D5D68 /* testinput */, + 024AC39DDEBD477CB5388DCA /* cleanup */, + 29105369EA0A4E849D5E83D6 /* fread */, + CAF6B774BB3D4B33A1C73A8F /* nonrandomopen */, + 760BCC20BE5F46B38B33C591 /* check */, + D4360F04450F44D0A51F4CD6 /* fseek */, + 81D932BAE68245FFAB5A3709 /* ziptool_regress */, + 0235C90153AA433182A4B54C /* nonrandomopentest */, + 22C22DFF57E346699076D88A /* hole */, + 1E2BB944269044BEA301D7B5 /* add_from_filep */, + 21AFB3701606473189162633 /* tryopen */, + DBC4793C33DD4D209008F62B /* fopen_unchanged */, + 1F3E1CB3367D44ADB98924AE /* can_clone_file */, + CD748266E4D64710B7AC249C /* in-memory */, + 39940D9822C520CA0050DDE1 /* libzip_iOS */, + 39940E6022C6333E0050DDE1 /* libzip_iOS.xcframework */, + 2FE7E4986F4A4F98B60ED094 /* Products */, + 39940E1122C524050050DDE1 /* Frameworks */, + ); + sourceTree = ""; + }; + DBC4793C33DD4D209008F62B /* fopen_unchanged */ = { + isa = PBXGroup; + children = ( + 1A1D5EAAAB274ADAADF3EB58 /* Source Files */, + E445F8BC8268402BA86A7E42 /* CMakeLists.txt */, + ); + name = fopen_unchanged; + sourceTree = ""; + }; + E04B401D87F74954BCC5A1E1 /* Source Files */ = { + isa = PBXGroup; + children = ( + 79E51AD1F6D14D25BB655E30 /* zipmerge.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + E4D8E5BC31994562BF60331F /* Source Files */ = { + isa = PBXGroup; + children = ( + E35625DF0CD646738B8AFACD /* nonrandomopentest.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + E998C551CF504633A329C23D /* Source Files */ = { + isa = PBXGroup; + children = ( + 696AABED346B4CE8BE2DE91D /* tryopen.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + ECB876653B0A4DA185FF80E9 /* Source Files */ = { + isa = PBXGroup; + children = ( + F0ADC907336041A9880D52D5 /* ziptool.c */, + ); + name = "Source Files"; + sourceTree = ""; + }; + F3802B44F5C842E6943519ED /* man */ = { + isa = PBXGroup; + children = ( + A8EF5E19D76F49A69E316F48 /* CMake Rules */, + 463696BFCECD4AF390DCF966 /* CMakeLists.txt */, + ); + name = man; + sourceTree = ""; + }; + F4FE0933A6154647A17EC771 /* update-html */ = { + isa = PBXGroup; + children = ( + 4269A845C95743AC8A3CA553 /* CMake Rules */, + 3CD59881EC7B4DE8B9F44C99 /* CMakeLists.txt */, + ); + name = "update-html"; + sourceTree = ""; + }; + F94C918243B8421E81C37C69 /* ziptool */ = { + isa = PBXGroup; + children = ( + ECB876653B0A4DA185FF80E9 /* Source Files */, + B8FAEE05FBB446988467ACDF /* CMakeLists.txt */, + ); + name = ziptool; + sourceTree = ""; + }; + F9ACCAD6B1FC4923A7E1817A /* ALL_BUILD */ = { + isa = PBXGroup; + children = ( + 1C4D23DC921441E2A9582B41 /* CMake Rules */, + 69A18260A3304D2C9A64A0A9 /* CMakeLists.txt */, + ); + name = ALL_BUILD; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 39940D9222C520CA0050DDE1 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 39940E4122C6309A0050DDE1 /* config.h in Headers */, + 39940E4222C6309A0050DDE1 /* zipconf.h in Headers */, + 39940E4322C6309A0050DDE1 /* compat.h in Headers */, + 39940E4422C6309A0050DDE1 /* zip_crypto_commoncrypto.h in Headers */, + 39940E4522C6309A0050DDE1 /* zip_crypto_gnutls.h in Headers */, + 39940E4622C6309A0050DDE1 /* zip_crypto_mbedtls.h in Headers */, + 39940E4722C6309A0050DDE1 /* zip_crypto_openssl.h in Headers */, + 39940E4822C6309A0050DDE1 /* zip_crypto_win.h in Headers */, + 39940E4922C6309A0050DDE1 /* zip_crypto.h in Headers */, + 39940E4A22C6309A0050DDE1 /* zip.h in Headers */, + 39940E4B22C6309A0050DDE1 /* zipint.h in Headers */, + 39940E4C22C6309A0050DDE1 /* zipwin32.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 268B51680EDE4BC1B17DA168 /* hole */ = { + isa = PBXNativeTarget; + buildConfigurationList = 44A21C5A8EBA4418B9BB7E28 /* Build configuration list for PBXNativeTarget "hole" */; + buildPhases = ( + 0CB54078AD9E43BBB740CD13 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 2728CC6134E74032BC1D820F /* PBXTargetDependency */, + FF2F596D140D425C9EAA8333 /* PBXTargetDependency */, + ); + name = hole; + productName = hole; + productReference = FC71DB4EB82B4949A7A724A5 /* hole */; + productType = "com.apple.product-type.tool"; + }; + 2EE7C069705A4BA4B9C10A60 /* fread */ = { + isa = PBXNativeTarget; + buildConfigurationList = 80E126C834E0430DA1B99AA9 /* Build configuration list for PBXNativeTarget "fread" */; + buildPhases = ( + 2F7B6B35AF1A48F2912DF868 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + BF8D0909E203494096AA529A /* PBXTargetDependency */, + 5250B5F69BEF4CAFA29465B3 /* PBXTargetDependency */, + ); + name = fread; + productName = fread; + productReference = 2A2A2CB7D947460698C08065 /* fread */; + productType = "com.apple.product-type.tool"; + }; + 392F0459EF7C480EAE0CC561 /* zip */ = { + isa = PBXNativeTarget; + buildConfigurationList = E504C153DD89419299C3C710 /* Build configuration list for PBXNativeTarget "zip" */; + buildPhases = ( + 5A36A3CE07064D21BD00980E /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 8435D465B43A4914ABAE74CD /* PBXTargetDependency */, + ); + name = zip; + productName = zip; + productReference = 5B783AE657C24537BAFA3F5A /* libzip.a */; + productType = "com.apple.product-type.library.static"; + }; + 39940D9622C520CA0050DDE1 /* libzip_iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = 39940DA022C520CA0050DDE1 /* Build configuration list for PBXNativeTarget "libzip_iOS" */; + buildPhases = ( + 39940D9222C520CA0050DDE1 /* Headers */, + 39940D9322C520CA0050DDE1 /* Sources */, + 39940D9422C520CA0050DDE1 /* Frameworks */, + 39940D9522C520CA0050DDE1 /* Resources */, + 39940E1D22C61F340050DDE1 /* ShellScript */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = libzip_iOS; + productName = libzip_iOS; + productReference = 39940D9722C520CA0050DDE1 /* libzip_iOS.framework */; + productType = "com.apple.product-type.framework"; + }; + 5E1F62A09B2943958AF7C856 /* add_from_filep */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3593E60D5B69469B92079B41 /* Build configuration list for PBXNativeTarget "add_from_filep" */; + buildPhases = ( + E8D490A26A404AE18E44C9AB /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 369BF14D141743959322E29B /* PBXTargetDependency */, + 4E9436858501400DA39C3D44 /* PBXTargetDependency */, + ); + name = add_from_filep; + productName = add_from_filep; + productReference = 49032D67B72B4F3F973ACE28 /* add_from_filep */; + productType = "com.apple.product-type.tool"; + }; + 6397C2F8BF024CABB60AD74E /* can_clone_file */ = { + isa = PBXNativeTarget; + buildConfigurationList = 68619FE303D841F1BCFDDF4E /* Build configuration list for PBXNativeTarget "can_clone_file" */; + buildPhases = ( + 43AE3E402A844C63A430110E /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 6FD0FD19FCB440CB9F3A4ADE /* PBXTargetDependency */, + ); + name = can_clone_file; + productName = can_clone_file; + productReference = AE83201C3D9340BA900D0C55 /* can_clone_file */; + productType = "com.apple.product-type.tool"; + }; + 6AE33F7A9ACB43D48D6CA530 /* nonrandomopen */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4CA5E5654A774EA1AF900932 /* Build configuration list for PBXNativeTarget "nonrandomopen" */; + buildPhases = ( + 4A2096C864F34A0EA4722693 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 5F9E26678EBA452380DB7A69 /* PBXTargetDependency */, + ); + name = nonrandomopen; + productName = nonrandomopen; + productReference = 590A200B53234AFF888808B1 /* libnonrandomopen.so */; + productType = "com.apple.product-type.tool"; + }; + A9C046FD73B3493B889661DB /* zipcmp */ = { + isa = PBXNativeTarget; + buildConfigurationList = B778BAE17CC94B62802C73B6 /* Build configuration list for PBXNativeTarget "zipcmp" */; + buildPhases = ( + E9D3BB382D4D45A484E7164B /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 5A8A48DCB8994D6CB28FC136 /* PBXTargetDependency */, + 58EF1F3BD1C34F488D375D73 /* PBXTargetDependency */, + ); + name = zipcmp; + productName = zipcmp; + productReference = 3F543010E22F45FE92D7CE66 /* zipcmp */; + productType = "com.apple.product-type.tool"; + }; + B2108097E371401DA09DB468 /* ziptool */ = { + isa = PBXNativeTarget; + buildConfigurationList = A86E180F2CCB4CC28AEC64A5 /* Build configuration list for PBXNativeTarget "ziptool" */; + buildPhases = ( + D1855E8DBD1C4C5DA2EEFC29 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + E8AFB351AFDC48FA97F1EF22 /* PBXTargetDependency */, + 5268B99453044D6982874119 /* PBXTargetDependency */, + ); + name = ziptool; + productName = ziptool; + productReference = 9FEBC04559134375BB4D3954 /* ziptool */; + productType = "com.apple.product-type.tool"; + }; + C80742A08F784DDB8FD60D7E /* nonrandomopentest */ = { + isa = PBXNativeTarget; + buildConfigurationList = 624BB009923444ACAEE14EF0 /* Build configuration list for PBXNativeTarget "nonrandomopentest" */; + buildPhases = ( + EFABE9D243DB425BA70DF849 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 5D32FA2CEFA94EC7AFACF81A /* PBXTargetDependency */, + E417CEC1643C43128E229B0E /* PBXTargetDependency */, + ); + name = nonrandomopentest; + productName = nonrandomopentest; + productReference = F3E1D7BFC20E4C33B6DF7430 /* nonrandomopentest */; + productType = "com.apple.product-type.tool"; + }; + CF106426BFE54D38806BD045 /* in-memory */ = { + isa = PBXNativeTarget; + buildConfigurationList = 57888E06669C418BAEFD679F /* Build configuration list for PBXNativeTarget "in-memory" */; + buildPhases = ( + 971DA86F9A9643D89BBB80FF /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 33840B99F9024B5EB8362AC4 /* PBXTargetDependency */, + B77A055C5505433AB23E0974 /* PBXTargetDependency */, + ); + name = "in-memory"; + productName = "in-memory"; + productReference = 4676DFF6ACC441C5A128D3BC /* in-memory */; + productType = "com.apple.product-type.tool"; + }; + E40F6B1D5CD54998AE5CE904 /* ziptool_regress */ = { + isa = PBXNativeTarget; + buildConfigurationList = 4DF71C72BA53447D800A68F6 /* Build configuration list for PBXNativeTarget "ziptool_regress" */; + buildPhases = ( + E726DCB5F289407EB7180549 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + D5C4D41A203746CCA8488F3F /* PBXTargetDependency */, + 45B7286D0093497CA7F63275 /* PBXTargetDependency */, + ); + name = ziptool_regress; + productName = ziptool_regress; + productReference = 1964B2BAF6D64D6ABF03AE43 /* ziptool_regress */; + productType = "com.apple.product-type.tool"; + }; + E4C63C21CE7F45A3BFB7F3A4 /* zipmerge */ = { + isa = PBXNativeTarget; + buildConfigurationList = F3580AC9312B4E9E8612F3FC /* Build configuration list for PBXNativeTarget "zipmerge" */; + buildPhases = ( + B0F4678D96014C70B6FA13E9 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 4B29FD952E3B4A5EA3117391 /* PBXTargetDependency */, + 67C8D8D20E714D9CB932279B /* PBXTargetDependency */, + ); + name = zipmerge; + productName = zipmerge; + productReference = C5C766D95FBF44E0B2354C8F /* zipmerge */; + productType = "com.apple.product-type.tool"; + }; + EE17F42E1734468EB82C10ED /* tryopen */ = { + isa = PBXNativeTarget; + buildConfigurationList = 089BBF2034FD4DE1913D3065 /* Build configuration list for PBXNativeTarget "tryopen" */; + buildPhases = ( + 77E888DDD10E4556BBEE8CFA /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + CCDEB6B04E4A4C36AFBCA8CC /* PBXTargetDependency */, + A3E70A5F5C4447E79DF2C209 /* PBXTargetDependency */, + ); + name = tryopen; + productName = tryopen; + productReference = 4E0C23ECB5D4477BB29571E3 /* tryopen */; + productType = "com.apple.product-type.tool"; + }; + F8C82B050439466DB6764BB9 /* fopen_unchanged */ = { + isa = PBXNativeTarget; + buildConfigurationList = 3EE1BAFF6CE64BCA9CA3C1C8 /* Build configuration list for PBXNativeTarget "fopen_unchanged" */; + buildPhases = ( + CB7CB92E531D4B61B2C8928B /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 7D02CE29B7DC45BB9FE3A831 /* PBXTargetDependency */, + B3BE66E3C9894B0096BBDE47 /* PBXTargetDependency */, + ); + name = fopen_unchanged; + productName = fopen_unchanged; + productReference = A1859BAE3C244CC9B11F8AA6 /* fopen_unchanged */; + productType = "com.apple.product-type.tool"; + }; + FCA6544E3F9C459DBA3E1EE1 /* fseek */ = { + isa = PBXNativeTarget; + buildConfigurationList = D3EC7CEE21804FD4BE06A5D9 /* Build configuration list for PBXNativeTarget "fseek" */; + buildPhases = ( + 452F80F7A13345468CB6F8E6 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + 06B913F9D3374A53956F927F /* PBXTargetDependency */, + F09F3059A6FC4169AB7243FB /* PBXTargetDependency */, + ); + name = fseek; + productName = fseek; + productReference = 7C6918CCDFBD449E942E6705 /* fseek */; + productType = "com.apple.product-type.tool"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 545FEC7291C8432F9D13F0A1 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = YES; + DefaultBuildSystemTypeForWorkspace = Original; + LastUpgradeCheck = 1100; + TargetAttributes = { + 39940D9622C520CA0050DDE1 = { + CreatedOnToolsVersion = 11.0; + ProvisioningStyle = Automatic; + }; + }; + }; + buildConfigurationList = 671C54C7E2F54A83A22419D7 /* Build configuration list for PBXProject "libzip" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = D749B196CF0F4021A260B5DA; + projectDirPath = ../; + projectRoot = ""; + targets = ( + E587EDAC743A49B481BEFEF1 /* ALL_BUILD */, + BD0794CF105B464CAE979C47 /* RUN_TESTS */, + 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */, + 5E1F62A09B2943958AF7C856 /* add_from_filep */, + 6397C2F8BF024CABB60AD74E /* can_clone_file */, + 1AC743C03B054C0AA5AF6F2C /* check */, + 888964F5054C4F21A1092E11 /* cleanup */, + A6CDD43C629C4E2C87AD3E48 /* dist */, + E8E99826335F4FFEA6797872 /* distcheck */, + F8C82B050439466DB6764BB9 /* fopen_unchanged */, + 2EE7C069705A4BA4B9C10A60 /* fread */, + FCA6544E3F9C459DBA3E1EE1 /* fseek */, + 268B51680EDE4BC1B17DA168 /* hole */, + CF106426BFE54D38806BD045 /* in-memory */, + 86AD4ABA1D2644A9B01FAAA5 /* install */, + 3FF90C8CD9D74E62B5CFE01B /* man */, + 6AE33F7A9ACB43D48D6CA530 /* nonrandomopen */, + C80742A08F784DDB8FD60D7E /* nonrandomopentest */, + AC903D34B407400492AD0BB9 /* testinput */, + EE17F42E1734468EB82C10ED /* tryopen */, + 3861D06FB67E4DD0AD170E3F /* update-html */, + 929B6E0CB0184B6397AA1BB7 /* update-man */, + 755F7C254BD045619F08F484 /* update_zip_err_str */, + 23DEAC5C823E4B78A813DD74 /* update_zip_errors */, + 392F0459EF7C480EAE0CC561 /* zip */, + A9C046FD73B3493B889661DB /* zipcmp */, + E4C63C21CE7F45A3BFB7F3A4 /* zipmerge */, + B2108097E371401DA09DB468 /* ziptool */, + E40F6B1D5CD54998AE5CE904 /* ziptool_regress */, + 39940D9622C520CA0050DDE1 /* libzip_iOS */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 39940D9522C520CA0050DDE1 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 0BAF5AC8F0454CF2BBCA08C8 /* CMake PostBuild Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake PostBuild Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/RUN_TESTS_postBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + 39940E1D22C61F340050DDE1 /* ShellScript */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nprintenv\n"; + }; + 4318EB4533C04528879284A1 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/CMakeScripts/update_zip_err_str_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + 69D9402604AB4CA997ED91DD /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + 6BF3B41056494B65931E4E54 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + 7EC8857B33BD4DD5AFAE15C4 /* CMake PostBuild Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake PostBuild Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/install_postBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + 851BA143052240D4906C66AB /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + A5B67573A92B40CFADEC4B6E /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/distcheck_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + C31FA951CC4E4250AEA81C38 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/dist_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + DB7D259C03534790B74859C5 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/ALL_BUILD_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all\n"; + showEnvVarsInLog = 0; + }; + E031D67870D04D35A05582A6 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeScripts/check_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + E3DF79FCCEE14DA8B989AD04 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeScripts/testinput_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + E41F3B7F46AD4F6C89279E99 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + E9EFB13DAD3F462FB14BEE3E /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/CMakeScripts/ZERO_CHECK_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; + F28EB14A00AE48319ABC1C62 /* CMake Rules */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + name = "CMake Rules"; + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "make -C /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress -f /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/CMakeScripts/cleanup_cmakeRulesBuildPhase.make$CONFIGURATION OBJDIR=$(basename \"$OBJECT_FILE_DIR_normal\") all"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 0CB54078AD9E43BBB740CD13 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BCFCFF9E3EFC4952B632D5E8 /* hole.c in Sources */, + 394CF28A15EC4BA2BEBCE85F /* source_hole.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 2F7B6B35AF1A48F2912DF868 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + CFF0D36434BD4393B8342892 /* fread.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 39940D9322C520CA0050DDE1 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 39940DA122C5214A0050DDE1 /* zip_add.c in Sources */, + 39940DA222C5214A0050DDE1 /* zip_add_dir.c in Sources */, + 39940DA322C5214A0050DDE1 /* zip_add_entry.c in Sources */, + 39940DA422C5214A0050DDE1 /* zip_algorithm_bzip2.c in Sources */, + 39940DA522C5214A0050DDE1 /* zip_algorithm_deflate.c in Sources */, + 39940DA622C5214A0050DDE1 /* zip_buffer.c in Sources */, + 39940DA722C5214A0050DDE1 /* zip_close.c in Sources */, + 39940DA822C5214A0050DDE1 /* zip_crypto_commoncrypto.c in Sources */, + 39940DA922C5214A0050DDE1 /* zip_delete.c in Sources */, + 39940DAA22C5214A0050DDE1 /* zip_dir_add.c in Sources */, + 39940DAB22C5214A0050DDE1 /* zip_dirent.c in Sources */, + 39940DAC22C5214A0050DDE1 /* zip_discard.c in Sources */, + 39940DAD22C5214A0050DDE1 /* zip_entry.c in Sources */, + 39940DAE22C5214A0050DDE1 /* zip_err_str.c in Sources */, + 39940DAF22C5214A0050DDE1 /* zip_error.c in Sources */, + 39940DB022C5214A0050DDE1 /* zip_error_clear.c in Sources */, + 39940DB122C5214A0050DDE1 /* zip_error_get.c in Sources */, + 39940DB222C5214A0050DDE1 /* zip_error_get_sys_type.c in Sources */, + 39940DB322C5214A0050DDE1 /* zip_error_strerror.c in Sources */, + 39940DB422C5214A0050DDE1 /* zip_error_to_str.c in Sources */, + 39940DB522C5214A0050DDE1 /* zip_extra_field.c in Sources */, + 39940DB622C5214A0050DDE1 /* zip_extra_field_api.c in Sources */, + 39940DB722C5214A0050DDE1 /* zip_fclose.c in Sources */, + 39940DB822C5214A0050DDE1 /* zip_fdopen.c in Sources */, + 39940DB922C5214A0050DDE1 /* zip_file_add.c in Sources */, + 39940DBA22C5214A0050DDE1 /* zip_file_error_clear.c in Sources */, + 39940DBB22C5214A0050DDE1 /* zip_file_error_get.c in Sources */, + 39940DBC22C5214A0050DDE1 /* zip_file_get_comment.c in Sources */, + 39940DBD22C5214A0050DDE1 /* zip_file_get_external_attributes.c in Sources */, + 39940DBE22C5214A0050DDE1 /* zip_file_get_offset.c in Sources */, + 39940DBF22C5214A0050DDE1 /* zip_file_rename.c in Sources */, + 39940DC022C5214A0050DDE1 /* zip_file_replace.c in Sources */, + 39940DC122C5214A0050DDE1 /* zip_file_set_comment.c in Sources */, + 39940DC222C5214A0050DDE1 /* zip_file_set_encryption.c in Sources */, + 39940DC322C5214A0050DDE1 /* zip_file_set_external_attributes.c in Sources */, + 39940DC422C5214A0050DDE1 /* zip_file_set_mtime.c in Sources */, + 39940DC522C5214A0050DDE1 /* zip_file_strerror.c in Sources */, + 39940DC622C5214A0050DDE1 /* zip_filerange_crc.c in Sources */, + 39940DC722C5214A0050DDE1 /* zip_fopen.c in Sources */, + 39940DC822C5214A0050DDE1 /* zip_fopen_encrypted.c in Sources */, + 39940DC922C5214A0050DDE1 /* zip_fopen_index.c in Sources */, + 39940DCA22C5214A0050DDE1 /* zip_fopen_index_encrypted.c in Sources */, + 39940DCB22C5214B0050DDE1 /* zip_fread.c in Sources */, + 39940DCC22C5214B0050DDE1 /* zip_fseek.c in Sources */, + 39940DCD22C5214B0050DDE1 /* zip_ftell.c in Sources */, + 39940DCE22C5214B0050DDE1 /* zip_get_archive_comment.c in Sources */, + 39940DCF22C5214B0050DDE1 /* zip_get_archive_flag.c in Sources */, + 39940DD022C5214B0050DDE1 /* zip_get_encryption_implementation.c in Sources */, + 39940DD122C5214B0050DDE1 /* zip_get_file_comment.c in Sources */, + 39940DD222C5214B0050DDE1 /* zip_get_name.c in Sources */, + 39940DD322C5214B0050DDE1 /* zip_get_num_entries.c in Sources */, + 39940DD422C5214B0050DDE1 /* zip_get_num_files.c in Sources */, + 39940DD522C5214B0050DDE1 /* zip_hash.c in Sources */, + 39940DD622C5214B0050DDE1 /* zip_io_util.c in Sources */, + 39940DD722C5214B0050DDE1 /* zip_libzip_version.c in Sources */, + 39940DD822C5214B0050DDE1 /* zip_memdup.c in Sources */, + 39940DD922C5214B0050DDE1 /* zip_name_locate.c in Sources */, + 39940DDA22C5214B0050DDE1 /* zip_new.c in Sources */, + 39940DDB22C5214B0050DDE1 /* zip_open.c in Sources */, + 39940DDC22C5214B0050DDE1 /* zip_progress.c in Sources */, + 39940DDD22C5214B0050DDE1 /* zip_rename.c in Sources */, + 39940DDE22C5214B0050DDE1 /* zip_replace.c in Sources */, + 39940DDF22C5214B0050DDE1 /* zip_set_archive_comment.c in Sources */, + 39940DE022C5214B0050DDE1 /* zip_set_archive_flag.c in Sources */, + 39940DE122C5214B0050DDE1 /* zip_set_default_password.c in Sources */, + 39940DE222C5214B0050DDE1 /* zip_set_file_comment.c in Sources */, + 39940DE322C5214B0050DDE1 /* zip_set_file_compression.c in Sources */, + 39940DE422C5214B0050DDE1 /* zip_set_name.c in Sources */, + 39940DE522C5214B0050DDE1 /* zip_source_begin_write.c in Sources */, + 39940DE622C5214B0050DDE1 /* zip_source_begin_write_cloning.c in Sources */, + 39940DE722C5214B0050DDE1 /* zip_source_buffer.c in Sources */, + 39940DE822C5214B0050DDE1 /* zip_source_call.c in Sources */, + 39940DE922C5214B0050DDE1 /* zip_source_close.c in Sources */, + 39940DEA22C5214B0050DDE1 /* zip_source_commit_write.c in Sources */, + 39940DEB22C5214B0050DDE1 /* zip_source_compress.c in Sources */, + 39940DEC22C5214B0050DDE1 /* zip_source_crc.c in Sources */, + 39940DED22C5214B0050DDE1 /* zip_source_error.c in Sources */, + 39940DEE22C5214B0050DDE1 /* zip_source_file.c in Sources */, + 39940DEF22C5214B0050DDE1 /* zip_source_filep.c in Sources */, + 39940DF022C5214B0050DDE1 /* zip_source_free.c in Sources */, + 39940DF122C5214B0050DDE1 /* zip_source_function.c in Sources */, + 39940DF222C5214B0050DDE1 /* zip_source_get_compression_flags.c in Sources */, + 39940DF322C5214B0050DDE1 /* zip_source_is_deleted.c in Sources */, + 39940DF422C5214B0050DDE1 /* zip_source_layered.c in Sources */, + 39940DF522C5214B0050DDE1 /* zip_source_open.c in Sources */, + 39940DF622C5214B0050DDE1 /* zip_source_pkware.c in Sources */, + 39940DF722C5214B0050DDE1 /* zip_source_read.c in Sources */, + 39940DF822C5214B0050DDE1 /* zip_source_remove.c in Sources */, + 39940DF922C5214B0050DDE1 /* zip_source_rollback_write.c in Sources */, + 39940DFA22C5214B0050DDE1 /* zip_source_seek.c in Sources */, + 39940DFB22C5214B0050DDE1 /* zip_source_seek_write.c in Sources */, + 39940DFC22C5214B0050DDE1 /* zip_source_stat.c in Sources */, + 39940DFD22C5214B0050DDE1 /* zip_source_supports.c in Sources */, + 39940DFE22C5214B0050DDE1 /* zip_source_tell.c in Sources */, + 39940DFF22C5214B0050DDE1 /* zip_source_tell_write.c in Sources */, + 39940E0022C5214B0050DDE1 /* zip_source_window.c in Sources */, + 39940E0122C5214B0050DDE1 /* zip_source_winzip_aes_decode.c in Sources */, + 39940E0222C5214B0050DDE1 /* zip_source_winzip_aes_encode.c in Sources */, + 39940E0322C5214B0050DDE1 /* zip_source_write.c in Sources */, + 39940E0422C5214B0050DDE1 /* zip_source_zip.c in Sources */, + 39940E0522C5214B0050DDE1 /* zip_source_zip_new.c in Sources */, + 39940E0622C5214B0050DDE1 /* zip_stat.c in Sources */, + 39940E0722C5214B0050DDE1 /* zip_stat_index.c in Sources */, + 39940E0822C5214B0050DDE1 /* zip_stat_init.c in Sources */, + 39940E0922C5214B0050DDE1 /* zip_strerror.c in Sources */, + 39940E0A22C5214B0050DDE1 /* zip_string.c in Sources */, + 39940E0B22C5214B0050DDE1 /* zip_unchange.c in Sources */, + 39940E0C22C5214B0050DDE1 /* zip_unchange_all.c in Sources */, + 39940E0D22C5214B0050DDE1 /* zip_unchange_archive.c in Sources */, + 39940E0E22C5214B0050DDE1 /* zip_unchange_data.c in Sources */, + 39940E0F22C5214B0050DDE1 /* zip_utf-8.c in Sources */, + 39940E1022C5214B0050DDE1 /* zip_winzip_aes.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 43AE3E402A844C63A430110E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7A55F4C0EA3B49D196583E84 /* can_clone_file.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 452F80F7A13345468CB6F8E6 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 40BD0D65BB584519869D1D4A /* fseek.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 4A2096C864F34A0EA4722693 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 9AE7F86C950C475BADFE3348 /* nonrandomopen.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 5A36A3CE07064D21BD00980E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 86A7B77013434E61BD809139 /* zip_add.c in Sources */, + 1B30E312B2B541A48B4EA964 /* zip_add_dir.c in Sources */, + 95A9101E68AD423DA9CC018A /* zip_add_entry.c in Sources */, + 16550341343A41DFB590551B /* zip_algorithm_bzip2.c in Sources */, + 0832965F16F549CF8209B8AB /* zip_algorithm_deflate.c in Sources */, + 0AC3522A49DF4A8CBAB8EC97 /* zip_buffer.c in Sources */, + 8D0EC17FBD4F4E6CBA402456 /* zip_close.c in Sources */, + 5C12B6A2DFDF4E0CB4679D13 /* zip_crypto_commoncrypto.c in Sources */, + A96EA4D1D433463B9708A231 /* zip_delete.c in Sources */, + 518087CD70EC4FB09775905B /* zip_dir_add.c in Sources */, + 7B4278152FFE4C44BCC504BB /* zip_dirent.c in Sources */, + 47B03628C05342AF8865E8F5 /* zip_discard.c in Sources */, + 2E0AC5D8FFBA430A8B444516 /* zip_entry.c in Sources */, + FBC1F6F8C2BA498DAC0216F9 /* zip_err_str.c in Sources */, + 0C3E6B7DA95742C78E2CA28E /* zip_error.c in Sources */, + 70782746BE304131A28E5E82 /* zip_error_clear.c in Sources */, + BCD65FAA39D740E28A363442 /* zip_error_get.c in Sources */, + F7B07140DF374420AB3B492E /* zip_error_get_sys_type.c in Sources */, + 9848FD81321846DC93EFAA65 /* zip_error_strerror.c in Sources */, + 1F45BF0A4D7F4CCF896A1D29 /* zip_error_to_str.c in Sources */, + 10DEF0E3DCA34F0E9C7B548D /* zip_extra_field.c in Sources */, + DED18606C0614036963DDAA2 /* zip_extra_field_api.c in Sources */, + 5EE2975D4F164C3887369511 /* zip_fclose.c in Sources */, + CC7305AE8F2D4BB497CF5ACB /* zip_fdopen.c in Sources */, + 8A113A439BB0466E87F9CD4B /* zip_file_add.c in Sources */, + 948B59B5F12C41D4973AAED2 /* zip_file_error_clear.c in Sources */, + 2AE2F2F7AB1B47DBBE174DC5 /* zip_file_error_get.c in Sources */, + 1B467BF9E6FE4A9C892C1AD4 /* zip_file_get_comment.c in Sources */, + 4960D30C7CF74DD0B7C6CBD2 /* zip_file_get_external_attributes.c in Sources */, + C9735DDBBD024CB8826D8A48 /* zip_file_get_offset.c in Sources */, + B998070D2692454A93D8C0E4 /* zip_file_rename.c in Sources */, + 99B8452856C14638891030BD /* zip_file_replace.c in Sources */, + A7073BA5DCD84136BD50F424 /* zip_file_set_comment.c in Sources */, + 08B3017F0E2541F0AF774664 /* zip_file_set_encryption.c in Sources */, + 976C358BE2F8433D947A89F3 /* zip_file_set_external_attributes.c in Sources */, + 1447924E641E4540BF8A7ACE /* zip_file_set_mtime.c in Sources */, + 0069FE3DC42942BDA7F7501F /* zip_file_strerror.c in Sources */, + D22337875BE74C76B6A8F62F /* zip_filerange_crc.c in Sources */, + 81FD748A1AFA43CCA1FFAD06 /* zip_fopen.c in Sources */, + 6A212E06F9B8435591CBCD90 /* zip_fopen_encrypted.c in Sources */, + 33254BED98CA4C47A72EB49E /* zip_fopen_index.c in Sources */, + BCBC651B600F4CC2BC3F4F52 /* zip_fopen_index_encrypted.c in Sources */, + B1CFDC4F71FB414A9DAA3D28 /* zip_fread.c in Sources */, + 060E7C326BAA435B8988EFD4 /* zip_fseek.c in Sources */, + 1FAE12534E9E49F195E60C56 /* zip_ftell.c in Sources */, + 3705697025E544B297EEC558 /* zip_get_archive_comment.c in Sources */, + 2B0D41B168E84B55945F88B6 /* zip_get_archive_flag.c in Sources */, + 46FCB80FD3B64C879A9CAD88 /* zip_get_encryption_implementation.c in Sources */, + CE4A103E3D6944EAB10544F3 /* zip_get_file_comment.c in Sources */, + 6B6DB09C5EBA4955BB283AC6 /* zip_get_name.c in Sources */, + 9A9F1F2861684CC5ABBA83FD /* zip_get_num_entries.c in Sources */, + 197078BF47764C4D94AE6522 /* zip_get_num_files.c in Sources */, + 884906D83DD84917A3178CF4 /* zip_hash.c in Sources */, + 9D9186105E3140DFA75246D9 /* zip_io_util.c in Sources */, + FE900AEFCA9C467D82539668 /* zip_libzip_version.c in Sources */, + F1F2C750D42748DE94567F96 /* zip_memdup.c in Sources */, + 0B9510F18BA74C3AA21F23B8 /* zip_name_locate.c in Sources */, + 2091B8FF17BA4617A64F2D46 /* zip_new.c in Sources */, + 389E56412BDA4D2F97522186 /* zip_open.c in Sources */, + 290A9D36B4AC447E88087DF6 /* zip_progress.c in Sources */, + 7017BFC723164931B241D700 /* zip_rename.c in Sources */, + E6E4C8518494469681F95F9B /* zip_replace.c in Sources */, + 73D78C0756A24F32870EF254 /* zip_set_archive_comment.c in Sources */, + 230558BAC27B46CA9A744032 /* zip_set_archive_flag.c in Sources */, + CD573F552C354543B55E054F /* zip_set_default_password.c in Sources */, + 8279D4E2E3914AC2AA7C02F7 /* zip_set_file_comment.c in Sources */, + 4EB931E7E0AF4FBB89FE3A51 /* zip_set_file_compression.c in Sources */, + 6A58F7705A524B9DBE8D8AAB /* zip_set_name.c in Sources */, + A87EE002D54044B2B74A6A8D /* zip_source_begin_write.c in Sources */, + 1D7E7D67E6A94B9882C11200 /* zip_source_begin_write_cloning.c in Sources */, + 455C466D3B554008B13FB879 /* zip_source_buffer.c in Sources */, + 4D7974685C554D109A9CCD9C /* zip_source_call.c in Sources */, + 02BEAA21669648D0AC62E680 /* zip_source_close.c in Sources */, + 044F402417F945599E54ADCF /* zip_source_commit_write.c in Sources */, + 2E09A6CC7DC14A5C9C48D1E8 /* zip_source_compress.c in Sources */, + 1C3F4D87D147405589DEE156 /* zip_source_crc.c in Sources */, + 91636293AABC45C1A85A2F1E /* zip_source_error.c in Sources */, + 64845A30FDA14FAA9BDEEFA5 /* zip_source_file.c in Sources */, + 2A17C90560664A838081BADA /* zip_source_filep.c in Sources */, + 04407E316F344FBA82344996 /* zip_source_free.c in Sources */, + 8D19CCE1611644E0B2367EB4 /* zip_source_function.c in Sources */, + 2F642BC7FB0044708F39FAAF /* zip_source_get_compression_flags.c in Sources */, + C9513EC079094ADFA5BDD567 /* zip_source_is_deleted.c in Sources */, + 5286723A08AA4FF9A3A863E1 /* zip_source_layered.c in Sources */, + 1614385F8BFD4E2E8C43145B /* zip_source_open.c in Sources */, + 68BB874DE5B6419FA033D66D /* zip_source_pkware.c in Sources */, + 84DC22B8760C43B2BAD84CDC /* zip_source_read.c in Sources */, + A7011E49A4474D20BF45FD2F /* zip_source_remove.c in Sources */, + 76AC452DC0EA4F4097B91E8A /* zip_source_rollback_write.c in Sources */, + 5479D604F3B8439283E5A670 /* zip_source_seek.c in Sources */, + B18E20EFEDE8413291C3363B /* zip_source_seek_write.c in Sources */, + 5A6D8B330C9743B9A7554F16 /* zip_source_stat.c in Sources */, + A32A9AEC1F0F44418B03DFFA /* zip_source_supports.c in Sources */, + AC958A5623CF4FAF89FF3921 /* zip_source_tell.c in Sources */, + 86539AAC010A43078B807696 /* zip_source_tell_write.c in Sources */, + 7F5622780ECE4255919FCD87 /* zip_source_window.c in Sources */, + DD99D0C3ABA147AD803614A3 /* zip_source_winzip_aes_decode.c in Sources */, + 818A0D37EFA64A8E9F45DB73 /* zip_source_winzip_aes_encode.c in Sources */, + C5382AA594E24913A6A8865E /* zip_source_write.c in Sources */, + 19DC40946FE74514AEDD56D0 /* zip_source_zip.c in Sources */, + EBAECAA9FA0649F88D5F180A /* zip_source_zip_new.c in Sources */, + 6B9B63BC309B41318F9B32FA /* zip_stat.c in Sources */, + B5A1734E22994E589EE605C1 /* zip_stat_index.c in Sources */, + 7DE4488B003A463D8DBF5768 /* zip_stat_init.c in Sources */, + C480A14590E749BDBA42999B /* zip_strerror.c in Sources */, + 3E800AD4E8484C8B915C97BD /* zip_string.c in Sources */, + 72B08408023B4545B493543F /* zip_unchange.c in Sources */, + D23578D0D3344A26AE0FA4C5 /* zip_unchange_all.c in Sources */, + 8A73A6BDD7534504971D0A44 /* zip_unchange_archive.c in Sources */, + E3BBB95C37EF403FA6B5B7AF /* zip_unchange_data.c in Sources */, + 47502DD7D1224EC29DCB11EA /* zip_utf-8.c in Sources */, + CD8E0B7CE4634C44AE250E29 /* zip_winzip_aes.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 77E888DDD10E4556BBEE8CFA /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 8BA4B94F76284CB59BD0E3AA /* tryopen.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 971DA86F9A9643D89BBB80FF /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 32FCB86F1A98428394069E9A /* in-memory.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B0F4678D96014C70B6FA13E9 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + AB56C60B93374167A778D35B /* zipmerge.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + CB7CB92E531D4B61B2C8928B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A33D93801015449298B4CB5F /* fopen_unchanged.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D1855E8DBD1C4C5DA2EEFC29 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 49F8EBC9A48A47C88897C16A /* ziptool.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E726DCB5F289407EB7180549 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1FAFDC171D73402997C66DA1 /* source_hole.c in Sources */, + 7C5BE17E6D3D4B9E98278DBF /* ziptool_regress.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E8D490A26A404AE18E44C9AB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 3A22429C83B44867953F8C3F /* add_from_filep.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E9D3BB382D4D45A484E7164B /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ABB2496198EE462AB739B1E7 /* zipcmp.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + EFABE9D243DB425BA70DF849 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A3650F874A31431283EAAD38 /* nonrandomopentest.c in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 034F985F108740E08CA8E39A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 591B995E1691431E837445EE /* PBXContainerItemProxy */; + }; + 06B913F9D3374A53956F927F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = 4AF1E7C84D1F423DA5941C4C /* PBXContainerItemProxy */; + }; + 0860168EA03E48A6ABC2E765 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = AC903D34B407400492AD0BB9 /* testinput */; + targetProxy = D8C01B1912B34B0E9DAF6DB8 /* PBXContainerItemProxy */; + }; + 0CB7325E0832459EA428BD08 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6AE33F7A9ACB43D48D6CA530 /* nonrandomopen */; + targetProxy = E1C86083EED642DFB7BB6188 /* PBXContainerItemProxy */; + }; + 12703032711741BFA74E167D /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 81D93173C8ED41DE8A6D3EE2 /* PBXContainerItemProxy */; + }; + 13BACBD2D3F64C0F867574EF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 11523B4F9D5D472BB86BF049 /* PBXContainerItemProxy */; + }; + 217A4F529EF5433A8465493F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 268B51680EDE4BC1B17DA168 /* hole */; + targetProxy = 09028652F6924F8CAB652294 /* PBXContainerItemProxy */; + }; + 2728CC6134E74032BC1D820F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = F3EEC76927A943B487D9EFEF /* PBXContainerItemProxy */; + }; + 2B2B87F98FBA4F8CB0D91628 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 6397C2F8BF024CABB60AD74E /* can_clone_file */; + targetProxy = EDE7CC38E8CA44BE981F149F /* PBXContainerItemProxy */; + }; + 33840B99F9024B5EB8362AC4 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = E16364CAD855436D8FA1B1C5 /* PBXContainerItemProxy */; + }; + 369BF14D141743959322E29B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = 8E5E4C40664F48CBB23D8FDA /* PBXContainerItemProxy */; + }; + 381BAB2760264FB39676F146 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A9C046FD73B3493B889661DB /* zipcmp */; + targetProxy = 1676103D3C0143BB8726572E /* PBXContainerItemProxy */; + }; + 45B7286D0093497CA7F63275 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 722CB54B923D4CB09F60B941 /* PBXContainerItemProxy */; + }; + 4B29FD952E3B4A5EA3117391 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = E97B759BEDBF4014980CB773 /* PBXContainerItemProxy */; + }; + 4E20BDBCD2F4456B89AE290C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = EE17F42E1734468EB82C10ED /* tryopen */; + targetProxy = 41931B0E6102434DA32492D0 /* PBXContainerItemProxy */; + }; + 4E9436858501400DA39C3D44 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 525EDE4259F54422B0CF2C9E /* PBXContainerItemProxy */; + }; + 4F11494525724E93AB1384F0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = F0741A41D7E64DEBB91D8477 /* PBXContainerItemProxy */; + }; + 4FAD2C9985654F3D912F3169 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = C80742A08F784DDB8FD60D7E /* nonrandomopentest */; + targetProxy = DAA08628D2374614B37F1C3C /* PBXContainerItemProxy */; + }; + 5250B5F69BEF4CAFA29465B3 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 48DA6167F74F4F2DA503F8DA /* PBXContainerItemProxy */; + }; + 5268B99453044D6982874119 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 5FEBD0D5805C4732852517ED /* PBXContainerItemProxy */; + }; + 58EF1F3BD1C34F488D375D73 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = F944352AF00146B6B420F336 /* PBXContainerItemProxy */; + }; + 5A8A48DCB8994D6CB28FC136 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = A8040FEE985F42F08FAE9A4A /* PBXContainerItemProxy */; + }; + 5D32FA2CEFA94EC7AFACF81A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = C223D73D294641B28C213D11 /* PBXContainerItemProxy */; + }; + 5F9E26678EBA452380DB7A69 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 5C280E68C7B044A3AA00B006 /* PBXContainerItemProxy */; + }; + 67C8D8D20E714D9CB932279B /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 12F6AE8876CC41F8801C0CA7 /* PBXContainerItemProxy */; + }; + 6828F83FE15E4624AE38CB2E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E40F6B1D5CD54998AE5CE904 /* ziptool_regress */; + targetProxy = 911A511465004F8DB9B1D935 /* PBXContainerItemProxy */; + }; + 6C0A1210310547B68C73C1EF /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = F8C82B050439466DB6764BB9 /* fopen_unchanged */; + targetProxy = 2C243C9410CE4687A7CC54F3 /* PBXContainerItemProxy */; + }; + 6FD0FD19FCB440CB9F3A4ADE /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = D8E1FAFB4A924F899D05E825 /* PBXContainerItemProxy */; + }; + 74AF9F9609544904BD1A57D0 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = E36FD8863780471B81DDBB63 /* PBXContainerItemProxy */; + }; + 793CD99A74494606BD58C163 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E587EDAC743A49B481BEFEF1 /* ALL_BUILD */; + targetProxy = 2CFE5ABFC2634DB7B37AAEB8 /* PBXContainerItemProxy */; + }; + 7BB3635B52E14FDAA4CF5D55 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 9559247CD8884D368F0595A9 /* PBXContainerItemProxy */; + }; + 7D02CE29B7DC45BB9FE3A831 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = 7A7BF2939EEB41FEA757164A /* PBXContainerItemProxy */; + }; + 827D0327BA99487599239406 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = E4C63C21CE7F45A3BFB7F3A4 /* zipmerge */; + targetProxy = ABBE0A04B40144C3B888CE03 /* PBXContainerItemProxy */; + }; + 8435D465B43A4914ABAE74CD /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 6F19E5245F93421AAC02EF21 /* PBXContainerItemProxy */; + }; + 8D4DBCA5C4B64C8BAC477A32 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 97D101148B7E4D258DA7C4DE /* PBXContainerItemProxy */; + }; + 9D281B79836E4665A09FCA20 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = CF106426BFE54D38806BD045 /* in-memory */; + targetProxy = F9D7AAB281044AFDAEF44487 /* PBXContainerItemProxy */; + }; + A3E70A5F5C4447E79DF2C209 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 9BE98156CFEA4876AFED482B /* PBXContainerItemProxy */; + }; + A6740C4D826D4D23BB6AFB5F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = B2108097E371401DA09DB468 /* ziptool */; + targetProxy = A020FADA630F4FA7A30A3235 /* PBXContainerItemProxy */; + }; + A7F424E4AE7A4D6E972C7A31 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = FCA6544E3F9C459DBA3E1EE1 /* fseek */; + targetProxy = B11B6F9B58234A4182B3174B /* PBXContainerItemProxy */; + }; + B2022E8F04B4499D82E4F58C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 5E1F62A09B2943958AF7C856 /* add_from_filep */; + targetProxy = FBF995840539437B90F1D088 /* PBXContainerItemProxy */; + }; + B3BE66E3C9894B0096BBDE47 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 153C964627434243B29FA20A /* PBXContainerItemProxy */; + }; + B48A73BCACF543AA9F9758ED /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = 3CD9AFA5BD174E89A2D0D899 /* PBXContainerItemProxy */; + }; + B5300EA61F544BE684232581 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 3FF90C8CD9D74E62B5CFE01B /* man */; + targetProxy = 3B41A33AAD76433BA3DEE06E /* PBXContainerItemProxy */; + }; + B77A055C5505433AB23E0974 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = CE9C091EFE58498DABC1AA69 /* PBXContainerItemProxy */; + }; + B8276ED509DD40F9AE13E337 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 2EE6C5B5F9874A8791D09BBA /* PBXContainerItemProxy */; + }; + BF8D0909E203494096AA529A /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = 307EBB20A9024E389EAB438B /* PBXContainerItemProxy */; + }; + CCDEB6B04E4A4C36AFBCA8CC /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = 6C6A6F038D3740D7A20B0BA8 /* PBXContainerItemProxy */; + }; + CF8C861F37CE4001A4DFCB39 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2EE7C069705A4BA4B9C10A60 /* fread */; + targetProxy = 6DA52A4B1E014ACEB5C73E5F /* PBXContainerItemProxy */; + }; + D46E4FF77B594D71A04563ED /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 64C28229375D40318404E1D1 /* PBXContainerItemProxy */; + }; + D5C4D41A203746CCA8488F3F /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = C5AEBCBEF83F494098F4BFC5 /* PBXContainerItemProxy */; + }; + E417CEC1643C43128E229B0E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = D524AAA9D654420C972C19D9 /* PBXContainerItemProxy */; + }; + E56A1B3E227C4D4390F0B409 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 933243D2558640EDA3836418 /* PBXContainerItemProxy */; + }; + E8AFB351AFDC48FA97F1EF22 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 392F0459EF7C480EAE0CC561 /* zip */; + targetProxy = 9FD3F355D75F464D91878ABE /* PBXContainerItemProxy */; + }; + F09F3059A6FC4169AB7243FB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 2DACE9A703B54C938D0C255A /* PBXContainerItemProxy */; + }; + F1EA45ECE63947E090E73698 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 87FC7B41E2F24B9D8926B82A /* PBXContainerItemProxy */; + }; + F75766FDC7134C6794F753F7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = A6CDD43C629C4E2C87AD3E48 /* dist */; + targetProxy = C20B3601B372455BA222A38F /* PBXContainerItemProxy */; + }; + FF2F596D140D425C9EAA8333 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 0E4CBCF65EE14297B1825289 /* ZERO_CHECK */; + targetProxy = 30A0B159B18D4ABCAE5037BA /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 017C60B082BC452D996805EB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fopen_unchanged; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 0187B641ACE54849B5A5B1B5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopentest; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 01E939062DAC46C59A39776B /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/..", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "in-memory"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 03B309EB5AF14486B5A3D686 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .so; + GCC_DYNAMIC_NO_PIC = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + nonrandomopen_EXPORTS, + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + LIBRARY_STYLE = BUNDLE; + MACH_O_TYPE = mh_bundle; + OTHER_CFLAGS = ( + "-DNDEBUG", + "-fPIC", + ); + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 03D21FC0060747D5A7ED8409 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool_regress; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 04E0DF8640B24D12A0C2CBEF /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = can_clone_file; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 0534795E7FF042CEB2B8BCC9 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-man"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 05CF3B98E96141638FA12C53 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = RUN_TESTS; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 062BBCB2D7244C0F980AC848 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = distcheck; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 07F9B295031441A8A7192D64 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/..", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "in-memory"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 0C260EDA13B34D89BE387009 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = tryopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 0FBD804B5CBD4647BEEBC060 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipcmp; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 100D9727918F469082B285BB /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-man"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 16236D3DE408435ABAAEFE2B /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = testinput; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 193D0BAE32EF4EC984017540 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fopen_unchanged; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 1B20C246807949C497A9C085 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .a; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + ); + INSTALL_PATH = ""; + LIBRARY_STYLE = STATIC; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LIBTOOLFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zip; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 1B490A60113848D098EFE0BA /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ZERO_CHECK; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 1F8ACA8ACAB542688ACA7C47 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = can_clone_file; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 2075572F85D447DC98C186C2 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ZERO_CHECK; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 20F4189A40F74BEC8BAD43D5 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ALL_BUILD; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 242949E6BF4B41DB9C848353 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = distcheck; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 249FF757EBF84ACABA48786E /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-html"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 27291452C4214BFDAB9F2B54 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fread; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 29EBCB80344147EAAF298BD8 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipcmp; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 2CD8E9CABC2740EDA05A7B5F /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipmerge; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 2E5F25979D8A4450B78FBB57 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .a; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + ); + INSTALL_PATH = ""; + LIBRARY_STYLE = STATIC; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LIBTOOLFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zip; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 309927CB0CCB4840B5D2FFC2 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .a; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + ); + INSTALL_PATH = ""; + LIBRARY_STYLE = STATIC; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LIBTOOLFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zip; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 332EFD69F7BD4077B397B4B9 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = cleanup; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 35C38ED025FE4C1CB1511C54 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_err_str; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 37DF1D229DC349BE9D9B14D5 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = cleanup; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 39940D9C22C520CA0050DDE1 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + HAVE_CONFIG_H, + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build", + ); + INFOPLIST_FILE = "$(SRCROOT)/libzip_iOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_BUNDLE_IDENTIFIER = "org.testprj.libzip-iOS"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 39940D9D22C520CA0050DDE1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = HAVE_CONFIG_H; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build", + ); + INFOPLIST_FILE = "$(SRCROOT)/libzip_iOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_BUNDLE_IDENTIFIER = "org.testprj.libzip-iOS"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 39940D9E22C520CA0050DDE1 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = HAVE_CONFIG_H; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build", + ); + INFOPLIST_FILE = "$(SRCROOT)/libzip_iOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_BUNDLE_IDENTIFIER = "org.testprj.libzip-iOS"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = MinSizeRel; + }; + 39940D9F22C520CA0050DDE1 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + ARCHS = "$(ARCHS_STANDARD)"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = HAVE_CONFIG_H; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build", + ); + INFOPLIST_FILE = "$(SRCROOT)/libzip_iOS/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 9.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = NO; + PRODUCT_BUNDLE_IDENTIFIER = "org.testprj.libzip-iOS"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = RelWithDebInfo; + }; + 3B30962276524CD5AA35969F /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 3DEFD4934296461F97DFEBE1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ZERO_CHECK; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 3E4A38539FC54BDF9AD9FD24 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = install; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 3F5CC19FD7EA49078AC2DCF6 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = distcheck; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 40C473C0355B4048AD7DDD78 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ALL_BUILD; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 41524DB91FDB43A79792D37D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-man"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 41E7586E63D247B3B451EB23 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_errors; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 42AEDB3F297A40BFB4707821 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-html"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 501DE47CF3BD45409D1EF0A8 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = check; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 503388C8ABEA43A6BF696A67 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = testinput; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 5BA3F0E235E24844967CDA7E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = man; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 5CECD0EB238A4F94ACB54D2D /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = distcheck; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 5E98D74762C144E3BFB08797 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = install; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 5F34815901344763816556A8 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipmerge; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 60602D80FCBE458B9F730D9B /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = add_from_filep; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 611443556CF141328246AD0E /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = check; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 63F70E8C16D34318B0501A86 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool_regress; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 66400E3B78DB496892250E7A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .so; + GCC_DYNAMIC_NO_PIC = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + nonrandomopen_EXPORTS, + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + LIBRARY_STYLE = BUNDLE; + MACH_O_TYPE = mh_bundle; + OTHER_CFLAGS = " -fPIC "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 6793E7E95857443F961A0BCE /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + ONLY_ACTIVE_ARCH = YES; + SDKROOT = "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/build"; + }; + name = MinSizeRel; + }; + 67CD10677DF042EA94126E23 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopentest; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 721FA4D0B2F94954A35BFB32 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = can_clone_file; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 737801B6BEF249239FDB263C /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fread; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 79ED86CF95AC4F7B91A248BE /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fseek; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 7A0F3719DB92418098FC7C8D /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ZERO_CHECK; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 7B4DBBAA74104283AF283015 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = tryopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 7B4F2FBC7257450EA4222BC4 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = tryopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 7BC15D232FA7463DB5F24895 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_errors; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 7C791EC486E746AD9A9A956D /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = dist; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 7C7CFC51E5FD4B0FA4940650 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = install; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 7DB5BFBE35F94989A84E2782 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = hole; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 804C393AFC1B4E0DB0CB46F1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = RUN_TESTS; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 8289C17937BC48B38C5E3480 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 8299CE56F7B34E8989981624 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_err_str; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 869C08B6CBC74C72829B53F9 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fread; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 8AFE5D21EC6A4AA4BAAA8B06 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = tryopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 8EB02095C0864B19B5C52E13 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_err_str; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 8F973A0262F64351BAD1E761 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = check; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 8FF7483865324C98A2892B94 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_errors; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 90F4A9B27835472386A8CADD /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = testinput; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 93661544ED924E17B0168B1A /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 948F232832954A2BBAB0FA9B /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-man"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 9507715E025846B89BC0E76D /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = testinput; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + 95229E1024FE4BEFAAABD1E0 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = dist; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + 970D45A0F65443F1A4947A0A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = can_clone_file; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 986D5B435A9444E792D9BEC2 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fopen_unchanged; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + 9D46EF88F90D4EE6AAC89893 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-html"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + 9E5E8848006C4CE483E45FE1 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ONLY_ACTIVE_ARCH = YES; + SDKROOT = "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/build"; + }; + name = Release; + }; + 9EE5469DFF9D43D1A7C3800C /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = add_from_filep; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + A5338EB23EA64459BA896B06 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = hole; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + A742303B6A6346B78DBFC52A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ONLY_ACTIVE_ARCH = YES; + SDKROOT = "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/build"; + }; + name = Debug; + }; + A8F8C14796F34E59BE7C5372 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fseek; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + A924A84C144D4773B0CB947F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipcmp; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + AA4CBA7FB92A4A5AA06B388E /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = hole; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + AAA07A952BD24690A29AC64C /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = cleanup; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + AB938BAEEC914735B4D7AB0C /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = man; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + B02A832F50614CE39B2E2A62 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = cleanup; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + B082B178858E4E7A95BFBDE7 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = add_from_filep; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + B08CDF95C37A41318D22CE41 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ALL_BUILD; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + B3B66AB8A3F142E7B4768D21 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopentest; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + B7474032B6EA40BBBAD5D983 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + ONLY_ACTIVE_ARCH = YES; + SDKROOT = "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/build"; + }; + name = RelWithDebInfo; + }; + B96F287EBC454F279D5E14FB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "update-html"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + BB5959D16B054F02A0259184 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .so; + GCC_DYNAMIC_NO_PIC = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + nonrandomopen_EXPORTS, + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + LIBRARY_STYLE = BUNDLE; + MACH_O_TYPE = mh_bundle; + OTHER_CFLAGS = ( + "-DNDEBUG", + "-fPIC", + ); + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + BD98A7577DCF42B8902408F3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fseek; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + BDFE09C921E54632931AA882 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ALL_BUILD; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + C1FCBA63C0914AA58CC0C373 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/..", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "in-memory"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + C26E2EC9A2854FABB9F2E289 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_errors; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + C3294F3BF1174109B0395374 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = man; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + C4A41287B2B148EDBA45E415 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = RUN_TESTS; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + C9D77A1CF2DF493DA21A76D3 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipmerge; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + CAC9265FB7D447DB8932DDFC /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = check; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + CB41843907D34ABDBCAA28C3 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool_regress; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + D251A94B64FE484A81191663 /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = dist; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + D28202D18426445188F39D19 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + D64BDBA4251C4C60B2065787 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../lib", + "/Users/bektchiev/Downloads/libzip-1.5.2/examples/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples/..", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = "in-memory"; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/examples"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + D995CAE43D6A431DA5BE74B0 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = man; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + DA577D3339EE4CF4BDBAFA8E /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = ziptool_regress; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + DD81FED7C0F246BDA6987FEC /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipmerge; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + DF5E55C2DB404B7AAE9A9D6F /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .a; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/lib", + ); + INSTALL_PATH = ""; + LIBRARY_STYLE = STATIC; + OTHER_CFLAGS = " "; + OTHER_LIBTOOLFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zip; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + E374162F33944F5482851DAE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = dist; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + EC186A93A3BB4CE68B41AD5D /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 2; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/RelWithDebInfo/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fseek; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; + ECB7581086684027A2783338 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopentest; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + ECF328FA17614FBB9276072F /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = add_from_filep; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + EFB2835995B34C48ADFE1674 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 3; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Release/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fread; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Release; + }; + F2F641299B154E8A87F34467 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = lib; + EXECUTABLE_SUFFIX = .so; + GCC_DYNAMIC_NO_PIC = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + nonrandomopen_EXPORTS, + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + LIBRARY_STYLE = BUNDLE; + MACH_O_TYPE = mh_bundle; + OTHER_CFLAGS = ( + "-DNDEBUG", + "-fPIC", + ); + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = nonrandomopen; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + F6064358702943CE82FA3163 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/Debug/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = hole; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + F6A851DE77E44F4680186361 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = RUN_TESTS; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = Debug; + }; + F864745C39454CBFB6BD88CE /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../src", + "/Users/bektchiev/Downloads/libzip-1.5.2/regress/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = fopen_unchanged; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/regress"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + FB1C84AD095648788D59DCD4 /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = update_zip_err_str; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + FB8E4A330E1C49ACB49523BB /* MinSizeRel */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + EXECUTABLE_PREFIX = ""; + EXECUTABLE_SUFFIX = ""; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = s; + GCC_PREPROCESSOR_DEFINITIONS = ( + "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'", + HAVE_CONFIG_H, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + HEADER_SEARCH_PATHS = ( + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/..", + "/Users/bektchiev/Downloads/libzip-1.5.2/src/../lib", + ); + INSTALL_PATH = ""; + LIBRARY_SEARCH_PATHS = ""; + OTHER_CFLAGS = " -DNDEBUG "; + OTHER_LDFLAGS = ( + "-Wl,-search_paths_first", + "-Wl,-headerpad_max_install_names", + "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/lib/MinSizeRel/libzip.a", + /usr/lib/libz.dylib, + /usr/lib/libbz2.dylib, + ); + OTHER_REZFLAGS = ""; + PRODUCT_NAME = zipcmp; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = MinSizeRel; + }; + FCCCCCE698F94C3CB4B97ACE /* RelWithDebInfo */ = { + isa = XCBuildConfiguration; + buildSettings = { + COMBINE_HIDPI_IMAGES = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_INLINES_ARE_PRIVATE_EXTERN = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = "'CMAKE_INTDIR=\"$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)\"'"; + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + INSTALL_PATH = ""; + OTHER_LDFLAGS = " "; + OTHER_REZFLAGS = ""; + PRODUCT_NAME = install; + SECTORDER_FLAGS = ""; + SYMROOT = "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build"; + USE_HEADERMAP = NO; + WARNING_CFLAGS = ( + "-Wmost", + "-Wno-four-char-constants", + "-Wno-unknown-pragmas", + "$(inherited)", + ); + }; + name = RelWithDebInfo; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 089BBF2034FD4DE1913D3065 /* Build configuration list for PBXNativeTarget "tryopen" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B4DBBAA74104283AF283015 /* Debug */, + 8AFE5D21EC6A4AA4BAAA8B06 /* Release */, + 0C260EDA13B34D89BE387009 /* MinSizeRel */, + 7B4F2FBC7257450EA4222BC4 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 28BBDE558C7B424FA7E137AE /* Build configuration list for PBXAggregateTarget "update_zip_err_str" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 35C38ED025FE4C1CB1511C54 /* Debug */, + 8299CE56F7B34E8989981624 /* Release */, + FB1C84AD095648788D59DCD4 /* MinSizeRel */, + 8EB02095C0864B19B5C52E13 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 2AF8AD6D648F4147854F6F90 /* Build configuration list for PBXAggregateTarget "update-man" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0534795E7FF042CEB2B8BCC9 /* Debug */, + 41524DB91FDB43A79792D37D /* Release */, + 100D9727918F469082B285BB /* MinSizeRel */, + 948F232832954A2BBAB0FA9B /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 312AD85194F04CCEBC34B7EF /* Build configuration list for PBXAggregateTarget "distcheck" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 242949E6BF4B41DB9C848353 /* Debug */, + 3F5CC19FD7EA49078AC2DCF6 /* Release */, + 062BBCB2D7244C0F980AC848 /* MinSizeRel */, + 5CECD0EB238A4F94ACB54D2D /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 3593E60D5B69469B92079B41 /* Build configuration list for PBXNativeTarget "add_from_filep" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B082B178858E4E7A95BFBDE7 /* Debug */, + ECF328FA17614FBB9276072F /* Release */, + 9EE5469DFF9D43D1A7C3800C /* MinSizeRel */, + 60602D80FCBE458B9F730D9B /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 35C6204177824A30873ED0CA /* Build configuration list for PBXAggregateTarget "ZERO_CHECK" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1B490A60113848D098EFE0BA /* Debug */, + 3DEFD4934296461F97DFEBE1 /* Release */, + 2075572F85D447DC98C186C2 /* MinSizeRel */, + 7A0F3719DB92418098FC7C8D /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 39940DA022C520CA0050DDE1 /* Build configuration list for PBXNativeTarget "libzip_iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 39940D9C22C520CA0050DDE1 /* Debug */, + 39940D9D22C520CA0050DDE1 /* Release */, + 39940D9E22C520CA0050DDE1 /* MinSizeRel */, + 39940D9F22C520CA0050DDE1 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 3D72DF072D9C47B7894DC84C /* Build configuration list for PBXAggregateTarget "check" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 611443556CF141328246AD0E /* Debug */, + CAC9265FB7D447DB8932DDFC /* Release */, + 501DE47CF3BD45409D1EF0A8 /* MinSizeRel */, + 8F973A0262F64351BAD1E761 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 3EE1BAFF6CE64BCA9CA3C1C8 /* Build configuration list for PBXNativeTarget "fopen_unchanged" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 193D0BAE32EF4EC984017540 /* Debug */, + 017C60B082BC452D996805EB /* Release */, + F864745C39454CBFB6BD88CE /* MinSizeRel */, + 986D5B435A9444E792D9BEC2 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 44A21C5A8EBA4418B9BB7E28 /* Build configuration list for PBXNativeTarget "hole" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F6064358702943CE82FA3163 /* Debug */, + AA4CBA7FB92A4A5AA06B388E /* Release */, + A5338EB23EA64459BA896B06 /* MinSizeRel */, + 7DB5BFBE35F94989A84E2782 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 4CA5E5654A774EA1AF900932 /* Build configuration list for PBXNativeTarget "nonrandomopen" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 66400E3B78DB496892250E7A /* Debug */, + BB5959D16B054F02A0259184 /* Release */, + F2F641299B154E8A87F34467 /* MinSizeRel */, + 03B309EB5AF14486B5A3D686 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 4DF71C72BA53447D800A68F6 /* Build configuration list for PBXNativeTarget "ziptool_regress" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 63F70E8C16D34318B0501A86 /* Debug */, + 03D21FC0060747D5A7ED8409 /* Release */, + DA577D3339EE4CF4BDBAFA8E /* MinSizeRel */, + CB41843907D34ABDBCAA28C3 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 52D95D32E97D4B23ADD89CAD /* Build configuration list for PBXAggregateTarget "man" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D995CAE43D6A431DA5BE74B0 /* Debug */, + 5BA3F0E235E24844967CDA7E /* Release */, + AB938BAEEC914735B4D7AB0C /* MinSizeRel */, + C3294F3BF1174109B0395374 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 54AA4BDADF8943668E9C9D24 /* Build configuration list for PBXAggregateTarget "ALL_BUILD" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 40C473C0355B4048AD7DDD78 /* Debug */, + BDFE09C921E54632931AA882 /* Release */, + B08CDF95C37A41318D22CE41 /* MinSizeRel */, + 20F4189A40F74BEC8BAD43D5 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 57888E06669C418BAEFD679F /* Build configuration list for PBXNativeTarget "in-memory" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 07F9B295031441A8A7192D64 /* Debug */, + D64BDBA4251C4C60B2065787 /* Release */, + C1FCBA63C0914AA58CC0C373 /* MinSizeRel */, + 01E939062DAC46C59A39776B /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 5C612D26BD7749B88D5C999B /* Build configuration list for PBXAggregateTarget "cleanup" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 37DF1D229DC349BE9D9B14D5 /* Debug */, + 332EFD69F7BD4077B397B4B9 /* Release */, + AAA07A952BD24690A29AC64C /* MinSizeRel */, + B02A832F50614CE39B2E2A62 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 612AEA1DCB834339A5EE0794 /* Build configuration list for PBXAggregateTarget "install" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 5E98D74762C144E3BFB08797 /* Debug */, + 7C7CFC51E5FD4B0FA4940650 /* Release */, + 3E4A38539FC54BDF9AD9FD24 /* MinSizeRel */, + FCCCCCE698F94C3CB4B97ACE /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 624BB009923444ACAEE14EF0 /* Build configuration list for PBXNativeTarget "nonrandomopentest" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 0187B641ACE54849B5A5B1B5 /* Debug */, + 67CD10677DF042EA94126E23 /* Release */, + ECB7581086684027A2783338 /* MinSizeRel */, + B3B66AB8A3F142E7B4768D21 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 671C54C7E2F54A83A22419D7 /* Build configuration list for PBXProject "libzip" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A742303B6A6346B78DBFC52A /* Debug */, + 9E5E8848006C4CE483E45FE1 /* Release */, + 6793E7E95857443F961A0BCE /* MinSizeRel */, + B7474032B6EA40BBBAD5D983 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 68619FE303D841F1BCFDDF4E /* Build configuration list for PBXNativeTarget "can_clone_file" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 970D45A0F65443F1A4947A0A /* Debug */, + 04E0DF8640B24D12A0C2CBEF /* Release */, + 721FA4D0B2F94954A35BFB32 /* MinSizeRel */, + 1F8ACA8ACAB542688ACA7C47 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 80E126C834E0430DA1B99AA9 /* Build configuration list for PBXNativeTarget "fread" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 27291452C4214BFDAB9F2B54 /* Debug */, + EFB2835995B34C48ADFE1674 /* Release */, + 737801B6BEF249239FDB263C /* MinSizeRel */, + 869C08B6CBC74C72829B53F9 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 8AD24DE5A1FE4C9FA142870B /* Build configuration list for PBXAggregateTarget "dist" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7C791EC486E746AD9A9A956D /* Debug */, + E374162F33944F5482851DAE /* Release */, + 95229E1024FE4BEFAAABD1E0 /* MinSizeRel */, + D251A94B64FE484A81191663 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 8BF79BED01D7489F8C5A228A /* Build configuration list for PBXAggregateTarget "RUN_TESTS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + F6A851DE77E44F4680186361 /* Debug */, + 804C393AFC1B4E0DB0CB46F1 /* Release */, + 05CF3B98E96141638FA12C53 /* MinSizeRel */, + C4A41287B2B148EDBA45E415 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + 9771E51C5666463E9417DAFD /* Build configuration list for PBXAggregateTarget "update_zip_errors" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7BC15D232FA7463DB5F24895 /* Debug */, + 41E7586E63D247B3B451EB23 /* Release */, + 8FF7483865324C98A2892B94 /* MinSizeRel */, + C26E2EC9A2854FABB9F2E289 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + A86E180F2CCB4CC28AEC64A5 /* Build configuration list for PBXNativeTarget "ziptool" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 8289C17937BC48B38C5E3480 /* Debug */, + D28202D18426445188F39D19 /* Release */, + 93661544ED924E17B0168B1A /* MinSizeRel */, + 3B30962276524CD5AA35969F /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + B778BAE17CC94B62802C73B6 /* Build configuration list for PBXNativeTarget "zipcmp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 29EBCB80344147EAAF298BD8 /* Debug */, + A924A84C144D4773B0CB947F /* Release */, + FB8E4A330E1C49ACB49523BB /* MinSizeRel */, + 0FBD804B5CBD4647BEEBC060 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + D3EC7CEE21804FD4BE06A5D9 /* Build configuration list for PBXNativeTarget "fseek" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + A8F8C14796F34E59BE7C5372 /* Debug */, + BD98A7577DCF42B8902408F3 /* Release */, + 79ED86CF95AC4F7B91A248BE /* MinSizeRel */, + EC186A93A3BB4CE68B41AD5D /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + E504C153DD89419299C3C710 /* Build configuration list for PBXNativeTarget "zip" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DF5E55C2DB404B7AAE9A9D6F /* Debug */, + 1B20C246807949C497A9C085 /* Release */, + 2E5F25979D8A4450B78FBB57 /* MinSizeRel */, + 309927CB0CCB4840B5D2FFC2 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + EC975CA581E743C192DE35AF /* Build configuration list for PBXAggregateTarget "update-html" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 9D46EF88F90D4EE6AAC89893 /* Debug */, + B96F287EBC454F279D5E14FB /* Release */, + 249FF757EBF84ACABA48786E /* MinSizeRel */, + 42AEDB3F297A40BFB4707821 /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + F2EC6CA02C3444B8A9F30D0B /* Build configuration list for PBXAggregateTarget "testinput" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 503388C8ABEA43A6BF696A67 /* Debug */, + 9507715E025846B89BC0E76D /* Release */, + 16236D3DE408435ABAAEFE2B /* MinSizeRel */, + 90F4A9B27835472386A8CADD /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + F3580AC9312B4E9E8612F3FC /* Build configuration list for PBXNativeTarget "zipmerge" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + DD81FED7C0F246BDA6987FEC /* Debug */, + C9D77A1CF2DF493DA21A76D3 /* Release */, + 5F34815901344763816556A8 /* MinSizeRel */, + 2CD8E9CABC2740EDA05A7B5F /* RelWithDebInfo */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; +/* End XCConfigurationList section */ + }; + rootObject = 545FEC7291C8432F9D13F0A1 /* Project object */; +} diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings new file mode 100644 index 000000000..f9b0d7c5e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings @@ -0,0 +1,8 @@ + + + + + PreviewsEnabled + + + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/xcshareddata/xcschemes/libzip_iOS.xcscheme b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/xcshareddata/xcschemes/libzip_iOS.xcscheme new file mode 100644 index 000000000..ae9923c8c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/libzip.xcodeproj/xcshareddata/xcschemes/libzip_iOS.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..74ea1b770 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,581 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + echo "Preparing ZIP_SOURCE_GET_ARGS.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + echo "Preparing libzip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + echo "Preparing zip_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + echo "Preparing zip_add_dir.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + echo "Preparing zip_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + echo "Preparing zip_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + echo "Preparing zip_dir_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + echo "Preparing zip_discard.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + echo "Preparing zip_error_clear.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + echo "Preparing zip_error_code_system.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + echo "Preparing zip_error_code_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + echo "Preparing zip_error_fini.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + echo "Preparing zip_error_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + echo "Preparing zip_error_get_sys_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + echo "Preparing zip_error_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + echo "Preparing zip_error_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + echo "Preparing zip_error_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + echo "Preparing zip_error_system_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + echo "Preparing zip_error_to_data.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + echo "Preparing zip_error_to_str.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "Preparing zip_errors.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + echo "Preparing zip_fclose.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + echo "Preparing zip_fdopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + echo "Preparing zip_file_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + echo "Preparing zip_file_extra_field_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + echo "Preparing zip_file_extra_field_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + echo "Preparing zip_file_extra_field_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + echo "Preparing zip_file_extra_fields_count.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + echo "Preparing zip_file_get_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + echo "Preparing zip_file_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + echo "Preparing zip_file_get_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + echo "Preparing zip_file_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + echo "Preparing zip_file_set_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + echo "Preparing zip_file_set_encryption.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + echo "Preparing zip_file_set_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + echo "Preparing zip_file_set_mtime.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + echo "Preparing zip_file_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + echo "Preparing zip_fopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + echo "Preparing zip_fopen_encrypted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + echo "Preparing zip_fread.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + echo "Preparing zip_fseek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + echo "Preparing zip_ftell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + echo "Preparing zip_get_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + echo "Preparing zip_get_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + echo "Preparing zip_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + echo "Preparing zip_get_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + echo "Preparing zip_get_name.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + echo "Preparing zip_get_num_entries.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + echo "Preparing zip_get_num_files.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + echo "Preparing zip_libzip_version.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + echo "Preparing zip_name_locate.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + echo "Preparing zip_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + echo "Preparing zip_register_progress_callback.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + echo "Preparing zip_register_progress_callback_with_state.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + echo "Preparing zip_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + echo "Preparing zip_set_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + echo "Preparing zip_set_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + echo "Preparing zip_set_default_password.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + echo "Preparing zip_set_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + echo "Preparing zip_set_file_compression.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + echo "Preparing zip_source.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + echo "Preparing zip_source_begin_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + echo "Preparing zip_source_buffer.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + echo "Preparing zip_source_buffer_fragment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + echo "Preparing zip_source_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + echo "Preparing zip_source_commit_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + echo "Preparing zip_source_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + echo "Preparing zip_source_file.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + echo "Preparing zip_source_filep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + echo "Preparing zip_source_free.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + echo "Preparing zip_source_function.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + echo "Preparing zip_source_is_deleted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + echo "Preparing zip_source_keep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + echo "Preparing zip_source_make_command_bitmap.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + echo "Preparing zip_source_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + echo "Preparing zip_source_read.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + echo "Preparing zip_source_rollback_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + echo "Preparing zip_source_seek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + echo "Preparing zip_source_seek_compute_offset.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + echo "Preparing zip_source_seek_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + echo "Preparing zip_source_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + echo "Preparing zip_source_tell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + echo "Preparing zip_source_tell_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + echo "Preparing zip_source_win32a.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + echo "Preparing zip_source_win32handle.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + echo "Preparing zip_source_win32w.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + echo "Preparing zip_source_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + echo "Preparing zip_source_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + echo "Preparing zip_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + echo "Preparing zip_stat_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + echo "Preparing zip_unchange.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + echo "Preparing zip_unchange_all.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + echo "Preparing zip_unchange_archive.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + echo "Preparing zipcmp.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + echo "Preparing zipmerge.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + echo "Preparing ziptool.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..74ea1b770 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,581 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + echo "Preparing ZIP_SOURCE_GET_ARGS.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + echo "Preparing libzip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + echo "Preparing zip_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + echo "Preparing zip_add_dir.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + echo "Preparing zip_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + echo "Preparing zip_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + echo "Preparing zip_dir_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + echo "Preparing zip_discard.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + echo "Preparing zip_error_clear.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + echo "Preparing zip_error_code_system.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + echo "Preparing zip_error_code_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + echo "Preparing zip_error_fini.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + echo "Preparing zip_error_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + echo "Preparing zip_error_get_sys_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + echo "Preparing zip_error_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + echo "Preparing zip_error_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + echo "Preparing zip_error_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + echo "Preparing zip_error_system_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + echo "Preparing zip_error_to_data.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + echo "Preparing zip_error_to_str.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "Preparing zip_errors.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + echo "Preparing zip_fclose.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + echo "Preparing zip_fdopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + echo "Preparing zip_file_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + echo "Preparing zip_file_extra_field_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + echo "Preparing zip_file_extra_field_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + echo "Preparing zip_file_extra_field_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + echo "Preparing zip_file_extra_fields_count.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + echo "Preparing zip_file_get_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + echo "Preparing zip_file_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + echo "Preparing zip_file_get_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + echo "Preparing zip_file_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + echo "Preparing zip_file_set_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + echo "Preparing zip_file_set_encryption.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + echo "Preparing zip_file_set_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + echo "Preparing zip_file_set_mtime.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + echo "Preparing zip_file_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + echo "Preparing zip_fopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + echo "Preparing zip_fopen_encrypted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + echo "Preparing zip_fread.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + echo "Preparing zip_fseek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + echo "Preparing zip_ftell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + echo "Preparing zip_get_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + echo "Preparing zip_get_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + echo "Preparing zip_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + echo "Preparing zip_get_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + echo "Preparing zip_get_name.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + echo "Preparing zip_get_num_entries.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + echo "Preparing zip_get_num_files.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + echo "Preparing zip_libzip_version.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + echo "Preparing zip_name_locate.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + echo "Preparing zip_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + echo "Preparing zip_register_progress_callback.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + echo "Preparing zip_register_progress_callback_with_state.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + echo "Preparing zip_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + echo "Preparing zip_set_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + echo "Preparing zip_set_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + echo "Preparing zip_set_default_password.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + echo "Preparing zip_set_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + echo "Preparing zip_set_file_compression.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + echo "Preparing zip_source.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + echo "Preparing zip_source_begin_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + echo "Preparing zip_source_buffer.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + echo "Preparing zip_source_buffer_fragment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + echo "Preparing zip_source_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + echo "Preparing zip_source_commit_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + echo "Preparing zip_source_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + echo "Preparing zip_source_file.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + echo "Preparing zip_source_filep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + echo "Preparing zip_source_free.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + echo "Preparing zip_source_function.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + echo "Preparing zip_source_is_deleted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + echo "Preparing zip_source_keep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + echo "Preparing zip_source_make_command_bitmap.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + echo "Preparing zip_source_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + echo "Preparing zip_source_read.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + echo "Preparing zip_source_rollback_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + echo "Preparing zip_source_seek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + echo "Preparing zip_source_seek_compute_offset.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + echo "Preparing zip_source_seek_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + echo "Preparing zip_source_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + echo "Preparing zip_source_tell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + echo "Preparing zip_source_tell_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + echo "Preparing zip_source_win32a.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + echo "Preparing zip_source_win32handle.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + echo "Preparing zip_source_win32w.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + echo "Preparing zip_source_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + echo "Preparing zip_source_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + echo "Preparing zip_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + echo "Preparing zip_stat_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + echo "Preparing zip_unchange.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + echo "Preparing zip_unchange_all.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + echo "Preparing zip_unchange_archive.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + echo "Preparing zipcmp.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + echo "Preparing zipmerge.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + echo "Preparing ziptool.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..74ea1b770 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,581 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + echo "Preparing ZIP_SOURCE_GET_ARGS.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + echo "Preparing libzip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + echo "Preparing zip_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + echo "Preparing zip_add_dir.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + echo "Preparing zip_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + echo "Preparing zip_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + echo "Preparing zip_dir_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + echo "Preparing zip_discard.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + echo "Preparing zip_error_clear.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + echo "Preparing zip_error_code_system.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + echo "Preparing zip_error_code_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + echo "Preparing zip_error_fini.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + echo "Preparing zip_error_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + echo "Preparing zip_error_get_sys_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + echo "Preparing zip_error_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + echo "Preparing zip_error_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + echo "Preparing zip_error_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + echo "Preparing zip_error_system_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + echo "Preparing zip_error_to_data.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + echo "Preparing zip_error_to_str.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "Preparing zip_errors.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + echo "Preparing zip_fclose.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + echo "Preparing zip_fdopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + echo "Preparing zip_file_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + echo "Preparing zip_file_extra_field_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + echo "Preparing zip_file_extra_field_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + echo "Preparing zip_file_extra_field_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + echo "Preparing zip_file_extra_fields_count.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + echo "Preparing zip_file_get_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + echo "Preparing zip_file_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + echo "Preparing zip_file_get_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + echo "Preparing zip_file_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + echo "Preparing zip_file_set_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + echo "Preparing zip_file_set_encryption.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + echo "Preparing zip_file_set_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + echo "Preparing zip_file_set_mtime.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + echo "Preparing zip_file_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + echo "Preparing zip_fopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + echo "Preparing zip_fopen_encrypted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + echo "Preparing zip_fread.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + echo "Preparing zip_fseek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + echo "Preparing zip_ftell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + echo "Preparing zip_get_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + echo "Preparing zip_get_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + echo "Preparing zip_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + echo "Preparing zip_get_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + echo "Preparing zip_get_name.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + echo "Preparing zip_get_num_entries.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + echo "Preparing zip_get_num_files.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + echo "Preparing zip_libzip_version.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + echo "Preparing zip_name_locate.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + echo "Preparing zip_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + echo "Preparing zip_register_progress_callback.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + echo "Preparing zip_register_progress_callback_with_state.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + echo "Preparing zip_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + echo "Preparing zip_set_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + echo "Preparing zip_set_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + echo "Preparing zip_set_default_password.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + echo "Preparing zip_set_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + echo "Preparing zip_set_file_compression.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + echo "Preparing zip_source.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + echo "Preparing zip_source_begin_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + echo "Preparing zip_source_buffer.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + echo "Preparing zip_source_buffer_fragment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + echo "Preparing zip_source_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + echo "Preparing zip_source_commit_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + echo "Preparing zip_source_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + echo "Preparing zip_source_file.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + echo "Preparing zip_source_filep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + echo "Preparing zip_source_free.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + echo "Preparing zip_source_function.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + echo "Preparing zip_source_is_deleted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + echo "Preparing zip_source_keep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + echo "Preparing zip_source_make_command_bitmap.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + echo "Preparing zip_source_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + echo "Preparing zip_source_read.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + echo "Preparing zip_source_rollback_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + echo "Preparing zip_source_seek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + echo "Preparing zip_source_seek_compute_offset.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + echo "Preparing zip_source_seek_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + echo "Preparing zip_source_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + echo "Preparing zip_source_tell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + echo "Preparing zip_source_tell_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + echo "Preparing zip_source_win32a.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + echo "Preparing zip_source_win32handle.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + echo "Preparing zip_source_win32w.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + echo "Preparing zip_source_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + echo "Preparing zip_source_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + echo "Preparing zip_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + echo "Preparing zip_stat_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + echo "Preparing zip_unchange.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + echo "Preparing zip_unchange_all.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + echo "Preparing zip_unchange_archive.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + echo "Preparing zipcmp.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + echo "Preparing zipmerge.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + echo "Preparing ziptool.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..74ea1b770 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/man_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,581 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1\ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + echo "Preparing ZIP_SOURCE_GET_ARGS.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + echo "Preparing libzip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + echo "Preparing zip_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + echo "Preparing zip_add_dir.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + echo "Preparing zip_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + echo "Preparing zip_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + echo "Preparing zip_dir_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + echo "Preparing zip_discard.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + echo "Preparing zip_error_clear.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + echo "Preparing zip_error_code_system.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + echo "Preparing zip_error_code_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + echo "Preparing zip_error_fini.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + echo "Preparing zip_error_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + echo "Preparing zip_error_get_sys_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + echo "Preparing zip_error_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + echo "Preparing zip_error_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + echo "Preparing zip_error_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + echo "Preparing zip_error_system_type.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + echo "Preparing zip_error_to_data.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + echo "Preparing zip_error_to_str.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "Preparing zip_errors.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + echo "Preparing zip_fclose.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + echo "Preparing zip_fdopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + echo "Preparing zip_file_add.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + echo "Preparing zip_file_extra_field_delete.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + echo "Preparing zip_file_extra_field_get.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + echo "Preparing zip_file_extra_field_set.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + echo "Preparing zip_file_extra_fields_count.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + echo "Preparing zip_file_get_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + echo "Preparing zip_file_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + echo "Preparing zip_file_get_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + echo "Preparing zip_file_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + echo "Preparing zip_file_set_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + echo "Preparing zip_file_set_encryption.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + echo "Preparing zip_file_set_external_attributes.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + echo "Preparing zip_file_set_mtime.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + echo "Preparing zip_file_strerror.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + echo "Preparing zip_fopen.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + echo "Preparing zip_fopen_encrypted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + echo "Preparing zip_fread.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + echo "Preparing zip_fseek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + echo "Preparing zip_ftell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + echo "Preparing zip_get_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + echo "Preparing zip_get_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + echo "Preparing zip_get_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + echo "Preparing zip_get_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + echo "Preparing zip_get_name.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + echo "Preparing zip_get_num_entries.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + echo "Preparing zip_get_num_files.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + echo "Preparing zip_libzip_version.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + echo "Preparing zip_name_locate.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + echo "Preparing zip_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + echo "Preparing zip_register_progress_callback.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + echo "Preparing zip_register_progress_callback_with_state.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + echo "Preparing zip_rename.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + echo "Preparing zip_set_archive_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + echo "Preparing zip_set_archive_flag.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + echo "Preparing zip_set_default_password.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + echo "Preparing zip_set_file_comment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + echo "Preparing zip_set_file_compression.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + echo "Preparing zip_source.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + echo "Preparing zip_source_begin_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + echo "Preparing zip_source_buffer.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + echo "Preparing zip_source_buffer_fragment.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + echo "Preparing zip_source_close.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + echo "Preparing zip_source_commit_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + echo "Preparing zip_source_error.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + echo "Preparing zip_source_file.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + echo "Preparing zip_source_filep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + echo "Preparing zip_source_free.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + echo "Preparing zip_source_function.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + echo "Preparing zip_source_is_deleted.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + echo "Preparing zip_source_keep.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + echo "Preparing zip_source_make_command_bitmap.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + echo "Preparing zip_source_open.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + echo "Preparing zip_source_read.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + echo "Preparing zip_source_rollback_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + echo "Preparing zip_source_seek.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + echo "Preparing zip_source_seek_compute_offset.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + echo "Preparing zip_source_seek_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + echo "Preparing zip_source_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + echo "Preparing zip_source_tell.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + echo "Preparing zip_source_tell_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + echo "Preparing zip_source_win32a.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + echo "Preparing zip_source_win32handle.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + echo "Preparing zip_source_win32w.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + echo "Preparing zip_source_write.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + echo "Preparing zip_source_zip.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + echo "Preparing zip_stat.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + echo "Preparing zip_stat_init.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + echo "Preparing zip_unchange.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + echo "Preparing zip_unchange_all.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + echo "Preparing zip_unchange_archive.3" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + echo "Preparing zipcmp.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + echo "Preparing zipmerge.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1 + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + echo "Preparing ziptool.1" + /usr/local/Cellar/cmake/3.14.4/bin/cmake -E copy_if_different /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1 diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..62dceb292 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-html +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..62dceb292 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-html +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..62dceb292 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-html +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..62dceb292 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-html_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-html +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.html: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.html -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-html.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..47bfb032f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..47bfb032f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..47bfb032f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..47bfb032f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update-man_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,485 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update-man +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man\ + /Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man + + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ZIP_SOURCE_GET_ARGS.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ZIP_SOURCE_GET_ARGS.mdoc -DOUT=ZIP_SOURCE_GET_ARGS.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/libzip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=libzip.mdoc -DOUT=libzip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add.mdoc -DOUT=zip_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_add_dir.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_add_dir.mdoc -DOUT=zip_add_dir.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_close.mdoc -DOUT=zip_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_delete.mdoc -DOUT=zip_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_dir_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_dir_add.mdoc -DOUT=zip_dir_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_discard.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_discard.mdoc -DOUT=zip_discard.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_clear.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_clear.mdoc -DOUT=zip_error_clear.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_system.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_system.mdoc -DOUT=zip_error_code_system.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_code_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_code_zip.mdoc -DOUT=zip_error_code_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_fini.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_fini.mdoc -DOUT=zip_error_fini.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get.mdoc -DOUT=zip_error_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_get_sys_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_get_sys_type.mdoc -DOUT=zip_error_get_sys_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_init.mdoc -DOUT=zip_error_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_set.mdoc -DOUT=zip_error_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_strerror.mdoc -DOUT=zip_error_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_system_type.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_system_type.mdoc -DOUT=zip_error_system_type.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_data.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_data.mdoc -DOUT=zip_error_to_data.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_error_to_str.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_error_to_str.mdoc -DOUT=zip_error_to_str.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_errors.mdoc -DOUT=zip_errors.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fclose.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fclose.mdoc -DOUT=zip_fclose.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fdopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fdopen.mdoc -DOUT=zip_fdopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_add.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_add.mdoc -DOUT=zip_file_add.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_delete.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_delete.mdoc -DOUT=zip_file_extra_field_delete.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_get.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_get.mdoc -DOUT=zip_file_extra_field_get.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_field_set.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_field_set.mdoc -DOUT=zip_file_extra_field_set.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_extra_fields_count.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_extra_fields_count.mdoc -DOUT=zip_file_extra_fields_count.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_comment.mdoc -DOUT=zip_file_get_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_error.mdoc -DOUT=zip_file_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_get_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_get_external_attributes.mdoc -DOUT=zip_file_get_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_rename.mdoc -DOUT=zip_file_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_comment.mdoc -DOUT=zip_file_set_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_encryption.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_encryption.mdoc -DOUT=zip_file_set_encryption.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_external_attributes.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_external_attributes.mdoc -DOUT=zip_file_set_external_attributes.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_set_mtime.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_set_mtime.mdoc -DOUT=zip_file_set_mtime.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_file_strerror.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_file_strerror.mdoc -DOUT=zip_file_strerror.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen.mdoc -DOUT=zip_fopen.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fopen_encrypted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fopen_encrypted.mdoc -DOUT=zip_fopen_encrypted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fread.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fread.mdoc -DOUT=zip_fread.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_fseek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_fseek.mdoc -DOUT=zip_fseek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_ftell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_ftell.mdoc -DOUT=zip_ftell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_comment.mdoc -DOUT=zip_get_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_archive_flag.mdoc -DOUT=zip_get_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_error.mdoc -DOUT=zip_get_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_file_comment.mdoc -DOUT=zip_get_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_name.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_name.mdoc -DOUT=zip_get_name.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_entries.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_entries.mdoc -DOUT=zip_get_num_entries.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_get_num_files.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_get_num_files.mdoc -DOUT=zip_get_num_files.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_libzip_version.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_libzip_version.mdoc -DOUT=zip_libzip_version.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_name_locate.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_name_locate.mdoc -DOUT=zip_name_locate.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_open.mdoc -DOUT=zip_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback.mdoc -DOUT=zip_register_progress_callback.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_register_progress_callback_with_state.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_register_progress_callback_with_state.mdoc -DOUT=zip_register_progress_callback_with_state.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_rename.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_rename.mdoc -DOUT=zip_rename.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_comment.mdoc -DOUT=zip_set_archive_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_archive_flag.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_archive_flag.mdoc -DOUT=zip_set_archive_flag.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_default_password.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_default_password.mdoc -DOUT=zip_set_default_password.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_comment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_comment.mdoc -DOUT=zip_set_file_comment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_set_file_compression.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_set_file_compression.mdoc -DOUT=zip_set_file_compression.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source.mdoc -DOUT=zip_source.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_begin_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_begin_write.mdoc -DOUT=zip_source_begin_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer.mdoc -DOUT=zip_source_buffer.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_buffer_fragment.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_buffer_fragment.mdoc -DOUT=zip_source_buffer_fragment.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_close.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_close.mdoc -DOUT=zip_source_close.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_commit_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_commit_write.mdoc -DOUT=zip_source_commit_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_error.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_error.mdoc -DOUT=zip_source_error.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_file.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_file.mdoc -DOUT=zip_source_file.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_filep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_filep.mdoc -DOUT=zip_source_filep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_free.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_free.mdoc -DOUT=zip_source_free.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_function.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_function.mdoc -DOUT=zip_source_function.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_is_deleted.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_is_deleted.mdoc -DOUT=zip_source_is_deleted.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_keep.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_keep.mdoc -DOUT=zip_source_keep.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_make_command_bitmap.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_make_command_bitmap.mdoc -DOUT=zip_source_make_command_bitmap.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_open.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_open.mdoc -DOUT=zip_source_open.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_read.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_read.mdoc -DOUT=zip_source_read.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_rollback_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_rollback_write.mdoc -DOUT=zip_source_rollback_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek.mdoc -DOUT=zip_source_seek.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_compute_offset.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_compute_offset.mdoc -DOUT=zip_source_seek_compute_offset.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_seek_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_seek_write.mdoc -DOUT=zip_source_seek_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_stat.mdoc -DOUT=zip_source_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell.mdoc -DOUT=zip_source_tell.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_tell_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_tell_write.mdoc -DOUT=zip_source_tell_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32a.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32a.mdoc -DOUT=zip_source_win32a.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32handle.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32handle.mdoc -DOUT=zip_source_win32handle.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_win32w.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_win32w.mdoc -DOUT=zip_source_win32w.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_write.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_write.mdoc -DOUT=zip_source_write.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_source_zip.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_source_zip.mdoc -DOUT=zip_source_zip.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat.mdoc -DOUT=zip_stat.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_stat_init.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_stat_init.mdoc -DOUT=zip_stat_init.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange.mdoc -DOUT=zip_unchange.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_all.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_all.mdoc -DOUT=zip_unchange_all.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_unchange_archive.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zip_unchange_archive.mdoc -DOUT=zip_unchange_archive.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipcmp.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipcmp.mdoc -DOUT=zipcmp.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zipmerge.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=zipmerge.mdoc -DOUT=zipmerge.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake + +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.man: \ +/Users/bektchiev/Downloads/libzip-1.5.2/man/ziptool.mdoc + /usr/local/Cellar/cmake/3.14.4/bin/cmake -DIN=ziptool.mdoc -DOUT=ziptool.man -DDIR=/Users/bektchiev/Downloads/libzip-1.5.2/man -P /Users/bektchiev/Downloads/libzip-1.5.2/man/update-man.cmake diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeDebug b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeDebug new file mode 100644 index 000000000..0bc8b912e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeDebug @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_errors +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/man/make_zip_errors.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeMinSizeRel b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeMinSizeRel new file mode 100644 index 000000000..0bc8b912e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeMinSizeRel @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_errors +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/man/make_zip_errors.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeRelWithDebInfo b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeRelWithDebInfo new file mode 100644 index 000000000..0bc8b912e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeRelWithDebInfo @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_errors +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/man/make_zip_errors.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeRelease b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeRelease new file mode 100644 index 000000000..0bc8b912e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CMakeScripts/update_zip_errors_cmakeRulesBuildPhase.makeRelease @@ -0,0 +1,12 @@ +# Generated by CMake, DO NOT EDIT +# Custom rules for update_zip_errors +.SUFFIXES: +all: \ + /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors + + +/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/CMakeFiles/update_zip_errors: \ +/Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h\ +/Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc + echo "" + sh /Users/bektchiev/Downloads/libzip-1.5.2/man/make_zip_errors.sh /Users/bektchiev/Downloads/libzip-1.5.2/lib/zip.h /Users/bektchiev/Downloads/libzip-1.5.2/man/zip_errors.mdoc diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CTestTestfile.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CTestTestfile.cmake new file mode 100644 index 000000000..51a7b762b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/CTestTestfile.cmake @@ -0,0 +1,6 @@ +# CMake generated Testfile for +# Source directory: /Users/bektchiev/Downloads/libzip-1.5.2/man +# Build directory: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/ZIP_SOURCE_GET_ARGS.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/ZIP_SOURCE_GET_ARGS.3 new file mode 100644 index 000000000..2735964e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/ZIP_SOURCE_GET_ARGS.3 @@ -0,0 +1,79 @@ +.\" ZIP_SOURCE_GET_ARGS -- validate and cast arguments to source callback +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_GET_ARGS 3 +.Os +.Sh NAME +.Nm ZIP_SOURCE_GET_ARGS +.Nd validate and cast arguments to source callback +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft type * +.Fn ZIP_SOURCE_GET_ARGS "type" "void *data" "zip_uint64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The +.Fn ZIP_SOURCE_GET_ARGS +macro casts +.Ar data +to a pointer to +.Ar type . +.Sh RETURN VALUES +On success, +.Fn ZIP_SOURCE_GET_ARGS +returns +.Ar data . +In case of error, it returns +.Dv NULL +and sets +.Ar error . +.Sh ERRORS +.Fn ZIP_SOURCE_GET_ARGS +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar len +is less than the size of +.Ar type +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_function 3 +.Sh HISTORY +.Fn ZIP_SOURCE_GET_ARGS +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/cmake_install.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/cmake_install.cmake new file mode 100644 index 000000000..02e3b40ed --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/cmake_install.cmake @@ -0,0 +1,506 @@ +# Install script for directory: /Users/bektchiev/Downloads/libzip-1.5.2/man + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Release") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ZIP_SOURCE_GET_ARGS.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/libzip.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add_dir.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_close.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_delete.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_dir_add.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_discard.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_system.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_code_zip.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_fini.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get_sys_type.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_set.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_strerror.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_system_type.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_data.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_to_str.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_errors.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fclose.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fdopen.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_set.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_comment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_error.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_get_external_attributes.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_rename.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_comment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_encryption.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_external_attributes.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_set_mtime.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fread.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fseek.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_ftell.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_comment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_archive_flag.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_error.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_file_comment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_name.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_entries.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_get_num_files.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_libzip_version.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_name_locate.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_register_progress_callback_with_state.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_rename.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_comment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_archive_flag.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_default_password.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_comment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_set_file_compression.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_close.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_commit_write.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_error.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_free.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_is_deleted.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_keep.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_make_command_bitmap.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_open.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_read.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_rollback_write.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_compute_offset.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_seek_write.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_stat.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_tell_write.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_write.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_zip.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat_init.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_all.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_unchange_archive.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipcmp.1") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zipmerge.1") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1" TYPE FILE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/ziptool.1") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_replace.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_add.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_file_error_clear.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_clear.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_file_error_get.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_get.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_error_init_with_code.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_error_init.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_file_replace.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_add.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_file_extra_field_delete_by_id.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_delete.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_file_extra_field_get_by_id.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_field_get.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_file_extra_fields_count_by_id.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_extra_fields_count.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_strerror.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_file_strerror.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_fopen_index.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_fopen_index_encrypted.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_fopen_encrypted.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_open_from_source.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_open.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_begin_write_cloning.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_begin_write.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_buffer_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_buffer_fragment_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_buffer_fragment.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_file_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_file.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_filep_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_filep.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_function_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_function.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_win32a_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32a.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_win32handle_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32handle.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_source_win32w_create.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_source_win32w.3") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man3" TYPE FILE RENAME "zip_stat_index.3" FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/man/zip_stat.3") +endif() + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/libzip.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/libzip.3 new file mode 100644 index 000000000..8f16564fb --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/libzip.3 @@ -0,0 +1,237 @@ +.\" libzip.mdoc -- general overview of available functions +.\" Copyright (C) 2005-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd September 29, 2018 +.Dt LIBZIP 3 +.Os +.Sh NAME +.Nm libzip +.Nd library for manipulating zip archives +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Sh DESCRIPTION +.Nm +is a library for reading, creating, and modifying zip archives. +.Pp +The main design criteria for +.Nm +were: +.Bl -bullet -compact +.It +Do not create corrupt files, even in case of errors. +.It +Do not delete data. +.It +Be efficient. +.El +.Pp +For this reason, when modifying zip archives, +.Nm +writes to a temporary file and replaces the original +zip archive atomically. +.Pp +Below there are two sections listing functions: one for how to read +from zip archives and one for how to create/modify them. +.Sh READING ZIP ARCHIVES +.Ss open archive +.Bl -bullet -compact +.It +.Xr zip_open 3 +.It +.Xr zip_fdopen 3 +.El +.Ss find files +.Bl -bullet -compact +.It +.Xr zip_name_locate 3 +.El +.Ss read files +.Bl -bullet -compact +.It +.Xr zip_fopen 3 +.It +.Xr zip_fopen_encrypted 3 +.It +.Xr zip_fopen_index 3 +.It +.Xr zip_fopen_index_encrypted 3 +.It +.Xr zip_fread 3 +.It +.Xr zip_fseek 3 +(uncompressed files only) +.It +.Xr zip_ftell 3 +(uncompressed files only) +.It +.Xr zip_fclose 3 +.El +.Ss close archive +.Bl -bullet -compact +.It +.Xr zip_close 3 +.El +.Ss miscellaneous +.Bl -bullet -compact +.It +.Xr zip_stat 3 +.It +.Xr zip_file_get_comment 3 +.It +.Xr zip_file_get_external_attributes 3 +.It +.Xr zip_get_archive_comment 3 +.It +.Xr zip_get_archive_flag 3 +.It +.Xr zip_get_name 3 +.It +.Xr zip_get_num_entries 3 +.It +.Xr zip_set_default_password 3 +.El +.Sh CREATING/MODIFYING ZIP ARCHIVES +.Ss create/open archive +.Bl -bullet -compact +.It +.Xr zip_open 3 +.El +.Ss add/change files and directories +.Bl -bullet -compact +.It +.Xr zip_dir_add 3 +.It +.Xr zip_file_add 3 +.It +.Xr zip_file_replace 3 +.It +.Xr zip_file_set_comment 3 +.It +.Xr zip_file_set_external_attributes 3 +.It +.Xr zip_file_set_encryption 3 +.It +.Xr zip_file_set_mtime 3 +.It +.Xr zip_set_file_compression 3 +.It +.Xr zip_source_buffer 3 +.It +.Xr zip_source_file 3 +.It +.Xr zip_source_filep 3 +.It +.Xr zip_source_free 3 +.It +.Xr zip_source_function 3 +.It +.Xr zip_source_zip 3 +.El +.Ss rename files +.Bl -bullet -compact +.It +.Xr zip_rename 3 +.El +.Ss delete files +.Bl -bullet -compact +.It +.Xr zip_delete 3 +.El +.Ss revert changes +.Bl -bullet -compact +.It +.Xr zip_unchange 3 +.It +.Xr zip_unchange_all 3 +.It +.Xr zip_unchange_archive 3 +.El +.Ss read/modify extra fields +.Bl -bullet -compact +.It +.Xr zip_file_extra_field_by_id 3 +.It +.Xr zip_file_extra_field_delete 3 +.It +.Xr zip_file_extra_field_delete_by_id 3 +.It +.Xr zip_file_extra_field_get 3 +.It +.Xr zip_file_extra_field_set 3 +.It +.Xr zip_file_extra_fields_count 3 +.It +.Xr zip_file_extra_fields_count_by_id 3 +.El +.Ss close archive (writing) +.Bl -bullet -compact +.It +.Xr zip_close 3 +.It +.Xr zip_discard 3 +.El +.Ss miscellaneous (writing) +.Bl -bullet -compact +.It +.Xr zip_libzip_version 3 +.It +.Xr zip_register_progress_callback_with_state 3 +.It +.Xr zip_set_archive_comment 3 +.It +.Xr zip_set_archive_flag 3 +.It +.Xr zip_source 3 +.El +.Sh ERROR HANDLING +.Bl -bullet -compact +.It +.Xr zip_error_strerror 3 +.It +.Xr zip_strerror 3 +.It +.Xr zip_file_strerror 3 +.It +.Xr zip_get_error 3 +.It +.Xr zip_error_init_with_code 3 +.It +.Xr zip_error_system_type 3 +.It +.Xr zip_errors 3 +.El +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_add.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_add.3 new file mode 100644 index 000000000..27c531901 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_add.3 @@ -0,0 +1,96 @@ +.\" zip_add.mdoc -- add files to zip archive +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ADD 3 +.Os +.Sh NAME +.Nm zip_add , +.Nm zip_replace +.Nd add file to zip archive or replace file in zip archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_add "zip_t *archive" "const char *name" "zip_source_t *source" +.Ft int +.Fn zip_replace "zip_t *archive" "zip_uint64_t index" "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_add +is the obsolete version of +.Xr zip_file_add 3 . +It is the same as calling +.Xr zip_file_add 3 +with an empty +.Ar flags +argument. +Similarly, the +.Fn zip_replace +function is the obsolete version of +.Xr zip_file_replace 3 . +It is the same as calling +.Xr zip_file_replace 3 +with an empty +.Ar flags +argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 +.Sh HISTORY +.Fn zip_add +was added in libzip 0.6. +In libzip 0.10 the return type was changed from +.Vt int +to +.Vt zip_int64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_add +instead. +.Pp +.Fn zip_replace +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_replace +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_add_dir.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_add_dir.3 new file mode 100644 index 000000000..f28d1d5b3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_add_dir.3 @@ -0,0 +1,69 @@ +.\" zip_add_dir.mdoc -- add directory to zip archive +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ADD_DIR 3 +.Os +.Sh NAME +.Nm zip_add_dir +.Nd add directory to zip archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_add_dir "zip_t *archive" "const char *name" +.Sh DESCRIPTION +The function +.Fn zip_add_dir +is the obsolete version of +.Xr zip_dir_add 3 . +It is the same as calling +.Xr zip_dir_add 3 +with an empty flags argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_dir_add 3 +.Sh HISTORY +.Fn zip_add_dir +was added in libzip 0.8. +In libzip 0.10 the return type was changed from +.Vt int +to +.Vt zip_int64_t . +It was deprecated in libzip 0.11, use +.Fn zip_dir_add +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_close.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_close.3 new file mode 100644 index 000000000..d9327cb03 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_close.3 @@ -0,0 +1,119 @@ +.\" zip_close.mdoc -- close zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_CLOSE 3 +.Os +.Sh NAME +.Nm zip_close +.Nd close zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_close "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_close +function writes any changes made to +.Ar archive +to disk. +If +.Ar archive +contains no files, the file is completely removed (no empty archive is +written). +If successful, +.Ar archive +is freed. +If writing fails, +.Fn zip_close +fails; +.Ar archive +is left unchanged and must still be freed. +.Pp +To close and free a zip archive without saving changes, use +.Xr zip_discard 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_close +will fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EOF +Unexpected end-of-file found while reading from a file. +.It Bq Er ZIP_ER_INTERNAL +The callback function of an added or replaced file returned an +error but failed to report which. +.It Bq Er ZIP_ER_INVAL +The +.Ar path +argument is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOZIP +File is not a zip archive. +.It Bq Er ZIP_ER_READ +A file read failed. +.It Bq Er ZIP_ER_RENAME +A temporary file could not be renamed to its final name. +.It Bq Er ZIP_ER_SEEK +A file seek failed. +.It Bq Er ZIP_ER_TMPOPEN +A temporary file could not be created. +.It Bq Er ZIP_ER_WRITE +A file write failed. +.It Bq Er ZIP_ER_ZLIB +An error occurred while (de)compressing a stream with +.Xr zlib 3 . +.El +Additionally, any errors returned by the callback function +for added or replaced files will be passed back. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_discard 3 , +.Xr zip_fdopen 3 , +.Xr zip_get_error 3 , +.Xr zip_open 3 , +.Xr zip_register_progress_callback_with_state 3 , +.Xr zip_strerror 3 +.Sh HISTORY +.Fn zip_close +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_delete.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_delete.3 new file mode 100644 index 000000000..dc8346e41 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_delete.3 @@ -0,0 +1,80 @@ +.\" zip_delete.mdoc -- delete files from zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_DELETE 3 +.Os +.Sh NAME +.Nm zip_delete +.Nd delete file from zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_delete "zip_t *archive" "zip_uint64_t index" +.Sh DESCRIPTION +The file at position +.Ar index +in the zip archive +.Ar archive +is marked as deleted. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_delete +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 +.Sh HISTORY +.Fn zip_delete +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_dir_add.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_dir_add.3 new file mode 100644 index 000000000..c075f8345 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_dir_add.3 @@ -0,0 +1,108 @@ +.\" zip_dir_add.mdoc -- add directory to zip archive +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_DIR_ADD 3 +.Os +.Sh NAME +.Nm zip_dir_add +.Nd add directory to zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_dir_add "zip_t *archive" "const char *name" "zip_flags_t flags" +.Sh DESCRIPTION +The function +.Fn zip_dir_add +adds a directory to a zip archive. +The argument +.Ar archive +specifies the zip archive to which the directory should be added. +.Ar name +is the directory's name in the zip archive. +The +.Ar flags +argument can be any of: +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar name +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar name +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar name +as code page 437 (CP-437). +.El +.Sh RETURN VALUES +Upon successful completion, the index of the new entry in the archive +is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_dir_add +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +There is already an entry called +.Ar name +in the archive. +.It Bq Er ZIP_ER_INVAL +.Ar archive +or +.Ar name +are +.Dv NULL , +or invalid UTF-8 encoded file names. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 +.Sh HISTORY +.Fn zip_dir_add +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at +.Sh CAVEATS +.Fn zip_dir_add +does not look in the file system, it just creates one entry in the +archive for the provided name. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_discard.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_discard.3 new file mode 100644 index 000000000..7404a4837 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_discard.3 @@ -0,0 +1,61 @@ +.\" zip_discard.mdoc -- close zip archive and discard changes +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_DISCARD 3 +.Os +.Sh NAME +.Nm zip_discard +.Nd close zip archive and discard changes +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_discard "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_discard +function closes +.Ar archive +and frees the memory allocated for it. +Any changes to the archive are not written to disk and discarded. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 +.Sh HISTORY +.Fn zip_discard +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_clear.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_clear.3 new file mode 100644 index 000000000..edac2c3ea --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_clear.3 @@ -0,0 +1,69 @@ +.\" zip_error_clear.mdoc -- clear error state for archive or file +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_CLEAR 3 +.Os +.Sh NAME +.Nm zip_error_clear , +.Nm zip_file_error_clear +.Nd clear error state for archive or file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_clear "zip_t *archive" +.Ft void +.Fn zip_file_error_clear "zip_file_t *file" +.Sh DESCRIPTION +The +.Fn zip_error_clear +function clears the error state for the zip archive +.Ar archive . +.Pp +The +.Fn zip_file_error_clear +function does the same for the zip file +.Ar file . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_error 3 +.Sh HISTORY +.Fn zip_error_clear +and +.Fn zip_file_error_clear +were added in libzip 0.8. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_code_system.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_code_system.3 new file mode 100644 index 000000000..c87a20692 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_code_system.3 @@ -0,0 +1,63 @@ +.\" zip_error_code_system.mdoc -- get system error part of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_CODE_SYSTEM 3 +.Os +.Sh NAME +.Nm zip_error_code_system +.Nd get operating system error part of zip_error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_code_system "const zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_code_system +function returns the system specific part of the error from the +zip_error error +.Ar ze . +For finding out what system reported the error, use +.Xr zip_error_system_type 3 . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_zip 3 , +.Xr zip_error_system_type 3 +.Sh HISTORY +.Fn zip_error_code_system +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_code_zip.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_code_zip.3 new file mode 100644 index 000000000..c68fff431 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_code_zip.3 @@ -0,0 +1,60 @@ +.\" zip_error_code_zip.mdoc -- get libzip error part of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_CODE_ZIP 3 +.Os +.Sh NAME +.Nm zip_error_code_zip +.Nd get libzip error part of zip_error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_code_zip "const zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_code_zip +function returns the libzip specific part of the error from the +zip_error error +.Ar ze . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 +.Sh HISTORY +.Fn zip_error_code_zip +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_fini.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_fini.3 new file mode 100644 index 000000000..136db4ce4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_fini.3 @@ -0,0 +1,60 @@ +.\" zip_error_fini.mdoc -- clean up zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_FINI 3 +.Os +.Sh NAME +.Nm zip_error_fini +.Nd clean up zip_error structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_fini "zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_fini +function cleans up and frees internally allocated memory of the +zip_error pointed to by +.Ar ze . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init 3 +.Sh HISTORY +.Fn zip_error_fini +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_get.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_get.3 new file mode 100644 index 000000000..527139436 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_get.3 @@ -0,0 +1,117 @@ +.\" zip_error_get.mdoc -- get error codes for archive or file +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_GET 3 +.Os +.Sh NAME +.Nm zip_error_get , +.Nm zip_file_error_get +.Nd get error codes for archive or file (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_get "zip_t *archive" "int *zep" "int *sep" +.Ft void +.Fn zip_file_error_get "zip_file_t *file" "int *zep" "int *sep" +.Sh DESCRIPTION +The functions +.Fn zip_error_get +and +.Fn zip_file_error_get +are deprecated. +Use +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 , +.Xr zip_file_get_error 3 , +and +.Xr zip_get_error 3 +instead. +.Pp +For +.Fn zip_error_get , +replace +.Bd -literal -offset indent +int ze, se; +zip_error_get(za, &ze, &se); +.Ed +with +.Bd -literal -offset indent +int ze, se; +zip_error_t *error = zip_get_error(za); +ze = zip_error_code_zip(error); +se = zip_error_code_system(error); +.Ed +For +.Fn zip_file_error_get , +replace +.Bd -literal -offset indent +int ze, se; +zip_file_error_get(zf, &ze, &se); +.Ed +with +.Bd -literal -offset indent +int ze, se; +zip_error_t *error = zip_file_get_error(zf); +ze = zip_error_code_zip(error); +se = zip_error_code_system(error); +.Ed +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 , +.Xr zip_file_get_error 3 , +.Xr zip_get_error 3 +.Sh HISTORY +.Fn zip_error_get +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +.Fn zip_get_error , +.Fn zip_error_code_zip , +/ +.Fn zip_error_code_system +instead. +.Pp +.Fn zip_file_error_get +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +.Fn zip_file_get_error , +.Fn zip_error_code_zip , +/ +.Fn zip_error_code_system +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_get_sys_type.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_get_sys_type.3 new file mode 100644 index 000000000..16d3af78d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_get_sys_type.3 @@ -0,0 +1,77 @@ +.\" zip_error_get_sys_type.mdoc -- get type of error +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_GET_SYS_TYPE 3 +.Os +.Sh NAME +.Nm zip_error_get_sys_type +.Nd get type of system error code (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_get_sys_type "int ze" +.Sh DESCRIPTION +The function +.Fn zip_error_get_sys_type +is deprecated; use +.Xr zip_error_init_with_code 3 +and +.Xr zip_error_system_type 3 +instead. +.Pp +Replace +.Bd -literal -offset indent +int i = zip_error_get_sys_type(ze); +.Ed +with +.Bd -literal -offset indent +zip_error_t error; +zip_error_init_with_code(&error, ze); +int i = zip_error_system_type(&error); +.Ed +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init_with_code 3 , +.Xr zip_error_system_type 3 +.Sh HISTORY +.Fn zip_error_get_sys_type +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +.Fn zip_error_system_type +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_init.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_init.3 new file mode 100644 index 000000000..b524303ef --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_init.3 @@ -0,0 +1,76 @@ +.\" zip_error_init.mdoc -- initialize zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_INIT 3 +.Os +.Sh NAME +.Nm zip_error_init , +.Nm zip_error_init_with_code +.Nd initialize zip_error structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_init "zip_error_t *error" +.Ft void +.Fn zip_error_init_with_code "zip_error_t *error" "int ze" +.Sh DESCRIPTION +The +.Fn zip_error_init +function initializes the zip_error pointed to by +.Ar error . +.Ar *error +must be allocated before calling +.Fn zip_error_init . +.Pp +The +.Fn zip_error_init_with_code +function does the same, but additionally sets the zip error code to +.Ar ze +and sets the system error code to the current +.Xr errno 3 +value, if appropriate. +.\" TODO: describe when you would need to call this at all +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_fini 3 +.Sh HISTORY +.Fn zip_error_init +and +.Fn zip_error_init_with_code +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_set.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_set.3 new file mode 100644 index 000000000..f7cc446e3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_set.3 @@ -0,0 +1,69 @@ +.\" zip_error_set.mdoc -- set zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_SET 3 +.Os +.Sh NAME +.Nm zip_error_set +.Nd fill in zip_error structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_set "zip_error_t *ze" "int le" "int se" +.Sh DESCRIPTION +The +.Fn zip_error_set +function sets the zip_error pointed to by +.Ar ze +to the libzip error code +.Ar le +and the system error code +.Ar se . +.Pp +.Ar ze +must be allocated and initialized with +.Xr zip_error_fini 3 +before calling +.Fn zip_error set . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init 3 +.Sh HISTORY +.Fn zip_error_set +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_strerror.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_strerror.3 new file mode 100644 index 000000000..8d44c993f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_strerror.3 @@ -0,0 +1,67 @@ +.\" zip_error_strerror.mdoc -- create human-readable version of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_STRERROR 3 +.Os +.Sh NAME +.Nm zip_error_strerror +.Nd create human-readable string for zip_error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_error_strerror "zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_strerror +function returns an error message string corresponding to +.Ar ze +like +.Xr strerror 3 . +This string will stay valid until the next call to +.Fn zip_error_strerror +or until +.Xr zip_error_fini 3 +is called. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr strerror 3 , +.Xr zip_error_fini 3 +.Sh HISTORY +.Fn zip_error_strerror +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_system_type.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_system_type.3 new file mode 100644 index 000000000..f9fbfce5e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_system_type.3 @@ -0,0 +1,77 @@ +.\" zip_error_system_type.mdoc -- return system type for error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_SYSTEM_TYPE 3 +.Os +.Sh NAME +.Nm zip_error_system_type +.Nd return type of system error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_system_type "const zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_system_type +function returns the type of the system specific part for the zip_error +.Ar ze . +Currently, the following system types are defined: +.Bl -tag -width ZIP_ET_NONE +.It Dv ZIP_ET_NONE +System specific part of +.Ar ze +is unused. +.It Dv ZIP_ET_SYS +System specific part of +.Ar ze +is an +.Xr errno 2 . +.It Dv ZIP_ET_ZLIB +System specific part of +.Ar ze +is a +.Xr zlib 3 +error. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 +.Sh HISTORY +.Fn zip_error_system_type +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_to_data.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_to_data.3 new file mode 100644 index 000000000..e7ba170b1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_to_data.3 @@ -0,0 +1,69 @@ +.\" zip_error_to_data.mdoc -- create error data for ZIP_SOURCE_ERROR +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_TO_DATA 3 +.Os +.Sh NAME +.Nm zip_error_to_data +.Nd convert zip_error to return value suitable for ZIP_SOURCE_ERROR +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_error_to_data "const zip_error_t *ze" "void *data" "zip_uint64_t len" +.Sh DESCRIPTION +.Fn zip_error_to_data +function converts the zip_error +.Ar ze +into data suitable as return value for +.Dv ZIP_SOURCE_ERROR . +The data is written into the buffer +.Ar data +of size +.Ar len . +If the buffer is not large enough to hold 2 ints, an error is +returned. +.Sh RETURN VALUES +.Fn zip_error_to_data +returns 2*(sizeof int) on success, and \-1 on error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_function 3 +.Sh HISTORY +.Fn zip_error_to_data +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_to_str.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_to_str.3 new file mode 100644 index 000000000..7054d3e43 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_error_to_str.3 @@ -0,0 +1,88 @@ +.\" zip_error_to_str.mdoc -- get string representation of zip error code +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_TO_STR 3 +.Os +.Sh NAME +.Nm zip_error_to_str +.Nd get string representation of zip error (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_to_str "char *buf" "zip_uint64_t len" "int ze" "int se" +.Sh DESCRIPTION +The function +.Fn zip_error_to_str +is deprecated; use +.Xr zip_error_init_with_code 3 +and +.Xr zip_error_strerror 3 +instead. +.Pp +Replace +.Bd -literal -offset indent +char buf[BUFSIZE]; +zip_error_to_str(buf, sizeof(buf), ze, se); +printf("%s", buf); +.Ed +with +.Bd -literal -offset indent +zip_error_t error; +zip_error_init_with_code(&error, ze); +printf("%s", zip_error_strerror(&error)); +zip_error_fini(&error); +.Ed +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init_with_code 3 , +.Xr zip_error_strerror 3 +.Sh HISTORY +.Fn zip_error_to_str +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar len +was changed from +.Vt size_t +to +.Vt zip_uint64_t . +It was deprecated in libzip 1.0, use +.Fn zip_error_init_with_code +and +.Fn zip_error_strerror +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_errors.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_errors.3 new file mode 100644 index 000000000..9f6357fa0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_errors.3 @@ -0,0 +1,117 @@ +.\" zip_errors.mdoc -- list of all libzip error codes +.\" Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" This file was generated automatically by ./make_zip_errors.sh +.\" from ./../lib/zip.h; make changes there. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERRORS 3 +.Os +.Sh NAME +.Nm zip_errors +.Nd list of all libzip error codes +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Sh DESCRIPTION +The following error codes are used by libzip: +.Bl -tag -width XZIP_ER_COMPRESSED_DATAX +.It Bq Er ZIP_ER_CHANGED +Entry has been changed. +.It Bq Er ZIP_ER_CLOSE +Closing zip archive failed. +.It Bq Er ZIP_ER_COMPNOTSUPP +Compression method not supported. +.It Bq Er ZIP_ER_COMPRESSED_DATA +Compressed data invalid. +.It Bq Er ZIP_ER_CRC +CRC error. +.It Bq Er ZIP_ER_DELETED +Entry has been deleted. +.It Bq Er ZIP_ER_ENCRNOTSUPP +Encryption method not supported. +.It Bq Er ZIP_ER_EOF +Premature end of file. +.It Bq Er ZIP_ER_EXISTS +File already exists. +.It Bq Er ZIP_ER_INCONS +Zip archive inconsistent. +.It Bq Er ZIP_ER_INTERNAL +Internal error. +.It Bq Er ZIP_ER_INUSE +Resource still in use. +.It Bq Er ZIP_ER_INVAL +Invalid argument. +.It Bq Er ZIP_ER_MEMORY +Malloc failure. +.It Bq Er ZIP_ER_MULTIDISK +Multi-disk zip archives not supported. +.It Bq Er ZIP_ER_NOENT +No such file. +.It Bq Er ZIP_ER_NOPASSWD +No password provided. +.It Bq Er ZIP_ER_NOZIP +Not a zip archive. +.It Bq Er ZIP_ER_OK +No error. +.It Bq Er ZIP_ER_OPEN +Can't open file. +.It Bq Er ZIP_ER_OPNOTSUPP +Operation not supported. +.It Bq Er ZIP_ER_RDONLY +Read-only archive. +.It Bq Er ZIP_ER_READ +Read error. +.It Bq Er ZIP_ER_REMOVE +Can't remove file. +.It Bq Er ZIP_ER_RENAME +Renaming temporary file failed. +.It Bq Er ZIP_ER_SEEK +Seek error. +.It Bq Er ZIP_ER_TELL +Tell error. +.It Bq Er ZIP_ER_TMPOPEN +Failure to create temporary file. +.It Bq Er ZIP_ER_WRITE +Write error. +.It Bq Er ZIP_ER_WRONGPASSWD +Wrong password provided. +.It Bq Er ZIP_ER_ZIPCLOSED +Containing zip archive was closed. +.It Bq Er ZIP_ER_ZLIB +Zlib error. +.El +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fclose.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fclose.3 new file mode 100644 index 000000000..0bbeee7cd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fclose.3 @@ -0,0 +1,65 @@ +.\" zip_fclose.mdoc -- close file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FCLOSE 3 +.Os +.Sh NAME +.Nm zip_fclose +.Nd close file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_fclose "zip_file_t *file" +.Sh DESCRIPTION +The +.Fn zip_fclose +function closes +.Ar file +and frees the memory allocated for it. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, the error code is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_fseek 3 +.Sh HISTORY +.Fn zip_fclose +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fdopen.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fdopen.3 new file mode 100644 index 000000000..44b505596 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fdopen.3 @@ -0,0 +1,147 @@ +.\" zip_fdopen.mdoc -- open zip archive using existing file descriptor +.\" Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FDOPEN 3 +.Os +.Sh NAME +.Nm zip_fdopen +.Nd open zip archive using open file descriptor +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_t * +.Fn zip_fdopen "int fd" "int flags" "int *errorp" +.Sh DESCRIPTION +The zip archive specified by the open file descriptor +.Ar fd +is opened and a pointer to a +.Ft struct zip , +used to manipulate the archive, is returned. +In contrast to +.Xr zip_open 3 , +using +.Nm zip_fdopen +the archive can only be opened in read-only mode. +The +.Ar fd +argument may not be used any longer after calling +.Nm zip_fdopen . +The +.Fa flags +are specified by +.Em or Ns No 'ing +the following values, or 0 for none of them. +.Bl -tag -offset indent -width ZIP_CHECKCONS +.It Dv ZIP_CHECKCONS +Perform additional stricter consistency checks on the archive, and +error if they fail. +.El +.Pp +If an error occurs and +.Ar errorp +is +.No non- Ns Dv NULL , +it will be set to the corresponding error code. +.Sh RETURN VALUES +Upon successful completion +.Fn zip_fdopen +returns a +.Ft struct zip +pointer, and +.Ar fd +should not be used any longer, nor passed to +.Xr close 2 . +Otherwise, +.Dv NULL +is returned and +.Ar *errorp +is set to indicate the error. +In the error case, +.Ar fd +remains unchanged. +.Sh ERRORS +The file specified by +.Ar fd +is prepared for use by +.Xr libzip 3 +unless: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INCONS +Inconsistencies were found in the file specified by +.Ar path . +This error is often caused by specifying +.Dv ZIP_CHECKCONS +but can also happen without it. +.It Bq Er ZIP_ER_INVAL +The +.Ar flags +argument is invalid. +Not all +.Xr zip_open 3 +flags are allowed for +.Nm zip_fdopen , +see +.Sx DESCRIPTION . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOZIP +The file specified by +.Ar fd +is not a zip archive. +.It Bq Er ZIP_ER_OPEN +The file specified by +.Ar fd +could not be prepared for use by +.Xr libzip 3 . +.It Bq Er ZIP_ER_READ +A read error occurred; see +.Va errno +for details. +.It Bq Er ZIP_ER_SEEK +The file specified by +.Ar fd +does not allow seeks. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 , +.Xr zip_error_strerror 3 , +.Xr zip_open 3 +.Sh HISTORY +.Fn zip_fdopen +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_add.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_add.3 new file mode 100644 index 000000000..9939dddfc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_add.3 @@ -0,0 +1,163 @@ +.\" zip_file_add.mdoc -- add files to zip archive +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_ADD 3 +.Os +.Sh NAME +.Nm zip_file_add , +.Nm zip_file_replace +.Nd add file to zip archive or replace file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_file_add "zip_t *archive" "const char *name" "zip_source_t *source" "zip_flags_t flags" +.Ft int +.Fn zip_file_replace "zip_t *archive" "zip_uint64_t index" "zip_source_t *source" "zip_flags_t flags" +.Sh DESCRIPTION +The function +.Fn zip_file_add +adds a file to a zip archive, while +.Fn zip_file_replace +replaces an existing file in a zip archive. +The argument +.Ar archive +specifies the zip archive to which the file should be added. +.Ar name +is the file's name in the zip archive (for +.Fn zip_file_add ) , +while +.Ar index +specifies which file should be replaced (for +.Fn zip_file_replace ) . +The +.Ar flags +argument can be any combination of +.Dv ZIP_FL_OVERWRITE +with one of +.Dv ZIP_FL_ENC_* : +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_OVERWRITE +Overwrite any existing file of the same name. +For +.Nm zip_file_add +only. +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar name +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar name +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar name +as code page 437 (CP-437). +.El +The data is obtained from the +.Ar source +argument, see +.Xr zip_source 3 . +.Pp +.Em NOTE : +.Xr zip_source_free 3 +should not be called on a +.Ar source +after it was used successfully in a +.Nm zip_file_add +or +.Nm zip_file_replace +call. +.Sh RETURN VALUES +Upon successful completion, +.Fn zip_file_add +returns the index of the new file in the archive, and +.Fn zip_file_replace +returns 0. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh EXAMPLES +.Bd -literal -offset indent +zip_source_t *s; +const char *buf="teststring"; + +if ((s=zip_source_buffer(archive, buf, sizeof(buf), 0)) == NULL || + zip_file_add(archive, name, s, ZIP_FL_ENC_UTF_8) < 0) { + zip_source_free(s); + printf("error adding file: %s\en", zip_strerror(archive)); +} +.Ed +.Sh ERRORS +.Fn zip_file_add +and +.Fn zip_file_replace +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +There is already a file called +.Ar name +in the archive. +(Only applies to +.Fn zip_file_add , +and only if +.Dv ZIP_FL_OVERWRITE +is not provided). +.It Bq Er ZIP_ER_INVAL +.Ar source +or +.Ar name +are +.Dv NULL , +or +.Ar index +is invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +Archive was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_file_add +and +.Fn zip_file_replace +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_delete.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_delete.3 new file mode 100644 index 000000000..005e7470b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_delete.3 @@ -0,0 +1,130 @@ +.\" zip_file_extra_field_delete.mdoc -- delete extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELD_DELETE 3 +.Os +.Sh NAME +.Nm zip_file_extra_field_delete , +.Nm zip_file_extra_field_delete_by_id +.Nd delete extra field for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_extra_field_delete "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_index" "zip_flags_t flags" +.Ft int +.Fn zip_file_extra_field_delete_by_id "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_uint16_t extra_field_index" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_field_delete +function deletes the extra field with index +.Ar extra_field_index +for the file at position +.Ar index +in the zip archive. +.Pp +If +.Ar extra_field_index +is +.Dv ZIP_EXTRA_FIELD_ALL , +then all extra fields will be deleted. +.Pp +The following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_CENTRALXX -offset indent +.It Dv ZIP_FL_CENTRAL +Delete extra fields from the archive's central directory. +.It Dv ZIP_FL_LOCAL +Delete extra fields from the local file headers. +.El +.Pp +The +.Fn zip_file_extra_field_delete_by_id +function deletes the extra field with ID (two-byte signature) +.Ar extra_field_id +and index +.Ar extra_field_index +(in other words, the +.Ar extra_field_index Ns No 'th +extra field with ID +.Ar extra_field_id ) +The other arguments are the same as for +.Fn zip_file_extra_field_delete +.Dv ( ZIP_EXTRA_FIELD_ALL +will delete all extra fields of the specified ID). +.Pp +Please note that due to the library design, the index of an extra +field may be different between central directory and local file +headers. +For this reason, it is not allowed to specify both +.Dv ZIP_FL_CENTRAL +and +.Dv ZIP_FL_LOCAL +in +.Ar flags , +except when deleting all extra fields (i.e., +.Ar extra_field_index +being +.Dv ZIP_EXTRA_FIELD_ALL ) . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_field_delete +and +.Fn zip_file_extra_field_delete_by_id +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_get 3 , +.Xr zip_file_extra_field_set 3 , +.Xr zip_file_extra_fields_count 3 +.Sh HISTORY +.Fn zip_file_extra_field_delete +and +.Fn zip_file_extra_field_delete_by_id +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_get.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_get.3 new file mode 100644 index 000000000..72b2c873b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_get.3 @@ -0,0 +1,157 @@ +.\" zip_file_extra_field_get.mdoc -- get extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELD_GET 3 +.Os +.Sh NAME +.Nm zip_file_extra_field_get , +.Nm zip_file_extra_field_get_by_id +.Nd get extra field for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const zip_uint8_t * +.Fn zip_file_extra_field_get "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_index" "zip_uint16_t *idp" "zip_uint16_t *lenp" "zip_flags_t flags" +.Ft const zip_uint8_t * +.Fn zip_file_extra_field_get_by_id "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_uint16_t extra_field_index" "zip_uint16_t *lenp" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_field_get +function returns the extra field with index +.Ar extra_field_index +for the file at position +.Ar index +in the zip archive. +This pointer should not be modified or +.Xr free 3 Ap d , +and becomes invalid when +.Ar archive +is closed. +If +.Ar idp +is not +.Dv NULL , +the integer to which it points will be set to the ID (two-byte +signature) of the selected extra field. +If +.Ar lenp +is not +.Dv NULL , +the integer to which it points will be set to the length of the +extra field. +Generally speaking, +.Ar lenp +and +.Ar idp +should be passed since only the extra field data is returned (i.e., +neither the ID nor the length, if the +.Ar idp +and +.Ar lenp +arguments are not provided). +.Pp +The following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_UNCHANGEDXX -offset indent +.It Dv ZIP_FL_CENTRAL +Return extra fields from the archive's central directory. +.It Dv ZIP_FL_LOCAL +Return extra fields from the local file headers. +.It Dv ZIP_FL_UNCHANGED +Return the original unchanged extra fields, ignoring any changes made. +.El +.Pp +The +.Fn zip_file_extra_field_get_by_id +function returns the extra field with ID (two-byte signature) +.Ar extra_field_id +and index +.Ar extra_field_index +(in other words, the +.Ar extra_field_index Ns No 'th +extra field with ID +.Ar extra_field_id ) +The other arguments are the same as for +.Fn zip_file_extra_field_get . +.Sh RETURN VALUES +Upon successful completion, a pointer to an extra field is returned, +or +.Dv NULL +if there is no extra field with that +.Ar extra_field_index +for the file with index +.Ar index . +In case of an error, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_field_get +and +.Fn zip_file_extra_field_get_by_id +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive , +or +.Ar extra_field_index +is not a valid extra file index (for ID +.Ar extra_field_id ) . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_delete 3 , +.Xr zip_file_extra_field_set 3 , +.Xr zip_file_extra_fields_count 3 +.Sh HISTORY +.Fn zip_file_extra_field_get +and +.Fn zip_file_extra_field_get_by_id +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at +.Sh CAVEATS +Please note that the extra field IDs 0x0001 (ZIP64 extension), +0x6375 (Infozip UTF-8 comment), and +0x7075 (Infozip UTF-8 file name) can not be read using +.Fn zip_file_extra_field_get +since they are used by +.Xr libzip 3 +internally. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_set.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_set.3 new file mode 100644 index 000000000..3e6abc116 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_field_set.3 @@ -0,0 +1,115 @@ +.\" zip_file_extra_field_set.mdoc -- set extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELD_SET 3 +.Os +.Sh NAME +.Nm zip_file_extra_field_set +.Nd set extra field for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_extra_field_set "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_uint16_t extra_field_index" "const zip_uint8_t *extra_field_data" "zip_uint16_t len" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_field_set +function sets the extra field with ID (two-byte signature) +.Ar extra_field_id +and index +.Ar extra_field_index +for the file at position +.Ar index +in the zip archive. +The extra field's data will be set to +.Ar extra_field_data +and length +.Ar len . +If a new entry shall be appended, set +.Ar extra_field_index +to +.Dv ZIP_EXTRA_FIELD_NEW . +.Pp +At least one of the following +.Ar flags +must be set: +.Bl -tag -width ZIP_FL_CENTRALXX -offset indent +.It Dv ZIP_FL_CENTRAL +Set extra field in the archive's central directory. +.It Dv ZIP_FL_LOCAL +Set extra field in the local file headers. +.El +.Pp +Please note that the extra field IDs 0x0001 (ZIP64 extension), +0x6375 (Infozip UTF-8 comment), and +0x7075 (Infozip UTF-8 file name) can not be set using +.Fn zip_file_extra_field_set +since they are set by +.Xr libzip 3 +automatically when needed. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_field_set +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +The extra field size is too large (ID and length need 4 bytes; the +maximum length of all extra fields for one file combined is 65536 +bytes). +This error also occurs if +.Ar extra_field_index +is too large. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_delete 3 , +.Xr zip_file_extra_field_get 3 , +.Xr zip_file_extra_fields_count 3 +.Sh HISTORY +.Fn zip_file_extra_field_set +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_fields_count.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_fields_count.3 new file mode 100644 index 000000000..47bb9a3f0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_extra_fields_count.3 @@ -0,0 +1,113 @@ +.\" zip_file_extra_fields_count.mdoc -- count extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELDS_COUNT 3 +.Os +.Sh NAME +.Nm zip_file_extra_fields_count , +.Nm zip_file_extra_fields_count_by_id +.Nd count extra fields for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int16_t +.Fn zip_file_extra_fields_count "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" +.Ft zip_int16_t +.Fn zip_file_extra_fields_count_by_id "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_fields_count +function counts the extra fields for the file at position +.Ar index +in the zip archive. +.Pp +The following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_CENTRALXX -offset indent +.It Dv ZIP_FL_CENTRAL +Count extra fields from the archive's central directory. +.It Dv ZIP_FL_LOCAL +Count extra fields from the local file headers. +.It Dv ZIP_FL_UNCHANGED +Count the original unchanged extra fields, ignoring any changes made. +.El +.Pp +The +.Fn zip_file_extra_fields_count_by_id +function counts the extra fields with ID (two-byte signature) +.Ar extra_field_id . +The other arguments are the same as for +.Fn zip_file_extra_fields_count . +.Pp +Extra fields that are the same in the central directory and the local file +header are merged into one. +Therefore, the counts with +.Dv ZIP_FL_CENTRAL +and +.Dv ZIP_FL_LOCAL +do not need to add up to the same value as when given +.Dv ZIP_FL_CENTRAL|ZIP_FL_LOCAL +at the same time. +.Sh RETURN VALUES +Upon successful completion, the requested number of extra fields is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_fields_count +and +.Fn zip_file_extra_fields_count_by_id +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive . +.\" TODO: _zip_read_local_ef errors +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_delete 3 , +.Xr zip_file_extra_field_get 3 , +.Xr zip_file_extra_field_set 3 +.Sh HISTORY +.Fn zip_file_extra_fields_count +and +.Fn zip_file_extra_fields_count_by_id +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_comment.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_comment.3 new file mode 100644 index 000000000..724328223 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_comment.3 @@ -0,0 +1,118 @@ +.\" zip_file_get_comment.mdoc -- get comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_GET_COMMENT 3 +.Os +.Sh NAME +.Nm zip_file_get_comment +.Nd get comment for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_file_get_comment "zip_t *archive" "zip_uint64_t index" "zip_uint32_t *lenp" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_get_comment +function returns the comment for the file at position +.Ar index +in the zip archive. +The name is in UTF-8 encoding unless +.Dv ZIP_FL_ENC_RAW +was specified (see below). +This pointer should not be modified or +.Xr free 3 Ap d , +and becomes invalid when +.Ar archive +is closed. +If +.Ar lenp +is not +.Dv NULL , +the integer to which it points will be set to the length of the +comment. +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged comment is returned. +.Pp +Additionally, the following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_ENC_STRICTXX -offset indent +.It Dv ZIP_FL_ENC_RAW +Return the unmodified comment as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the comment in the ZIP archive and convert it +to UTF-8, if necessary. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification for file names and extend it to file +comments, expecting them to be encoded in CP-437 in the ZIP archive +(except if it is a UTF-8 comment from the special extra field). +Convert it to UTF-8. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +Upon successful completion, a pointer to the comment is returned, +or +.Dv NULL +if there is no comment. +In case of an error, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_get_comment +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_set_comment 3 , +.Xr zip_get_archive_comment 3 +.Sh HISTORY +.Fn zip_file_get_comment +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_error.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_error.3 new file mode 100644 index 000000000..56628a1c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_error.3 @@ -0,0 +1,57 @@ +.\" zip_file_get_error.mdoc -- extract zip_error from zip_file +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_GET_ERROR 3 +.Os +.Sh NAME +.Nm zip_file_get_error +.Nd extract zip_error from zip_file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_error_t * +.Fn zip_file_get_error "zip_file_t *zf" +.Sh DESCRIPTION +.Fn zip_file_get_error +function returns the zip_error associated with the zip_file +.Ar zf . +.Sh SEE ALSO +.Xr libzip 3 +.Sh HISTORY +.Fn zip_file_get_error +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_external_attributes.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_external_attributes.3 new file mode 100644 index 000000000..5b3cdcc81 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_get_external_attributes.3 @@ -0,0 +1,165 @@ +.\" zip_file_get_external_attributes.mdoc -- get external attributes for file in zip +.\" Copyright (C) 2013-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_GET_EXTERNAL_ATTRIBUTES 3 +.Os +.Sh NAME +.Nm zip_file_get_external_attributes +.Nd get external attributes for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_get_external_attributes "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "zip_uint8_t *opsys" "zip_uint32_t *attributes" +.Sh DESCRIPTION +The +.Fn zip_file_get_external_attributes +function returns the operating system and external attributes for the +file at position +.Ar index +in the zip archive. +The external attributes usually contain the operating system-specific +file permissions. +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged values are returned. +If +.Ar opsys +or +.Ar attributes +are +.Dv NULL , +they are not filled in. +.Pp +The following operating systems are defined by the zip specification: +.Bl -item -compact -offset indent +.It +.Dv ZIP_OPSYS_ACORN_RISC +.It +.Dv ZIP_OPSYS_ALTERNATE_MVS +.It +.Dv ZIP_OPSYS_AMIGA +.It +.Dv ZIP_OPSYS_ATARI_ST +.It +.Dv ZIP_OPSYS_BEOS +.It +.Dv ZIP_OPSYS_CPM +.It +.Dv ZIP_OPSYS_DOS +.It +.Dv ZIP_OPSYS_MACINTOSH +.It +.Dv ZIP_OPSYS_MVS +.It +.Dv ZIP_OPSYS_OPENVMS +.It +.Dv ZIP_OPSYS_OS_2 +.It +.Dv ZIP_OPSYS_OS_400 +.It +.Dv ZIP_OPSYS_OS_X +.It +.Dv ZIP_OPSYS_TANDEM +.It +.Dv ZIP_OPSYS_UNIX +.It +.Dv ZIP_OPSYS_VFAT +.It +.Dv ZIP_OPSYS_VM_CMS +.It +.Dv ZIP_OPSYS_VSE +.It +.Dv ZIP_OPSYS_WINDOWS_NTFS +(uncommon, use +.Dv ZIP_OPSYS_DOS +instead) +.It +.Dv ZIP_OPSYS_Z_SYSTEM +.El +.Pp +The defines above follow the PKWARE Inc. Appnote; please note that +the InfoZIP Appnote has a slightly different mapping. +.Sh RETURN VALUES +Upon successful completion, 0 is returned. +In case of an error, +.Dv \-1 +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh EXAMPLES +The following code can be used to expand +.Ar attributes +if the operating system is +.Dv ZIP_OPSYS_DOS . +.Bd -literal +#include + +#define FA_RDONLY 0x01 // FILE_ATTRIBUTE_READONLY +#define FA_DIREC 0x10 // FILE_ATTRIBUTE_DIRECTORY + +static mode_t +_zip_dos_attr2mode(zip_uint32_t attr) +{ + mode_t m = S_IRUSR | S_IRGRP | S_IROTH; + if (0 == (attr & FA_RDONLY)) + m |= S_IWUSR | S_IWGRP | S_IWOTH; + + if (attr & FA_DIREC) + m = (S_IFDIR | (m & ~S_IFMT)) | S_IXUSR | S_IXGRP | S_IXOTH; + + return m; +} +.Ed +.Sh ERRORS +.Fn zip_file_get_external_attributes +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_set_external_attributes 3 +.Sh HISTORY +.Fn zip_file_get_external_attributes +was added in libzip 0.11.2. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_rename.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_rename.3 new file mode 100644 index 000000000..017e26e17 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_rename.3 @@ -0,0 +1,103 @@ +.\" zip_file_rename.mdoc -- rename file in zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_RENAME 3 +.Os +.Sh NAME +.Nm zip_file_rename +.Nd rename file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_rename "zip_t *archive" "zip_uint64_t index" "const char *name" "zip_flags_t flags" +.Sh DESCRIPTION +The file at position +.Ar index +in the zip archive +.Ar archive +is renamed to +.Ar name . +The +.Ar flags +argument can be any of: +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar name +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar name +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar name +as code page 437 (CP-437). +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_rename +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_DELETED +The file to be renamed has been deleted from the archive. +.It Bq Er ZIP_ER_EXISTS +There is already a file called +.Ar name +in the archive. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +.Ar name is +.Dv NULL , +the empty string, or not a valid UTF-8 encoded string. +Also a file cannot be renamed to a directory or vice versa. +Directories are denoted by a trailing slash. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 +.Sh HISTORY +.Fn zip_file_rename +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_comment.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_comment.3 new file mode 100644 index 000000000..1e596cfc0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_comment.3 @@ -0,0 +1,115 @@ +.\" zip_file_set_comment.mdoc -- set comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_COMMENT 3 +.Os +.Sh NAME +.Nm zip_file_set_comment +.Nd set comment for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_comment "zip_t *archive" "zip_uint64_t index" "const char *comment" "zip_uint16_t len" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_set_comment +function sets the comment for the file at position +.Ar index +in the zip archive to +.Ar comment +of length +.Ar len . +If +.Ar comment +is +.Dv NULL +and +.Ar len +is 0, the file comment will be removed. +The +.Ar flags +argument can be any of: +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar comment +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar comment +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar comment +as code page 437 (CP-437). +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_comment +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or +.Ar len +is less than 0 or longer than the maximum comment length in a zip file +(65535), or +.Ar comment +is not a valid UTF-8 encoded string. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +The +.Ar archive +was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 , +.Xr zip_get_archive_comment 3 , +.Xr zip_set_archive_comment 3 +.Sh HISTORY +.Fn zip_file_set_comment +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_encryption.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_encryption.3 new file mode 100644 index 000000000..a09c42a95 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_encryption.3 @@ -0,0 +1,114 @@ +.\" zip_file_set_encryption.mdoc -- set encryption method for file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_ENCRYPTION 3 +.Os +.Sh NAME +.Nm zip_file_set_encryption +.Nd set encryption method for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_encryption "zip_t *archive" "zip_uint64_t index" "zip_uint16_t method" "const char *password" +.Sh DESCRIPTION +The +.Fn zip_file_set_encryption +function sets the encryption method for the file at position +.Ar index +in the zip archive to +.Ar method +using the password +.Ar password . +The +.Ar method +is the same as returned by +.Xr zip_stat 3 . +For the +.Ar method +argument, currently only the following values are supported: +.Bl -tag -width ZIP_CM_DEFLATE_XX +.It Dv ZIP_EM_NONE +No encryption. +.It Dv ZIP_EM_AES_128 +Winzip AES-128 encryption. +.It Dv ZIP_EM_AES_192 +Winzip AES-192 encryption. +.It Dv ZIP_EM_AES_256 +Winzip AES-256 encryption. +.El +.Pp +If +.Ar password +is +.Dv NULL , +the default password provided by +.Xr zip_set_default_password 3 +is used. +.Pp +The current encryption method for a file in a zip archive can be +determined using +.Xr zip_stat 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_encryption +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_ENCRNOTSUPP +Unsupported compression method requested. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or the argument combination is invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +Read-only zip file, no changes allowed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_set_default_password 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_file_set_encryption +was added in libzip 1.2.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_external_attributes.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_external_attributes.3 new file mode 100644 index 000000000..d7fa08233 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_external_attributes.3 @@ -0,0 +1,89 @@ +.\" zip_file_set_external_attributes.mdoc -- set external attributes for file in zip +.\" Copyright (C) 2013-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_EXTERNAL_ATTRIBUTES 3 +.Os +.Sh NAME +.Nm zip_file_set_external_attributes +.Nd set external attributes for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_external_attributes "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "zip_uint8_t opsys" "zip_uint32_t attributes" +.Sh DESCRIPTION +The +.Fn zip_file_set_external_attributes +function sets the operating system and external attributes for the +file at position +.Ar index +in the zip archive. +Currently, no +.Ar flags +are supported. +.Pp +For a list of known +.Ar opsys +values, see +.Xr zip_file_get_external_attributes 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_external_attributes +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +The +.Ar archive +was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_external_attributes 3 +.Sh HISTORY +.Fn zip_file_set_external_attributes +was added in libzip 0.11.2. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_mtime.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_mtime.3 new file mode 100644 index 000000000..32057b57f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_set_mtime.3 @@ -0,0 +1,85 @@ +.\" zip_file_set_mtime.mdoc -- set mtime for file in zip +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_MTIME 3 +.Os +.Sh NAME +.Nm zip_file_set_mtime +.Nd set last modification time (mtime) for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_mtime "zip_t *archive" "zip_uint64_t index" "time_t mtime" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_set_mtime +function sets the last modification time (mtime) for the file at +position +.Ar index +in the zip archive to +.Ar mtime . +Currently, no support for any +.Ar flags +is implemented. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_mtime +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +The +.Ar archive +was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_file_set_mtime +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_strerror.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_strerror.3 new file mode 100644 index 000000000..1f16b9b7f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_file_strerror.3 @@ -0,0 +1,85 @@ +.\" zip_file_strerror.mdoc -- get string representation for a zip error +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_STRERROR 3 +.Os +.Sh NAME +.Nm zip_file_strerror , +.Nm zip_strerror +.Nd get string representation for a zip error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_file_strerror "zip_file_t *file" +.Ft const char * +.Fn zip_strerror "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_strerror +function returns a string describing the last error for the zip archive +.Ar archive , +while the +.Fn zip_file_strerror +function does the same for a zip file +.Ar file +(one file in an archive). +The returned string must not be modified or freed, and becomes invalid when +.Ar archive +or +.Ar file , +respectively, +is closed or on the next call to +.Fn zip_strerror +or +.Fn zip_file_strerror , +respectively, +for the same archive. +.Sh RETURN VALUES +.Fn zip_file_strerror +and +.Fn zip_strerror +return a pointer to the error string. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_strerror 3 +.Sh HISTORY +.Fn zip_file_strerror +and +.Fn zip_strerror +were added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fopen.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fopen.3 new file mode 100644 index 000000000..fb54f87c6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fopen.3 @@ -0,0 +1,147 @@ +.\" zip_fopen.mdoc -- open file in zip archive for reading +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FOPEN 3 +.Os +.Sh NAME +.Nm zip_fopen , +.Nm zip_fopen_index +.Nd open file in zip archive for reading +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_file_t * +.Fn zip_fopen "zip_t *archive" "const char *fname" "zip_flags_t flags" +.Ft zip_file_t * +.Fn zip_fopen_index "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_fopen +function opens the file name +.Ar fname +in +.Ar archive . +The +.Ar flags +argument specifies how the name lookup should be done, according to +the values are described in +.Xr zip_name_locate 3 . +Also, the following values may be +.Em or Ns No 'ed +to it. +.Bl -tag -offset indent -width ZIP_FL_COMPRESSED +.It Dv ZIP_FL_COMPRESSED +Read the compressed data. +Otherwise the data is uncompressed by +.Fn zip_fread . +.It Dv ZIP_FL_UNCHANGED +Read the original data from the zip archive, ignoring any changes made +to the file. +.El +.Pp +The +.Fn zip_fopen_index +function opens the file at position +.Ar index . +.Pp +If encrypted data is encountered, the functions call +.Xr zip_fopen_encrypted 3 +or +.Xr zip_fopen_index_encrypted 3 +respectively, using the default password set with +.Xr zip_set_default_password 3 . +.Sh RETURN VALUES +Upon successful completion, a +.Ft struct zip_file +pointer is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Bl -tag -width Er +.It Bq Er ZIP_ER_CHANGED +The file data has been changed. +.It Bq Er ZIP_ER_COMPNOTSUPP +The compression method used is not supported. +.It Bq Er ZIP_ER_ENCRNOTSUPP +The encryption method used is not supported. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOPASSWD +The file is encrypted, but no password has been provided. +.It Bq Er ZIP_ER_READ +A file read error occurred. +.It Bq Er ZIP_ER_SEEK +A file seek error occurred. +.It Bq Er ZIP_ER_WRONGPASSWD +The provided password does not match the password used for encryption. +Note that some incorrect passwords are not detected by the check done by +.Fn zip_fopen . +.It Bq Er ZIP_ER_ZLIB +Initializing the zlib stream failed. +.El +.Pp +The function +.Fn zip_fopen +may also fail and set +.Va zip_err +for any of the errors specified for the routine +.Xr zip_name_locate 3 . +.Pp +The function +.Fn zip_fopen_index +may also fail with +.Er ZIP_ER_INVAL +if +.Ar index +is invalid. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fread 3 , +.Xr zip_fseek 3 , +.Xr zip_get_num_entries 3 , +.Xr zip_name_locate 3 , +.Xr zip_set_default_password 3 +.Sh HISTORY +.Fn zip_fopen +and +.Fn zip_fopen_index +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fopen_encrypted.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fopen_encrypted.3 new file mode 100644 index 000000000..fb159ced0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fopen_encrypted.3 @@ -0,0 +1,117 @@ +.\" zip_fopen_encrypted.mdoc -- open encrypted file in zip archive for reading +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FOPEN_ENCRYPTED 3 +.Os +.Sh NAME +.Nm zip_fopen_encrypted , +.Nm zip_fopen_index_encrypted +.Nd open encrypted file in zip archive for reading +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_file_t * +.Fn zip_fopen_encrypted "zip_t *archive" "const char *fname" "zip_flags_t flags" "const char *password" +.Ft zip_file_t * +.Fn zip_fopen_index_encrypted "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "const char *password" +.Sh DESCRIPTION +The +.Fn zip_fopen_encrypted +function opens the encrypted file name +.Ar fname +in +.Ar archive +using the password given in the +.Ar password +argument. +The +.Ar flags +argument are the same as for +.Xr zip_fopen 3 . +.Pp +The +.Fn zip_fopen_index_encrypted +function opens the file at position +.Ar index , +see +.Xr zip_fopen_index 3 . +These functions are called automatically by +.Xr zip_fopen 3 ; +you only need to call them if you want to specify a non-default password +(see +.Xr zip_set_default_password 3 ) . +.Sh RETURN VALUES +Upon successful completion, a +.Ft struct zip_file +pointer is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Bl -tag -width ZIP_ER_ENCRNOTSUPPXX +.It Bq Er ZIP_ER_NOPASSWD +No password was provided. +.El +.Pp +The function +.Fn zip_fopen_encrypted +may also fail and set +.Va zip_err +for any of the errors specified for the routine +.Xr zip_fopen 3 . +.Pp +The function +.Fn zip_fopen_index_encrypted +may also fail and set +.Va zip_err +for any of the errors specified for the routine +.Xr zip_fopen_index 3 . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_get_num_entries 3 , +.Xr zip_name_locate 3 +.Sh HISTORY +.Fn zip_fopen_encrypted +and +.Fn zip_fopen_index_encrypted +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fread.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fread.3 new file mode 100644 index 000000000..4d3e8d6c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fread.3 @@ -0,0 +1,78 @@ +.\" zip_fread.mdoc -- read from file +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FREAD 3 +.Os +.Sh NAME +.Nm zip_fread +.Nd read from file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_fread "zip_file_t *file" "void *buf" "zip_uint64_t nbytes" +.Sh DESCRIPTION +The +.Fn zip_fread +function reads at most +.Ar nbytes +bytes from +.Ar file +into +.Ar buf . +.Sh RETURN VALUES +If successful, the number of bytes actually read is returned. +Otherwise, \-1 is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fseek 3 +.Sh HISTORY +.Fn zip_fread +was added in libzip 0.6. +In libzip 0.10 the return type was changed from +.Vt ssize_t +to +.Vt zip_int64_t . +In libzip 0.10 the type of +.Ar nbytes +was changed from +.Vt size_t +to +.Vt zip_uint64_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fseek.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fseek.3 new file mode 100644 index 000000000..756ca2726 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_fseek.3 @@ -0,0 +1,75 @@ +.\" zip_fseek.mdoc -- seek in file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FSEEK 3 +.Os +.Sh NAME +.Nm zip_fseek +.Nd seek in file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int8_t +.Fn zip_fseek "zip_file_t *file" "zip_int64_t offset" "int whence" +.Sh DESCRIPTION +The +.Fn zip_fseek +function seeks to the specified +.Ar offset +relative to +.Ar whence , +just like +.Xr fseek 3 . +.Pp +.Nm +only works on uncompressed (stored) data. +When called on compressed data it will return an error. +.Sh RETURN VALUES +If successful, +.Nm +returns 0. +Otherwise, \-1 is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_ftell 3 +.Sh HISTORY +.Fn zip_fseek +was added in libzip 1.2.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_ftell.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_ftell.3 new file mode 100644 index 000000000..2638d5d11 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_ftell.3 @@ -0,0 +1,70 @@ +.\" zip_ftell.mdoc -- tell position in file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FTELL 3 +.Os +.Sh NAME +.Nm zip_ftell +.Nd tell position in file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_ftell "zip_file_t *file" +.Sh DESCRIPTION +The +.Fn zip_ftell +function reports the current offset in the file. +.Pp +.Nm +only works on uncompressed (stored) data. +When called on compressed data it will return an error. +.Sh RETURN VALUES +If successful, +.Nm +returns the current file position. +Otherwise, \-1 is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_fseek 3 +.Sh HISTORY +.Fn zip_ftell +was added in libzip 1.2.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_archive_comment.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_archive_comment.3 new file mode 100644 index 000000000..ce9a01b2c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_archive_comment.3 @@ -0,0 +1,111 @@ +.\" zip_get_archive_comment.mdoc -- get zip archive comment +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd July 22, 2018 +.Dt ZIP_GET_ARCHIVE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_get_archive_comment +.Nd get zip archive comment +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_get_archive_comment "zip_t *archive" "int *lenp" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_archive_comment +function returns the comment for the entire zip archive. +The return value is in UTF-8 encoding unless +.Dv ZIP_FL_ENC_RAW +was specified (see below). +This pointer should not be modified or +.Xr free 3 Ap d , +and becomes invalid when +.Ar archive +is closed. +If +.Ar lenp +is not +.Dv NULL , +the integer to which it points will be set to the length of the +comment. +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged comment is returned. +.Pp +Additionally, the following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_ENC_STRICTXX -offset indent +.It Dv ZIP_FL_ENC_RAW +Return the unmodified archive comment as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the archive comment in the ZIP archive and convert it +to UTF-8, if necessary. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification for file names and extend it to the +archive comment, thus also expecting it in CP-437 encoding. +Convert it to UTF-8. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +Upon successful completion, a pointer to the comment is returned, +or +.Dv NULL +if there is no comment. +.\" In case of an error, +.\" .Dv NULL +.\" is returned and the error code in +.\" .Ar archive +.\" is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 +.Sh HISTORY +.Fn zip_get_archive_comment +was added in libzip 0.7. +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_archive_flag.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_archive_flag.3 new file mode 100644 index 000000000..baf6b0596 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_archive_flag.3 @@ -0,0 +1,94 @@ +.\" zip_get_archive_flag.mdoc -- get comment for file in zip +.\" Copyright (C) 2008-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_ARCHIVE_FLAG 3 +.Os +.Sh NAME +.Nm zip_get_archive_flag +.Nd get status flags for zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_get_archive_flag "zip_t *archive" "zip_flags_t flag" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_archive_flag +function returns if the flag +.Ar flag +is set for the archive +.Ar archive . +The archive flags might have been changed with +.Fn zip_set_archive_flag ; +if +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged flags are tested. +.Pp +Supported flags are: +.Bl -tag -width XZIPXAFLXRDONLYXXX +.It Dv ZIP_AFL_RDONLY +The archive is read-only. +.El +.Sh RETURN VALUES +.Fn zip_get_archive_flag +returns 1 if +.Ar flag +is set for +.Ar archive , +0 if not, +and \-1 if an error occurred. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_set_archive_flag 3 +.Sh HISTORY +.Fn zip_get_archive_flag +was added in libzip 0.9. +In libzip 0.11 the type of +.Ar flag +was changed from +.Vt int +to +.Vt zip_flags_t m +and the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_error.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_error.3 new file mode 100644 index 000000000..8ce2ea5e8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_error.3 @@ -0,0 +1,60 @@ +.\" zip_get_error.mdoc -- get zip_error for archive +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_ERROR 3 +.Os +.Sh NAME +.Nm zip_get_error +.Nd get zip error for archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_error_t * +.Fn zip_get_error "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_get_error +function returns the zip error for the zip archive +.Ar archive . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 +.Sh HISTORY +.Fn zip_get_error +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_file_comment.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_file_comment.3 new file mode 100644 index 000000000..a22159e52 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_file_comment.3 @@ -0,0 +1,73 @@ +.\" zip_get_file_comment.mdoc -- get comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_FILE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_get_file_comment +.Nd get comment for file in zip (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_get_file_comment "zip_t *archive" "zip_uint64_t index" "int *lenp" "int flags" +.Sh DESCRIPTION +The +.Fn zip_get_file_comment +function is the obsolete version of +.Xr zip_file_get_comment 3 . +The only differences are the types of the +.Ar lenp +and +.Ar flags +arguments. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 +.Sh HISTORY +.Fn zip_get_file_comment +was added in libzip 0.7. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_get_comment +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_name.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_name.3 new file mode 100644 index 000000000..27084f413 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_name.3 @@ -0,0 +1,131 @@ +.\" zip_get_name.mdoc -- get name of file by index +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_NAME 3 +.Os +.Sh NAME +.Nm zip_get_name +.Nd get name of file by index +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_get_name "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_name +function returns the name of the file at position +.Ar index +in +.Ar archive . +The name is in UTF-8 encoding unless +.Dv ZIP_FL_ENC_RAW +was specified (see below). +.Pp +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged filename is returned. +The returned string must not be modified or freed, and becomes invalid when +.Ar archive +is closed. +.Pp +Additionally, the following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_ENC_STRICTXX -offset indent +.It Dv ZIP_FL_ENC_RAW +Return the unmodified names as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the name in the ZIP archive and convert it +to UTF-8, if necessary. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification and expect CP-437 encoded names in +the ZIP archive (except if they are explicitly marked as UTF-8). +Convert it to UTF-8. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +Upon successful completion, a pointer to the name is returned. +Otherwise, +.Dv NULL +and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_get_name +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_DELETED +.Ar index +refers to a file that has been deleted +(see +.Xr zip_delete 3 ) . +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or +.Ar index +points to an added file and +.Dv ZIP_FL_UNCHANGED +is set. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_name_locate 3 +.Sh HISTORY +.Fn zip_get_name +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_num_entries.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_num_entries.3 new file mode 100644 index 000000000..bfc70050f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_num_entries.3 @@ -0,0 +1,82 @@ +.\" zip_get_num_entries.mdoc -- get number of files in archive +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_NUM_ENTRIES 3 +.Os +.Sh NAME +.Nm zip_get_num_entries +.Nd get number of files in archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_get_num_entries "zip_t *archive" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_num_entries +function returns the number of files in +.Ar archive . +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original number of entries is returned. +.Sh RETURN VALUES +.Fn zip_get_num_entries +returns the number of files in the zip archive, +or \-1 if +.Ar archive +is +.Dv NULL . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen_index 3 , +.Xr zip_stat_index 3 +.Sh HISTORY +.Fn zip_get_num_entries +was added in libzip 0.10. +In libzip 0.11 the return type was changed from +.Vt zip_uint64_t +to +.Vt zip_int64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_num_files.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_num_files.3 new file mode 100644 index 000000000..30ebbc38c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_get_num_files.3 @@ -0,0 +1,75 @@ +.\" zip_get_num_files.mdoc -- get number of files in archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_NUM_FILES 3 +.Os +.Sh NAME +.Nm zip_get_num_files +.Nd get number of files in archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_get_num_files "zip_t *archive" +.Sh DESCRIPTION +.Em This function is deprecated . +.Em Use +.Xr zip_get_num_entries 3 +.Em instead . +.Pp +The +.Fn zip_get_num_files +function returns the number of files in +.Ar archive . +.Sh RETURN VALUES +.Fn zip_get_num_files +returns the number of files in the zip archive, +or \-1 if +.Ar archive +is +.Dv NULL . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen_index 3 , +.Xr zip_stat_index 3 +.Sh HISTORY +.Fn zip_get_num_files +was added in libzip 0.6. +It was deprecated in libzip 0.11, use +.Fn zip_get_num_entries instead +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_libzip_version.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_libzip_version.3 new file mode 100644 index 000000000..89737368c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_libzip_version.3 @@ -0,0 +1,66 @@ +.\" zip_libzip_version.mdoc -- return run-time version of library +.\" Copyright (C) 2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_LIBZIP_VERSION 3 +.Os +.Sh NAME +.Nm zip_libzip_version +.Nd return run-time version of library +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_libzip_version void +.Sh DESCRIPTION +.Nm +returns the version number of the library as string in the format +.Dq $MAJOR.$MINOR.$MICRO$SUFFIX +where +.Ar $MAJOR +is the major version, +.Ar $MINOR +the minor, +.Ar $MICRO +the micro, and +.Ar $SUFFIX +a suffix that's only set for development versions. +.Sh SEE ALSO +.Xr libzip 3 +.Sh HISTORY +.Fn zip_libzip_version +was added in libzip 1.3.1. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_name_locate.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_name_locate.3 new file mode 100644 index 000000000..d16402da6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_name_locate.3 @@ -0,0 +1,124 @@ +.\" zip_name_locate.mdoc -- get index of file by name +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_NAME_LOCATE 3 +.Os +.Sh NAME +.Nm zip_name_locate +.Nd get index of file by name +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_name_locate "zip_t *archive" "const char *fname" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_name_locate +function returns the index of the file named +.Ar fname +in +.Ar archive . +If +.Ar archive +does not contain a file with that name, \-1 is returned. +The +.Fa flags +are specified by +.Em or Ns No 'ing +the following values, or 0 for none of them. +.Bl -tag -offset indent -width ZIP_FL_NOCASE +.It Dv ZIP_FL_NOCASE +Ignore case distinctions. +(Will only work well if the file names are ASCII.) +With this flag, +.Fn zip_name_locate +will be slow for archives with many files. +.It Dv ZIP_FL_NODIR +Ignore directory part of file name in archive. +With this flag, +.Fn zip_name_locate +will be slow for archives with many files. +.It Dv ZIP_FL_ENC_RAW +Compare against the unmodified names as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the name in the ZIP archive and convert it +to UTF-8, if necessary, before comparing. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification and expect CP-437 encoded names in +the ZIP archive (except if they are explicitly marked as UTF-8). +Convert it to UTF-8 before comparing. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +.Fn zip_name_locate +returns the index of the file named +.Ar fname +or \-1, if +.Ar archive +does not contain an entry of that name. +.Sh ERRORS +.Fn zip_name_locate +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +One of the arguments is invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOENT +No entry of the name +.Ar fname +is found in the archive. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_name 3 +.Sh HISTORY +.Fn zip_name_locate +was added in libzip 0.6. +In libzip 0.11 the return type was changed from +.Vt int +to +.Vt zip_int64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_open.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_open.3 new file mode 100644 index 000000000..49d036c69 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_open.3 @@ -0,0 +1,170 @@ +.\" zip_open.mdoc -- open zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_OPEN 3 +.Os +.Sh NAME +.Nm zip_open , +.Nm zip_open_from_source +.Nd open zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_t * +.Fn zip_open "const char *path" "int flags" "int *errorp" +.Ft zip_t * +.Fn zip_open_from_source "zip_source_t *zs" "int flags" "zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_open +function opens the zip archive specified by +.Ar path +and returns a pointer to a +.Ft struct zip , +used to manipulate the archive. +The +.Fa flags +are specified by +.Em or Ns No 'ing +the following values, or 0 for none of them. +.Bl -tag -offset indent -width ZIP_CHECKCONS +.It Dv ZIP_CHECKCONS +Perform additional stricter consistency checks on the archive, and +error if they fail. +.It Dv ZIP_CREATE +Create the archive if it does not exist. +.It Dv ZIP_EXCL +Error if archive already exists. +.It Dv ZIP_TRUNCATE +If archive exists, ignore its current contents. +In other words, handle it the same way as an empty archive. +.It Dv ZIP_RDONLY +Open archive in read-only mode. +.El +.Pp +If an error occurs and +.Ar errorp +is +.Pf non- Dv NULL , +it will be set to the corresponding error code. +.Pp +The +.Fn zip_open_from_source +function opens a zip archive encapsulated by the zip_source +.Fa zs +using the provided +.Fa flags . +In case of error, the zip_error +.Fa ze +is filled in. +.Sh RETURN VALUES +Upon successful completion +.Fn zip_open +and +.Fn zip_open_from_source +return a +.Ft struct zip +pointer. +Otherwise, +.Dv NULL +is returned and +.Fn zip_open +sets +.Ar *errorp +to indicate the error, while +.Fn zip_open_from source +sets +.Ar ze +to indicate the error. +.Sh ERRORS +The archive specified by +.Ar path +is opened unless: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +The file specified by +.Ar path +exists and +.Dv ZIP_EXCL +is set. +.It Bq Er ZIP_ER_INCONS +Inconsistencies were found in the file specified by +.Ar path . +This error is often caused by specifying +.Dv ZIP_CHECKCONS +but can also happen without it. +.It Bq Er ZIP_ER_INVAL +The +.Ar path +argument is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOENT +The file specified by +.Ar path +does not exist and +.Dv ZIP_CREATE +is not set. +.It Bq Er ZIP_ER_NOZIP +The file specified by +.Ar path +is not a zip archive. +.It Bq Er ZIP_ER_OPEN +The file specified by +.Ar path +could not be opened. +.It Bq Er ZIP_ER_READ +A read error occurred; see +.Va errno +for details. +.It Bq Er ZIP_ER_SEEK +The file specified by +.Ar path +does not allow seeks. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 , +.Xr zip_error_strerror 3 , +.Xr zip_fdopen 3 +.Sh HISTORY +.Fn zip_open +and +.Fn zip_open_from_source +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_register_progress_callback.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_register_progress_callback.3 new file mode 100644 index 000000000..9fd0cd0d7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_register_progress_callback.3 @@ -0,0 +1,77 @@ +.\" zip_register_progress_callback.mdoc -- provide updates during zip_close +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_REGISTER_PROGRESS_CALLBACK 3 +.Os +.Sh NAME +.Nm zip_register_progress_callback +.Nd provide updates during zip_close (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Vt typedef void (*zip_progress_callback_t)(double); +.Ft void +.Fn zip_register_progress_callback "zip_t *archive" "zip_progress_callback_t progress_callback" +.Sh DESCRIPTION +The function +.Fn zip_register_progress_callback +is the obsolete version of +.Xr zip_register_progress_callback_with_state 3 . +.Pp +The +.Fn zip_register_progress_callback +function registers a callback function +.Ar progress_callback +for the zip archive +.Ar archive . +This function is called during +.Xr zip_close 3 +after every zip archive entry that's completely written to disk. +The value is a +.Vt double +in the range from 0.0 to 1.0. +This can be used to provide progress indicators for user interfaces. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 +.Sh HISTORY +.Fn zip_register_progress_callback +was added in libzip 1.2.0. +It was deprecated in libzip 1.3.0, use +.Fn zip_register_progress_callback_with_state +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_register_progress_callback_with_state.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_register_progress_callback_with_state.3 new file mode 100644 index 000000000..7eea3d669 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_register_progress_callback_with_state.3 @@ -0,0 +1,86 @@ +.\" zip_register_progress_callback_with_state.mdoc -- provide updates during zip_close +.\" Copyright (C) 2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_REGISTER_PROGRESS_CALLBACK_WITH_STATE 3 +.Os +.Sh NAME +.Nm zip_register_progress_callback_with_state +.Nd provide updates during zip_close +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Vt typedef void (*zip_progress_callback)(zip_t *, double, void *); +.Ft void +.Fn zip_register_progress_callback_with_state "zip_t *archive" "double precision" "zip_progress_callback callback" "void (*ud_free)(void *)" "void *ud" +.Sh DESCRIPTION +The +.Fn zip_register_progress_callback_with_state +function registers a callback function +.Ar callback +for the zip archive +.Ar archive . +The +.Ar precision +argument is a double in the range from 0.00 to 1.0 that defines the +smallest change for which the callback should be called (to avoid too +frequent calls). +The +.Ar ud_free +function is called during cleanup for deleting the userdata supplied in +.Ar ud . +.Pp +The callback function is called during +.Xr zip_close 3 +in regular intervals (after every zip archive entry that's completely +written to disk, and while writing data for entries) with zip archive +.Ar archive , +the current progression state as a +.Vt double , +and the user-provided user-data +.Ar ud +as arguments. +The progression state is a +.Vt double +in the range from 0.0 to 1.0. +This can be used to provide progress indicators for user interfaces. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 +.Sh HISTORY +.Fn zip_register_progress_callback_with_state +was added in libzip 1.3.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_rename.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_rename.3 new file mode 100644 index 000000000..ce3a748cf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_rename.3 @@ -0,0 +1,70 @@ +.\" zip_rename.mdoc -- rename file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_RENAME 3 +.Os +.Sh NAME +.Nm zip_rename +.Nd rename file in zip archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_rename "zip_t *archive" "zip_uint64_t index" "const char *name" +.Sh DESCRIPTION +.Fn zip_rename +is the obsolete version of +.Xr zip_file_rename 3 . +It is the same as calling +.Xr zip_file_rename 3 +with an empty flags argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_rename 3 +.Sh HISTORY +.Fn zip_rename +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_rename +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_archive_comment.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_archive_comment.3 new file mode 100644 index 000000000..3d90b0b0e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_archive_comment.3 @@ -0,0 +1,93 @@ +.\" zip_set_archive_comment.mdoc -- set zip archive comment +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_ARCHIVE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_set_archive_comment +.Nd set zip archive comment +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_archive_comment "zip_t *archive" "const char *comment" "zip_uint16_t len" +.Sh DESCRIPTION +The +.Fn zip_set_archive_comment +function sets the comment for the entire zip archive. +If +.Ar comment +is +.Dv NULL +and +.Ar len +is 0, the archive comment will be removed. +.Ar comment +must be encoded in ASCII or UTF-8. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_set_archive_comment +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar len +is less than 0 or longer than the maximum comment length in a zip file +(65535), or +.Ar comment +is not a valid UTF-8 encoded string. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 , +.Xr zip_file_set_comment 3 , +.Xr zip_get_archive_comment 3 +.Sh HISTORY +.Fn zip_set_archive_comment +was added in libzip 0.7. +In libzip 0.11 the type of +.Ar len +was changed from +.Vt int +to +.Vt zip_uint16_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_archive_flag.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_archive_flag.3 new file mode 100644 index 000000000..116a340ff --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_archive_flag.3 @@ -0,0 +1,74 @@ +.\" zip_set_archive_flag.mdoc -- set zip archive flag +.\" Copyright (C) 2008-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_ARCHIVE_FLAG 3 +.Os +.Sh NAME +.Nm zip_set_archive_flag +.Nd set zip archive flag +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_archive_flag "zip_t *archive" "zip_flags_t flag" "int value" +.Sh DESCRIPTION +The +.Fn zip_set_archive_flag +function sets the flag +.Ar flag +for the archive +.Ar archive +to the value +.Ar value . +.Pp +Currently there are no supported flags. +.Sh RETURN VALUES +Upon successful completion 0 is returned, and \-1 if an error +occurred. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_archive_flag 3 +.Sh HISTORY +.Fn zip_set_archive_flag +was added in libzip 0.9. +In libzip 0.11 the type of +.Ar flag +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_default_password.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_default_password.3 new file mode 100644 index 000000000..792176c7d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_default_password.3 @@ -0,0 +1,83 @@ +.\" zip_set_default_password.mdoc -- set default password for zip +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_DEFAULT_PASSWORD 3 +.Os +.Sh NAME +.Nm zip_set_default_password +.Nd set default password for encrypted files in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_default_password "zip_t *archive" "const char *password" +.Sh DESCRIPTION +The +.Fn zip_set_default_password +function sets the default password used when accessing encrypted files. +If +.Ar password +is +.Dv NULL , +the default password is unset. +.Pp +If you prefer a different password for single files, use +.Xr zip_fopen_encrypted 3 +instead of +.Xr zip_fopen 3 . +Usually, however, the same password is used for every file in an +zip archive. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_set_default_password +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen 3 , +.Xr zip_fopen_encrypted 3 +.Sh HISTORY +.Fn zip_set_default_password +was added in libzip 0.10. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_file_comment.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_file_comment.3 new file mode 100644 index 000000000..f6e2b378a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_file_comment.3 @@ -0,0 +1,79 @@ +.\" zip_set_file_comment.mdoc -- set comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_FILE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_set_file_comment +.Nd set comment for file in zip (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_file_comment "zip_t *archive" "zip_uint64_t index" "const char *comment" "int len" +.Sh DESCRIPTION +The +.Fn zip_set_file_comment +function is the obsolete version of +.Xr zip_file_set_comment 3 . +The only differences are the type of the +.Ar len +argument and the additional +.Ar flags +argument. +.Fn zip_set_file_comment +is the same as calling +.Xr zip_file_set_comment 3 +with an empty +.Ar flags +argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_set_comment 3 +.Sh HISTORY +.Fn zip_set_file_comment +was added in libzip 0.7. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_set_comment +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_file_compression.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_file_compression.3 new file mode 100644 index 000000000..3d3b5f488 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_set_file_compression.3 @@ -0,0 +1,123 @@ +.\" zip_set_file_compression.mdoc -- set compression method and its flags +.\" Copyright (C) 2012-2019 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_FILE_COMPRESSION 3 +.Os +.Sh NAME +.Nm zip_set_file_compression +.Nd set compression method for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_file_compression "zip_t *archive" "zip_uint64_t index" "zip_int32_t comp" "zip_uint32_t comp_flags" +.Sh DESCRIPTION +The +.Fn zip_set_file_compression +function sets the compression method for the file at position +.Ar index +in the zip archive to +.Ar comp +with the compression method specific +.Ar comp_flags . +The +.Ar comp +is the same as returned by +.Xr zip_stat 3 . +For the +.Ar comp +argument, currently only the following values are supported: +.Bl -tag -width ZIP_CM_DEFLATE_XX +.It Dv ZIP_CM_DEFAULT +default compression; currently the same as +.Dv ZIP_CM_DEFLATE , +but +.Ar flags +are ignored. +.It Dv ZIP_CM_STORE +Store the file uncompressed. +.It Dv ZIP_CM_BZIP2 +Compress the file using the +.Xr bzip2 1 +algorithm. +.It Dv ZIP_CM_DEFLATE +Deflate the file with the +.Xr zlib 3 +algorithm and default options. +.El +.Pp +.Em NOTE : +Only the deflate and store methods can be assumed to be universally +supported. +.Pp +The +.Ar comp_flags +argument defines the compression level, 1 being fastest compression +and 9 highest. +Allowed values are 0 (which uses the default compression for the +algorithm) and 1-9, other values are undefined. +Further compression method specific flags might be added over time. +.Pp +The current compression method for a file in a zip archive can be +determined using +.Xr zip_stat 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_set_file_compression +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_COMPNOTSUPP +Unsupported compression method requested. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or the argument combination is invalid. +.It Bq Er ZIP_ER_RDONLY +Read-only zip file, no changes allowed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_set_file_compression +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source.3 new file mode 100644 index 000000000..0795bd846 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source.3 @@ -0,0 +1,88 @@ +.\" zip_source.mdoc -- description of zip data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE 3 +.Os +.Sh NAME +.Nm zip_source +.Nd zip data source structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Vt zip_source_t *zs ; +.Sh DESCRIPTION +A +.Vt struct zip_source +is a data source used by +.Xr libzip 3 +for adding or replacing file contents for a file in a zip archive. +If the source supports seeking, it can also be used to open zip archives from. +It is created by calling one of +.Xr zip_source_buffer 3 , +.Xr zip_source_buffer_create 3 , +.Xr zip_source_file 3 , +.Xr zip_source_file_create 3 , +.Xr zip_source_filep 3 , +.Xr zip_source_filep_create 3 , +.Xr zip_source_function 3 , +.Xr zip_source_function_create 3 , +or +.Xr zip_source_zip 3 . +.Vt zip_source_t +is reference counted, and created with a reference count of 1. +.Xr zip_open_from_source 3 , +.Xr zip_file_add 3 , +and +.Xr zip_file_replace 3 +will decrement the reference count of the +.Vt zip_source_t +when they are done using it, so +.Xr zip_source_free 3 +only needs to be called when these functions return an error. +Use +.Xr zip_source_keep 3 +to increase the reference count, for example if you need the source after +.Xr zip_close 3 . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_buffer 3 , +.Xr zip_source_file 3 , +.Xr zip_source_filep 3 , +.Xr zip_source_free 3 , +.Xr zip_source_function 3 , +.Xr zip_source_zip 3 +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_begin_write.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_begin_write.3 new file mode 100644 index 000000000..bef77e262 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_begin_write.3 @@ -0,0 +1,89 @@ +.\" zip_source_begin_write.mdoc -- prepare zip source for writing +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_BEGIN_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_begin_write , +.Nm zip_source_begin_write_cloning +.Nd prepare zip source for writing +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_begin_write "zip_source_t *source" +.Ft int +.Fn zip_source_begin_write_cloning "zip_source_t *source" "zip_uint64_t offset" +.Sh DESCRIPTION +The functions +.Fn zip_source_begin_write +and +.Fn zip_source_begin_write_cloning +prepare +.Fa source +for writing. +Usually this involves creating temporary files or allocating buffers. +.Pp +.Fn zip_source_begin_write_cloning +preserves the first +.Ar offset +bytes of the original file. +This is done efficiently, and writes to +.Ar source +won't overwrite the original data until +.Fn zip_commit_write +is called. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_begin_write +was added in libzip 1.0. +.Pp +.Fn zip_source_begin_write_cloning +was added in libzip 1.4.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_buffer.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_buffer.3 new file mode 100644 index 000000000..a08927e40 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_buffer.3 @@ -0,0 +1,102 @@ +.\" zip_source_buffer.mdoc -- create zip data source from buffer +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_BUFFER 3 +.Os +.Sh NAME +.Nm zip_source_buffer , +.Nm zip_source_buffer_create +.Nd create zip data source from buffer +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_buffer "zip_t *archive" "const void *data" "zip_uint64_t len" "int freep" +.Ft zip_source_t * +.Fn zip_source_buffer_create "const void *data" "zip_uint64_t len" "int freep" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +create a zip source from the buffer +.Ar data +of size +.Ar len . +If +.Ar freep +is non-zero, the buffer will be freed when it is no longer needed. +.Ar data +must remain valid for the lifetime of the created source. +.Pp +The source can be used to open a zip archive from. +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar len +is greater than zero and +.Ar data +is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_open_from_source 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_buffer_fragment.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_buffer_fragment.3 new file mode 100644 index 000000000..e39eba05e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_buffer_fragment.3 @@ -0,0 +1,112 @@ +.\" zip_source_buffer_fragment.mdoc -- create zip data source from multiple buffers +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_BUFFER_FRAGMENT 3 +.Os +.Sh NAME +.Nm zip_source_buffer_fragment , +.Nm zip_source_buffer_fragment_create +.Nd create zip data source from multiple buffer +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_buffer_fragment "zip_t *archive" "zip_buffer_fragment_t *fragments" "zip_uint64_t nfragments" "int freep" +.Ft zip_source_t * +.Fn zip_source_buffer_fragment_create "zip_buffer_fragment_t *fragments" "zip_uint64_t nfragments" "int freep" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_buffer_fragment +and +.Fn zip_source_buffer_fragment_create +create a zip source from the data in +.Ar fragments . +.Ar nfragments +specifies the number of fragments. +If +.Ar freep +is non-zero, the data will be freed when it is no longer needed. +.Bd -literal +struct zip_stat { + zip_uint8_t *data; /* pointer to the actual data */ + zip_uint64_t length; /* length of this fragment */ +}; +.Ed +.Pp +The data +.Ar fragments +point to must remain valid for the lifetime of the created source. +.Ar fragments +itself can be discarded once the source is created. +.Pp +The source can be used to open a zip archive from. +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar nfragments +is greater than zero and +.Ar fragments +is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_open_from_source 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_buffer_fragment +and +.Fn zip_source_buffer_fragment_create +were added in libzip 1.4.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_close.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_close.3 new file mode 100644 index 000000000..4220861dd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_close.3 @@ -0,0 +1,67 @@ +.\" zip_source_close.mdoc -- close zip source (open for reading) +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_CLOSE 3 +.Os +.Sh NAME +.Nm zip_source_close +.Nd open zip_source (which was open for reading) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_close "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_close +closes +.Fa source , +indicating that no more data will be read. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_free 3 , +.Xr zip_source_open 3 +.Sh HISTORY +.Fn zip_source_close +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_commit_write.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_commit_write.3 new file mode 100644 index 000000000..69c4f1b35 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_commit_write.3 @@ -0,0 +1,70 @@ +.\" zip_source_commit_write.mdoc -- finalize changes to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_COMMIT_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_commit_write +.Nd finalize changes to zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_commit_write "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_commit_write +finishes writing data to +.Fa source +and replaces the original with the newly written data. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_commit_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_error.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_error.3 new file mode 100644 index 000000000..af098d1bc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_error.3 @@ -0,0 +1,60 @@ +.\" zip_source_error.mdoc -- get zip_error for data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_ERROR 3 +.Os +.Sh NAME +.Nm zip_source_error +.Nd get zip error for data source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_error_t * +.Fn zip_source_error "zip_source_t *source" +.Sh DESCRIPTION +The +.Fn zip_source_error +function returns the zip error for the data source +.Ar source . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 +.Sh HISTORY +.Fn zip_source_error +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_file.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_file.3 new file mode 100644 index 000000000..90304dd25 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_file.3 @@ -0,0 +1,114 @@ +.\" zip_source_file.mdoc -- create data source from a file +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FILE 3 +.Os +.Sh NAME +.Nm zip_source_file , +.Nm zip_source_file_create +.Nd create data source from a file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_file "zip_t *archive" "const char *fname" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_file_create "const char *fname" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_file +and +.Fn zip_source_file_create +create a zip source from a file. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_file +and +.Fn zip_source_file_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_file +and +.Fn zip_source_file_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_filep.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_filep.3 new file mode 100644 index 000000000..848ba7625 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_filep.3 @@ -0,0 +1,107 @@ +.\" zip_source_filep.mdoc -- create data source from a file stream +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FILEP 3 +.Os +.Sh NAME +.Nm zip_source_filep , +.Nm zip_source_filep_create +.Nd create data source from FILE * +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_filep "zip_t *archive" "FILE *file" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_filep_create "FILE *file" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_filep +and +.Fn zip_source_filep_create +create a zip source from a file stream. +They read +.Ar len +bytes from offset +.Ar start +from the open file stream +.Ar file . +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file stream supports seeking, the source can be used to open +a read-only zip archive from. +.Pp +The file stream is closed when the source is being freed, usually +by +.Xr zip_close 3 . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_filep +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar file , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_filep +and +.Fn zip_source_filep_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_free.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_free.3 new file mode 100644 index 000000000..816f7a1e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_free.3 @@ -0,0 +1,76 @@ +.\" zip_source_free.mdoc -- free zip data source +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FREE 3 +.Os +.Sh NAME +.Nm zip_source_free +.Nd free zip data source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_source_free "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_free +decrements the reference count of +.Ar source +and frees it if the reference count drops to 0. +If +.Ar source +is +.Dv NULL , +it does nothing. +.Pp +.Em NOTE : +This function should not be called on a +.Ar source +after it was used successfully in a +.Xr zip_open_from_source 3 , +.Xr zip_file_add 3 , +or +.Xr zip_file_replace 3 +call. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_keep 3 +.Sh HISTORY +.Fn zip_source_free +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_function.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_function.3 new file mode 100644 index 000000000..a433b3782 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_function.3 @@ -0,0 +1,335 @@ +.\" zip_source_function.mdoc -- create data source from function +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FUNCTION 3 +.Os +.Sh NAME +.Nm zip_source_function , +.Nm zip_source_function_create +.Nd create data source from function +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_function "zip_t *archive" "zip_source_callback fn" "void *userdata" +.Ft zip_source_t * +.Fn zip_source_function_create "zip_source_callback fn" "void *userdata" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_function +and +.Fn zip_source_function_create +creates a zip source from the user-provided function +.Ar fn , +which must be of the following type: +.Pp +.Ft typedef zip_int64_t +.Fo \fR(*\fPzip_source_callback\fR)\fP +.Fa "void *userdata" "void *data" "zip_uint64_t len" "zip_source_cmd_t cmd" +.Fc +.Pp +.Ar archive +or +.Ar error +are used for reporting errors and can be +.Dv NULL . +.Pp +When called by the library, the first argument is the +.Ar userdata +argument supplied to the function. +The next two arguments are a buffer +.Ar data +of size +.Ar len +when data is passed in or expected to be returned, or else +.Dv NULL +and 0. +The last argument, +.Ar cmd , +specifies which action the function should perform. +.Pp +Depending on the uses, there are three useful sets of commands to be supported by a +.Fn zip_source_callback : +.Bl -tag -width seekable-read-sourceXX +.It read source +Providing streamed data (for file data added to archives). +Must support +.Dv ZIP_SOURCE_OPEN , +.Dv ZIP_SOURCE_READ , +.Dv ZIP_SOURCE_CLOSE , +.Dv ZIP_SOURCE_STAT , +and +.Dv ZIP_SOURCE_ERROR . +.It seekable read source +Same as previous, but from a source allowing reading from arbitrary +offsets (also for read-only zip archive). +Must additionally support +.Dv ZIP_SOURCE_SEEK , +.Dv ZIP_SOURCE_TELL , +and +.Dv ZIP_SOURCE_SUPPORTS . +.It read/write source +Same as previous, but additionally allowing writing (also for writable +zip archives). +Must additionally support +.Dv ZIP_SOURCE_BEGIN_WRITE , +.Dv ZIP_SOURCE_COMMIT_WRITE , +.Dv ZIP_SOURCE_ROLLBACK_WRITE , +.Dv ZIP_SOURCE_SEEK_WRITE , +.Dv ZIP_SOURCE_TELL_WRITE , +and +.Dv ZIP_SOURCE_REMOVE . +.El +.Ss Dv ZIP_SOURCE_BEGIN_WRITE +Prepare the source for writing. +Use this to create any temporary file(s). +.Ss Dv ZIP_SOURCE_BEGIN_WRITE_CLONING +Prepare the source for writing, keeping the first +.Ar len +bytes of the original file. +Only implement this command if it is more efficient than copying the +data, and if it does not destructively overwrite the original file +(you still have to be able to execute +.Dv ZIP_SOURCE_ROLLBACK_WRITE ) . +.Pp +The next write should happen at byte +.Ar offset . +.Ss Dv ZIP_SOURCE_CLOSE +Reading is done. +.Ss Dv ZIP_SOURCE_COMMIT_WRITE +Finish writing to the source. +Replace the original data with the newly written data. +Clean up temporary files or internal buffers. +Subsequently opening and reading from the source should return the +newly written data. +.Ss Dv ZIP_SOURCE_ERROR +Get error information. +.Ar data +points to an array of two ints, which should be filled with the libzip +error code and the corresponding system error code for the error that +occurred. +See +.Xr zip_errors 3 +for details on the error codes. +If the source stores error information in a zip_error_t, use +.Xr zip_error_to_data 3 +and return its return value. +Otherwise, return 2 * sizeof(int). +.Ss Dv ZIP_SOURCE_FREE +Clean up and free all resources, including +.Ar userdata . +The callback function will not be called again. +.Ss Dv ZIP_SOURCE_OPEN +Prepare for reading. +.Ss Dv ZIP_SOURCE_READ +Read data into the buffer +.Ar data +of size +.Ar len . +Return the number of bytes placed into +.Ar data +on success, and zero for end-of-file. +.Ss Dv ZIP_SOURCE_REMOVE +Remove the underlying file. +This is called if a zip archive is empty when closed. +.Ss Dv ZIP_SOURCE_ROLLBACK_WRITE +Abort writing to the source. +Discard written data. +Clean up temporary files or internal buffers. +Subsequently opening and reading from the source should return the +original data. +.Ss Dv ZIP_SOURCE_SEEK +Specify position to read next byte from, like +.Xr fseek 3 . +Use +.Xr ZIP_SOURCE_GET_ARGS 3 +to decode the arguments into the following struct: +.Bd -literal +struct zip_source_args_seek { + zip_int64_t offset; + int whence; +}; +.Ed +.Pp +If the size of the source's data is known, use +.Xr zip_source_seek_compute_offset 3 +to validate the arguments and compute the new offset. +.Ss Dv ZIP_SOURCE_SEEK_WRITE +Specify position to write next byte to, like +.Xr fseek 3 . +See +.Dv ZIP_SOURCE_SEEK +for details. +.Ss Dv ZIP_SOURCE_STAT +Get meta information for the input data. +.Ar data +points to an allocated +.Vt struct zip_stat , +which should be initialized using +.Xr zip_stat_init 3 +and then filled in. +.Pp +For uncompressed, unencrypted data, all information is optional. +However, fill in as much information as is readily available. +.Pp +If the data is compressed, +.Dv ZIP_STAT_COMP_METHOD , +.Dv ZIP_STAT_SIZE , +and +.Dv ZIP_STAT_CRC +must be filled in. +.Pp +If the data is encrypted, +.Dv ZIP_STAT_ENCRYPTION_METHOD , +.Dv ZIP_STAT_COMP_METHOD , +.Dv ZIP_STAT_SIZE , +and +.Dv ZIP_STAT_CRC +must be filled in. +.Pp +Information only available after the source has been read (e.g., size) +can be omitted in an earlier call. +.Em NOTE : +.Fn zip_source_function +may be called with this argument even after being called with +.Dv ZIP_SOURCE_CLOSE . +.Pp +Return sizeof(struct zip_stat) on success. +.Ss Dv ZIP_SOURCE_SUPPORTS +Return bitmap specifying which commands are supported. +Use +.Xr zip_source_make_command_bitmap 3 . +If this command is not implemented, the source is assumed to be a +read source without seek support. +.Ss Dv ZIP_SOURCE_TELL +Return the current read offset in the source, like +.Xr ftell 3 . +.Ss Dv ZIP_SOURCE_TELL_WRITE +Return the current write offset in the source, like +.Xr ftell 3 . +.Ss Dv ZIP_SOURCE_WRITE +Write data to the source. +Return number of bytes written. +.Ss Return Values +Commands should return \-1 on error. +.Dv ZIP_SOURCE_ERROR +will be called to retrieve the error code. +On success, commands return 0, unless specified otherwise in the +description above. +.Ss Calling Conventions +The library will always issue +.Dv ZIP_SOURCE_OPEN +before issuing +.Dv ZIP_SOURCE_READ , +.Dv ZIP_SOURCE_SEEK , +or +.Dv ZIP_SOURCE_TELL . +When it no longer wishes to read from this source, it will issue +.Dv ZIP_SOURCE_CLOSE . +If the library wishes to read the data again, it will issue +.Dv ZIP_SOURCE_OPEN +a second time. +If the function is unable to provide the data again, it should +return \-1. +.Pp +.Dv ZIP_SOURCE_BEGIN_WRITE +or +.Dv ZIP_SOURCE_BEGIN_WRITE_CLONING +will be called before +.Dv ZIP_SOURCE_WRITE , +.Dv ZIP_SOURCE_SEEK_WRITE , +or +.Dv ZIP_SOURCE_TELL_WRITE . +When writing is complete, either +.Dv ZIP_SOURCE_COMMIT_WRITE +or +.Dv ZIP_SOURCE_ROLLBACK_WRITE +will be called. +.Pp +.Dv ZIP_SOURCE_STAT +can be issued at any time. +.Pp +.Dv ZIP_SOURCE_ERROR +will only be issued in response to the function +returning \-1. +.Pp +.Dv ZIP_SOURCE_FREE +will be the last command issued; +if +.Dv ZIP_SOURCE_OPEN +was called and succeeded, +.Dv ZIP_SOURCE_CLOSE +will be called before +.Dv ZIP_SOURCE_FREE , +and similarly for +.Dv ZIP_SOURCE_BEGIN_WRITE +or +.Dv ZIP_SOURCE_BEGIN_WRITE_CLONING +and +.Dv ZIP_SOURCE_COMMIT_WRITE +or +.Dv ZIP_SOURCE_ROLLBACK_WRITE . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error (unless +it is +.Dv NULL ) . +.Sh ERRORS +.Fn zip_source_function +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_stat_init 3 +.Sh HISTORY +.Fn zip_source_function +and +.Fn zip_source_function_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_is_deleted.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_is_deleted.3 new file mode 100644 index 000000000..9903058f7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_is_deleted.3 @@ -0,0 +1,62 @@ +.\" zip_source_is_deleted.mdoc -- check if zip source is deleted +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_IS_DELETED 3 +.Os +.Sh NAME +.Nm zip_source_is_deleted +.Nd check if zip_source is deleted +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_is_deleted "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_is_deleted +returns whether the zip_source was deleted. +This can for example happen when all entries are removed from a zip archive. +.Sh RETURN VALUES +.Fn zip_source_is_deleted +returns 1 if the zip_source is deleted and 0 otherwise. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_is_deleted +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_keep.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_keep.3 new file mode 100644 index 000000000..122c4f84a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_keep.3 @@ -0,0 +1,60 @@ +.\" zip_source_keep.mdoc -- increment reference count of zip data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_KEEP 3 +.Os +.Sh NAME +.Nm zip_source_keep +.Nd increment reference count of zip data source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_source_keep "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_keep +increments the reference count of +.Ar source . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_free 3 +.Sh HISTORY +.Fn zip_source_keep +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_make_command_bitmap.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_make_command_bitmap.3 new file mode 100644 index 000000000..28d296f2f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_make_command_bitmap.3 @@ -0,0 +1,62 @@ +.\" zip_source_make_command_bitmap -- create bitmap of supported source operations +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_MAKE_COMMAND_BITMAP 3 +.Os +.Sh NAME +.Nm zip_source_make_command_bitmap +.Nd create bitmap of supported source operations +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_make_command_bitmap "zip_source_cmd_t command" "..." +.Sh DESCRIPTION +The +.Fn zip_source_make_command_bitmap +function returns a bitmap of source commands suitable as return value +for +.Dv ZIP_SOURCE_SUPPORTS . +It includes all the commands from the argument list, which must be +terminated by \-1. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_function 3 +.Sh HISTORY +.Fn zip_source_make_command_bitmap +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_open.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_open.3 new file mode 100644 index 000000000..00371f64f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_open.3 @@ -0,0 +1,70 @@ +.\" zip_source_open.mdoc -- open zip source for reading +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_OPEN 3 +.Os +.Sh NAME +.Nm zip_source_open +.Nd open zip_source for reading +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_open "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_open +opens +.Fa source +for reading. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_close 3 , +.Xr zip_source_read 3 , +.Xr zip_source_seek 3 , +.Xr zip_source_tell 3 +.Sh HISTORY +.Fn zip_source_open +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_read.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_read.3 new file mode 100644 index 000000000..1e7bc02d0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_read.3 @@ -0,0 +1,78 @@ +.\" zip_source_read.mdoc -- read data from zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_READ 3 +.Os +.Sh NAME +.Nm zip_source_read +.Nd read data from zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_read "zip_source_t *source" "void *data" "zip_uint64_t len" +.Sh DESCRIPTION +The function +.Fn zip_source_read +reads up to +.Ar len +bytes of data from +.Ar source +at the current read offset into the buffer +.Ar data . +.Pp +The zip source +.Ar source +has to be opened for reading by calling +.Xr zip_source_open 3 +first. +.Sh RETURN VALUES +Upon successful completion the number of bytes read is returned. +Upon reading end-of-file, zero is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_seek 3 , +.Xr zip_source_tell 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_read +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_rollback_write.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_rollback_write.3 new file mode 100644 index 000000000..50a2a603b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_rollback_write.3 @@ -0,0 +1,73 @@ +.\" zip_source_rollback_write.mdoc -- undo changes to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_ROLLBACK_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_rollback_write +.Nd undo changes to zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_source_rollback_write "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_rollback_write +reverts changes written to +.Fa source , +restoring the data before +.Xr zip_source_begin_write 3 +was called. +Usually this removes temporary files or frees buffers. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_rollback_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek.3 new file mode 100644 index 000000000..6518ba700 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek.3 @@ -0,0 +1,81 @@ +.\" zip_source_seek.mdoc -- set read offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_SEEK 3 +.Os +.Sh NAME +.Nm zip_source_seek +.Nd set read offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_seek "zip_source_t *source" "zip_int64_t offset" "int whence" +.Sh DESCRIPTION +The function +.Fn zip_source_seek +sets the current read offset for +.Fa source . +Just like in +.Xr fseek 3 , +depending on the +.Ar whence +argument, the +.Ar offset +is counted relative from: +.Bl -tag -width SEEK_CURXX -offset indent +.It Dv SEEK_SET +start of file +.It Dv SEEK_CUR +current read offset in file +.It Dv SEEK_END +end of file +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_read 3 , +.Xr zip_source_tell 3 +.Sh HISTORY +.Fn zip_source_seek +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek_compute_offset.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek_compute_offset.3 new file mode 100644 index 000000000..bcf159a83 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek_compute_offset.3 @@ -0,0 +1,81 @@ +.\" zip_source_seek_compute_offset.mdoc - validate arguments and compute offset +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_SEEK_COMPUTE_OFFSET 3 +.Os +.Sh NAME +.Nm zip_source_seek_compute_offset +.Nd validate arguments and compute offset +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_seek_compute_offset "zip_uint64_t offset" "zip_uint64_t length" "void *data" "zip_uint64_t data_length" "zip_error_t *error" +.Sh DESCRIPTION +Use this function to compute the offset for a +.Dv ZIP_SOURCE_SEEK +or +.Dv ZIP_SOURCE_SEEK_WRITE +command. +.Ar data +and +.Ar data_length +are the arguments to the source callback, +.Ar offset +is the current offset and +.Ar length +is the length of the source data or, for +.Dv ZIP_SOURCE_SEEK_WRITE , +the amount of data written. +.Sh RETURN VALUES +On success, it returns the new offset, on error it returns \-1 and +sets +.Ar error . +.Sh ERRORS +.Fn zip_source_seek_compute_offset +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +One of the arguments is invalid or the seek would place the offset +outside the data. +.El +.Sh SEE ALSO +.Xr zip_source_function 3 +.Sh HISTORY +.Fn zip_source_seek_compute_offset +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek_write.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek_write.3 new file mode 100644 index 000000000..fac015939 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_seek_write.3 @@ -0,0 +1,84 @@ +.\" zip_source_seek_write.mdoc -- set write offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_SEEK_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_seek_write +.Nd set write offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_seek_write "zip_source_t *source" "zip_int64_t offset" "int whence" +.Sh DESCRIPTION +The function +.Fn zip_source_seek_write +sets the current write offset for +.Fa source . +Just like in +.Xr fseek 3 , +depending on the +.Ar whence +argument, the +.Ar offset +is counted relative from: +.Bl -tag -width SEEK_CURXX -offset indent +.It Dv SEEK_SET +start of file +.It Dv SEEK_CUR +current write offset in file +.It Dv SEEK_END +end of file +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_seek_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_stat.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_stat.3 new file mode 100644 index 000000000..69f451673 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_stat.3 @@ -0,0 +1,125 @@ +.\" zip_source_stat.mdoc -- get information about zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_STAT 3 +.Os +.Sh NAME +.Nm zip_source_stat +.Nd get information about zip_source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_stat "zip_source_t *source" "zip_stat_t *sb" +.Sh DESCRIPTION +The +.Fn zip_source_stat +function obtains information about the zip source +.Ar source +.Pp +The +.Ar sb +argument is a pointer to a +.Ft struct zip_source_stat +(shown below), into which information about the zip source is placed. +.Bd -literal +struct zip_source_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char *name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; +.Ed +The structure pointed to by +.Ar sb +must be initialized with +.Fn zip_stat_init 3 +before calling +.Fn zip_source_stat . +.Pp +The +.Ar valid +field of the structure specifies which other fields are valid. +Check if the flag defined by the following defines are in +.Ar valid +before accessing the fields: +.Bl -tag -width ZIP_SOURCE_STAT_ENCRYPTION_METHODXX -compact -offset indent +.It Dv ZIP_SOURCE_STAT_NAME +.Ar name +.It Dv ZIP_SOURCE_STAT_INDEX +.Ar index +.It Dv ZIP_SOURCE_STAT_SIZE +.Ar size +.It Dv ZIP_SOURCE_STAT_COMP_SIZE +.Ar comp_size +.It Dv ZIP_SOURCE_STAT_MTIME +.Ar mtime +.It Dv ZIP_SOURCE_STAT_CRC +.Ar crc +.It Dv ZIP_SOURCE_STAT_COMP_METHOD +.Ar comp_method +.It Dv ZIP_SOURCE_STAT_ENCRYPTION_METHOD +.Ar encryption_method +.It Dv ZIP_SOURCE_STAT_FLAGS +.Ar flags +.El +.Pp +.Em NOTE : +Some fields may only be filled out after all data has been read from +the source, for example the +.Ar crc +or +.Ar size +fields. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_stat +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_tell.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_tell.3 new file mode 100644 index 000000000..e8249184b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_tell.3 @@ -0,0 +1,74 @@ +.\" zip_source_tell.mdoc -- report current read offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_TELL 3 +.Os +.Sh NAME +.Nm zip_source_tell +.Nd report current read offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_tell "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_tell +returns the current read offset +for +.Fa source . +The return value can be passed to +.Xr zip_source_seek 3 +with +.Ar whence +set to +.Dv SEEK_SET +to return to the same location in the source. +.Sh RETURN VALUES +Upon successful completion the current read offset is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_read 3 , +.Xr zip_source_tell_write 3 +.Sh HISTORY +.Fn zip_source_tell +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_tell_write.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_tell_write.3 new file mode 100644 index 000000000..00fc3b1c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_tell_write.3 @@ -0,0 +1,77 @@ +.\" zip_source_tell_write.mdoc -- report current write offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_TELL_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_tell_write +.Nd report current write offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_tell_write "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_tell_write +returns the current write offset +for +.Fa source . +The return value can be passed to +.Xr zip_source_seek_write 3 +with +.Ar whence +set to +.Dv SEEK_SET +to return to the same location in the source. +.Sh RETURN VALUES +Upon successful completion the current write offset is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_tell 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_tell_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32a.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32a.3 new file mode 100644 index 000000000..9b6d762e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32a.3 @@ -0,0 +1,116 @@ +.\" zip_source_win32a.mdoc -- create data source using a win32 ANSI name +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_WIN32A 3 +.Os +.Sh NAME +.Nm zip_source_win32a , +.Nm zip_source_win32a_create +.Nd create data source from a Windows ANSI file name +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_win32a "zip_t *archive" "const char *fname" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_win32a_create "const char *fname" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_win32a +and +.Fn zip_source_win32a_create +create a zip source on Windows using a Windows ANSI name. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_win32a +and +.Fn zip_source_win32a_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_source_win32handle 3 , +.Xr zip_source_win32w 3 +.Sh HISTORY +.Fn zip_source_win32a +and +.Fn zip_source_win32a_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32handle.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32handle.3 new file mode 100644 index 000000000..920fcb5cd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32handle.3 @@ -0,0 +1,116 @@ +.\" zip_source_handle.mdoc -- create data source from a Windows file handle +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_WIN32HANDLE 3 +.Os +.Sh NAME +.Nm zip_source_win32handle , +.Nm zip_source_win32handle_create +.Nd create data source from a Windows file handle +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_win32handle "zip_t *archive" "HANDLE h" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_win32handle_create "HANDLE h" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_win32handle +and +.Fn zip_source_win32handle_create +create a zip source from a Windows file handle. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_w32handle +and +.Fn zip_source_w32handle_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_source_win32a 3 , +.Xr zip_source_win32w 3 +.Sh HISTORY +.Fn zip_source_win32handle +and +.Fn zip_source_win32handle_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32w.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32w.3 new file mode 100644 index 000000000..75d30f430 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_win32w.3 @@ -0,0 +1,114 @@ +.\" zip_source_win32w.mdoc -- create data source using a win32 Unicode name +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd June 22, 2018 +.Dt ZIP_SOURCE_WIN32W 3 +.Os +.Sh NAME +.Nm zip_source_win32w , +.Nm zip_source_win32w_create +.Nd create data source from a Windows Unicode file name +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_win32w "zip_t *archive" "const wchar_t *fname" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_win32w_create "const wchar_t *fname" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_win32w +and +.Fn zip_source_win32w_create +create a zip source on Windows using a Windows Unicode name. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_win32w +and +.Fn zip_source_win32w_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_source_win32a 3 , +.Xr zip_source_win32handle 3 +.Sh HISTORY +.Fn zip_source_win32w +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_write.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_write.3 new file mode 100644 index 000000000..00836b034 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_write.3 @@ -0,0 +1,80 @@ +.\" zip_source_write.mdoc -- write data to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_write +.Nd write data to zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_write "zip_source_t *source" "const void *data" "zip_uint64_t len" +.Sh DESCRIPTION +The function +.Fn zip_source_write +writes +.Ar len +bytes from the buffer +.Ar data +to the zip source +.Ar source +at the current write offset. +.Pp +The zip source +.Ar source +has to be prepared for writing by calling +.Xr zip_source_begin_write 3 +first. +.Sh RETURN VALUES +Upon successful completion the number of bytes written is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 +.Sh HISTORY +.Fn zip_source_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_zip.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_zip.3 new file mode 100644 index 000000000..4da7da4d5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_source_zip.3 @@ -0,0 +1,120 @@ +.\" zip_source_zip.mdoc -- create data source from zip file +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_ZIP 3 +.Os +.Sh NAME +.Nm zip_source_zip +.Nd create data source from zip file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_zip "zip_t *archive" "zip_t *srcarchive" "zip_uint64_t srcidx" "zip_flags_t flags" "zip_uint64_t start" "zip_int64_t len" +.Sh DESCRIPTION +The function +.Fn zip_source_zip +creates a zip source from a file in a zip archive. +The +.Ar srcarchive +argument is the (open) zip archive containing the source zip file +at index +.Ar srcidx . +.Ar len +bytes from offset +.Ar start +will be used in the zip_source. +If +.Ar len +is 0 or \-1, the rest of the file, starting from +.Ar start , +is used. +If +.Ar start +is zero and +.Ar len +is \-1, the whole file will be copied without decompressing it. +.Pp +Supported flags are: +.Bl -tag -width XZIPXFLXRECOMPRESSXXX +.It Dv ZIP_FL_UNCHANGED +Try to get the original data without any changes that may have been +made to +.Ar srcarchive +after opening it. +.It Dv ZIP_FL_RECOMPRESS +When adding the data from +.Ar srcarchive , +re-compress it using the current settings instead of copying the +compressed data. +.El +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_zip +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_CHANGED +Unchanged data was requested, but it is not available. +.It Bq Er ZIP_ER_INVAL +.Ar srcarchive , +.Ar srcidx , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +Additionally, it can return all error codes from +.Fn zip_stat_index +and +.Fn zip_fopen_index . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_zip +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_stat.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_stat.3 new file mode 100644 index 000000000..4d5661ef4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_stat.3 @@ -0,0 +1,179 @@ +.\" zip_stat.mdoc -- get information about file +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_STAT 3 +.Os +.Sh NAME +.Nm zip_stat , +.Nm zip_stat_index +.Nd get information about file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_stat "zip_t *archive" "const char *fname" "zip_flags_t flags" "zip_stat_t *sb" +.Ft int +.Fn zip_stat_index "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "zip_stat_t *sb" +.Sh DESCRIPTION +The +.Fn zip_stat +function obtains information about the file named +.Ar fname +in +.Ar archive . +The +.Ar flags +argument specifies how the name lookup should be done. +Its values are described in +.Xr zip_name_locate 3 . +Also, +.Dv ZIP_FL_UNCHANGED +may be +.Em or Ns No 'ed +to it to request information about the original file in the archive, +ignoring any changes made. +.Pp +The +.Fn zip_stat_index +function obtains information about the file at position +.Ar index . +.Pp +The +.Ar sb +argument is a pointer to a +.Ft struct zip_stat +(shown below), into which information about the file is placed. +.Bd -literal +struct zip_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char *name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; +.Ed +The structure pointed to by +.Ar sb +must be allocated before calling +.Fn zip_stat +or +.Fn zip_stat_index . +.Pp +The +.Ar valid +field of the structure specifies which other fields are valid. +Check if the flag defined by the following defines are in +.Ar valid +before accessing the fields: +.Bl -tag -width ZIP_STAT_ENCRYPTION_METHODXX -compact -offset indent +.It Dv ZIP_STAT_NAME +.Ar name +.It Dv ZIP_STAT_INDEX +.Ar index +.It Dv ZIP_STAT_SIZE +.Ar size +.It Dv ZIP_STAT_COMP_SIZE +.Ar comp_size +.It Dv ZIP_STAT_MTIME +.Ar mtime +.It Dv ZIP_STAT_CRC +.Ar crc +.It Dv ZIP_STAT_COMP_METHOD +.Ar comp_method +.It Dv ZIP_STAT_ENCRYPTION_METHOD +.Ar encryption_method +.It Dv ZIP_STAT_FLAGS +.Ar flags +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +The function +.Fn zip_stat +can fail for any of the errors specified for the routine +.Xr zip_name_locate 3 . +.Pp +The function +.Fn zip_stat_index +fails and sets the error information to +.Er ZIP_ER_INVAL +if +.Ar index +is invalid. +If +.Dv ZIP_FL_UNCHANGED +is not set and no information can be obtained from the source +callback, the error information is set to +.Er ZIP_ER_CHANGED . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_num_entries 3 , +.Xr zip_name_locate 3 , +.Xr zip_stat_init 3 +.Sh HISTORY +.Fn zip_stat +was added in libzip 0.6. +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Pp +.Fn zip_stat_index +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_stat_init.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_stat_init.3 new file mode 100644 index 000000000..0d464a614 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_stat_init.3 @@ -0,0 +1,76 @@ +.\" zip_stat_init.mdoc -- init zip_stat structure +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_STAT_INIT 3 +.Os +.Sh NAME +.Nm zip_stat_init +.Nd initialize zip_stat structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_stat_init "zip_stat_t *sb" +.Sh DESCRIPTION +The +.Fn zip_stat_init +function initializes the members of a struct zip_stat. +The current members are described in +.Xr zip_stat 3 , +but this function should be used to initialize it to +make sure none are missed. +The structure pointed to by +.Ar sb +must be allocated before calling +.Fn zip_stat_init . +.Pp +This function should be used by functions provided to +.Xr zip_source_function 3 +when returning +.Dv ZIP_SOURCE_STAT +information to make sure all fields are initialized. +.Sh RETURN VALUES +If +.Ar sb +is valid, the function is always successful. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_stat_init +was added in libzip 0.8. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange.3 new file mode 100644 index 000000000..6bde36bb5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange.3 @@ -0,0 +1,81 @@ +.\" zip_unchange.mdoc -- undo changes to file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_UNCHANGE 3 +.Os +.Sh NAME +.Nm zip_unchange +.Nd undo changes to file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_unchange "zip_t *archive" "zip_uint64_t index" +.Sh DESCRIPTION +Changes to the file at position +.Ar index +are reverted. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_unchange +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +Unchanging the name would result in a duplicate name in the archive. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar zip . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange_all 3 , +.Xr zip_unchange_archive 3 +.Sh HISTORY +.Fn zip_unchange +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange_all.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange_all.3 new file mode 100644 index 000000000..b676eb557 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange_all.3 @@ -0,0 +1,64 @@ +.\" zip_unchange_all.mdoc -- undo changes to all files in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_UNCHANGE_ALL 3 +.Os +.Sh NAME +.Nm zip_unchange_all +.Nd undo all changes in a zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_unchange_all "zip_t *archive" +.Sh DESCRIPTION +All changes to files and global information in +.Ar archive +are reverted. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 , +.Xr zip_unchange_archive 3 +.Sh HISTORY +.Fn zip_unchange_all +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange_archive.3 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange_archive.3 new file mode 100644 index 000000000..b3b3d3f1a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zip_unchange_archive.3 @@ -0,0 +1,64 @@ +.\" zip_unchange_archive.mdoc -- undo changes to all files in zip archive +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_UNCHANGE_ARCHIVE 3 +.Os +.Sh NAME +.Nm zip_unchange_archive +.Nd undo global changes to zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_unchange_archive "zip_t *archive" +.Sh DESCRIPTION +Revert all global changes to the archive +.Ar archive . +This reverts changes to the archive comment and global flags. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 , +.Xr zip_unchange_all 3 +.Sh HISTORY +.Fn zip_unchange_archive +was added in libzip 0.7. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zipcmp.1 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zipcmp.1 new file mode 100644 index 000000000..a3bc50860 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zipcmp.1 @@ -0,0 +1,90 @@ +.\" zipcmp.mdoc -- compare zip archives +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIPCMP 1 +.Os +.Sh NAME +.Nm zipcmp +.Nd compare contents of zip archives +.Sh SYNOPSIS +.Nm +.Op Fl hipqtVv +.Ar archive1 archive2 +.Sh DESCRIPTION +.Nm +compares the zip archives or directories +.Ar archive1 +and +.Ar archive2 +and checks if they contain the same files, comparing their names, +uncompressed sizes, and CRCs. +File order and compressed size differences are ignored. +.Pp +Supported options: +.Bl -tag -width MMM +.It Fl h +Display a short help message and exit. +.It Fl i +Compare names ignoring case distinctions. +.It Fl p +Enable paranoid checks. +Compares extra fields and other meta data. +(Automatically disabled if one of the archives is a directory.) +.It Fl q +Quiet mode. +Compare +.Fl v . +.It Fl t +Test zip files by comparing the contents to their checksums. +.It Fl V +Display version information and exit. +.It Fl v +Verbose mode. +Print details about differences to stdout. +(This is the default.) +.El +.Sh EXIT STATUS +.Nm +exits 0 if the two archives contain the same files, 1 if they differ, +and >1 if an error occurred. +.Sh SEE ALSO +.Xr zipmerge 1 , +.Xr ziptool 1 , +.Xr libzip 3 +.Sh HISTORY +.Nm +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zipmerge.1 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zipmerge.1 new file mode 100644 index 000000000..9c99514e2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/zipmerge.1 @@ -0,0 +1,91 @@ +.\" zipmerge.mdoc -- merge zip archives +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIPMERGE 1 +.Os +.Sh NAME +.Nm zipmerge +.Nd merge zip archives +.Sh SYNOPSIS +.Nm +.Op Fl DhIiSsV +.Ar target-zip +.Ar source-zip Op Ar source-zip ... +.Sh DESCRIPTION +.Nm +merges the source zip archives +.Ar source-zip +into the target zip archive +.Ar target-zip . +By default, files in the source zip archives overwrite +existing files of the same name in the target zip archive. +.Pp +Supported options: +.Bl -tag -width MMM +.It Fl D +Ignore directory components in file name comparisons. +This option is slow for archives with many files. +.It Fl h +Display a short help message and exit. +.It Fl I +Ignore case in file name comparisons +This option is slow for archives with many files. +.It Fl i +Ask before overwriting files. +See also +.Fl s . +.It Fl S +Do not overwrite files that have the same size and +CRC32 in both the source and target archives. +.It Fl s +When +.Fl i +is given, do not before overwriting files that have the same size +and CRC32. +.It Fl V +Display version information and exit. +.El +.Sh EXIT STATUS +.Nm +exits 0 on success and >1 if an error occurred. +.Sh SEE ALSO +.Xr zipcmp 1 , +.Xr ziptool 1 , +.Xr libzip 3 +.Sh HISTORY +.Nm +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/man/ziptool.1 b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/ziptool.1 new file mode 100644 index 000000000..751eeb0c4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/man/ziptool.1 @@ -0,0 +1,330 @@ +.\" ziptool.mdoc -- modify zip archives in multiple ways +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIPTOOL 1 +.Os +.Sh NAME +.Nm ziptool +.Nd modify zip archives +.Sh SYNOPSIS +.Nm +.Op Fl ceghnrst +.Op Fl l Ar length +.Op Fl o Ar offset +.Ar zip-archive +.Cm command Op Ar command-args ... +.Op Cm command Oo Ar command-args ... Oc ... +.Sh DESCRIPTION +.Nm +modifies the zip archive +.Ar zip-archive +according to the +.Ar commands +given. +.Pp +Supported options: +.Bl -tag -width MoMoffsetMM +.It Fl c +Check zip archive consistency when opening it. +.It Fl e +Error if archive already exists (only useful with +.Fl n ) . +.It Fl g +Guess file name encoding (for +.Cm stat +command). +.It Fl h +Display help. +.It Fl l Ar length +Only read +.Ar length +bytes of archive. +See also +.Fl o . +.It Fl n +Create archive if it doesn't exist. +See also +.Fl e . +.It Fl o Ar offset +Start reading input archive from +.Ar offset . +See also +.Fl l . +.It Fl r +Print raw file name encoding without translation (for +.Cm stat +command). +.It Fl s +Follow file name convention strictly (for +.Cm stat +command). +.It Fl t +Disregard current file contents, if any. +.Em Note : +use this with care, it deletes all existing file contents when +you modify the archive. +.El +.Ss Commands +For all commands below, the index is zero-based. +In other words, the first entry in the zip archive has index 0. +.Pp +Supported commands and arguments are: +.Bl -tag -width 10n +.It Cm add Ar name content +Add file called +.Ar name +using the string +.Ar content +from the command line as data. +.It Cm add_dir Ar name +Add directory +.Ar name . +.It Cm add_file Ar name file_to_add offset len +Add file +.Ar name +to archive, using +.Ar len +bytes from the file +.Ar file_to_add +as input data, starting at +.Ar offset . +.It Cm add_from_zip Ar name archivename index offset len +Add file called +.Ar name +to archive using data from another zip archive +.Ar archivename +using the entry with index +.Ar index +and reading +.Ar len +bytes from +.Ar offset . +.It Cm cat Ar index +Output file contents for entry +.Ar index +to stdout. +.It Cm count_extra Ar index flags +Print the number of extra fields for archive entry +.Ar index +using +.Ar flags . +.It Cm count_extra_by_id Ar index extra_id flags +Print number of extra fields of type +.Ar extra_id +for archive entry +.Ar index +using +.Ar flags . +.It Cm delete Ar index +Remove entry at +.Ar index +from zip archive. +.It Cm delete_extra Ar index extra_idx flags +Remove extra field number +.Ar extra_idx +from archive entry +.Ar index +using +.Ar flags . +.It Cm delete_extra_by_id Ar index extra_id extra_index flags +Remove extra field number +.Ar extra_index +of type +.Ar extra_id +from archive entry +.Ar index +using +.Ar flags . +.It Cm get_archive_comment +Print archive comment. +.It Cm get_extra Ar index extra_index flags +Print extra field +.Ar extra_index +for archive entry +.Ar index +using +.Ar flags . +.It Cm get_extra_by_id Ar index extra_id extra_index flags +Print extra field +.Ar extra_index +of type +.Ar extra_id +for archive entry +.Ar index +using +.Ar flags . +.It Cm get_file_comment Ar index +Get file comment for archive entry +.Ar index . +.It Cm get_num_entries Ar flags +Print number of entries in archive using +.Ar flags . +.It Cm name_locate Ar name flags +Find entry in archive with the filename +.Ar name +using +.Ar flags +and print its index. +.It Cm rename Ar index name +Rename archive entry +.Ar index +to +.Ar name . +.It Cm replace_file_contents Ar index data +Replace file contents for archive entry +.Ar index +with the string +.Ar data . +.It Cm set_archive_comment Ar comment +Set archive comment to +.Ar comment . +.It Cm set_extra Ar index extra_id extra_index flags value +Set extra field number +.Ar extra_index +of type +.Ar extra_id +for archive entry +.Ar index +using +.Ar flags +to +.Ar value . +.It Cm set_file_comment Ar index comment +Set file comment for archive entry +.Ar index +to string +.Ar comment . +.It Cm set_file_compression Ar index method compression_flags +Set file compression method for archive entry +.Ar index +to +.Ar method +using +.Ar compression_flags . +.Em Note : +Currently, +.Ar compression_flags +are ignored. +.It Cm set_file_encryption Ar index method password +Set file encryption method for archive entry +.Ar index +to +.Ar method +with password +.Ar password . +.It Cm set_file_mtime Ar index timestamp +Set file modification time for archive entry +.Ar index +to UNIX mtime +.Ar timestamp . +.It Cm set_file_mtime_all Ar timestamp +Set file modification time for all archive entries to UNIX mtime +.Ar timestamp . +.It Cm set_password Ar password +Set default password for encryption/decryption to +.Ar password . +.It Cm stat Ar index +Print information about archive entry +.Ar index . +.El +.Ss Flags +Some commands take flag arguments. +Supported flags are: +.Bl -tag -width MMM -compact -offset indent +.It Ar C +.Dv ZIP_FL_NOCASE +.It Ar c +.Dv ZIP_FL_CENTRAL +.It Ar d +.Dv ZIP_FL_NODIR +.It Ar l +.Dv ZIP_FL_LOCAL +.It Ar u +.Dv ZIP_FL_UNCHANGED +.El +.Ss Compression Methods +Some commands take compression method arguments. +Supported methods are: +.Bl -bullet -compact -offset indent +.It +.Dv default +.It +.Dv deflate +.It +.Dv store +.El +.Ss Encryption Methods +Some commands take encryption method arguments. +Supported methods are: +.Bl -bullet -compact -offset indent +.It +.Dv none +.It +.Dv AES-128 +.It +.Dv AES-192 +.It +.Dv AES-256 +.El +.Sh EXIT STATUS +.Ex -std +.Sh EXAMPLES +Add a file called +.Pa teststring.txt +to the zip archive +.Pa testbuffer.zip +with data +.Dq This is a test.\en +where +.Dq \en +is replaced with a newline character: +.Bd -literal -offset indent +ziptool testbuffer.zip add teststring.txt \\"This is a test.\en\\" +.Ed +.Pp +Delete the first file from the zip archive +.Pa testfile.zip : +.Bd -literal -offset indent +ziptool testfile.zip delete 0 +.Ed +.Sh SEE ALSO +.Xr zipcmp 1 , +.Xr zipmerge 1 , +.Xr libzip 3 +.Sh HISTORY +.Nm +was added in libzip 1.1. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/src/CTestTestfile.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/CTestTestfile.cmake new file mode 100644 index 000000000..e516a8e96 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/CTestTestfile.cmake @@ -0,0 +1,6 @@ +# CMake generated Testfile for +# Source directory: /Users/bektchiev/Downloads/libzip-1.5.2/src +# Build directory: /Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/zipcmp b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/zipcmp new file mode 100755 index 000000000..ccb1ac0ea Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/zipcmp differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/zipmerge b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/zipmerge new file mode 100755 index 000000000..2553f499e Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/zipmerge differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/ziptool b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/ziptool new file mode 100755 index 000000000..602e444ef Binary files /dev/null and b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/Debug/ziptool differ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/src/cmake_install.cmake b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/cmake_install.cmake new file mode 100644 index 000000000..cb60ce5f3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/src/cmake_install.cmake @@ -0,0 +1,178 @@ +# Install script for directory: /Users/bektchiev/Downloads/libzip-1.5.2/src + +# Set the install prefix +if(NOT DEFINED CMAKE_INSTALL_PREFIX) + set(CMAKE_INSTALL_PREFIX "/usr/local") +endif() +string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}") + +# Set the install configuration name. +if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME) + if(BUILD_TYPE) + string(REGEX REPLACE "^[^A-Za-z0-9_]+" "" + CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}") + else() + set(CMAKE_INSTALL_CONFIG_NAME "Release") + endif() + message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"") +endif() + +# Set the component getting installed. +if(NOT CMAKE_INSTALL_COMPONENT) + if(COMPONENT) + message(STATUS "Install component: \"${COMPONENT}\"") + set(CMAKE_INSTALL_COMPONENT "${COMPONENT}") + else() + set(CMAKE_INSTALL_COMPONENT) + endif() +endif() + +# Is this installation the result of a crosscompile? +if(NOT DEFINED CMAKE_CROSSCOMPILING) + set(CMAKE_CROSSCOMPILING "FALSE") +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipcmp") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipcmp") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipcmp") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipcmp") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipcmp") + endif() + endif() + endif() +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/zipmerge") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/zipmerge") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/zipmerge") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/zipmerge") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/zipmerge") + endif() + endif() + endif() +endif() + +if("x${CMAKE_INSTALL_COMPONENT}x" STREQUAL "xUnspecifiedx" OR NOT CMAKE_INSTALL_COMPONENT) + if("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Debug/ziptool") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/Release/ziptool") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/MinSizeRel/ziptool") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + endif() + endif() + elseif("${CMAKE_INSTALL_CONFIG_NAME}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") + file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/bektchiev/Downloads/libzip-1.5.2/cmake-build/src/RelWithDebInfo/ziptool") + if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool" AND + NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + execute_process(COMMAND /usr/bin/install_name_tool + -add_rpath "/usr/local/lib" + "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + if(CMAKE_INSTALL_DO_STRIP) + execute_process(COMMAND "/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/ziptool") + endif() + endif() + endif() +endif() + diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-build/zipconf.h b/plugins/TKLiveSync/libzip_iOS/cmake-build/zipconf.h new file mode 100644 index 000000000..d5b1f9c19 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-build/zipconf.h @@ -0,0 +1,46 @@ +#ifndef _HAD_ZIPCONF_H +#define _HAD_ZIPCONF_H + +/* + zipconf.h -- platform specific include file + + This file was generated automatically by CMake + based on ../cmake-zipconf.h.in. + */ + +#define LIBZIP_VERSION "1.5.2" +#define LIBZIP_VERSION_MAJOR 1 +#define LIBZIP_VERSION_MINOR 5 +#define LIBZIP_VERSION_MICRO 2 + +#define ZIP_STATIC + + +#include + +typedef int8_t zip_int8_t; +typedef uint8_t zip_uint8_t; +typedef int16_t zip_int16_t; +typedef uint16_t zip_uint16_t; +typedef int32_t zip_int32_t; +typedef uint32_t zip_uint32_t; +typedef int64_t zip_int64_t; +typedef uint64_t zip_uint64_t; + +#define ZIP_INT8_MIN (-ZIP_INT8_MAX - 1) +#define ZIP_INT8_MAX 0x7f +#define ZIP_UINT8_MAX 0xff + +#define ZIP_INT16_MIN (-ZIP_INT16_MAX - 1) +#define ZIP_INT16_MAX 0x7fff +#define ZIP_UINT16_MAX 0xffff + +#define ZIP_INT32_MIN (-ZIP_INT32_MAX - 1L) +#define ZIP_INT32_MAX 0x7fffffffL +#define ZIP_UINT32_MAX 0xffffffffLU + +#define ZIP_INT64_MIN (-ZIP_INT64_MAX - 1LL) +#define ZIP_INT64_MAX 0x7fffffffffffffffLL +#define ZIP_UINT64_MAX 0xffffffffffffffffULL + +#endif /* zipconf.h */ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-config.h.in b/plugins/TKLiveSync/libzip_iOS/cmake-config.h.in new file mode 100644 index 000000000..51efe6147 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-config.h.in @@ -0,0 +1,92 @@ +#ifndef HAD_CONFIG_H +#define HAD_CONFIG_H +#ifndef _HAD_ZIPCONF_H +#include "zipconf.h" +#endif +/* BEGIN DEFINES */ +#cmakedefine HAVE___PROGNAME +#cmakedefine HAVE__CHMOD +#cmakedefine HAVE__CLOSE +#cmakedefine HAVE__DUP +#cmakedefine HAVE__FDOPEN +#cmakedefine HAVE__FILENO +#cmakedefine HAVE__OPEN +#cmakedefine HAVE__SETMODE +#cmakedefine HAVE__SNPRINTF +#cmakedefine HAVE__STRDUP +#cmakedefine HAVE__STRICMP +#cmakedefine HAVE__STRTOI64 +#cmakedefine HAVE__STRTOUI64 +#cmakedefine HAVE__UMASK +#cmakedefine HAVE__UNLINK +#cmakedefine HAVE_CLONEFILE +#cmakedefine HAVE_COMMONCRYPTO +#cmakedefine HAVE_CRYPTO +#cmakedefine HAVE_FICLONERANGE +#cmakedefine HAVE_FILENO +#cmakedefine HAVE_FSEEKO +#cmakedefine HAVE_FTELLO +#cmakedefine HAVE_GETPROGNAME +#cmakedefine HAVE_GNUTLS +#cmakedefine HAVE_LIBBZ2 +#cmakedefine HAVE_MBEDTLS +#cmakedefine HAVE_MKSTEMP +#cmakedefine HAVE_NULLABLE +#cmakedefine HAVE_OPEN +#cmakedefine HAVE_OPENSSL +#cmakedefine HAVE_SETMODE +#cmakedefine HAVE_SNPRINTF +#cmakedefine HAVE_SSIZE_T_LIBZIP +#cmakedefine HAVE_STRCASECMP +#cmakedefine HAVE_STRDUP +#cmakedefine HAVE_STRICMP +#cmakedefine HAVE_STRTOLL +#cmakedefine HAVE_STRTOULL +#cmakedefine HAVE_STRUCT_TM_TM_ZONE +#cmakedefine HAVE_STDBOOL_H +#cmakedefine HAVE_STRINGS_H +#cmakedefine HAVE_UNISTD_H +#cmakedefine HAVE_WINDOWS_CRYPTO +#cmakedefine __INT8_LIBZIP ${__INT8_LIBZIP} +#cmakedefine INT8_T_LIBZIP ${INT8_T_LIBZIP} +#cmakedefine UINT8_T_LIBZIP ${UINT8_T_LIBZIP} +#cmakedefine __INT16_LIBZIP ${__INT16_LIBZIP} +#cmakedefine INT16_T_LIBZIP ${INT16_T_LIBZIP} +#cmakedefine UINT16_T_LIBZIP ${UINT16_T_LIBZIP} +#cmakedefine __INT32_LIBZIP ${__INT32_LIBZIP} +#cmakedefine INT32_T_LIBZIP ${INT32_T_LIBZIP} +#cmakedefine UINT32_T_LIBZIP ${UINT32_T_LIBZIP} +#cmakedefine __INT64_LIBZIP ${__INT64_LIBZIP} +#cmakedefine INT64_T_LIBZIP ${INT64_T_LIBZIP} +#cmakedefine UINT64_T_LIBZIP ${UINT64_T_LIBZIP} +#cmakedefine SHORT_LIBZIP ${SHORT_LIBZIP} +#cmakedefine INT_LIBZIP ${INT_LIBZIP} +#cmakedefine LONG_LIBZIP ${LONG_LIBZIP} +#cmakedefine LONG_LONG_LIBZIP ${LONG_LONG_LIBZIP} +#cmakedefine SIZEOF_OFF_T ${SIZEOF_OFF_T} +#cmakedefine SIZE_T_LIBZIP ${SIZE_T_LIBZIP} +#cmakedefine SSIZE_T_LIBZIP ${SSIZE_T_LIBZIP} +#cmakedefine HAVE_DIRENT_H +#cmakedefine HAVE_FTS_H +#cmakedefine HAVE_NDIR_H +#cmakedefine HAVE_SYS_DIR_H +#cmakedefine HAVE_SYS_NDIR_H +#cmakedefine WORDS_BIGENDIAN +#cmakedefine HAVE_SHARED +/* END DEFINES */ +#define PACKAGE "@PACKAGE@" +#define VERSION "@VERSION@" + +#ifndef HAVE_SSIZE_T_LIBZIP +# if SIZE_T_LIBZIP == INT_LIBZIP +typedef int ssize_t; +# elif SIZE_T_LIBZIP == LONG_LIBZIP +typedef long ssize_t; +# elif SIZE_T_LIBZIP == LONG_LONG_LIBZIP +typedef long long ssize_t; +# else +#error no suitable type for ssize_t found +# endif +#endif + +#endif /* HAD_CONFIG_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/cmake-zipconf.h.in b/plugins/TKLiveSync/libzip_iOS/cmake-zipconf.h.in new file mode 100644 index 000000000..197b1c38c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/cmake-zipconf.h.in @@ -0,0 +1,47 @@ +#ifndef _HAD_ZIPCONF_H +#define _HAD_ZIPCONF_H + +/* + zipconf.h -- platform specific include file + + This file was generated automatically by CMake + based on ../cmake-zipconf.h.in. + */ + +#cmakedefine LIBZIP_VERSION "@PACKAGE_VERSION@" +#cmakedefine LIBZIP_VERSION_MAJOR @PACKAGE_VERSION_MAJOR@ +#cmakedefine LIBZIP_VERSION_MINOR @PACKAGE_VERSION_MINOR@ +#cmakedefine LIBZIP_VERSION_MICRO @PACKAGE_VERSION_MICRO@ + +#cmakedefine ZIP_STATIC + +${ZIP_NULLABLE_DEFINES} + +${LIBZIP_TYPES_INCLUDE} + +typedef ${ZIP_INT8_T} zip_int8_t; +typedef ${ZIP_UINT8_T} zip_uint8_t; +typedef ${ZIP_INT16_T} zip_int16_t; +typedef ${ZIP_UINT16_T} zip_uint16_t; +typedef ${ZIP_INT32_T} zip_int32_t; +typedef ${ZIP_UINT32_T} zip_uint32_t; +typedef ${ZIP_INT64_T} zip_int64_t; +typedef ${ZIP_UINT64_T} zip_uint64_t; + +#define ZIP_INT8_MIN (-ZIP_INT8_MAX-1) +#define ZIP_INT8_MAX 0x7f +#define ZIP_UINT8_MAX 0xff + +#define ZIP_INT16_MIN (-ZIP_INT16_MAX-1) +#define ZIP_INT16_MAX 0x7fff +#define ZIP_UINT16_MAX 0xffff + +#define ZIP_INT32_MIN (-ZIP_INT32_MAX-1L) +#define ZIP_INT32_MAX 0x7fffffffL +#define ZIP_UINT32_MAX 0xffffffffLU + +#define ZIP_INT64_MIN (-ZIP_INT64_MAX-1LL) +#define ZIP_INT64_MAX 0x7fffffffffffffffLL +#define ZIP_UINT64_MAX 0xffffffffffffffffULL + +#endif /* zipconf.h */ diff --git a/plugins/TKLiveSync/libzip_iOS/examples/CMakeLists.txt b/plugins/TKLiveSync/libzip_iOS/examples/CMakeLists.txt new file mode 100644 index 000000000..db1e68648 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/examples/CMakeLists.txt @@ -0,0 +1,13 @@ +CHECK_FUNCTION_EXISTS(getopt HAVE_GETOPT) +IF(NOT HAVE_GETOPT) + SET(SRC_EXTRA_FILES ../src/getopt.c) +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_CURRENT_SOURCE_DIR}/../src) +ENDIF(NOT HAVE_GETOPT) + +ADD_EXECUTABLE(in-memory in-memory.c) +TARGET_LINK_LIBRARIES(in-memory zip) + +INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../lib + ${CMAKE_CURRENT_SOURCE_DIR}/../src + ${CMAKE_CURRENT_BINARY_DIR}/..) diff --git a/plugins/TKLiveSync/libzip_iOS/examples/in-memory.c b/plugins/TKLiveSync/libzip_iOS/examples/in-memory.c new file mode 100644 index 000000000..625e280ba --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/examples/in-memory.c @@ -0,0 +1,217 @@ +/* + in-memory.c -- modify zip file in memory + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include +#include +#include +#include + +#include + +static int +get_data(void **datap, size_t *sizep, const char *archive) { + /* example implementation that reads data from file */ + struct stat st; + FILE *fp; + + if ((fp = fopen(archive, "r")) == NULL) { + if (errno != ENOENT) { + fprintf(stderr, "can't open %s: %s\n", archive, strerror(errno)); + return -1; + } + + *datap = NULL; + *sizep = 0; + + return 0; + } + + if (fstat(fileno(fp), &st) < 0) { + fprintf(stderr, "can't stat %s: %s\n", archive, strerror(errno)); + fclose(fp); + return -1; + } + + if ((*datap = malloc((size_t)st.st_size)) == NULL) { + fprintf(stderr, "can't allocate buffer\n"); + fclose(fp); + return -1; + } + + if (fread(*datap, 1, (size_t)st.st_size, fp) < (size_t)st.st_size) { + fprintf(stderr, "can't read %s: %s\n", archive, strerror(errno)); + free(*datap); + fclose(fp); + return -1; + } + + fclose(fp); + + *sizep = (size_t)st.st_size; + return 0; +} + +static int +modify_archive(zip_t *za) { + /* modify the archive */ + return 0; +} + + +static int +use_data(void *data, size_t size, const char *archive) { + /* example implementation that writes data to file */ + FILE *fp; + + if (data == NULL) { + if (remove(archive) < 0 && errno != ENOENT) { + fprintf(stderr, "can't remove %s: %s\n", archive, strerror(errno)); + return -1; + } + return 0; + } + + if ((fp = fopen(archive, "wb")) == NULL) { + fprintf(stderr, "can't open %s: %s\n", archive, strerror(errno)); + return -1; + } + if (fwrite(data, 1, size, fp) < size) { + fprintf(stderr, "can't write %s: %s\n", archive, strerror(errno)); + fclose(fp); + return -1; + } + if (fclose(fp) < 0) { + fprintf(stderr, "can't write %s: %s\n", archive, strerror(errno)); + return -1; + } + + return 0; +} + + +int +main(int argc, char *argv[]) { + const char *archive; + zip_source_t *src; + zip_t *za; + zip_error_t error; + void *data; + size_t size; + + if (argc < 2) { + fprintf(stderr, "usage: %s archive\n", argv[0]); + return 1; + } + archive = argv[1]; + + /* get buffer with zip archive inside */ + if (get_data(&data, &size, archive) < 0) { + return 1; + } + + zip_error_init(&error); + /* create source from buffer */ + if ((src = zip_source_buffer_create(data, size, 1, &error)) == NULL) { + fprintf(stderr, "can't create source: %s\n", zip_error_strerror(&error)); + free(data); + zip_error_fini(&error); + return 1; + } + + /* open zip archive from source */ + if ((za = zip_open_from_source(src, 0, &error)) == NULL) { + fprintf(stderr, "can't open zip from source: %s\n", zip_error_strerror(&error)); + zip_source_free(src); + zip_error_fini(&error); + return 1; + } + zip_error_fini(&error); + + /* we'll want to read the data back after zip_close */ + zip_source_keep(src); + + /* modify archive */ + modify_archive(za); + + /* close archive */ + if (zip_close(za) < 0) { + fprintf(stderr, "can't close zip archive '%s': %s\n", archive, zip_strerror(za)); + return 1; + } + + + /* copy new archive to buffer */ + + if (zip_source_is_deleted(src)) { + /* new archive is empty, thus no data */ + data = NULL; + } + else { + zip_stat_t zst; + + if (zip_source_stat(src, &zst) < 0) { + fprintf(stderr, "can't stat source: %s\n", zip_error_strerror(zip_source_error(src))); + return 1; + } + + size = zst.size; + + if (zip_source_open(src) < 0) { + fprintf(stderr, "can't open source: %s\n", zip_error_strerror(zip_source_error(src))); + return 1; + } + if ((data = malloc(size)) == NULL) { + fprintf(stderr, "malloc failed: %s\n", strerror(errno)); + zip_source_close(src); + return 1; + } + if ((zip_uint64_t)zip_source_read(src, data, size) < size) { + fprintf(stderr, "can't read data from source: %s\n", zip_error_strerror(zip_source_error(src))); + zip_source_close(src); + free(data); + return 1; + } + zip_source_close(src); + } + + /* we're done with src */ + zip_source_free(src); + + /* use new data */ + use_data(data, size, archive); + + free(data); + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/examples/windows-open.c b/plugins/TKLiveSync/libzip_iOS/examples/windows-open.c new file mode 100644 index 000000000..5108af540 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/examples/windows-open.c @@ -0,0 +1,60 @@ +/* + windows-open.c -- open zip archive using Windows UTF-16/Unicode file name + Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +zip_t * +windows_open(const wchar_t *name, int flags) { + zip_source_t *src; + zip_t *za; + zip_error_t error; + + zip_error_init(&error); + /* create source from buffer */ + if ((src = zip_source_win32w_create(name, 0, -1, &error)) == NULL) { + fprintf(stderr, "can't create source: %s\n", zip_error_strerror(&error)); + zip_error_fini(&error); + return NULL; + } + + /* open zip archive from source */ + if ((za = zip_open_from_source(src, flags, &error)) == NULL) { + fprintf(stderr, "can't open zip from source: %s\n", zip_error_strerror(&error)); + zip_source_free(src); + zip_error_fini(&error); + return NULL; + } + zip_error_fini(&error); + + return za; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/CMakeLists.txt b/plugins/TKLiveSync/libzip_iOS/lib/CMakeLists.txt new file mode 100644 index 000000000..8be48a0f5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/CMakeLists.txt @@ -0,0 +1,230 @@ +INCLUDE(CheckFunctionExists) + +INSTALL(FILES zip.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) + +SET(CMAKE_C_VISIBILITY_PRESET hidden) + +# from http://www.cmake.org/Wiki/CMakeMacroLibtoolFile +MACRO(GET_TARGET_PROPERTY_WITH_DEFAULT _variable _target _property _default_value) + GET_TARGET_PROPERTY(${_variable} ${_target} ${_property}) + IF(${_variable} STREQUAL NOTFOUND) + SET(${_variable} ${_default_value}) + ENDIF() + +ENDMACRO() + +MACRO(CREATE_LIBTOOL_FILE _target _install_DIR) + GET_TARGET_PROPERTY(_target_location ${_target} LOCATION) + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_static_lib ${_target} STATIC_LIB "") + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_dependency_libs ${_target} LT_DEPENDENCY_LIBS "") + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_current ${_target} LT_VERSION_CURRENT 4) + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_revision ${_target} LT_VERSION_REVISION 0) + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_age ${_target} LT_VERSION_AGE 0) + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_installed ${_target} LT_INSTALLED yes) + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_shouldnotlink ${_target} LT_SHOULDNOTLINK yes) + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_dlopen ${_target} LT_DLOPEN "") + GET_TARGET_PROPERTY_WITH_DEFAULT(_target_dlpreopen ${_target} LT_DLPREOPEN "") + GET_FILENAME_COMPONENT(_laname ${_target_location} NAME_WE) + GET_FILENAME_COMPONENT(_soname ${_target_location} NAME) + SET(_laname ${_laname}.la) + FILE(WRITE ${_laname} "# ${_laname} - a libtool library file, generated by cmake \n") + FILE(APPEND ${_laname} "# The name that we can dlopen(3).\n") + FILE(APPEND ${_laname} "dlname='${_soname}'\n") + FILE(APPEND ${_laname} "# Names of this library\n") + FILE(APPEND ${_laname} "library_names='${_soname}.${_target_current}.${_target_age}.${_target_revision} ${_soname}.${_target_current} ${_soname}'\n") + FILE(APPEND ${_laname} "# The name of the static archive\n") + FILE(APPEND ${_laname} "old_library='${_target_static_lib}'\n") + FILE(APPEND ${_laname} "# Libraries that this one depends upon.\n") + FILE(APPEND ${_laname} "dependency_libs='${_target_dependency_libs}'\n") + FILE(APPEND ${_laname} "# Version information.\n") + FILE(APPEND ${_laname} "current=${_target_current}\n") + FILE(APPEND ${_laname} "age=${_target_age}\n") + FILE(APPEND ${_laname} "revision=${_target_revision}\n") + FILE(APPEND ${_laname} "# Is this an already installed library?\n") + FILE(APPEND ${_laname} "installed=${_target_installed}\n") + FILE(APPEND ${_laname} "# Should we warn about portability when linking against -modules?\n") + FILE(APPEND ${_laname} "shouldnotlink=${_target_shouldnotlink}\n") + FILE(APPEND ${_laname} "# Files to dlopen/dlpreopen\n") + FILE(APPEND ${_laname} "dlopen='${_target_dlopen}'\n") + FILE(APPEND ${_laname} "dlpreopen='${_target_dlpreopen}'\n") + FILE(APPEND ${_laname} "# Directory that this library needs to be installed in:\n") + FILE(APPEND ${_laname} "libdir='${CMAKE_INSTALL_PREFIX}/${_install_DIR}'\n") + INSTALL( FILES ${_laname} ${_soname} DESTINATION ${CMAKE_INSTALL_PREFIX}${_install_DIR}) +ENDMACRO() + +SET(LIBZIP_SOURCES + zip_add.c + zip_add_dir.c + zip_add_entry.c + zip_algorithm_deflate.c + zip_buffer.c + zip_close.c + zip_delete.c + zip_dir_add.c + zip_dirent.c + zip_discard.c + zip_entry.c + zip_err_str.c + zip_error.c + zip_error_clear.c + zip_error_get.c + zip_error_get_sys_type.c + zip_error_strerror.c + zip_error_to_str.c + zip_extra_field.c + zip_extra_field_api.c + zip_fclose.c + zip_fdopen.c + zip_file_add.c + zip_file_error_clear.c + zip_file_error_get.c + zip_file_get_comment.c + zip_file_get_external_attributes.c + zip_file_get_offset.c + zip_file_rename.c + zip_file_replace.c + zip_file_set_comment.c + zip_file_set_encryption.c + zip_file_set_external_attributes.c + zip_file_set_mtime.c + zip_file_strerror.c + zip_filerange_crc.c + zip_fopen.c + zip_fopen_encrypted.c + zip_fopen_index.c + zip_fopen_index_encrypted.c + zip_fread.c + zip_fseek.c + zip_ftell.c + zip_get_archive_comment.c + zip_get_archive_flag.c + zip_get_encryption_implementation.c + zip_get_file_comment.c + zip_get_name.c + zip_get_num_entries.c + zip_get_num_files.c + zip_hash.c + zip_io_util.c + zip_libzip_version.c + zip_memdup.c + zip_name_locate.c + zip_new.c + zip_open.c + zip_progress.c + zip_rename.c + zip_replace.c + zip_set_archive_comment.c + zip_set_archive_flag.c + zip_set_default_password.c + zip_set_file_comment.c + zip_set_file_compression.c + zip_set_name.c + zip_source_begin_write.c + zip_source_begin_write_cloning.c + zip_source_buffer.c + zip_source_call.c + zip_source_close.c + zip_source_commit_write.c + zip_source_compress.c + zip_source_crc.c + zip_source_error.c + zip_source_filep.c + zip_source_free.c + zip_source_function.c + zip_source_get_compression_flags.c + zip_source_is_deleted.c + zip_source_layered.c + zip_source_open.c + zip_source_pkware.c + zip_source_read.c + zip_source_remove.c + zip_source_rollback_write.c + zip_source_seek.c + zip_source_seek_write.c + zip_source_stat.c + zip_source_supports.c + zip_source_tell.c + zip_source_tell_write.c + zip_source_window.c + zip_source_write.c + zip_source_zip.c + zip_source_zip_new.c + zip_stat.c + zip_stat_index.c + zip_stat_init.c + zip_strerror.c + zip_string.c + zip_unchange.c + zip_unchange_all.c + zip_unchange_archive.c + zip_unchange_data.c + zip_utf-8.c +) + +IF(WIN32) + SET(LIBZIP_OPSYS_FILES + zip_source_win32handle.c + zip_source_win32utf8.c + zip_source_win32w.c + ) + IF(CMAKE_SYSTEM_NAME MATCHES WindowsPhone OR CMAKE_SYSTEM_NAME MATCHES WindowsStore) + ELSE() + SET(LIBZIP_OPSYS_FILES "${LIBZIP_OPSYS_FILES}" + zip_source_win32a.c + ) + ENDIF() +ELSE(WIN32) + SET(LIBZIP_OPSYS_FILES + zip_source_file.c + ) +ENDIF(WIN32) + +INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR}/..) + +ADD_CUSTOM_TARGET(update_zip_err_str + COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/make_zip_err_str.sh ${CMAKE_CURRENT_SOURCE_DIR}/zip.h ${CMAKE_CURRENT_SOURCE_DIR}/zip_err_str.c + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/zip.h ${CMAKE_CURRENT_SOURCE_DIR}/make_zip_err_str.sh +) +CHECK_FUNCTION_EXISTS(mkstemp HAVE_MKSTEMP) +IF(NOT HAVE_MKSTEMP) + SET(LIBZIP_EXTRA_FILES mkstemp.c) +ENDIF(NOT HAVE_MKSTEMP) +IF(HAVE_LIBBZ2) + SET(LIBZIP_OPTIONAL_FILES zip_algorithm_bzip2.c) +ENDIF() + +IF(HAVE_COMMONCRYPTO) + SET(LIBZIP_OPTIONAL_FILES ${LIBZIP_OPTIONAL_FILES} zip_crypto_commoncrypto.c +) +ELSEIF(HAVE_WINDOWS_CRYPTO) + SET(LIBZIP_OPTIONAL_FILES ${LIBZIP_OPTIONAL_FILES} zip_crypto_win.c +) +ELSEIF(HAVE_GNUTLS) + SET(LIBZIP_OPTIONAL_FILES ${LIBZIP_OPTIONAL_FILES} zip_crypto_gnutls.c +) +ELSEIF(HAVE_OPENSSL) + SET(LIBZIP_OPTIONAL_FILES ${LIBZIP_OPTIONAL_FILES} zip_crypto_openssl.c +) +ELSEIF(HAVE_MBEDTLS) + SET(LIBZIP_OPTIONAL_FILES ${LIBZIP_OPTIONAL_FILES} zip_crypto_mbedtls.c +) +ENDIF() + +IF(HAVE_CRYPTO) + SET(LIBZIP_OPTIONAL_FILES ${LIBZIP_OPTIONAL_FILES} zip_winzip_aes.c zip_source_winzip_aes_decode.c zip_source_winzip_aes_encode.c +) +ENDIF() + +ADD_LIBRARY(zip ${LIBZIP_SOURCES} ${LIBZIP_EXTRA_FILES} ${LIBZIP_OPTIONAL_FILES} ${LIBZIP_OPSYS_FILES}) + +IF(SHARED_LIB_VERSIONNING) +SET_TARGET_PROPERTIES(zip PROPERTIES VERSION 5.0 SOVERSION 5) +ENDIF() + + +TARGET_LINK_LIBRARIES(zip ${ZLIB_LIBRARY} ${OPTIONAL_LIBRARY}) +INSTALL(TARGETS zip + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) +#CREATE_LIBTOOL_FILE(zip lib) diff --git a/plugins/TKLiveSync/libzip_iOS/lib/compat.h b/plugins/TKLiveSync/libzip_iOS/lib/compat.h new file mode 100644 index 000000000..d63c691a3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/compat.h @@ -0,0 +1,206 @@ +#ifndef _HAD_LIBZIP_COMPAT_H +#define _HAD_LIBZIP_COMPAT_H + +/* + compat.h -- compatibility defines. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipconf.h" + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +/* to have *_MAX definitions for all types when compiling with g++ */ +#define __STDC_LIMIT_MACROS + +#ifdef _WIN32 +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#define ZIP_EXTERN __declspec(dllexport) +#endif +#endif +/* for dup(), close(), etc. */ +#include +#endif + +#ifdef HAVE_STDBOOL_H +#include +#else +typedef char bool; +#define true 1 +#define false 0 +#endif + +#include + +/* at least MinGW does not provide EOPNOTSUPP, see + * http://sourceforge.net/p/mingw/bugs/263/ + */ +#ifndef EOPNOTSUPP +#define EOPNOTSUPP EINVAL +#endif + +/* at least MinGW does not provide EOVERFLOW, see + * http://sourceforge.net/p/mingw/bugs/242/ + */ +#ifndef EOVERFLOW +#define EOVERFLOW EFBIG +#endif + +#ifdef _WIN32 +#if defined(HAVE__CHMOD) +#define chmod _chmod +#endif +#if defined(HAVE__CLOSE) +#define close _close +#endif +#if defined(HAVE__DUP) +#define dup _dup +#endif +/* crashes reported when using fdopen instead of _fdopen on Windows/Visual Studio 10/Win64 */ +#if defined(HAVE__FDOPEN) +#define fdopen _fdopen +#endif +#if !defined(HAVE_FILENO) && defined(HAVE__FILENO) +#define fileno _fileno +#endif +/* Windows' open() doesn't understand Unix permissions */ +#if defined(HAVE__OPEN) +#define open(a, b, c) _open((a), (b)) +#endif +#if defined(HAVE__SNPRINTF) +#define snprintf _snprintf +#endif +#if defined(HAVE__STRDUP) +#if !defined(HAVE_STRDUP) || defined(_WIN32) +#undef strdup +#define strdup _strdup +#endif +#endif +#if !defined(HAVE__SETMODE) && defined(HAVE_SETMODE) +#define _setmode setmode +#endif +#if !defined(HAVE_STRTOLL) && defined(HAVE__STRTOI64) +#define strtoll _strtoi64 +#endif +#if !defined(HAVE_STRTOULL) && defined(HAVE__STRTOUI64) +#define strtoull _strtoui64 +#endif +#if defined(HAVE__UMASK) +#define umask _umask +#endif +#if defined(HAVE__UNLINK) +#define unlink _unlink +#endif +#endif + +#ifndef HAVE_FSEEKO +#define fseeko(s, o, w) (fseek((s), (long int)(o), (w))) +#endif + +#ifndef HAVE_FTELLO +#define ftello(s) ((long)ftell((s))) +#endif + +#ifndef HAVE_MKSTEMP +int _zip_mkstemp(char *); +#define mkstemp _zip_mkstemp +#endif + +#if !defined(HAVE_STRCASECMP) +#if defined(HAVE__STRICMP) +#define strcasecmp _stricmp +#elif defined(HAVE_STRICMP) +#define strcasecmp stricmp +#endif +#endif + +#ifndef SIZEOF_OFF_T +#error asdf +#endif + +#if SIZEOF_OFF_T == 8 +#define ZIP_OFF_MAX ZIP_INT64_MAX +#define ZIP_OFF_MIN ZIP_INT64_MIN +#elif SIZEOF_OFF_T == 4 +#define ZIP_OFF_MAX ZIP_INT32_MAX +#define ZIP_OFF_MIN ZIP_INT32_MIN +#elif SIZEOF_OFF_T == 2 +#define ZIP_OFF_MAX ZIP_INT16_MAX +#define ZIP_OFF_MIN ZIP_INT16_MIN +#else +#error unsupported size of off_t +#endif + +#if defined(HAVE_FTELLO) && defined(HAVE_FSEEKO) +#define ZIP_FSEEK_MAX ZIP_OFF_MAX +#define ZIP_FSEEK_MIN ZIP_OFF_MIN +#else +#include +#define ZIP_FSEEK_MAX LONG_MAX +#define ZIP_FSEEK_MIN LONG_MIN +#endif + +#ifndef SIZE_MAX +#if SIZEOF_SIZE_T == 8 +#define SIZE_MAX ZIP_INT64_MAX +#elif SIZEOF_SIZE_T == 4 +#define SIZE_MAX ZIP_INT32_MAX +#elif SIZEOF_SIZE_T == 2 +#define SIZE_MAX ZIP_INT16_MAX +#else +#error unsupported size of size_t +#endif +#endif + +#ifndef PRId64 +#ifdef _MSC_VER +#define PRId64 "I64d" +#else +#define PRId64 "lld" +#endif +#endif + +#ifndef PRIu64 +#ifdef _MSC_VER +#define PRIu64 "I64u" +#else +#define PRIu64 "llu" +#endif +#endif + +#ifndef S_ISDIR +#define S_ISDIR(mode) (((mode)&S_IFMT) == S_IFDIR) +#endif + +#endif /* compat.h */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/make_zip_err_str.sh b/plugins/TKLiveSync/libzip_iOS/lib/make_zip_err_str.sh new file mode 100644 index 000000000..8d98f2351 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/make_zip_err_str.sh @@ -0,0 +1,79 @@ +#!/bin/sh + +# make_zip_err_str.sh: create zip_err_str.c from zip.h +# Copyright (C) 1999-2014 Dieter Baron and Thomas Klausner +# +# This file is part of libzip, a library to manipulate ZIP archives. +# The authors can be contacted at +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. The names of the authors may not be used to endorse or promote +# products derived from this software without specific prior +# written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +if [ "$#" -ne 2 ] +then + echo "Usage: $0 in_file out_file" >&2 + echo " e.g. $0 zip.h zip_err_str.c" >&2 + exit 1 +fi + +if [ "$1" = "$2" ] +then + echo "$0: error: output file = input file" >&2 + exit 1 +fi + +cat <> "$2.$$" || exit 1 +/* + This file was generated automatically by $0 + from $1; make changes there. + */ + +#include "zipint.h" + +const char * const _zip_err_str[] = { +EOF + +sed -n '/^#define ZIP_ER_/ s/.*\/\* . \([^*]*\) \*\// "\1",/p' "$1" \ + >> "$2.$$" || exit 1 + +cat <> "$2.$$" || exit 1 +}; + +const int _zip_nerr_str = sizeof(_zip_err_str)/sizeof(_zip_err_str[0]); + +#define N ZIP_ET_NONE +#define S ZIP_ET_SYS +#define Z ZIP_ET_ZLIB + +const int _zip_err_type[] = { +EOF + +sed -n '/^#define ZIP_ER_/ s/.*\/\* \(.\) \([^*]*\) \*\// \1,/p' "$1" \ + >> "$2.$$" || exit 1 + +echo '};' >> "$2.$$" || exit 1 + +mv "$2.$$" "$2" || exit 1 diff --git a/plugins/TKLiveSync/libzip_iOS/lib/make_zipconf.sh b/plugins/TKLiveSync/libzip_iOS/lib/make_zipconf.sh new file mode 100644 index 000000000..cdf83f475 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/make_zipconf.sh @@ -0,0 +1,163 @@ +#!/bin/sh + +# make_zipconf.sh: create platform specific include file zipconf.h +# Copyright (C) 1999-2011 Dieter Baron and Thomas Klausner +# +# This file is part of libzip, a library to manipulate ZIP archives. +# The authors can be contacted at +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in +# the documentation and/or other materials provided with the +# distribution. +# 3. The names of the authors may not be used to endorse or promote +# products derived from this software without specific prior +# written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +# GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +# IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + + +set -e + +define_type() +{ + short=$1 + long=$2 + bytes=$3 + infile="$4" + outfile="$5" + + bits=`expr $bytes '*' 8` + type="${short}int${bits}" + TYPE=`echo $type | tr '[a-z]' '[A-Z]'` + if grep "define HAVE_${TYPE}_T" "$infile" > /dev/null + then + echo "typedef ${type}_t zip_${type}_t;" >> "$outfile" + LTYPE="$TYPE" + else + SHORT=`echo $short | tr '[a-z]' '[A-Z]'` + if [ -z "$SHORT" ] + then + SHORT='S' + fi + if [ "$bytes" -eq 1 ] + then + if [ -z "$long" ] + then + long='signed' + fi + echo "typedef $long char ${type}_t;" >> $outfile + LTYPE="${SHORT}CHAR" + else + ctype=`sed -n "s/.define SIZEOF_\([A-Z_]*\) $bytes/\1/p" "$infile" \ + | head -1 | tr '[A-Z_]' '[a-z ]'` + if [ -z "$ctype" ] + then + echo "$0: no $bits bit type found" >&2 + exit 1 + fi + echo "typedef $long $ctype ${type}_t;" >> "$outfile" + case "$ctype" in + short) LTYPE=${SHORT}SHRT;; + int) LTYPE=${SHORT}INT;; + long) LTYPE=${SHORT}LONG;; + "long long") LTYPE=${SHORT}LLONG;; + esac + fi + fi + + if [ -z "$long" ] + then + echo "#define ZIP_${TYPE}_MIN ${LTYPE}_MIN" >> "$outfile" + fi + echo "#define ZIP_${TYPE}_MAX ${LTYPE}_MAX" >> "$outfile" + echo >> "$outfile" +} + + +if [ "$#" -ne 2 ] +then + echo "Usage: $0 config_h_file out_file" >&2 + echo " e.g. $0 ../config.h zip_err_str.c" >&2 + exit 1 +fi + +if [ "$1" = "$2" ] +then + echo "$0: error: output file = input file" >&2 + exit 1 +fi + +cat < "$2.$$" +#ifndef _HAD_ZIPCONF_H +#define _HAD_ZIPCONF_H + +/* + zipconf.h -- platform specific include file + + This file was generated automatically by $0 + based on $1. + */ + +EOF + +version=`sed -n 's/^#define VERSION "\(.*\)"/\1/p' "$1"` + +version_major=`expr "$version" : '^\([0-9]*\)' || true` +version_minor=`expr "$version" : '^[0-9]*\.\([0-9]*\)' || true` +version_micro=`expr "$version" : '^[0-9]*\.[0-9]\.\([0-9]*\)' || true` + +if [ -z "$version_major" ] +then + version_major=0 +fi +if [ -z "$version_minor" ] +then + version_minor=0 +fi +if [ -z "$version_micro" ] +then + version_micro=0 +fi + +cat <> "$2.$$" +#define LIBZIP_VERSION "$version" +#define LIBZIP_VERSION_MAJOR $version_major +#define LIBZIP_VERSION_MINOR $version_minor +#define LIBZIP_VERSION_MICRO $version_micro + +EOF + +if grep 'define HAVE_INTTYPES_H' "$1" > /dev/null +then + echo '#include ' >> "$2.$$" +else + echo '#include ' >> "$2.$$" +fi +echo >> "$2.$$" + +for size in 1 2 4 8 +do + define_type '' '' $size "$1" "$2.$$" + define_type u unsigned $size "$1" "$2.$$" +done + +echo >> "$2.$$" +echo '#endif /* zipconf.h */' >> "$2.$$" + +mv "$2.$$" "$2" diff --git a/plugins/TKLiveSync/libzip_iOS/lib/mkstemp.c b/plugins/TKLiveSync/libzip_iOS/lib/mkstemp.c new file mode 100644 index 000000000..f18f10b87 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/mkstemp.c @@ -0,0 +1,153 @@ +/* Adapted from NetBSB libc by Dieter Baron */ + +/* NetBSD: gettemp.c,v 1.13 2003/12/05 00:57:36 uebayasi Exp */ + +/* + * Copyright (c) 1987, 1993 + * The Regents of the University of California. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + */ + +#include +#include + +#include +#include +#include +#include +#ifdef _WIN32 +#include +#include +#else +#include +#endif +#include +#include + +#ifndef O_BINARY +#define O_BINARY 0 +#endif + + +int +_zip_mkstemp(char *path) { +#ifdef _WIN32 + int ret; + ret = _creat(_mktemp(path), _S_IREAD | _S_IWRITE); + if (ret == -1) { + return 0; + } + else { + return ret; + } +#else + int fd; + char *start, *trv; + struct stat sbuf; + pid_t pid; + + /* To guarantee multiple calls generate unique names even if + the file is not created. 676 different possibilities with 7 + or more X's, 26 with 6 or less. */ + static char xtra[2] = "aa"; + int xcnt = 0; + + pid = getpid(); + + /* Move to end of path and count trailing X's. */ + for (trv = path; *trv; ++trv) + if (*trv == 'X') + xcnt++; + else + xcnt = 0; + + /* Use at least one from xtra. Use 2 if more than 6 X's. */ + if (*(trv - 1) == 'X') + *--trv = xtra[0]; + if (xcnt > 6 && *(trv - 1) == 'X') + *--trv = xtra[1]; + + /* Set remaining X's to pid digits with 0's to the left. */ + while (*--trv == 'X') { + *trv = (pid % 10) + '0'; + pid /= 10; + } + + /* update xtra for next call. */ + if (xtra[0] != 'z') + xtra[0]++; + else { + xtra[0] = 'a'; + if (xtra[1] != 'z') + xtra[1]++; + else + xtra[1] = 'a'; + } + + /* + * check the target directory; if you have six X's and it + * doesn't exist this runs for a *very* long time. + */ + for (start = trv + 1;; --trv) { + if (trv <= path) + break; + if (*trv == '/') { + *trv = '\0'; + if (stat(path, &sbuf)) + return (0); + if (!S_ISDIR(sbuf.st_mode)) { + errno = ENOTDIR; + return (0); + } + *trv = '/'; + break; + } + } + + for (;;) { + if ((fd = open(path, O_CREAT | O_EXCL | O_RDWR | O_BINARY, 0600)) >= 0) + return (fd); + if (errno != EEXIST) + return (0); + + /* tricky little algorithm for backward compatibility */ + for (trv = start;;) { + if (!*trv) + return (0); + if (*trv == 'z') + *trv++ = 'a'; + else { + if (isdigit((unsigned char)*trv)) + *trv = 'a'; + else + ++*trv; + break; + } + } + } + /*NOTREACHED*/ +#endif +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip.h b/plugins/TKLiveSync/libzip_iOS/lib/zip.h new file mode 100644 index 000000000..9560d8b85 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip.h @@ -0,0 +1,450 @@ +#ifndef _HAD_ZIP_H +#define _HAD_ZIP_H + +/* + zip.h -- exported declarations. + Copyright (C) 1999-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#ifdef __cplusplus +extern "C" { +#if 0 +} /* fix autoindent */ +#endif +#endif + +#include "zipconf.h" + +#ifndef ZIP_EXTERN +#ifndef ZIP_STATIC +#ifdef _WIN32 +#define ZIP_EXTERN __declspec(dllimport) +#elif defined(__GNUC__) && __GNUC__ >= 4 +#define ZIP_EXTERN __attribute__((visibility("default"))) +#else +#define ZIP_EXTERN +#endif +#else +#define ZIP_EXTERN +#endif +#endif + +#include +#include +#include + +/* flags for zip_open */ + +#define ZIP_CREATE 1 +#define ZIP_EXCL 2 +#define ZIP_CHECKCONS 4 +#define ZIP_TRUNCATE 8 +#define ZIP_RDONLY 16 + + +/* flags for zip_name_locate, zip_fopen, zip_stat, ... */ + +#define ZIP_FL_NOCASE 1u /* ignore case on name lookup */ +#define ZIP_FL_NODIR 2u /* ignore directory component */ +#define ZIP_FL_COMPRESSED 4u /* read compressed data */ +#define ZIP_FL_UNCHANGED 8u /* use original data, ignoring changes */ +#define ZIP_FL_RECOMPRESS 16u /* force recompression of data */ +#define ZIP_FL_ENCRYPTED 32u /* read encrypted data (implies ZIP_FL_COMPRESSED) */ +#define ZIP_FL_ENC_GUESS 0u /* guess string encoding (is default) */ +#define ZIP_FL_ENC_RAW 64u /* get unmodified string */ +#define ZIP_FL_ENC_STRICT 128u /* follow specification strictly */ +#define ZIP_FL_LOCAL 256u /* in local header */ +#define ZIP_FL_CENTRAL 512u /* in central directory */ +/* 1024u reserved for internal use */ +#define ZIP_FL_ENC_UTF_8 2048u /* string is UTF-8 encoded */ +#define ZIP_FL_ENC_CP437 4096u /* string is CP437 encoded */ +#define ZIP_FL_OVERWRITE 8192u /* zip_file_add: if file with name exists, overwrite (replace) it */ + +/* archive global flags flags */ + +#define ZIP_AFL_RDONLY 2u /* read only -- cannot be cleared */ + + +/* create a new extra field */ + +#define ZIP_EXTRA_FIELD_ALL ZIP_UINT16_MAX +#define ZIP_EXTRA_FIELD_NEW ZIP_UINT16_MAX + + +/* libzip error codes */ + +#define ZIP_ER_OK 0 /* N No error */ +#define ZIP_ER_MULTIDISK 1 /* N Multi-disk zip archives not supported */ +#define ZIP_ER_RENAME 2 /* S Renaming temporary file failed */ +#define ZIP_ER_CLOSE 3 /* S Closing zip archive failed */ +#define ZIP_ER_SEEK 4 /* S Seek error */ +#define ZIP_ER_READ 5 /* S Read error */ +#define ZIP_ER_WRITE 6 /* S Write error */ +#define ZIP_ER_CRC 7 /* N CRC error */ +#define ZIP_ER_ZIPCLOSED 8 /* N Containing zip archive was closed */ +#define ZIP_ER_NOENT 9 /* N No such file */ +#define ZIP_ER_EXISTS 10 /* N File already exists */ +#define ZIP_ER_OPEN 11 /* S Can't open file */ +#define ZIP_ER_TMPOPEN 12 /* S Failure to create temporary file */ +#define ZIP_ER_ZLIB 13 /* Z Zlib error */ +#define ZIP_ER_MEMORY 14 /* N Malloc failure */ +#define ZIP_ER_CHANGED 15 /* N Entry has been changed */ +#define ZIP_ER_COMPNOTSUPP 16 /* N Compression method not supported */ +#define ZIP_ER_EOF 17 /* N Premature end of file */ +#define ZIP_ER_INVAL 18 /* N Invalid argument */ +#define ZIP_ER_NOZIP 19 /* N Not a zip archive */ +#define ZIP_ER_INTERNAL 20 /* N Internal error */ +#define ZIP_ER_INCONS 21 /* N Zip archive inconsistent */ +#define ZIP_ER_REMOVE 22 /* S Can't remove file */ +#define ZIP_ER_DELETED 23 /* N Entry has been deleted */ +#define ZIP_ER_ENCRNOTSUPP 24 /* N Encryption method not supported */ +#define ZIP_ER_RDONLY 25 /* N Read-only archive */ +#define ZIP_ER_NOPASSWD 26 /* N No password provided */ +#define ZIP_ER_WRONGPASSWD 27 /* N Wrong password provided */ +#define ZIP_ER_OPNOTSUPP 28 /* N Operation not supported */ +#define ZIP_ER_INUSE 29 /* N Resource still in use */ +#define ZIP_ER_TELL 30 /* S Tell error */ +#define ZIP_ER_COMPRESSED_DATA 31 /* N Compressed data invalid */ + +/* type of system error value */ + +#define ZIP_ET_NONE 0 /* sys_err unused */ +#define ZIP_ET_SYS 1 /* sys_err is errno */ +#define ZIP_ET_ZLIB 2 /* sys_err is zlib error code */ + +/* compression methods */ + +#define ZIP_CM_DEFAULT -1 /* better of deflate or store */ +#define ZIP_CM_STORE 0 /* stored (uncompressed) */ +#define ZIP_CM_SHRINK 1 /* shrunk */ +#define ZIP_CM_REDUCE_1 2 /* reduced with factor 1 */ +#define ZIP_CM_REDUCE_2 3 /* reduced with factor 2 */ +#define ZIP_CM_REDUCE_3 4 /* reduced with factor 3 */ +#define ZIP_CM_REDUCE_4 5 /* reduced with factor 4 */ +#define ZIP_CM_IMPLODE 6 /* imploded */ +/* 7 - Reserved for Tokenizing compression algorithm */ +#define ZIP_CM_DEFLATE 8 /* deflated */ +#define ZIP_CM_DEFLATE64 9 /* deflate64 */ +#define ZIP_CM_PKWARE_IMPLODE 10 /* PKWARE imploding */ +/* 11 - Reserved by PKWARE */ +#define ZIP_CM_BZIP2 12 /* compressed using BZIP2 algorithm */ +/* 13 - Reserved by PKWARE */ +#define ZIP_CM_LZMA 14 /* LZMA (EFS) */ +/* 15-17 - Reserved by PKWARE */ +#define ZIP_CM_TERSE 18 /* compressed using IBM TERSE (new) */ +#define ZIP_CM_LZ77 19 /* IBM LZ77 z Architecture (PFS) */ +#define ZIP_CM_XZ 95 /* XZ compressed data */ +#define ZIP_CM_JPEG 96 /* Compressed Jpeg data */ +#define ZIP_CM_WAVPACK 97 /* WavPack compressed data */ +#define ZIP_CM_PPMD 98 /* PPMd version I, Rev 1 */ + +/* encryption methods */ + +#define ZIP_EM_NONE 0 /* not encrypted */ +#define ZIP_EM_TRAD_PKWARE 1 /* traditional PKWARE encryption */ +#if 0 /* Strong Encryption Header not parsed yet */ +#define ZIP_EM_DES 0x6601 /* strong encryption: DES */ +#define ZIP_EM_RC2_OLD 0x6602 /* strong encryption: RC2, version < 5.2 */ +#define ZIP_EM_3DES_168 0x6603 +#define ZIP_EM_3DES_112 0x6609 +#define ZIP_EM_PKZIP_AES_128 0x660e +#define ZIP_EM_PKZIP_AES_192 0x660f +#define ZIP_EM_PKZIP_AES_256 0x6610 +#define ZIP_EM_RC2 0x6702 /* strong encryption: RC2, version >= 5.2 */ +#define ZIP_EM_RC4 0x6801 +#endif +#define ZIP_EM_AES_128 0x0101 /* Winzip AES encryption */ +#define ZIP_EM_AES_192 0x0102 +#define ZIP_EM_AES_256 0x0103 +#define ZIP_EM_UNKNOWN 0xffff /* unknown algorithm */ + +#define ZIP_OPSYS_DOS 0x00u +#define ZIP_OPSYS_AMIGA 0x01u +#define ZIP_OPSYS_OPENVMS 0x02u +#define ZIP_OPSYS_UNIX 0x03u +#define ZIP_OPSYS_VM_CMS 0x04u +#define ZIP_OPSYS_ATARI_ST 0x05u +#define ZIP_OPSYS_OS_2 0x06u +#define ZIP_OPSYS_MACINTOSH 0x07u +#define ZIP_OPSYS_Z_SYSTEM 0x08u +#define ZIP_OPSYS_CPM 0x09u +#define ZIP_OPSYS_WINDOWS_NTFS 0x0au +#define ZIP_OPSYS_MVS 0x0bu +#define ZIP_OPSYS_VSE 0x0cu +#define ZIP_OPSYS_ACORN_RISC 0x0du +#define ZIP_OPSYS_VFAT 0x0eu +#define ZIP_OPSYS_ALTERNATE_MVS 0x0fu +#define ZIP_OPSYS_BEOS 0x10u +#define ZIP_OPSYS_TANDEM 0x11u +#define ZIP_OPSYS_OS_400 0x12u +#define ZIP_OPSYS_OS_X 0x13u + +#define ZIP_OPSYS_DEFAULT ZIP_OPSYS_UNIX + + +enum zip_source_cmd { + ZIP_SOURCE_OPEN, /* prepare for reading */ + ZIP_SOURCE_READ, /* read data */ + ZIP_SOURCE_CLOSE, /* reading is done */ + ZIP_SOURCE_STAT, /* get meta information */ + ZIP_SOURCE_ERROR, /* get error information */ + ZIP_SOURCE_FREE, /* cleanup and free resources */ + ZIP_SOURCE_SEEK, /* set position for reading */ + ZIP_SOURCE_TELL, /* get read position */ + ZIP_SOURCE_BEGIN_WRITE, /* prepare for writing */ + ZIP_SOURCE_COMMIT_WRITE, /* writing is done */ + ZIP_SOURCE_ROLLBACK_WRITE, /* discard written changes */ + ZIP_SOURCE_WRITE, /* write data */ + ZIP_SOURCE_SEEK_WRITE, /* set position for writing */ + ZIP_SOURCE_TELL_WRITE, /* get write position */ + ZIP_SOURCE_SUPPORTS, /* check whether source supports command */ + ZIP_SOURCE_REMOVE, /* remove file */ + ZIP_SOURCE_GET_COMPRESSION_FLAGS, /* get compression flags, internal only */ + ZIP_SOURCE_BEGIN_WRITE_CLONING /* like ZIP_SOURCE_BEGIN_WRITE, but keep part of original file */ +}; +typedef enum zip_source_cmd zip_source_cmd_t; + +#define ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd) (((zip_int64_t)1) << (cmd)) + +// clang-format off + +#define ZIP_SOURCE_SUPPORTS_READABLE (ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_OPEN) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_READ) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_CLOSE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_STAT) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ERROR) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_FREE)) + +#define ZIP_SOURCE_SUPPORTS_SEEKABLE (ZIP_SOURCE_SUPPORTS_READABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SUPPORTS)) + +#define ZIP_SOURCE_SUPPORTS_WRITABLE (ZIP_SOURCE_SUPPORTS_SEEKABLE \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_COMMIT_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_ROLLBACK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_TELL_WRITE) \ + | ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_REMOVE)) + +// clang-format on + +/* for use by sources */ +struct zip_source_args_seek { + zip_int64_t offset; + int whence; +}; + +typedef struct zip_source_args_seek zip_source_args_seek_t; +#define ZIP_SOURCE_GET_ARGS(type, data, len, error) ((len) < sizeof(type) ? zip_error_set((error), ZIP_ER_INVAL, 0), (type *)NULL : (type *)(data)) + + +/* error information */ +/* use zip_error_*() to access */ +struct zip_error { + int zip_err; /* libzip error code (ZIP_ER_*) */ + int sys_err; /* copy of errno (E*) or zlib error code */ + char *_Nullable str; /* string representation or NULL */ +}; + +#define ZIP_STAT_NAME 0x0001u +#define ZIP_STAT_INDEX 0x0002u +#define ZIP_STAT_SIZE 0x0004u +#define ZIP_STAT_COMP_SIZE 0x0008u +#define ZIP_STAT_MTIME 0x0010u +#define ZIP_STAT_CRC 0x0020u +#define ZIP_STAT_COMP_METHOD 0x0040u +#define ZIP_STAT_ENCRYPTION_METHOD 0x0080u +#define ZIP_STAT_FLAGS 0x0100u + +struct zip_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char *_Nullable name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; + +struct zip_buffer_fragment { + zip_uint8_t *_Nonnull data; + zip_uint64_t length; +}; + +struct zip; +struct zip_file; +struct zip_source; + +typedef struct zip zip_t; +typedef struct zip_error zip_error_t; +typedef struct zip_file zip_file_t; +typedef struct zip_source zip_source_t; +typedef struct zip_stat zip_stat_t; +typedef struct zip_buffer_fragment zip_buffer_fragment_t; + +typedef zip_uint32_t zip_flags_t; + +typedef zip_int64_t (*zip_source_callback)(void *_Nullable, void *_Nullable, zip_uint64_t, zip_source_cmd_t); +typedef void (*zip_progress_callback)(zip_t *_Nonnull, double, void *_Nullable); + +#ifndef ZIP_DISABLE_DEPRECATED +typedef void (*zip_progress_callback_t)(double); +ZIP_EXTERN void zip_register_progress_callback(zip_t *_Nonnull, zip_progress_callback_t _Nullable); /* use zip_register_progress_callback_with_state */ + +ZIP_EXTERN zip_int64_t zip_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull); /* use zip_file_add */ +ZIP_EXTERN zip_int64_t zip_add_dir(zip_t *_Nonnull, const char *_Nonnull); /* use zip_dir_add */ +ZIP_EXTERN const char *_Nullable zip_get_file_comment(zip_t *_Nonnull, zip_uint64_t, int *_Nullable, int); /* use zip_file_get_comment */ +ZIP_EXTERN int zip_get_num_files(zip_t *_Nonnull); /* use zip_get_num_entries instead */ +ZIP_EXTERN int zip_rename(zip_t *_Nonnull, zip_uint64_t, const char *_Nonnull); /* use zip_file_rename */ +ZIP_EXTERN int zip_replace(zip_t *_Nonnull, zip_uint64_t, zip_source_t *_Nonnull); /* use zip_file_replace */ +ZIP_EXTERN int zip_set_file_comment(zip_t *_Nonnull, zip_uint64_t, const char *_Nullable, int); /* use zip_file_set_comment */ +ZIP_EXTERN int zip_error_get_sys_type(int); /* use zip_error_system_type */ +ZIP_EXTERN void zip_error_get(zip_t *_Nonnull, int *_Nullable, int *_Nullable); /* use zip_get_error, zip_error_code_zip / zip_error_code_system */ +ZIP_EXTERN int zip_error_to_str(char *_Nonnull, zip_uint64_t, int, int); /* use zip_error_init_with_code / zip_error_strerror */ +ZIP_EXTERN void zip_file_error_get(zip_file_t *_Nonnull, int *_Nullable, int *_Nullable); /* use zip_file_get_error, zip_error_code_zip / zip_error_code_system */ +#endif + +ZIP_EXTERN int zip_close(zip_t *_Nonnull); +ZIP_EXTERN int zip_delete(zip_t *_Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int64_t zip_dir_add(zip_t *_Nonnull, const char *_Nonnull, zip_flags_t); +ZIP_EXTERN void zip_discard(zip_t *_Nonnull); + +ZIP_EXTERN zip_error_t *_Nonnull zip_get_error(zip_t *_Nonnull); +ZIP_EXTERN void zip_error_clear(zip_t *_Nonnull); +ZIP_EXTERN int zip_error_code_zip(const zip_error_t *_Nonnull); +ZIP_EXTERN int zip_error_code_system(const zip_error_t *_Nonnull); +ZIP_EXTERN void zip_error_fini(zip_error_t *_Nonnull); +ZIP_EXTERN void zip_error_init(zip_error_t *_Nonnull); +ZIP_EXTERN void zip_error_init_with_code(zip_error_t *_Nonnull, int); +ZIP_EXTERN void zip_error_set(zip_error_t *_Nullable, int, int); +ZIP_EXTERN const char *_Nonnull zip_error_strerror(zip_error_t *_Nonnull); +ZIP_EXTERN int zip_error_system_type(const zip_error_t *_Nonnull); +ZIP_EXTERN zip_int64_t zip_error_to_data(const zip_error_t *_Nonnull, void *_Nonnull, zip_uint64_t); + +ZIP_EXTERN int zip_fclose(zip_file_t *_Nonnull); +ZIP_EXTERN zip_t *_Nullable zip_fdopen(int, int, int *_Nullable); +ZIP_EXTERN zip_int64_t zip_file_add(zip_t *_Nonnull, const char *_Nonnull, zip_source_t *_Nonnull, zip_flags_t); +ZIP_EXTERN void zip_file_error_clear(zip_file_t *_Nonnull); +ZIP_EXTERN int zip_file_extra_field_delete(zip_t *_Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_delete_by_id(zip_t *_Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_extra_field_set(zip_t *_Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, const zip_uint8_t *_Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count(zip_t *_Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int16_t zip_file_extra_fields_count_by_id(zip_t *_Nonnull, zip_uint64_t, zip_uint16_t, zip_flags_t); +ZIP_EXTERN const zip_uint8_t *_Nullable zip_file_extra_field_get(zip_t *_Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t *_Nullable, zip_uint16_t *_Nullable, zip_flags_t); +ZIP_EXTERN const zip_uint8_t *_Nullable zip_file_extra_field_get_by_id(zip_t *_Nonnull, zip_uint64_t, zip_uint16_t, zip_uint16_t, zip_uint16_t *_Nullable, zip_flags_t); +ZIP_EXTERN const char *_Nullable zip_file_get_comment(zip_t *_Nonnull, zip_uint64_t, zip_uint32_t *_Nullable, zip_flags_t); +ZIP_EXTERN zip_error_t *_Nonnull zip_file_get_error(zip_file_t *_Nonnull); +ZIP_EXTERN int zip_file_get_external_attributes(zip_t *_Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t *_Nullable, zip_uint32_t *_Nullable); +ZIP_EXTERN int zip_file_rename(zip_t *_Nonnull, zip_uint64_t, const char *_Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_replace(zip_t *_Nonnull, zip_uint64_t, zip_source_t *_Nonnull, zip_flags_t); +ZIP_EXTERN int zip_file_set_comment(zip_t *_Nonnull, zip_uint64_t, const char *_Nullable, zip_uint16_t, zip_flags_t); +ZIP_EXTERN int zip_file_set_encryption(zip_t *_Nonnull, zip_uint64_t, zip_uint16_t, const char *_Nullable); +ZIP_EXTERN int zip_file_set_external_attributes(zip_t *_Nonnull, zip_uint64_t, zip_flags_t, zip_uint8_t, zip_uint32_t); +ZIP_EXTERN int zip_file_set_mtime(zip_t *_Nonnull, zip_uint64_t, time_t, zip_flags_t); +ZIP_EXTERN const char *_Nonnull zip_file_strerror(zip_file_t *_Nonnull); +ZIP_EXTERN zip_file_t *_Nullable zip_fopen(zip_t *_Nonnull, const char *_Nonnull, zip_flags_t); +ZIP_EXTERN zip_file_t *_Nullable zip_fopen_encrypted(zip_t *_Nonnull, const char *_Nonnull, zip_flags_t, const char *_Nullable); +ZIP_EXTERN zip_file_t *_Nullable zip_fopen_index(zip_t *_Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_file_t *_Nullable zip_fopen_index_encrypted(zip_t *_Nonnull, zip_uint64_t, zip_flags_t, const char *_Nullable); +ZIP_EXTERN zip_int64_t zip_fread(zip_file_t *_Nonnull, void *_Nonnull, zip_uint64_t); +ZIP_EXTERN zip_int8_t zip_fseek(zip_file_t *_Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_ftell(zip_file_t *_Nonnull); +ZIP_EXTERN const char *_Nullable zip_get_archive_comment(zip_t *_Nonnull, int *_Nullable, zip_flags_t); +ZIP_EXTERN int zip_get_archive_flag(zip_t *_Nonnull, zip_flags_t, zip_flags_t); +ZIP_EXTERN const char *_Nullable zip_get_name(zip_t *_Nonnull, zip_uint64_t, zip_flags_t); +ZIP_EXTERN zip_int64_t zip_get_num_entries(zip_t *_Nonnull, zip_flags_t); +ZIP_EXTERN const char *_Nonnull zip_libzip_version(void); +ZIP_EXTERN zip_int64_t zip_name_locate(zip_t *_Nonnull, const char *_Nonnull, zip_flags_t); +ZIP_EXTERN zip_t *_Nullable zip_open(const char *_Nonnull, int, int *_Nullable); +ZIP_EXTERN zip_t *_Nullable zip_open_from_source(zip_source_t *_Nonnull, int, zip_error_t *_Nullable); +ZIP_EXTERN int zip_register_progress_callback_with_state(zip_t *_Nonnull, double, zip_progress_callback _Nullable, void (*_Nullable)(void *_Nullable), void *_Nullable); +ZIP_EXTERN int zip_set_archive_comment(zip_t *_Nonnull, const char *_Nullable, zip_uint16_t); +ZIP_EXTERN int zip_set_archive_flag(zip_t *_Nonnull, zip_flags_t, int); +ZIP_EXTERN int zip_set_default_password(zip_t *_Nonnull, const char *_Nullable); +ZIP_EXTERN int zip_set_file_compression(zip_t *_Nonnull, zip_uint64_t, zip_int32_t, zip_uint32_t); +ZIP_EXTERN int zip_source_begin_write(zip_source_t *_Nonnull); +ZIP_EXTERN int zip_source_begin_write_cloning(zip_source_t *_Nonnull, zip_uint64_t); +ZIP_EXTERN zip_source_t *_Nullable zip_source_buffer(zip_t *_Nonnull, const void *_Nullable, zip_uint64_t, int); +ZIP_EXTERN zip_source_t *_Nullable zip_source_buffer_create(const void *_Nullable, zip_uint64_t, int, zip_error_t *_Nullable); +ZIP_EXTERN zip_source_t *_Nullable zip_source_buffer_fragment(zip_t *_Nonnull, const zip_buffer_fragment_t *_Nonnull, zip_uint64_t, int); +ZIP_EXTERN zip_source_t *_Nullable zip_source_buffer_fragment_create(const zip_buffer_fragment_t *_Nonnull, zip_uint64_t, int, zip_error_t *_Nullable); +ZIP_EXTERN int zip_source_close(zip_source_t *_Nonnull); +ZIP_EXTERN int zip_source_commit_write(zip_source_t *_Nonnull); +ZIP_EXTERN zip_error_t *_Nonnull zip_source_error(zip_source_t *_Nonnull); +ZIP_EXTERN zip_source_t *_Nullable zip_source_file(zip_t *_Nonnull, const char *_Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t *_Nullable zip_source_file_create(const char *_Nonnull, zip_uint64_t, zip_int64_t, zip_error_t *_Nullable); +ZIP_EXTERN zip_source_t *_Nullable zip_source_filep(zip_t *_Nonnull, FILE *_Nonnull, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t *_Nullable zip_source_filep_create(FILE *_Nonnull, zip_uint64_t, zip_int64_t, zip_error_t *_Nullable); +ZIP_EXTERN void zip_source_free(zip_source_t *_Nullable); +ZIP_EXTERN zip_source_t *_Nullable zip_source_function(zip_t *_Nonnull, zip_source_callback _Nonnull, void *_Nullable); +ZIP_EXTERN zip_source_t *_Nullable zip_source_function_create(zip_source_callback _Nonnull, void *_Nullable, zip_error_t *_Nullable); +ZIP_EXTERN int zip_source_is_deleted(zip_source_t *_Nonnull); +ZIP_EXTERN void zip_source_keep(zip_source_t *_Nonnull); +ZIP_EXTERN zip_int64_t zip_source_make_command_bitmap(zip_source_cmd_t, ...); +ZIP_EXTERN int zip_source_open(zip_source_t *_Nonnull); +ZIP_EXTERN zip_int64_t zip_source_read(zip_source_t *_Nonnull, void *_Nonnull, zip_uint64_t); +ZIP_EXTERN void zip_source_rollback_write(zip_source_t *_Nonnull); +ZIP_EXTERN int zip_source_seek(zip_source_t *_Nonnull, zip_int64_t, int); +ZIP_EXTERN zip_int64_t zip_source_seek_compute_offset(zip_uint64_t, zip_uint64_t, void *_Nonnull, zip_uint64_t, zip_error_t *_Nullable); +ZIP_EXTERN int zip_source_seek_write(zip_source_t *_Nonnull, zip_int64_t, int); +ZIP_EXTERN int zip_source_stat(zip_source_t *_Nonnull, zip_stat_t *_Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell(zip_source_t *_Nonnull); +ZIP_EXTERN zip_int64_t zip_source_tell_write(zip_source_t *_Nonnull); +#ifdef _WIN32 +ZIP_EXTERN zip_source_t *zip_source_win32a(zip_t *, const char *, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t *zip_source_win32a_create(const char *, zip_uint64_t, zip_int64_t, zip_error_t *); +ZIP_EXTERN zip_source_t *zip_source_win32handle(zip_t *, void *, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t *zip_source_win32handle_create(void *, zip_uint64_t, zip_int64_t, zip_error_t *); +ZIP_EXTERN zip_source_t *zip_source_win32w(zip_t *, const wchar_t *, zip_uint64_t, zip_int64_t); +ZIP_EXTERN zip_source_t *zip_source_win32w_create(const wchar_t *, zip_uint64_t, zip_int64_t, zip_error_t *); +#endif +ZIP_EXTERN zip_int64_t zip_source_write(zip_source_t *_Nonnull, const void *_Nullable, zip_uint64_t); +ZIP_EXTERN zip_source_t *_Nullable zip_source_zip(zip_t *_Nonnull, zip_t *_Nonnull, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_int64_t); +ZIP_EXTERN int zip_stat(zip_t *_Nonnull, const char *_Nonnull, zip_flags_t, zip_stat_t *_Nonnull); +ZIP_EXTERN int zip_stat_index(zip_t *_Nonnull, zip_uint64_t, zip_flags_t, zip_stat_t *_Nonnull); +ZIP_EXTERN void zip_stat_init(zip_stat_t *_Nonnull); +ZIP_EXTERN const char *_Nonnull zip_strerror(zip_t *_Nonnull); +ZIP_EXTERN int zip_unchange(zip_t *_Nonnull, zip_uint64_t); +ZIP_EXTERN int zip_unchange_all(zip_t *_Nonnull); +ZIP_EXTERN int zip_unchange_archive(zip_t *_Nonnull); + +#ifdef __cplusplus +} +#endif + +#endif /* _HAD_ZIP_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_add.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_add.c new file mode 100644 index 000000000..f09c9ffe7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_add.c @@ -0,0 +1,49 @@ +/* + zip_add.c -- add file via callback function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +/* + NOTE: Return type is signed so we can return -1 on error. + The index can not be larger than ZIP_INT64_MAX since the size + of the central directory cannot be larger than + ZIP_UINT64_MAX, and each entry is larger than 2 bytes. +*/ + +ZIP_EXTERN zip_int64_t +zip_add(zip_t *za, const char *name, zip_source_t *source) { + return zip_file_add(za, name, source, 0); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_add_dir.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_add_dir.c new file mode 100644 index 000000000..6beb929b0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_add_dir.c @@ -0,0 +1,44 @@ +/* + zip_add_dir.c -- add directory + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +/* NOTE: Signed due to -1 on error. See zip_add.c for more details. */ + +ZIP_EXTERN zip_int64_t +zip_add_dir(zip_t *za, const char *name) { + return zip_dir_add(za, name, 0); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_add_entry.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_add_entry.c new file mode 100644 index 000000000..45def7a13 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_add_entry.c @@ -0,0 +1,80 @@ +/* + zip_add_entry.c -- create and init struct zip_entry + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +/* NOTE: Signed due to -1 on error. See zip_add.c for more details. */ + +zip_int64_t +_zip_add_entry(zip_t *za) { + zip_uint64_t idx; + + if (za->nentry + 1 >= za->nentry_alloc) { + zip_entry_t *rentries; + zip_uint64_t nalloc = za->nentry_alloc; + zip_uint64_t additional_entries = 2 * nalloc; + zip_uint64_t realloc_size; + + if (additional_entries < 16) { + additional_entries = 16; + } + else if (additional_entries > 1024) { + additional_entries = 1024; + } + /* neither + nor * overflows can happen: nentry_alloc * sizeof(struct zip_entry) < UINT64_MAX */ + nalloc += additional_entries; + realloc_size = sizeof(struct zip_entry) * (size_t)nalloc; + + if (sizeof(struct zip_entry) * (size_t)za->nentry_alloc > realloc_size) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + rentries = (zip_entry_t *)realloc(za->entry, sizeof(struct zip_entry) * (size_t)nalloc); + if (!rentries) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + za->entry = rentries; + za->nentry_alloc = nalloc; + } + + idx = za->nentry++; + + _zip_entry_init(za->entry + idx); + + return (zip_int64_t)idx; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_algorithm_bzip2.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_algorithm_bzip2.c new file mode 100644 index 000000000..72fbad175 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_algorithm_bzip2.c @@ -0,0 +1,270 @@ +/* + zip_algorithm_bzip2.c -- bzip2 (de)compression routines + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" + +#include +#include +#include + +struct ctx { + zip_error_t *error; + bool compress; + int compression_flags; + bool end_of_input; + bz_stream zstr; +}; + + +static void * +allocate(bool compress, int compression_flags, zip_error_t *error) { + struct ctx *ctx; + + if ((ctx = (struct ctx *)malloc(sizeof(*ctx))) == NULL) { + return NULL; + } + + ctx->error = error; + ctx->compress = compress; + ctx->compression_flags = compression_flags; + if (ctx->compression_flags < 1 || ctx->compression_flags > 9) { + ctx->compression_flags = 9; + } + ctx->end_of_input = false; + + ctx->zstr.bzalloc = NULL; + ctx->zstr.bzfree = NULL; + ctx->zstr.opaque = NULL; + + return ctx; +} + + +static void * +compress_allocate(zip_uint16_t method, int compression_flags, zip_error_t *error) { + return allocate(true, compression_flags, error); +} + + +static void * +decompress_allocate(zip_uint16_t method, int compression_flags, zip_error_t *error) { + return allocate(false, compression_flags, error); +} + + +static void +deallocate(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + + free(ctx); +} + + +static int +compression_flags(void *ud) { + return 0; +} + + +static int +map_error(int ret) { + switch (ret) { + case BZ_FINISH_OK: + case BZ_FLUSH_OK: + case BZ_OK: + case BZ_RUN_OK: + case BZ_STREAM_END: + return ZIP_ER_OK; + + case BZ_DATA_ERROR: + case BZ_DATA_ERROR_MAGIC: + case BZ_UNEXPECTED_EOF: + return ZIP_ER_COMPRESSED_DATA; + + case BZ_MEM_ERROR: + return ZIP_ER_MEMORY; + + case BZ_PARAM_ERROR: + return ZIP_ER_INVAL; + + case BZ_CONFIG_ERROR: /* actually, bzip2 miscompiled */ + case BZ_IO_ERROR: + case BZ_OUTBUFF_FULL: + case BZ_SEQUENCE_ERROR: + return ZIP_ER_INTERNAL; + + default: + return ZIP_ER_INTERNAL; + } +} + +static bool +start(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + int ret; + + ctx->zstr.avail_in = 0; + ctx->zstr.next_in = NULL; + ctx->zstr.avail_out = 0; + ctx->zstr.next_out = NULL; + + if (ctx->compress) { + ret = BZ2_bzCompressInit(&ctx->zstr, ctx->compression_flags, 0, 30); + } + else { + ret = BZ2_bzDecompressInit(&ctx->zstr, 0, 0); + } + + if (ret != BZ_OK) { + zip_error_set(ctx->error, map_error(ret), 0); + return false; + } + + return true; +} + + +static bool +end(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + int err; + + if (ctx->compress) { + err = BZ2_bzCompressEnd(&ctx->zstr); + } + else { + err = BZ2_bzDecompressEnd(&ctx->zstr); + } + + if (err != BZ_OK) { + zip_error_set(ctx->error, map_error(err), 0); + return false; + } + + return true; +} + + +static bool +input(void *ud, zip_uint8_t *data, zip_uint64_t length) { + struct ctx *ctx = (struct ctx *)ud; + + if (length > UINT_MAX || ctx->zstr.avail_in > 0) { + zip_error_set(ctx->error, ZIP_ER_INVAL, 0); + return false; + } + + ctx->zstr.avail_in = (unsigned int)length; + ctx->zstr.next_in = (char *)data; + + return true; +} + + +static void +end_of_input(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + + ctx->end_of_input = true; +} + + +static zip_compression_status_t +process(void *ud, zip_uint8_t *data, zip_uint64_t *length) { + struct ctx *ctx = (struct ctx *)ud; + + int ret; + + if (ctx->zstr.avail_in == 0 && !ctx->end_of_input) { + *length = 0; + return ZIP_COMPRESSION_NEED_DATA; + } + + ctx->zstr.avail_out = (unsigned int)ZIP_MIN(UINT_MAX, *length); + ctx->zstr.next_out = (char *)data; + + if (ctx->compress) { + ret = BZ2_bzCompress(&ctx->zstr, ctx->end_of_input ? BZ_FINISH : BZ_RUN); + } + else { + ret = BZ2_bzDecompress(&ctx->zstr); + } + + *length = *length - ctx->zstr.avail_out; + + switch (ret) { + case BZ_FINISH_OK: /* compression */ + return ZIP_COMPRESSION_OK; + + case BZ_OK: /* decompression */ + case BZ_RUN_OK: /* compression */ + if (ctx->zstr.avail_in == 0) { + return ZIP_COMPRESSION_NEED_DATA; + } + return ZIP_COMPRESSION_OK; + + case BZ_STREAM_END: + return ZIP_COMPRESSION_END; + + default: + zip_error_set(ctx->error, map_error(ret), 0); + return ZIP_COMPRESSION_ERROR; + } +} + +// clang-format off + +zip_compression_algorithm_t zip_algorithm_bzip2_compress = { + compress_allocate, + deallocate, + compression_flags, + start, + end, + input, + end_of_input, + process +}; + + +zip_compression_algorithm_t zip_algorithm_bzip2_decompress = { + decompress_allocate, + deallocate, + compression_flags, + start, + end, + input, + end_of_input, + process +}; + +// clang-format on diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_algorithm_deflate.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_algorithm_deflate.c new file mode 100644 index 000000000..ba5ad4394 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_algorithm_deflate.c @@ -0,0 +1,247 @@ +/* + zip_algorithm_deflate.c -- deflate (de)compression routines + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" + +#include +#include +#include + +struct ctx { + zip_error_t *error; + bool compress; + int compression_flags; + bool end_of_input; + z_stream zstr; +}; + + +static void * +allocate(bool compress, int compression_flags, zip_error_t *error) { + struct ctx *ctx; + + if ((ctx = (struct ctx *)malloc(sizeof(*ctx))) == NULL) { + return NULL; + } + + ctx->error = error; + ctx->compress = compress; + ctx->compression_flags = compression_flags; + if (ctx->compression_flags < 1 || ctx->compression_flags > 9) { + ctx->compression_flags = Z_BEST_COMPRESSION; + } + ctx->end_of_input = false; + + ctx->zstr.zalloc = Z_NULL; + ctx->zstr.zfree = Z_NULL; + ctx->zstr.opaque = NULL; + + return ctx; +} + + +static void * +compress_allocate(zip_uint16_t method, int compression_flags, zip_error_t *error) { + return allocate(true, compression_flags, error); +} + + +static void * +decompress_allocate(zip_uint16_t method, int compression_flags, zip_error_t *error) { + return allocate(false, compression_flags, error); +} + + +static void +deallocate(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + + free(ctx); +} + + +static int +compression_flags(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + + if (!ctx->compress) { + return 0; + } + + if (ctx->compression_flags < 3) { + return 2; + } + else if (ctx->compression_flags > 7) { + return 1; + } + return 0; +} + + +static bool +start(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + int ret; + + ctx->zstr.avail_in = 0; + ctx->zstr.next_in = NULL; + ctx->zstr.avail_out = 0; + ctx->zstr.next_out = NULL; + + if (ctx->compress) { + /* negative value to tell zlib not to write a header */ + ret = deflateInit2(&ctx->zstr, ctx->compression_flags, Z_DEFLATED, -MAX_WBITS, MAX_MEM_LEVEL, Z_DEFAULT_STRATEGY); + } + else { + ret = inflateInit2(&ctx->zstr, -MAX_WBITS); + } + + if (ret != Z_OK) { + zip_error_set(ctx->error, ZIP_ER_ZLIB, ret); + return false; + } + + + return true; +} + + +static bool +end(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + int err; + + if (ctx->compress) { + err = deflateEnd(&ctx->zstr); + } + else { + err = inflateEnd(&ctx->zstr); + } + + if (err != Z_OK) { + zip_error_set(ctx->error, ZIP_ER_ZLIB, err); + return false; + } + + return true; +} + + +static bool +input(void *ud, zip_uint8_t *data, zip_uint64_t length) { + struct ctx *ctx = (struct ctx *)ud; + + if (length > UINT_MAX || ctx->zstr.avail_in > 0) { + zip_error_set(ctx->error, ZIP_ER_INVAL, 0); + return false; + } + + ctx->zstr.avail_in = (uInt)length; + ctx->zstr.next_in = (Bytef *)data; + + return true; +} + + +static void +end_of_input(void *ud) { + struct ctx *ctx = (struct ctx *)ud; + + ctx->end_of_input = true; +} + + +static zip_compression_status_t +process(void *ud, zip_uint8_t *data, zip_uint64_t *length) { + struct ctx *ctx = (struct ctx *)ud; + + int ret; + + ctx->zstr.avail_out = (uInt)ZIP_MIN(UINT_MAX, *length); + ctx->zstr.next_out = (Bytef *)data; + + if (ctx->compress) { + ret = deflate(&ctx->zstr, ctx->end_of_input ? Z_FINISH : 0); + } + else { + ret = inflate(&ctx->zstr, Z_SYNC_FLUSH); + } + + *length = *length - ctx->zstr.avail_out; + + switch (ret) { + case Z_OK: + return ZIP_COMPRESSION_OK; + + case Z_STREAM_END: + return ZIP_COMPRESSION_END; + + case Z_BUF_ERROR: + if (ctx->zstr.avail_in == 0) { + return ZIP_COMPRESSION_NEED_DATA; + } + + /* fallthrough */ + + default: + zip_error_set(ctx->error, ZIP_ER_ZLIB, ret); + return ZIP_COMPRESSION_ERROR; + } +} + +// clang-format off + +zip_compression_algorithm_t zip_algorithm_deflate_compress = { + compress_allocate, + deallocate, + compression_flags, + start, + end, + input, + end_of_input, + process +}; + + +zip_compression_algorithm_t zip_algorithm_deflate_decompress = { + decompress_allocate, + deallocate, + compression_flags, + start, + end, + input, + end_of_input, + process +}; + +// clang-format on diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_buffer.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_buffer.c new file mode 100644 index 000000000..37977f096 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_buffer.c @@ -0,0 +1,324 @@ +/* + zip_buffer.c -- bounds checked access to memory buffer + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include + +#include "zipint.h" + +zip_uint8_t * +_zip_buffer_data(zip_buffer_t *buffer) { + return buffer->data; +} + + +void +_zip_buffer_free(zip_buffer_t *buffer) { + if (buffer == NULL) { + return; + } + + if (buffer->free_data) { + free(buffer->data); + } + + free(buffer); +} + + +bool +_zip_buffer_eof(zip_buffer_t *buffer) { + return buffer->ok && buffer->offset == buffer->size; +} + + +zip_uint8_t * +_zip_buffer_get(zip_buffer_t *buffer, zip_uint64_t length) { + zip_uint8_t *data; + + data = _zip_buffer_peek(buffer, length); + + if (data != NULL) { + buffer->offset += length; + } + + return data; +} + + +zip_uint16_t +_zip_buffer_get_16(zip_buffer_t *buffer) { + zip_uint8_t *data = _zip_buffer_get(buffer, 2); + + if (data == NULL) { + return 0; + } + + return (zip_uint16_t)(data[0] + (data[1] << 8)); +} + + +zip_uint32_t +_zip_buffer_get_32(zip_buffer_t *buffer) { + zip_uint8_t *data = _zip_buffer_get(buffer, 4); + + if (data == NULL) { + return 0; + } + + return ((((((zip_uint32_t)data[3] << 8) + data[2]) << 8) + data[1]) << 8) + data[0]; +} + + +zip_uint64_t +_zip_buffer_get_64(zip_buffer_t *buffer) { + zip_uint8_t *data = _zip_buffer_get(buffer, 8); + + if (data == NULL) { + return 0; + } + + return ((zip_uint64_t)data[7] << 56) + ((zip_uint64_t)data[6] << 48) + ((zip_uint64_t)data[5] << 40) + ((zip_uint64_t)data[4] << 32) + ((zip_uint64_t)data[3] << 24) + ((zip_uint64_t)data[2] << 16) + ((zip_uint64_t)data[1] << 8) + (zip_uint64_t)data[0]; +} + + +zip_uint8_t +_zip_buffer_get_8(zip_buffer_t *buffer) { + zip_uint8_t *data = _zip_buffer_get(buffer, 1); + + if (data == NULL) { + return 0; + } + + return data[0]; +} + + +zip_uint64_t +_zip_buffer_left(zip_buffer_t *buffer) { + return buffer->ok ? buffer->size - buffer->offset : 0; +} + + +zip_uint64_t +_zip_buffer_read(zip_buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length) { + if (_zip_buffer_left(buffer) < length) { + length = _zip_buffer_left(buffer); + } + + memcpy(data, _zip_buffer_get(buffer, length), length); + + return length; +} + + +zip_buffer_t * +_zip_buffer_new(zip_uint8_t *data, zip_uint64_t size) { + bool free_data = (data == NULL); + zip_buffer_t *buffer; + + if (data == NULL) { + if ((data = (zip_uint8_t *)malloc(size)) == NULL) { + return NULL; + } + } + + if ((buffer = (zip_buffer_t *)malloc(sizeof(*buffer))) == NULL) { + if (free_data) { + free(data); + } + return NULL; + } + + buffer->ok = true; + buffer->data = data; + buffer->size = size; + buffer->offset = 0; + buffer->free_data = free_data; + + return buffer; +} + + +zip_buffer_t * +_zip_buffer_new_from_source(zip_source_t *src, zip_uint64_t size, zip_uint8_t *buf, zip_error_t *error) { + zip_buffer_t *buffer; + + if ((buffer = _zip_buffer_new(buf, size)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if (_zip_read(src, buffer->data, size, error) < 0) { + _zip_buffer_free(buffer); + return NULL; + } + + return buffer; +} + + +zip_uint64_t +_zip_buffer_offset(zip_buffer_t *buffer) { + return buffer->ok ? buffer->offset : 0; +} + + +bool +_zip_buffer_ok(zip_buffer_t *buffer) { + return buffer->ok; +} + + +zip_uint8_t * +_zip_buffer_peek(zip_buffer_t *buffer, zip_uint64_t length) { + zip_uint8_t *data; + + if (!buffer->ok || buffer->offset + length < length || buffer->offset + length > buffer->size) { + buffer->ok = false; + return NULL; + } + + data = buffer->data + buffer->offset; + return data; +} + +int +_zip_buffer_put(zip_buffer_t *buffer, const void *src, size_t length) { + zip_uint8_t *dst = _zip_buffer_get(buffer, length); + + if (dst == NULL) { + return -1; + } + + memcpy(dst, src, length); + return 0; +} + + +int +_zip_buffer_put_16(zip_buffer_t *buffer, zip_uint16_t i) { + zip_uint8_t *data = _zip_buffer_get(buffer, 2); + + if (data == NULL) { + return -1; + } + + data[0] = (zip_uint8_t)(i & 0xff); + data[1] = (zip_uint8_t)((i >> 8) & 0xff); + + return 0; +} + + +int +_zip_buffer_put_32(zip_buffer_t *buffer, zip_uint32_t i) { + zip_uint8_t *data = _zip_buffer_get(buffer, 4); + + if (data == NULL) { + return -1; + } + + data[0] = (zip_uint8_t)(i & 0xff); + data[1] = (zip_uint8_t)((i >> 8) & 0xff); + data[2] = (zip_uint8_t)((i >> 16) & 0xff); + data[3] = (zip_uint8_t)((i >> 24) & 0xff); + + return 0; +} + + +int +_zip_buffer_put_64(zip_buffer_t *buffer, zip_uint64_t i) { + zip_uint8_t *data = _zip_buffer_get(buffer, 8); + + if (data == NULL) { + return -1; + } + + data[0] = (zip_uint8_t)(i & 0xff); + data[1] = (zip_uint8_t)((i >> 8) & 0xff); + data[2] = (zip_uint8_t)((i >> 16) & 0xff); + data[3] = (zip_uint8_t)((i >> 24) & 0xff); + data[4] = (zip_uint8_t)((i >> 32) & 0xff); + data[5] = (zip_uint8_t)((i >> 40) & 0xff); + data[6] = (zip_uint8_t)((i >> 48) & 0xff); + data[7] = (zip_uint8_t)((i >> 56) & 0xff); + + return 0; +} + + +int +_zip_buffer_put_8(zip_buffer_t *buffer, zip_uint8_t i) { + zip_uint8_t *data = _zip_buffer_get(buffer, 1); + + if (data == NULL) { + return -1; + } + + data[0] = i; + + return 0; +} + + +int +_zip_buffer_set_offset(zip_buffer_t *buffer, zip_uint64_t offset) { + if (offset > buffer->size) { + buffer->ok = false; + return -1; + } + + buffer->ok = true; + buffer->offset = offset; + + return 0; +} + + +int +_zip_buffer_skip(zip_buffer_t *buffer, zip_uint64_t length) { + zip_uint64_t offset = buffer->offset + length; + + if (offset < buffer->offset) { + buffer->ok = false; + return -1; + } + return _zip_buffer_set_offset(buffer, offset); +} + +zip_uint64_t +_zip_buffer_size(zip_buffer_t *buffer) { + return buffer->size; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_close.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_close.c new file mode 100644 index 000000000..26572261f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_close.c @@ -0,0 +1,641 @@ +/* + zip_close.c -- close zip archive and update changes + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +#include +#include +#include +#ifdef HAVE_STRINGS_H +#include +#endif +#ifdef HAVE_UNISTD_H +#include +#endif +#include +#include +#ifdef _WIN32 +#include +#include +#endif + + +static int add_data(zip_t *, zip_source_t *, zip_dirent_t *); +static int copy_data(zip_t *, zip_uint64_t); +static int copy_source(zip_t *, zip_source_t *, zip_int64_t); +static int write_cdir(zip_t *, const zip_filelist_t *, zip_uint64_t); + +ZIP_EXTERN int +zip_close(zip_t *za) { + zip_uint64_t i, j, survivors, unchanged_offset; + zip_int64_t off; + int error; + zip_filelist_t *filelist; + int changed; + + if (za == NULL) + return -1; + + changed = _zip_changed(za, &survivors); + + /* don't create zip files with no entries */ + if (survivors == 0) { + if ((za->open_flags & ZIP_TRUNCATE) || changed) { + if (zip_source_remove(za->src) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + } + zip_discard(za); + return 0; + } + + if (!changed) { + zip_discard(za); + return 0; + } + + if (survivors > za->nentry) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + if ((filelist = (zip_filelist_t *)malloc(sizeof(filelist[0]) * (size_t)survivors)) == NULL) + return -1; + + unchanged_offset = ZIP_UINT64_MAX; + /* create list of files with index into original archive */ + for (i = j = 0; i < za->nentry; i++) { + if (za->entry[i].orig != NULL && ZIP_ENTRY_HAS_CHANGES(&za->entry[i])) { + unchanged_offset = ZIP_MIN(unchanged_offset, za->entry[i].orig->offset); + } + if (za->entry[i].deleted) { + continue; + } + + if (j >= survivors) { + free(filelist); + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + filelist[j].idx = i; + j++; + } + if (j < survivors) { + free(filelist); + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + if ((zip_source_supports(za->src) & ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE_CLONING)) == 0) { + unchanged_offset = 0; + } + else { + if (unchanged_offset == ZIP_UINT64_MAX) { + /* we're keeping all file data, find the end of the last one */ + zip_uint64_t last_index = ZIP_UINT64_MAX; + unchanged_offset = 0; + + for (i = 0; i < za->nentry; i++) { + if (za->entry[i].orig != NULL) { + if (za->entry[i].orig->offset >= unchanged_offset) { + unchanged_offset = za->entry[i].orig->offset; + last_index = i; + } + } + } + if (last_index != ZIP_UINT64_MAX) { + if ((unchanged_offset = _zip_file_get_end(za, last_index, &za->error)) == 0) { + free(filelist); + return -1; + } + } + } + if (unchanged_offset > 0) { + if (zip_source_begin_write_cloning(za->src, unchanged_offset) < 0) { + /* cloning not supported, need to copy everything */ + unchanged_offset = 0; + } + } + } + if (unchanged_offset == 0) { + if (zip_source_begin_write(za->src) < 0) { + _zip_error_set_from_source(&za->error, za->src); + free(filelist); + return -1; + } + } + + _zip_progress_start(za->progress); + error = 0; + for (j = 0; j < survivors; j++) { + int new_data; + zip_entry_t *entry; + zip_dirent_t *de; + + _zip_progress_subrange(za->progress, (double)j / (double)survivors, (double)(j + 1) / (double)survivors); + + i = filelist[j].idx; + entry = za->entry + i; + + if (entry->orig != NULL && entry->orig->offset < unchanged_offset) { + /* already implicitly copied by cloning */ + continue; + } + + new_data = (ZIP_ENTRY_DATA_CHANGED(entry) || ZIP_ENTRY_CHANGED(entry, ZIP_DIRENT_COMP_METHOD) || ZIP_ENTRY_CHANGED(entry, ZIP_DIRENT_ENCRYPTION_METHOD)); + + /* create new local directory entry */ + if (entry->changes == NULL) { + if ((entry->changes = _zip_dirent_clone(entry->orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + error = 1; + break; + } + } + de = entry->changes; + + if (_zip_read_local_ef(za, i) < 0) { + error = 1; + break; + } + + if ((off = zip_source_tell_write(za->src)) < 0) { + error = 1; + break; + } + de->offset = (zip_uint64_t)off; + + if (new_data) { + zip_source_t *zs; + + zs = NULL; + if (!ZIP_ENTRY_DATA_CHANGED(entry)) { + if ((zs = _zip_source_zip_new(za, za, i, ZIP_FL_UNCHANGED, 0, 0, NULL)) == NULL) { + error = 1; + break; + } + } + + /* add_data writes dirent */ + if (add_data(za, zs ? zs : entry->source, de) < 0) { + error = 1; + if (zs) + zip_source_free(zs); + break; + } + if (zs) + zip_source_free(zs); + } + else { + zip_uint64_t offset; + + /* when copying data, all sizes are known -> no data descriptor needed */ + de->bitflags &= (zip_uint16_t)~ZIP_GPBF_DATA_DESCRIPTOR; + if (_zip_dirent_write(za, de, ZIP_FL_LOCAL) < 0) { + error = 1; + break; + } + if ((offset = _zip_file_get_offset(za, i, &za->error)) == 0) { + error = 1; + break; + } + if (zip_source_seek(za->src, (zip_int64_t)offset, SEEK_SET) < 0) { + _zip_error_set_from_source(&za->error, za->src); + error = 1; + break; + } + if (copy_data(za, de->comp_size) < 0) { + error = 1; + break; + } + } + } + + if (!error) { + if (write_cdir(za, filelist, survivors) < 0) + error = 1; + } + + free(filelist); + + if (!error) { + if (zip_source_commit_write(za->src) != 0) { + _zip_error_set_from_source(&za->error, za->src); + error = 1; + } + } + + _zip_progress_end(za->progress); + + if (error) { + zip_source_rollback_write(za->src); + return -1; + } + + zip_discard(za); + + return 0; +} + + +static int +add_data(zip_t *za, zip_source_t *src, zip_dirent_t *de) { + zip_int64_t offstart, offdata, offend, data_length; + struct zip_stat st; + zip_source_t *src_final, *src_tmp; + int ret; + int is_zip64; + zip_flags_t flags; + zip_int8_t compression_flags; + bool needs_recompress, needs_decompress, needs_crc, needs_compress, needs_reencrypt, needs_decrypt, needs_encrypt; + + if (zip_source_stat(src, &st) < 0) { + _zip_error_set_from_source(&za->error, src); + return -1; + } + + if ((st.valid & ZIP_STAT_COMP_METHOD) == 0) { + st.valid |= ZIP_STAT_COMP_METHOD; + st.comp_method = ZIP_CM_STORE; + } + + if (ZIP_CM_IS_DEFAULT(de->comp_method) && st.comp_method != ZIP_CM_STORE) + de->comp_method = st.comp_method; + else if (de->comp_method == ZIP_CM_STORE && (st.valid & ZIP_STAT_SIZE)) { + st.valid |= ZIP_STAT_COMP_SIZE; + st.comp_size = st.size; + } + else { + /* we'll recompress */ + st.valid &= ~ZIP_STAT_COMP_SIZE; + } + + if ((st.valid & ZIP_STAT_ENCRYPTION_METHOD) == 0) { + st.valid |= ZIP_STAT_ENCRYPTION_METHOD; + st.encryption_method = ZIP_EM_NONE; + } + + flags = ZIP_EF_LOCAL; + + if ((st.valid & ZIP_STAT_SIZE) == 0) { + flags |= ZIP_FL_FORCE_ZIP64; + data_length = -1; + } + else { + de->uncomp_size = st.size; + /* this is technically incorrect (copy_source counts compressed data), but it's the best we have */ + data_length = (zip_int64_t)st.size; + + if ((st.valid & ZIP_STAT_COMP_SIZE) == 0) { + zip_uint64_t max_size; + + switch (ZIP_CM_ACTUAL(de->comp_method)) { + case ZIP_CM_BZIP2: + /* computed by looking at increase of 10 random files of size 1MB when + * compressed with bzip2, rounded up: 1.006 */ + max_size = 4269351188u; + break; + + case ZIP_CM_DEFLATE: + /* max deflate size increase: size + ceil(size/16k)*5+6 */ + max_size = 4293656963u; + break; + + case ZIP_CM_STORE: + max_size = 0xffffffffu; + break; + + default: + max_size = 0; + } + + if (st.size > max_size) { + flags |= ZIP_FL_FORCE_ZIP64; + } + } + else + de->comp_size = st.comp_size; + } + + if ((offstart = zip_source_tell_write(za->src)) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + + /* as long as we don't support non-seekable output, clear data descriptor bit */ + de->bitflags &= (zip_uint16_t)~ZIP_GPBF_DATA_DESCRIPTOR; + if ((is_zip64 = _zip_dirent_write(za, de, flags)) < 0) { + return -1; + } + + needs_recompress = st.comp_method != ZIP_CM_ACTUAL(de->comp_method); + needs_decompress = needs_recompress && (st.comp_method != ZIP_CM_STORE); + needs_crc = (st.comp_method == ZIP_CM_STORE) || needs_decompress; + needs_compress = needs_recompress && (de->comp_method != ZIP_CM_STORE); + + needs_reencrypt = needs_recompress || (de->changed & ZIP_DIRENT_PASSWORD) || (de->encryption_method != st.encryption_method); + needs_decrypt = needs_reencrypt && (st.encryption_method != ZIP_EM_NONE); + needs_encrypt = needs_reencrypt && (de->encryption_method != ZIP_EM_NONE); + + src_final = src; + zip_source_keep(src_final); + + if (needs_decrypt) { + zip_encryption_implementation impl; + + if ((impl = _zip_get_encryption_implementation(st.encryption_method, ZIP_CODEC_DECODE)) == NULL) { + zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); + zip_source_free(src_final); + return -1; + } + if ((src_tmp = impl(za, src_final, st.encryption_method, ZIP_CODEC_DECODE, za->default_password)) == NULL) { + /* error set by impl */ + zip_source_free(src_final); + return -1; + } + + zip_source_free(src_final); + src_final = src_tmp; + } + + if (needs_decompress) { + if ((src_tmp = zip_source_decompress(za, src_final, st.comp_method)) == NULL) { + zip_source_free(src_final); + return -1; + } + + zip_source_free(src_final); + src_final = src_tmp; + } + + if (needs_crc) { + if ((src_tmp = zip_source_crc(za, src_final, 0)) == NULL) { + zip_source_free(src_final); + return -1; + } + + zip_source_free(src_final); + src_final = src_tmp; + } + + if (needs_compress) { + if ((src_tmp = zip_source_compress(za, src_final, de->comp_method, de->compression_level)) == NULL) { + zip_source_free(src_final); + return -1; + } + + zip_source_free(src_final); + src_final = src_tmp; + } + + + if (needs_encrypt) { + zip_encryption_implementation impl; + const char *password = NULL; + + if (de->password) { + password = de->password; + } + else if (za->default_password) { + password = za->default_password; + } + + if ((impl = _zip_get_encryption_implementation(de->encryption_method, ZIP_CODEC_ENCODE)) == NULL) { + zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); + zip_source_free(src_final); + return -1; + } + if ((src_tmp = impl(za, src_final, de->encryption_method, ZIP_CODEC_ENCODE, password)) == NULL) { + /* error set by impl */ + zip_source_free(src_final); + return -1; + } + + zip_source_free(src_final); + src_final = src_tmp; + } + + + if ((offdata = zip_source_tell_write(za->src)) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + + ret = copy_source(za, src_final, data_length); + + if (zip_source_stat(src_final, &st) < 0) { + _zip_error_set_from_source(&za->error, src_final); + ret = -1; + } + + if ((compression_flags = zip_source_get_compression_flags(src_final)) < 0) { + _zip_error_set_from_source(&za->error, src_final); + ret = -1; + } + + zip_source_free(src_final); + + if (ret < 0) { + return -1; + } + + if ((offend = zip_source_tell_write(za->src)) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + + if (zip_source_seek_write(za->src, offstart, SEEK_SET) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + + if ((st.valid & (ZIP_STAT_COMP_METHOD | ZIP_STAT_CRC | ZIP_STAT_SIZE)) != (ZIP_STAT_COMP_METHOD | ZIP_STAT_CRC | ZIP_STAT_SIZE)) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + if ((de->changed & ZIP_DIRENT_LAST_MOD) == 0) { + if (st.valid & ZIP_STAT_MTIME) + de->last_mod = st.mtime; + else + time(&de->last_mod); + } + de->comp_method = st.comp_method; + de->crc = st.crc; + de->uncomp_size = st.size; + de->comp_size = (zip_uint64_t)(offend - offdata); + de->bitflags = (zip_uint16_t)((de->bitflags & (zip_uint16_t)~6) | ((zip_uint8_t)compression_flags << 1)); + _zip_dirent_set_version_needed(de, (flags & ZIP_FL_FORCE_ZIP64) != 0); + + if ((ret = _zip_dirent_write(za, de, flags)) < 0) + return -1; + + if (is_zip64 != ret) { + /* Zip64 mismatch between preliminary file header written before data and final file header written afterwards */ + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + if (zip_source_seek_write(za->src, offend, SEEK_SET) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + + return 0; +} + + +static int +copy_data(zip_t *za, zip_uint64_t len) { + DEFINE_BYTE_ARRAY(buf, BUFSIZE); + size_t n; + double total = (double)len; + + if (!byte_array_init(buf, BUFSIZE)) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + + while (len > 0) { + n = len > BUFSIZE ? BUFSIZE : len; + if (_zip_read(za->src, buf, n, &za->error) < 0) { + byte_array_fini(buf); + return -1; + } + + if (_zip_write(za, buf, n) < 0) { + byte_array_fini(buf); + return -1; + } + + len -= n; + + _zip_progress_update(za->progress, (total - (double)len) / total); + } + + byte_array_fini(buf); + return 0; +} + + +static int +copy_source(zip_t *za, zip_source_t *src, zip_int64_t data_length) { + DEFINE_BYTE_ARRAY(buf, BUFSIZE); + zip_int64_t n, current; + int ret; + + if (zip_source_open(src) < 0) { + _zip_error_set_from_source(&za->error, src); + return -1; + } + + if (!byte_array_init(buf, BUFSIZE)) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + + ret = 0; + current = 0; + while ((n = zip_source_read(src, buf, BUFSIZE)) > 0) { + if (_zip_write(za, buf, (zip_uint64_t)n) < 0) { + ret = -1; + break; + } + if (n == BUFSIZE && za->progress && data_length > 0) { + current += n; + _zip_progress_update(za->progress, (double)current / (double)data_length); + } + } + + if (n < 0) { + _zip_error_set_from_source(&za->error, src); + ret = -1; + } + + byte_array_fini(buf); + + zip_source_close(src); + + return ret; +} + +static int +write_cdir(zip_t *za, const zip_filelist_t *filelist, zip_uint64_t survivors) { + zip_int64_t cd_start, end, size; + + if ((cd_start = zip_source_tell_write(za->src)) < 0) { + return -1; + } + + if ((size = _zip_cdir_write(za, filelist, survivors)) < 0) { + return -1; + } + + if ((end = zip_source_tell_write(za->src)) < 0) { + return -1; + } + + return 0; +} + + +int +_zip_changed(const zip_t *za, zip_uint64_t *survivorsp) { + int changed; + zip_uint64_t i, survivors; + + changed = 0; + survivors = 0; + + if (za->comment_changed || za->ch_flags != za->flags) { + changed = 1; + } + + for (i = 0; i < za->nentry; i++) { + if (ZIP_ENTRY_HAS_CHANGES(&za->entry[i])) { + changed = 1; + } + if (!za->entry[i].deleted) { + survivors++; + } + } + + if (survivorsp) { + *survivorsp = survivors; + } + + return changed; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto.h b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto.h new file mode 100644 index 000000000..585de211c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto.h @@ -0,0 +1,54 @@ +/* + zip_crypto.h -- crypto definitions + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_H +#define HAD_ZIP_CRYPTO_H + +#define ZIP_CRYPTO_SHA1_LENGTH 20 +#define ZIP_CRYPTO_AES_BLOCK_LENGTH 16 + +#if defined(HAVE_WINDOWS_CRYPTO) +#include "zip_crypto_win.h" +#elif defined(HAVE_COMMONCRYPTO) +#include "zip_crypto_commoncrypto.h" +#elif defined(HAVE_GNUTLS) +#include "zip_crypto_gnutls.h" +#elif defined(HAVE_OPENSSL) +#include "zip_crypto_openssl.h" +#elif defined(HAVE_MBEDTLS) +#include "zip_crypto_mbedtls.h" +#else +#error "no crypto backend found" +#endif + +#endif /* HAD_ZIP_CRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_commoncrypto.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_commoncrypto.c new file mode 100644 index 000000000..10f77007a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_commoncrypto.c @@ -0,0 +1,128 @@ +/* + zip_crypto_commoncrypto.c -- CommonCrypto wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +#include "zipint.h" + +#include "zip_crypto.h" + +#include +#include + +void +_zip_crypto_aes_free(_zip_crypto_aes_t *aes) { + if (aes == NULL) { + return; + } + + CCCryptorRelease(aes); +} + + +bool +_zip_crypto_aes_encrypt_block(_zip_crypto_aes_t *aes, const zip_uint8_t *in, zip_uint8_t *out) { + size_t len; + CCCryptorUpdate(aes, in, ZIP_CRYPTO_AES_BLOCK_LENGTH, out, ZIP_CRYPTO_AES_BLOCK_LENGTH, &len); + return true; +} + + +_zip_crypto_aes_t * +_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error) { + _zip_crypto_aes_t *aes; + CCCryptorStatus ret; + + ret = CCCryptorCreate(kCCEncrypt, kCCAlgorithmAES, kCCOptionECBMode, key, key_size / 8, NULL, &aes); + + switch (ret) { + case kCCSuccess: + return aes; + + case kCCMemoryFailure: + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + + case kCCParamError: + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + + default: + zip_error_set(error, ZIP_ER_INTERNAL, 0); + return NULL; + } +} + + +void +_zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac) { + if (hmac == NULL) { + return; + } + + _zip_crypto_clear(hmac, sizeof(*hmac)); + free(hmac); +} + + +_zip_crypto_hmac_t * +_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error) { + _zip_crypto_hmac_t *hmac; + + if ((hmac = (_zip_crypto_hmac_t *)malloc(sizeof(*hmac))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + CCHmacInit(hmac, kCCHmacAlgSHA1, secret, secret_length); + + return hmac; +} + + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + int fd; + + if ((fd = open("/dev/urandom", O_RDONLY)) < 0) { + return false; + } + + if (read(fd, buffer, length) != length) { + close(fd); + return false; + } + + close(fd); + return true; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_commoncrypto.h b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_commoncrypto.h new file mode 100644 index 000000000..1eae1b707 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_commoncrypto.h @@ -0,0 +1,53 @@ +/* + zip_crypto_commoncrypto.h -- definitions for CommonCrypto wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_COMMONCRYPTO_H +#define HAD_ZIP_CRYPTO_COMMONCRYPTO_H + +#include + +#define _zip_crypto_aes_t struct _CCCryptor +#define _zip_crypto_hmac_t CCHmacContext + +void _zip_crypto_aes_free(_zip_crypto_aes_t *aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t *aes, const zip_uint8_t *in, zip_uint8_t *out); +_zip_crypto_aes_t *_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error); + +#define _zip_crypto_hmac(hmac, data, length) (CCHmacUpdate((hmac), (data), (length)), true) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac); +_zip_crypto_hmac_t *_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error); +#define _zip_crypto_hmac_output(hmac, data) (CCHmacFinal((hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (CCKeyDerivationPBKDF(kCCPBKDF2, (const char *)(key), (key_length), (salt), (salt_length), kCCPRFHmacAlgSHA1, (iterations), (output), (output_length)) == kCCSuccess) + +#endif /* HAD_ZIP_CRYPTO_COMMONCRYPTO_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_gnutls.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_gnutls.c new file mode 100644 index 000000000..918486749 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_gnutls.c @@ -0,0 +1,135 @@ +/* + zip_crypto_gnutls.c -- GnuTLS wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +#include "zipint.h" + +#include "zip_crypto.h" + +_zip_crypto_aes_t * +_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error) { + _zip_crypto_aes_t *aes; + + if ((aes = (_zip_crypto_aes_t *)malloc(sizeof(*aes))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + aes->key_size = key_size; + + switch (aes->key_size) { + case 128: + nettle_aes128_set_encrypt_key(&aes->ctx.ctx_128, key); + break; + case 192: + nettle_aes192_set_encrypt_key(&aes->ctx.ctx_192, key); + break; + case 256: + nettle_aes256_set_encrypt_key(&aes->ctx.ctx_256, key); + break; + default: + zip_error_set(error, ZIP_ER_INVAL, 0); + free(aes); + return NULL; + } + + return aes; +} + +bool +_zip_crypto_aes_encrypt_block(_zip_crypto_aes_t *aes, const zip_uint8_t *in, zip_uint8_t *out) { + switch (aes->key_size) { + case 128: + nettle_aes128_encrypt(&aes->ctx.ctx_128, ZIP_CRYPTO_AES_BLOCK_LENGTH, out, in); + break; + case 192: + nettle_aes192_encrypt(&aes->ctx.ctx_192, ZIP_CRYPTO_AES_BLOCK_LENGTH, out, in); + break; + case 256: + nettle_aes256_encrypt(&aes->ctx.ctx_256, ZIP_CRYPTO_AES_BLOCK_LENGTH, out, in); + break; + } + + return true; +} + +void +_zip_crypto_aes_free(_zip_crypto_aes_t *aes) { + if (aes == NULL) { + return; + } + + _zip_crypto_clear(aes, sizeof(*aes)); + free(aes); +} + + +_zip_crypto_hmac_t * +_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error) { + _zip_crypto_hmac_t *hmac; + int ret; + + if ((hmac = (_zip_crypto_hmac_t *)malloc(sizeof(*hmac))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if ((ret = gnutls_hmac_init(hmac, GNUTLS_MAC_SHA1, secret, secret_length)) < 0) { + // TODO: set error + free(hmac); + return NULL; + } + + return hmac; +} + + +void +_zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac) { + zip_uint8_t buf[ZIP_CRYPTO_SHA1_LENGTH]; + + if (hmac == NULL) { + return; + } + + gnutls_hmac_deinit(*hmac, buf); + _zip_crypto_clear(hmac, sizeof(*hmac)); + free(hmac); +} + + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + return gnutls_rnd(GNUTLS_RND_KEY, buffer, length) == 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_gnutls.h b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_gnutls.h new file mode 100644 index 000000000..40d34a5a7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_gnutls.h @@ -0,0 +1,65 @@ +/* + zip_crypto_gnutls.h -- definitions for GnuTLS wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_GNUTLS_H +#define HAD_ZIP_CRYPTO_GNUTLS_H + +#include +#include + +#include +#include + +typedef struct { + union { + struct aes128_ctx ctx_128; + struct aes192_ctx ctx_192; + struct aes256_ctx ctx_256; + } ctx; + zip_uint16_t key_size; +} _zip_crypto_aes_t; + +#define _zip_crypto_hmac_t gnutls_hmac_hd_t + +void _zip_crypto_aes_free(_zip_crypto_aes_t *aes); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t *aes, const zip_uint8_t *in, zip_uint8_t *out); +_zip_crypto_aes_t *_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error); + +#define _zip_crypto_hmac(hmac, data, length) (gnutls_hmac(*(hmac), (data), (length)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac); +_zip_crypto_hmac_t *_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error); +#define _zip_crypto_hmac_output(hmac, data) (gnutls_hmac_output(*(hmac), (data)), true) + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (pbkdf2_hmac_sha1((key_length), (key), (iterations), (salt_length), (salt), (output_length), (output)), true) + +#endif /* HAD_ZIP_CRYPTO_GNUTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_mbedtls.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_mbedtls.c new file mode 100644 index 000000000..a4f60f5ef --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_mbedtls.c @@ -0,0 +1,160 @@ +/* + zip_crypto_mbedtls.c -- mbed TLS wrapper + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +#include "zip_crypto.h" +#include "zipint.h" + +#include +#include +#include + + +_zip_crypto_aes_t * +_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error) { + _zip_crypto_aes_t *aes; + + if ((aes = (_zip_crypto_aes_t *)malloc(sizeof(*aes))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + mbedtls_aes_init(aes); + mbedtls_aes_setkey_enc(aes, (const unsigned char *)key, (unsigned int)key_size); + + return aes; +} + +void +_zip_crypto_aes_free(_zip_crypto_aes_t *aes) { + if (aes == NULL) { + return; + } + + mbedtls_aes_free(aes); + free(aes); +} + + +_zip_crypto_hmac_t * +_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error) { + _zip_crypto_hmac_t *hmac; + + if (secret_length > INT_MAX) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((hmac = (_zip_crypto_hmac_t *)malloc(sizeof(*hmac))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + mbedtls_md_init(hmac); + + if (mbedtls_md_setup(hmac, mbedtls_md_info_from_type(MBEDTLS_MD_SHA1), 1) != 0) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + free(hmac); + return NULL; + } + + if (mbedtls_md_hmac_starts(hmac, (const unsigned char *)secret, (size_t)secret_length) != 0) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + free(hmac); + return NULL; + } + + return hmac; +} + + +void +_zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac) { + if (hmac == NULL) { + return; + } + + mbedtls_md_free(hmac); + free(hmac); +} + + +bool +_zip_crypto_pbkdf2(const zip_uint8_t *key, zip_uint64_t key_length, const zip_uint8_t *salt, zip_uint16_t salt_length, int iterations, zip_uint8_t *output, zip_uint64_t output_length) { + mbedtls_md_context_t sha1_ctx; + bool ok = true; + + mbedtls_md_init(&sha1_ctx); + + if (mbedtls_md_setup(&sha1_ctx, mbedtls_md_info_from_type(MBEDTLS_MD_SHA1), 1) != 0) { + ok = false; + } + + if (ok && mbedtls_pkcs5_pbkdf2_hmac(&sha1_ctx, (const unsigned char *)key, (size_t)key_length, (const unsigned char *)salt, (size_t)salt_length, (unsigned int)iterations, (uint32_t)output_length, (unsigned char *)output) != 0) { + ok = false; + } + + mbedtls_md_free(&sha1_ctx); + return ok; +} + + +typedef struct { + mbedtls_entropy_context entropy; + mbedtls_ctr_drbg_context ctr_drbg; +} zip_random_context_t; + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + static zip_random_context_t *ctx = NULL; + const unsigned char *pers = "zip_crypto_mbedtls"; + + if (!ctx) { + ctx = (zip_random_context_t *)malloc(sizeof(zip_random_context_t)); + if (!ctx) { + return false; + } + mbedtls_entropy_init(&ctx->entropy); + mbedtls_ctr_drbg_init(&ctx->ctr_drbg); + if (mbedtls_ctr_drbg_seed(&ctx->ctr_drbg, mbedtls_entropy_func, &ctx->entropy, pers, strlen(pers)) != 0) { + mbedtls_ctr_drbg_free(&ctx->ctr_drbg); + mbedtls_entropy_free(&ctx->entropy); + free(ctx); + ctx = NULL; + return false; + } + } + + return mbedtls_ctr_drbg_random(&ctx->ctr_drbg, (unsigned char *)buffer, (size_t)length) == 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_mbedtls.h b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_mbedtls.h new file mode 100644 index 000000000..af22d5b2e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_mbedtls.h @@ -0,0 +1,54 @@ +/* + zip_crypto_mbedtls.h -- definitions for mbedtls wrapper + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_MBEDTLS_H +#define HAD_ZIP_CRYPTO_MBEDTLS_H + +#include +#include + +#define _zip_crypto_aes_t mbedtls_aes_context +#define _zip_crypto_hmac_t mbedtls_md_context_t + +_zip_crypto_aes_t *_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (mbedtls_aes_crypt_ecb((aes), MBEDTLS_AES_ENCRYPT, (in), (out)) == 0) +void _zip_crypto_aes_free(_zip_crypto_aes_t *aes); + +_zip_crypto_hmac_t *_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error); +#define _zip_crypto_hmac(hmac, data, length) (mbedtls_md_hmac_update((hmac), (data), (length)) == 0) +#define _zip_crypto_hmac_output(hmac, data) (mbedtls_md_hmac_finish((hmac), (data)) == 0) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac); + +bool _zip_crypto_pbkdf2(const zip_uint8_t *key, zip_uint64_t key_length, const zip_uint8_t *salt, zip_uint16_t salt_length, int iterations, zip_uint8_t *output, zip_uint64_t output_length); + +#endif /* HAD_ZIP_CRYPTO_MBEDTLS_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_openssl.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_openssl.c new file mode 100644 index 000000000..a1766bf3d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_openssl.c @@ -0,0 +1,136 @@ +/* + zip_crypto_openssl.c -- OpenSSL wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +#include "zipint.h" + +#include "zip_crypto.h" + +#include + +#if OPENSSL_VERSION_NUMBER < 0x1010000fL || defined(LIBRESSL_VERSION_NUMBER) +#define USE_OPENSSL_1_0_API +#endif + + +_zip_crypto_aes_t * +_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error) { + _zip_crypto_aes_t *aes; + + if ((aes = (_zip_crypto_aes_t *)malloc(sizeof(*aes))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + AES_set_encrypt_key(key, key_size, aes); + + return aes; +} + +void +_zip_crypto_aes_free(_zip_crypto_aes_t *aes) { + if (aes == NULL) { + return; + } + + _zip_crypto_clear(aes, sizeof(*aes)); + free(aes); +} + + +_zip_crypto_hmac_t * +_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error) { + _zip_crypto_hmac_t *hmac; + + if (secret_length > INT_MAX) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + +#ifdef USE_OPENSSL_1_0_API + if ((hmac = (_zip_crypto_hmac_t *)malloc(sizeof(*hmac))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + HMAC_CTX_init(hmac); +#else + if ((hmac = HMAC_CTX_new()) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } +#endif + + if (HMAC_Init_ex(hmac, secret, (int)secret_length, EVP_sha1(), NULL) != 1) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); +#ifdef USE_OPENSSL_1_0_API + free(hmac); +#else + HMAC_CTX_free(hmac); +#endif + return NULL; + } + + return hmac; +} + + +void +_zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac) { + if (hmac == NULL) { + return; + } + +#ifdef USE_OPENSSL_1_0_API + HMAC_CTX_cleanup(hmac); + _zip_crypto_clear(hmac, sizeof(*hmac)); + free(hmac); +#else + HMAC_CTX_free(hmac); +#endif +} + + +bool +_zip_crypto_hmac_output(_zip_crypto_hmac_t *hmac, zip_uint8_t *data) { + unsigned int length; + + return HMAC_Final(hmac, data, &length) == 1; +} + + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + return RAND_bytes(buffer, length) == 1; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_openssl.h b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_openssl.h new file mode 100644 index 000000000..906890e6f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_openssl.h @@ -0,0 +1,54 @@ +/* + zip_crypto_openssl.h -- definitions for OpenSSL wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_OPENSSL_H +#define HAD_ZIP_CRYPTO_OPENSSL_H + +#include +#include + +#define _zip_crypto_aes_t AES_KEY +#define _zip_crypto_hmac_t HMAC_CTX + +void _zip_crypto_aes_free(_zip_crypto_aes_t *aes); +#define _zip_crypto_aes_encrypt_block(aes, in, out) (AES_encrypt((in), (out), (aes)), true) +_zip_crypto_aes_t *_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error); + +#define _zip_crypto_hmac(hmac, data, length) (HMAC_Update((hmac), (data), (length)) == 1) +void _zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac); +_zip_crypto_hmac_t *_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t *hmac, zip_uint8_t *data); + +#define _zip_crypto_pbkdf2(key, key_length, salt, salt_length, iterations, output, output_length) (PKCS5_PBKDF2_HMAC_SHA1((const char *)(key), (key_length), (salt), (salt_length), (iterations), (output_length), (output))) + +#endif /* HAD_ZIP_CRYPTO_OPENSSL_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_win.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_win.c new file mode 100644 index 000000000..a59654060 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_win.c @@ -0,0 +1,465 @@ +/* + zip_crypto_win.c -- Windows Crypto API wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ +#include + +#include "zipint.h" + +#include "zip_crypto.h" + +#define WIN32_LEAN_AND_MEAN +#define NOCRYPT + +#include +#include + +#pragma comment(lib, "bcrypt.lib") + +/* + +This code is using the Cryptography API: Next Generation (CNG) +https://docs.microsoft.com/en-us/windows/desktop/seccng/cng-portal + +This API is supported on + - Windows Vista or later (client OS) + - Windows Server 2008 (server OS) + - Windows Embedded Compact 2013 (don't know about Windows Embedded Compact 7) + +The code was developed for Windows Embedded Compact 2013 (WEC2013), +but should be working for all of the above mentioned OSes. + +There are 2 restrictions for WEC2013, Windows Vista and Windows Server 2008: + +1.) The function "BCryptDeriveKeyPBKDF2" is not available + +I found some code which is implementing this function using the deprecated Crypto API here: +https://www.idrix.fr/Root/content/view/37/54/ + +I took this code and converted it to the newer CNG API. The original code was more +flexible, but this is not needed here so i refactored it a bit and just kept what is needed. + +The define "HAS_BCRYPTDERIVEKEYPBKDF2" controls whether "BCryptDeriveKeyPBKDF2" +of the CNG API is used or not. This define must not be set if you are compiling for WEC2013 or Windows Vista. + + +2.) "BCryptCreateHash" can't manage the memory needed for the hash object internally + +On Windows 7 or later it is possible to pass NULL for the hash object buffer. +This is not supported on WEC2013, so we have to handle the memory allocation/deallocation ourselves. +There is no #ifdef to control that, because this is working for all supported OSes. + +*/ + +#if !defined(WINCE) && !defined(__MINGW32__) +#define HAS_BCRYPTDERIVEKEYPBKDF2 +#endif + +#ifdef HAS_BCRYPTDERIVEKEYPBKDF2 + +bool +_zip_crypto_pbkdf2(const zip_uint8_t *key, zip_uint64_t key_length, const zip_uint8_t *salt, zip_uint16_t salt_length, zip_uint16_t iterations, zip_uint8_t *output, zip_uint16_t output_length) { + BCRYPT_ALG_HANDLE hAlgorithm = NULL; + + if (!BCRYPT_SUCCESS(BCryptOpenAlgorithmProvider(&hAlgorithm, BCRYPT_SHA1_ALGORITHM, NULL, BCRYPT_ALG_HANDLE_HMAC_FLAG))) { + return false; + } + + bool result = BCRYPT_SUCCESS(BCryptDeriveKeyPBKDF2(hAlgorithm, (PUCHAR)key, (ULONG)key_length, (PUCHAR)salt, salt_length, iterations, output, output_length, 0)); + + BCryptCloseAlgorithmProvider(hAlgorithm, 0); + + return result; +} + +#else + +#include + +#define DIGEST_SIZE 20 +#define BLOCK_SIZE 64 + +typedef struct { + BCRYPT_ALG_HANDLE hAlgorithm; + BCRYPT_HASH_HANDLE hInnerHash; + BCRYPT_HASH_HANDLE hOuterHash; + ULONG cbHashObject; + PUCHAR pbInnerHash; + PUCHAR pbOuterHash; +} PRF_CTX; + +static void +hmacFree(PRF_CTX *pContext) { + if (pContext->hOuterHash) + BCryptDestroyHash(pContext->hOuterHash); + if (pContext->hInnerHash) + BCryptDestroyHash(pContext->hInnerHash); + free(pContext->pbOuterHash); + free(pContext->pbInnerHash); + if (pContext->hAlgorithm) + BCryptCloseAlgorithmProvider(pContext->hAlgorithm, 0); +} + +static BOOL +hmacPrecomputeDigest(BCRYPT_HASH_HANDLE hHash, PUCHAR pbPassword, DWORD cbPassword, BYTE mask) { + BYTE buffer[BLOCK_SIZE]; + DWORD i; + + if (cbPassword > BLOCK_SIZE) { + return FALSE; + } + + memset(buffer, mask, sizeof(buffer)); + + for (i = 0; i < cbPassword; ++i) { + buffer[i] = (char)(pbPassword[i] ^ mask); + } + + return BCRYPT_SUCCESS(BCryptHashData(hHash, buffer, sizeof(buffer), 0)); +} + +static BOOL +hmacInit(PRF_CTX *pContext, PUCHAR pbPassword, DWORD cbPassword) { + BOOL bStatus = FALSE; + ULONG cbResult; + BYTE key[DIGEST_SIZE]; + + if (!BCRYPT_SUCCESS(BCryptOpenAlgorithmProvider(&pContext->hAlgorithm, BCRYPT_SHA1_ALGORITHM, NULL, 0)) || !BCRYPT_SUCCESS(BCryptGetProperty(pContext->hAlgorithm, BCRYPT_OBJECT_LENGTH, (PUCHAR)&pContext->cbHashObject, sizeof(pContext->cbHashObject), &cbResult, 0)) || ((pContext->pbInnerHash = malloc(pContext->cbHashObject)) == NULL) || ((pContext->pbOuterHash = malloc(pContext->cbHashObject)) == NULL) || !BCRYPT_SUCCESS(BCryptCreateHash(pContext->hAlgorithm, &pContext->hInnerHash, pContext->pbInnerHash, pContext->cbHashObject, NULL, 0, 0)) || !BCRYPT_SUCCESS(BCryptCreateHash(pContext->hAlgorithm, &pContext->hOuterHash, pContext->pbOuterHash, pContext->cbHashObject, NULL, 0, 0))) { + goto hmacInit_end; + } + + if (cbPassword > BLOCK_SIZE) { + BCRYPT_HASH_HANDLE hHash = NULL; + PUCHAR pbHashObject = malloc(pContext->cbHashObject); + + bStatus = BCRYPT_SUCCESS(BCryptCreateHash(pContext->hAlgorithm, &hHash, pbHashObject, pContext->cbHashObject, NULL, 0, 0)) && BCRYPT_SUCCESS(BCryptHashData(hHash, pbPassword, cbPassword, 0)) && BCRYPT_SUCCESS(BCryptGetProperty(hHash, BCRYPT_HASH_LENGTH, (PUCHAR)&cbPassword, sizeof(cbPassword), &cbResult, 0)) && BCRYPT_SUCCESS(BCryptFinishHash(hHash, key, cbPassword, 0)); + + if (hHash) + BCryptDestroyHash(hHash); + free(pbHashObject); + + if (!bStatus) { + goto hmacInit_end; + } + + pbPassword = key; + } + + bStatus = hmacPrecomputeDigest(pContext->hInnerHash, pbPassword, cbPassword, 0x36) && hmacPrecomputeDigest(pContext->hOuterHash, pbPassword, cbPassword, 0x5C); + +hmacInit_end: + + if (bStatus == FALSE) + hmacFree(pContext); + + return bStatus; +} + +static BOOL +hmacCalculateInternal(BCRYPT_HASH_HANDLE hHashTemplate, PUCHAR pbData, DWORD cbData, PUCHAR pbOutput, DWORD cbOutput, DWORD cbHashObject) { + BOOL success = FALSE; + BCRYPT_HASH_HANDLE hHash = NULL; + PUCHAR pbHashObject = malloc(cbHashObject); + + if (BCRYPT_SUCCESS(BCryptDuplicateHash(hHashTemplate, &hHash, pbHashObject, cbHashObject, 0))) { + success = BCRYPT_SUCCESS(BCryptHashData(hHash, pbData, cbData, 0)) && BCRYPT_SUCCESS(BCryptFinishHash(hHash, pbOutput, cbOutput, 0)); + + BCryptDestroyHash(hHash); + } + + free(pbHashObject); + + return success; +} + +static BOOL +hmacCalculate(PRF_CTX *pContext, PUCHAR pbData, DWORD cbData, PUCHAR pbDigest) { + DWORD cbResult; + DWORD cbHashObject; + + return BCRYPT_SUCCESS(BCryptGetProperty(pContext->hAlgorithm, BCRYPT_OBJECT_LENGTH, (PUCHAR)&cbHashObject, sizeof(cbHashObject), &cbResult, 0)) && hmacCalculateInternal(pContext->hInnerHash, pbData, cbData, pbDigest, DIGEST_SIZE, cbHashObject) && hmacCalculateInternal(pContext->hOuterHash, pbDigest, DIGEST_SIZE, pbDigest, DIGEST_SIZE, cbHashObject); +} + +static void xor + (LPBYTE ptr1, LPBYTE ptr2, DWORD dwLen) { + while (dwLen--) + *ptr1++ ^= *ptr2++; + } + + BOOL pbkdf2(PUCHAR pbPassword, ULONG cbPassword, PUCHAR pbSalt, ULONG cbSalt, DWORD cIterations, PUCHAR pbDerivedKey, ULONG cbDerivedKey) { + BOOL bStatus = FALSE; + DWORD l, r, dwULen, i, j; + BYTE Ti[DIGEST_SIZE]; + BYTE V[DIGEST_SIZE]; + LPBYTE U = malloc(max((cbSalt + 4), DIGEST_SIZE)); + PRF_CTX prfCtx = {0}; + + if (pbPassword == NULL || cbPassword == 0 || pbSalt == NULL || cbSalt == 0 || cIterations == 0 || pbDerivedKey == NULL || cbDerivedKey == 0) { + free(U); + return FALSE; + } + + if (!hmacInit(&prfCtx, pbPassword, cbPassword)) { + goto PBKDF2_end; + } + + l = (DWORD)ceil((double)cbDerivedKey / (double)DIGEST_SIZE); + r = cbDerivedKey - (l - 1) * DIGEST_SIZE; + + for (i = 1; i <= l; i++) { + ZeroMemory(Ti, DIGEST_SIZE); + for (j = 0; j < cIterations; j++) { + if (j == 0) { + // construct first input for PRF + memcpy(U, pbSalt, cbSalt); + U[cbSalt] = (BYTE)((i & 0xFF000000) >> 24); + U[cbSalt + 1] = (BYTE)((i & 0x00FF0000) >> 16); + U[cbSalt + 2] = (BYTE)((i & 0x0000FF00) >> 8); + U[cbSalt + 3] = (BYTE)((i & 0x000000FF)); + dwULen = cbSalt + 4; + } + else { + memcpy(U, V, DIGEST_SIZE); + dwULen = DIGEST_SIZE; + } + + if (!hmacCalculate(&prfCtx, U, dwULen, V)) { + goto PBKDF2_end; + } + + xor(Ti, V, DIGEST_SIZE); + } + + if (i != l) { + memcpy(&pbDerivedKey[(i - 1) * DIGEST_SIZE], Ti, DIGEST_SIZE); + } + else { + // Take only the first r bytes + memcpy(&pbDerivedKey[(i - 1) * DIGEST_SIZE], Ti, r); + } + } + + bStatus = TRUE; + +PBKDF2_end: + + hmacFree(&prfCtx); + free(U); + return bStatus; +} + +bool +_zip_crypto_pbkdf2(const zip_uint8_t *key, zip_uint64_t key_length, const zip_uint8_t *salt, zip_uint16_t salt_length, zip_uint16_t iterations, zip_uint8_t *output, zip_uint16_t output_length) { + return (key_length <= ZIP_UINT32_MAX) && pbkdf2((PUCHAR)key, (ULONG)key_length, (PUCHAR)salt, salt_length, iterations, output, output_length); +} + +#endif + + +struct _zip_crypto_aes_s { + BCRYPT_ALG_HANDLE hAlgorithm; + BCRYPT_KEY_HANDLE hKey; + ULONG cbKeyObject; + PUCHAR pbKeyObject; +}; + +_zip_crypto_aes_t * +_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error) { + _zip_crypto_aes_t *aes = (_zip_crypto_aes_t *)calloc(1, sizeof(*aes)); + + ULONG cbResult; + ULONG key_length = key_size / 8; + + if (aes == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if (!BCRYPT_SUCCESS(BCryptOpenAlgorithmProvider(&aes->hAlgorithm, BCRYPT_AES_ALGORITHM, NULL, 0))) { + _zip_crypto_aes_free(aes); + return NULL; + } + + if (!BCRYPT_SUCCESS(BCryptSetProperty(aes->hAlgorithm, BCRYPT_CHAINING_MODE, (PUCHAR)BCRYPT_CHAIN_MODE_ECB, sizeof(BCRYPT_CHAIN_MODE_ECB), 0))) { + _zip_crypto_aes_free(aes); + return NULL; + } + + if (!BCRYPT_SUCCESS(BCryptGetProperty(aes->hAlgorithm, BCRYPT_OBJECT_LENGTH, (PUCHAR)&aes->cbKeyObject, sizeof(aes->cbKeyObject), &cbResult, 0))) { + _zip_crypto_aes_free(aes); + return NULL; + } + + aes->pbKeyObject = malloc(aes->cbKeyObject); + + if (!BCRYPT_SUCCESS(BCryptGenerateSymmetricKey(aes->hAlgorithm, &aes->hKey, aes->pbKeyObject, aes->cbKeyObject, (PUCHAR)key, key_length, 0))) { + _zip_crypto_aes_free(aes); + return NULL; + } + + return aes; +} + +void +_zip_crypto_aes_free(_zip_crypto_aes_t *aes) { + if (aes == NULL) { + return; + } + + if (aes->hKey != NULL) { + BCryptDestroyKey(aes->hKey); + } + + if (aes->pbKeyObject != NULL) { + free(aes->pbKeyObject); + } + + if (aes->hAlgorithm != NULL) { + BCryptCloseAlgorithmProvider(aes->hAlgorithm, 0); + } + + free(aes); +} + +bool +_zip_crypto_aes_encrypt_block(_zip_crypto_aes_t *aes, const zip_uint8_t *in, zip_uint8_t *out) { + ULONG cbResult; + NTSTATUS status = BCryptEncrypt(aes->hKey, (PUCHAR)in, ZIP_CRYPTO_AES_BLOCK_LENGTH, NULL, NULL, 0, (PUCHAR)out, ZIP_CRYPTO_AES_BLOCK_LENGTH, &cbResult, 0); + return BCRYPT_SUCCESS(status); +} + +struct _zip_crypto_hmac_s { + BCRYPT_ALG_HANDLE hAlgorithm; + BCRYPT_HASH_HANDLE hHash; + DWORD cbHashObject; + PUCHAR pbHashObject; + DWORD cbHash; + PUCHAR pbHash; +}; + +// https://code.msdn.microsoft.com/windowsdesktop/Hmac-Computation-Sample-11fe8ec1/sourcecode?fileId=42820&pathId=283874677 + +_zip_crypto_hmac_t * +_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error) { + NTSTATUS status; + ULONG cbResult; + _zip_crypto_hmac_t *hmac; + + if (secret_length > INT_MAX) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + hmac = (_zip_crypto_hmac_t *)calloc(1, sizeof(*hmac)); + + if (hmac == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + status = BCryptOpenAlgorithmProvider(&hmac->hAlgorithm, BCRYPT_SHA1_ALGORITHM, NULL, BCRYPT_ALG_HANDLE_HMAC_FLAG); + if (!BCRYPT_SUCCESS(status)) { + _zip_crypto_hmac_free(hmac); + return NULL; + } + + status = BCryptGetProperty(hmac->hAlgorithm, BCRYPT_OBJECT_LENGTH, (PUCHAR)&hmac->cbHashObject, sizeof(hmac->cbHashObject), &cbResult, 0); + if (!BCRYPT_SUCCESS(status)) { + _zip_crypto_hmac_free(hmac); + return NULL; + } + + hmac->pbHashObject = malloc(hmac->cbHashObject); + + status = BCryptGetProperty(hmac->hAlgorithm, BCRYPT_HASH_LENGTH, (PUCHAR)&hmac->cbHash, sizeof(hmac->cbHash), &cbResult, 0); + if (!BCRYPT_SUCCESS(status)) { + _zip_crypto_hmac_free(hmac); + return NULL; + } + + hmac->pbHash = malloc(hmac->cbHash); + + status = BCryptCreateHash(hmac->hAlgorithm, &hmac->hHash, hmac->pbHashObject, hmac->cbHashObject, (PUCHAR)secret, (ULONG)secret_length, 0); + if (!BCRYPT_SUCCESS(status)) { + _zip_crypto_hmac_free(hmac); + return NULL; + } + + return hmac; +} + +void +_zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac) { + if (hmac == NULL) { + return; + } + + if (hmac->hHash != NULL) { + BCryptDestroyHash(hmac->hHash); + } + + if (hmac->pbHash != NULL) { + free(hmac->pbHash); + } + + if (hmac->pbHashObject != NULL) { + free(hmac->pbHashObject); + } + + if (hmac->hAlgorithm) { + BCryptCloseAlgorithmProvider(hmac->hAlgorithm, 0); + } + + free(hmac); +} + +bool +_zip_crypto_hmac(_zip_crypto_hmac_t *hmac, zip_uint8_t *data, zip_uint64_t length) { + if (hmac == NULL || length > ULONG_MAX) { + return false; + } + + return BCRYPT_SUCCESS(BCryptHashData(hmac->hHash, data, (ULONG)length, 0)); +} + +bool +_zip_crypto_hmac_output(_zip_crypto_hmac_t *hmac, zip_uint8_t *data) { + if (hmac == NULL) { + return false; + } + + return BCRYPT_SUCCESS(BCryptFinishHash(hmac->hHash, data, hmac->cbHash, 0)); +} + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + return BCRYPT_SUCCESS(BCryptGenRandom(NULL, buffer, length, BCRYPT_USE_SYSTEM_PREFERRED_RNG)); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_win.h b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_win.h new file mode 100644 index 000000000..9a239af55 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_crypto_win.h @@ -0,0 +1,51 @@ +/* + zip_crypto_win.h -- Windows Crypto API wrapper. + Copyright (C) 2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifndef HAD_ZIP_CRYPTO_WIN_H +#define HAD_ZIP_CRYPTO_WIN_H + +typedef struct _zip_crypto_aes_s _zip_crypto_aes_t; +typedef struct _zip_crypto_hmac_s _zip_crypto_hmac_t; + +void _zip_crypto_aes_free(_zip_crypto_aes_t *aes); +_zip_crypto_aes_t *_zip_crypto_aes_new(const zip_uint8_t *key, zip_uint16_t key_size, zip_error_t *error); +bool _zip_crypto_aes_encrypt_block(_zip_crypto_aes_t *aes, const zip_uint8_t *in, zip_uint8_t *out); + +bool _zip_crypto_pbkdf2(const zip_uint8_t *key, zip_uint64_t key_length, const zip_uint8_t *salt, zip_uint16_t salt_length, zip_uint16_t iterations, zip_uint8_t *output, zip_uint16_t output_length); + +_zip_crypto_hmac_t *_zip_crypto_hmac_new(const zip_uint8_t *secret, zip_uint64_t secret_length, zip_error_t *error); +void _zip_crypto_hmac_free(_zip_crypto_hmac_t *hmac); +bool _zip_crypto_hmac(_zip_crypto_hmac_t *hmac, zip_uint8_t *data, zip_uint64_t length); +bool _zip_crypto_hmac_output(_zip_crypto_hmac_t *hmac, zip_uint8_t *data); + +#endif /* HAD_ZIP_CRYPTO_WIN_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_delete.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_delete.c new file mode 100644 index 000000000..458a1b844 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_delete.c @@ -0,0 +1,68 @@ +/* + zip_delete.c -- delete file from zip archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_delete(zip_t *za, zip_uint64_t idx) { + const char *name; + + if (idx >= za->nentry) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if ((name = _zip_get_name(za, idx, 0, &za->error)) == NULL) { + return -1; + } + + if (!_zip_hash_delete(za->names, (const zip_uint8_t *)name, &za->error)) { + return -1; + } + + /* allow duplicate file names, because the file will + * be removed directly afterwards */ + if (_zip_unchange(za, idx, 1) != 0) + return -1; + + za->entry[idx].deleted = 1; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_dir_add.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_dir_add.c new file mode 100644 index 000000000..46c76cf76 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_dir_add.c @@ -0,0 +1,92 @@ +/* + zip_dir_add.c -- add directory + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + + +/* NOTE: Signed due to -1 on error. See zip_add.c for more details. */ + +ZIP_EXTERN zip_int64_t +zip_dir_add(zip_t *za, const char *name, zip_flags_t flags) { + size_t len; + zip_int64_t idx; + char *s; + zip_source_t *source; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (name == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + s = NULL; + len = strlen(name); + + if (name[len - 1] != '/') { + if ((s = (char *)malloc(len + 2)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + strcpy(s, name); + s[len] = '/'; + s[len + 1] = '\0'; + } + + if ((source = zip_source_buffer(za, NULL, 0, 0)) == NULL) { + free(s); + return -1; + } + + idx = _zip_file_replace(za, ZIP_UINT64_MAX, s ? s : name, source, flags); + + free(s); + + if (idx < 0) + zip_source_free(source); + else { + if (zip_file_set_external_attributes(za, (zip_uint64_t)idx, 0, ZIP_OPSYS_DEFAULT, ZIP_EXT_ATTRIB_DEFAULT_DIR) < 0) { + zip_delete(za, (zip_uint64_t)idx); + return -1; + } + } + + return idx; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_dirent.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_dirent.c new file mode 100644 index 000000000..24136a9b1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_dirent.c @@ -0,0 +1,1122 @@ +/* + zip_dirent.c -- read directory entry (local or central), clean dirent + Copyright (C) 1999-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include +#include +#include +#include + +#include "zipint.h" + +static time_t _zip_d2u_time(zip_uint16_t, zip_uint16_t); +static zip_string_t *_zip_dirent_process_ef_utf_8(const zip_dirent_t *de, zip_uint16_t id, zip_string_t *str); +static zip_extra_field_t *_zip_ef_utf8(zip_uint16_t, zip_string_t *, zip_error_t *); +static bool _zip_dirent_process_winzip_aes(zip_dirent_t *de, zip_error_t *error); + + +void +_zip_cdir_free(zip_cdir_t *cd) { + zip_uint64_t i; + + if (!cd) + return; + + for (i = 0; i < cd->nentry; i++) + _zip_entry_finalize(cd->entry + i); + free(cd->entry); + _zip_string_free(cd->comment); + free(cd); +} + + +zip_cdir_t * +_zip_cdir_new(zip_uint64_t nentry, zip_error_t *error) { + zip_cdir_t *cd; + + if ((cd = (zip_cdir_t *)malloc(sizeof(*cd))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + cd->entry = NULL; + cd->nentry = cd->nentry_alloc = 0; + cd->size = cd->offset = 0; + cd->comment = NULL; + cd->is_zip64 = false; + + if (!_zip_cdir_grow(cd, nentry, error)) { + _zip_cdir_free(cd); + return NULL; + } + + return cd; +} + + +bool +_zip_cdir_grow(zip_cdir_t *cd, zip_uint64_t additional_entries, zip_error_t *error) { + zip_uint64_t i, new_alloc; + zip_entry_t *new_entry; + + if (additional_entries == 0) { + return true; + } + + new_alloc = cd->nentry_alloc + additional_entries; + + if (new_alloc < additional_entries || new_alloc > SIZE_MAX / sizeof(*(cd->entry))) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return false; + } + + if ((new_entry = (zip_entry_t *)realloc(cd->entry, sizeof(*(cd->entry)) * (size_t)new_alloc)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return false; + } + + cd->entry = new_entry; + + for (i = cd->nentry; i < new_alloc; i++) { + _zip_entry_init(cd->entry + i); + } + + cd->nentry = cd->nentry_alloc = new_alloc; + + return true; +} + + +zip_int64_t +_zip_cdir_write(zip_t *za, const zip_filelist_t *filelist, zip_uint64_t survivors) { + zip_uint64_t offset, size; + zip_string_t *comment; + zip_uint8_t buf[EOCDLEN + EOCD64LEN + EOCD64LOCLEN]; + zip_buffer_t *buffer; + zip_int64_t off; + zip_uint64_t i; + bool is_zip64; + int ret; + + if ((off = zip_source_tell_write(za->src)) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + offset = (zip_uint64_t)off; + + is_zip64 = false; + + for (i = 0; i < survivors; i++) { + zip_entry_t *entry = za->entry + filelist[i].idx; + + if ((ret = _zip_dirent_write(za, entry->changes ? entry->changes : entry->orig, ZIP_FL_CENTRAL)) < 0) + return -1; + if (ret) + is_zip64 = true; + } + + if ((off = zip_source_tell_write(za->src)) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + size = (zip_uint64_t)off - offset; + + if (offset > ZIP_UINT32_MAX || survivors > ZIP_UINT16_MAX) + is_zip64 = true; + + + if ((buffer = _zip_buffer_new(buf, sizeof(buf))) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + + if (is_zip64) { + _zip_buffer_put(buffer, EOCD64_MAGIC, 4); + _zip_buffer_put_64(buffer, EOCD64LEN - 12); + _zip_buffer_put_16(buffer, 45); + _zip_buffer_put_16(buffer, 45); + _zip_buffer_put_32(buffer, 0); + _zip_buffer_put_32(buffer, 0); + _zip_buffer_put_64(buffer, survivors); + _zip_buffer_put_64(buffer, survivors); + _zip_buffer_put_64(buffer, size); + _zip_buffer_put_64(buffer, offset); + _zip_buffer_put(buffer, EOCD64LOC_MAGIC, 4); + _zip_buffer_put_32(buffer, 0); + _zip_buffer_put_64(buffer, offset + size); + _zip_buffer_put_32(buffer, 1); + } + + _zip_buffer_put(buffer, EOCD_MAGIC, 4); + _zip_buffer_put_32(buffer, 0); + _zip_buffer_put_16(buffer, (zip_uint16_t)(survivors >= ZIP_UINT16_MAX ? ZIP_UINT16_MAX : survivors)); + _zip_buffer_put_16(buffer, (zip_uint16_t)(survivors >= ZIP_UINT16_MAX ? ZIP_UINT16_MAX : survivors)); + _zip_buffer_put_32(buffer, size >= ZIP_UINT32_MAX ? ZIP_UINT32_MAX : (zip_uint32_t)size); + _zip_buffer_put_32(buffer, offset >= ZIP_UINT32_MAX ? ZIP_UINT32_MAX : (zip_uint32_t)offset); + + comment = za->comment_changed ? za->comment_changes : za->comment_orig; + + _zip_buffer_put_16(buffer, (zip_uint16_t)(comment ? comment->length : 0)); + + if (!_zip_buffer_ok(buffer)) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + _zip_buffer_free(buffer); + return -1; + } + + if (_zip_write(za, _zip_buffer_data(buffer), _zip_buffer_offset(buffer)) < 0) { + _zip_buffer_free(buffer); + return -1; + } + + _zip_buffer_free(buffer); + + if (comment) { + if (_zip_write(za, comment->raw, comment->length) < 0) { + return -1; + } + } + + return (zip_int64_t)size; +} + + +zip_dirent_t * +_zip_dirent_clone(const zip_dirent_t *sde) { + zip_dirent_t *tde; + + if ((tde = (zip_dirent_t *)malloc(sizeof(*tde))) == NULL) + return NULL; + + if (sde) + memcpy(tde, sde, sizeof(*sde)); + else + _zip_dirent_init(tde); + + tde->changed = 0; + tde->cloned = 1; + + return tde; +} + + +void +_zip_dirent_finalize(zip_dirent_t *zde) { + if (!zde->cloned || zde->changed & ZIP_DIRENT_FILENAME) { + _zip_string_free(zde->filename); + zde->filename = NULL; + } + if (!zde->cloned || zde->changed & ZIP_DIRENT_EXTRA_FIELD) { + _zip_ef_free(zde->extra_fields); + zde->extra_fields = NULL; + } + if (!zde->cloned || zde->changed & ZIP_DIRENT_COMMENT) { + _zip_string_free(zde->comment); + zde->comment = NULL; + } + if (!zde->cloned || zde->changed & ZIP_DIRENT_PASSWORD) { + if (zde->password) { + _zip_crypto_clear(zde->password, strlen(zde->password)); + } + free(zde->password); + zde->password = NULL; + } +} + + +void +_zip_dirent_free(zip_dirent_t *zde) { + if (zde == NULL) + return; + + _zip_dirent_finalize(zde); + free(zde); +} + + +void +_zip_dirent_init(zip_dirent_t *de) { + de->changed = 0; + de->local_extra_fields_read = 0; + de->cloned = 0; + + de->crc_valid = true; + de->version_madeby = 63 | (ZIP_OPSYS_DEFAULT << 8); + de->version_needed = 10; /* 1.0 */ + de->bitflags = 0; + de->comp_method = ZIP_CM_DEFAULT; + de->last_mod = 0; + de->crc = 0; + de->comp_size = 0; + de->uncomp_size = 0; + de->filename = NULL; + de->extra_fields = NULL; + de->comment = NULL; + de->disk_number = 0; + de->int_attrib = 0; + de->ext_attrib = ZIP_EXT_ATTRIB_DEFAULT; + de->offset = 0; + de->compression_level = 0; + de->encryption_method = ZIP_EM_NONE; + de->password = NULL; +} + + +bool +_zip_dirent_needs_zip64(const zip_dirent_t *de, zip_flags_t flags) { + if (de->uncomp_size >= ZIP_UINT32_MAX || de->comp_size >= ZIP_UINT32_MAX || ((flags & ZIP_FL_CENTRAL) && de->offset >= ZIP_UINT32_MAX)) + return true; + + return false; +} + + +zip_dirent_t * +_zip_dirent_new(void) { + zip_dirent_t *de; + + if ((de = (zip_dirent_t *)malloc(sizeof(*de))) == NULL) + return NULL; + + _zip_dirent_init(de); + return de; +} + + +/* _zip_dirent_read(zde, fp, bufp, left, localp, error): + Fills the zip directory entry zde. + + If buffer is non-NULL, data is taken from there; otherwise data is read from fp as needed. + + If local is true, it reads a local header instead of a central directory entry. + + Returns size of dirent read if successful. On error, error is filled in and -1 is returned. +*/ + +zip_int64_t +_zip_dirent_read(zip_dirent_t *zde, zip_source_t *src, zip_buffer_t *buffer, bool local, zip_error_t *error) { + zip_uint8_t buf[CDENTRYSIZE]; + zip_uint16_t dostime, dosdate; + zip_uint32_t size, variable_size; + zip_uint16_t filename_len, comment_len, ef_len; + + bool from_buffer = (buffer != NULL); + + size = local ? LENTRYSIZE : CDENTRYSIZE; + + if (buffer) { + if (_zip_buffer_left(buffer) < size) { + zip_error_set(error, ZIP_ER_NOZIP, 0); + return -1; + } + } + else { + if ((buffer = _zip_buffer_new_from_source(src, size, buf, error)) == NULL) { + return -1; + } + } + + if (memcmp(_zip_buffer_get(buffer, 4), (local ? LOCAL_MAGIC : CENTRAL_MAGIC), 4) != 0) { + zip_error_set(error, ZIP_ER_NOZIP, 0); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + + /* convert buffercontents to zip_dirent */ + + _zip_dirent_init(zde); + if (!local) + zde->version_madeby = _zip_buffer_get_16(buffer); + else + zde->version_madeby = 0; + zde->version_needed = _zip_buffer_get_16(buffer); + zde->bitflags = _zip_buffer_get_16(buffer); + zde->comp_method = _zip_buffer_get_16(buffer); + + /* convert to time_t */ + dostime = _zip_buffer_get_16(buffer); + dosdate = _zip_buffer_get_16(buffer); + zde->last_mod = _zip_d2u_time(dostime, dosdate); + + zde->crc = _zip_buffer_get_32(buffer); + zde->comp_size = _zip_buffer_get_32(buffer); + zde->uncomp_size = _zip_buffer_get_32(buffer); + + filename_len = _zip_buffer_get_16(buffer); + ef_len = _zip_buffer_get_16(buffer); + + if (local) { + comment_len = 0; + zde->disk_number = 0; + zde->int_attrib = 0; + zde->ext_attrib = 0; + zde->offset = 0; + } + else { + comment_len = _zip_buffer_get_16(buffer); + zde->disk_number = _zip_buffer_get_16(buffer); + zde->int_attrib = _zip_buffer_get_16(buffer); + zde->ext_attrib = _zip_buffer_get_32(buffer); + zde->offset = _zip_buffer_get_32(buffer); + } + + if (!_zip_buffer_ok(buffer)) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + + if (zde->bitflags & ZIP_GPBF_ENCRYPTED) { + if (zde->bitflags & ZIP_GPBF_STRONG_ENCRYPTION) { + /* TODO */ + zde->encryption_method = ZIP_EM_UNKNOWN; + } + else { + zde->encryption_method = ZIP_EM_TRAD_PKWARE; + } + } + else { + zde->encryption_method = ZIP_EM_NONE; + } + + zde->filename = NULL; + zde->extra_fields = NULL; + zde->comment = NULL; + + variable_size = (zip_uint32_t)filename_len + (zip_uint32_t)ef_len + (zip_uint32_t)comment_len; + + if (from_buffer) { + if (_zip_buffer_left(buffer) < variable_size) { + zip_error_set(error, ZIP_ER_INCONS, 0); + return -1; + } + } + else { + _zip_buffer_free(buffer); + + if ((buffer = _zip_buffer_new_from_source(src, variable_size, NULL, error)) == NULL) { + return -1; + } + } + + if (filename_len) { + zde->filename = _zip_read_string(buffer, src, filename_len, 1, error); + if (!zde->filename) { + if (zip_error_code_zip(error) == ZIP_ER_EOF) { + zip_error_set(error, ZIP_ER_INCONS, 0); + } + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + + if (zde->bitflags & ZIP_GPBF_ENCODING_UTF_8) { + if (_zip_guess_encoding(zde->filename, ZIP_ENCODING_UTF8_KNOWN) == ZIP_ENCODING_ERROR) { + zip_error_set(error, ZIP_ER_INCONS, 0); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + } + } + + if (ef_len) { + zip_uint8_t *ef = _zip_read_data(buffer, src, ef_len, 0, error); + + if (ef == NULL) { + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + if (!_zip_ef_parse(ef, ef_len, local ? ZIP_EF_LOCAL : ZIP_EF_CENTRAL, &zde->extra_fields, error)) { + free(ef); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + free(ef); + if (local) + zde->local_extra_fields_read = 1; + } + + if (comment_len) { + zde->comment = _zip_read_string(buffer, src, comment_len, 0, error); + if (!zde->comment) { + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + if (zde->bitflags & ZIP_GPBF_ENCODING_UTF_8) { + if (_zip_guess_encoding(zde->comment, ZIP_ENCODING_UTF8_KNOWN) == ZIP_ENCODING_ERROR) { + zip_error_set(error, ZIP_ER_INCONS, 0); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + } + } + + zde->filename = _zip_dirent_process_ef_utf_8(zde, ZIP_EF_UTF_8_NAME, zde->filename); + zde->comment = _zip_dirent_process_ef_utf_8(zde, ZIP_EF_UTF_8_COMMENT, zde->comment); + + /* Zip64 */ + + if (zde->uncomp_size == ZIP_UINT32_MAX || zde->comp_size == ZIP_UINT32_MAX || zde->offset == ZIP_UINT32_MAX) { + zip_uint16_t got_len; + zip_buffer_t *ef_buffer; + const zip_uint8_t *ef = _zip_ef_get_by_id(zde->extra_fields, &got_len, ZIP_EF_ZIP64, 0, local ? ZIP_EF_LOCAL : ZIP_EF_CENTRAL, error); + /* TODO: if got_len == 0 && !ZIP64_EOCD: no error, 0xffffffff is valid value */ + if (ef == NULL) { + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + + if ((ef_buffer = _zip_buffer_new((zip_uint8_t *)ef, got_len)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + + if (zde->uncomp_size == ZIP_UINT32_MAX) + zde->uncomp_size = _zip_buffer_get_64(ef_buffer); + else if (local) { + /* From appnote.txt: This entry in the Local header MUST + include BOTH original and compressed file size fields. */ + (void)_zip_buffer_skip(ef_buffer, 8); /* error is caught by _zip_buffer_eof() call */ + } + if (zde->comp_size == ZIP_UINT32_MAX) + zde->comp_size = _zip_buffer_get_64(ef_buffer); + if (!local) { + if (zde->offset == ZIP_UINT32_MAX) + zde->offset = _zip_buffer_get_64(ef_buffer); + if (zde->disk_number == ZIP_UINT16_MAX) + zde->disk_number = _zip_buffer_get_32(ef_buffer); + } + + if (!_zip_buffer_eof(ef_buffer)) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_buffer_free(ef_buffer); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + _zip_buffer_free(ef_buffer); + } + + if (!_zip_buffer_ok(buffer)) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + if (!from_buffer) { + _zip_buffer_free(buffer); + } + return -1; + } + if (!from_buffer) { + _zip_buffer_free(buffer); + } + + /* zip_source_seek / zip_source_tell don't support values > ZIP_INT64_MAX */ + if (zde->offset > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return -1; + } + + if (!_zip_dirent_process_winzip_aes(zde, error)) { + return -1; + } + + zde->extra_fields = _zip_ef_remove_internal(zde->extra_fields); + + return (zip_int64_t)(size + variable_size); +} + + +static zip_string_t * +_zip_dirent_process_ef_utf_8(const zip_dirent_t *de, zip_uint16_t id, zip_string_t *str) { + zip_uint16_t ef_len; + zip_uint32_t ef_crc; + zip_buffer_t *buffer; + + const zip_uint8_t *ef = _zip_ef_get_by_id(de->extra_fields, &ef_len, id, 0, ZIP_EF_BOTH, NULL); + + if (ef == NULL || ef_len < 5 || ef[0] != 1) { + return str; + } + + if ((buffer = _zip_buffer_new((zip_uint8_t *)ef, ef_len)) == NULL) { + return str; + } + + _zip_buffer_get_8(buffer); + ef_crc = _zip_buffer_get_32(buffer); + + if (_zip_string_crc32(str) == ef_crc) { + zip_uint16_t len = (zip_uint16_t)_zip_buffer_left(buffer); + zip_string_t *ef_str = _zip_string_new(_zip_buffer_get(buffer, len), len, ZIP_FL_ENC_UTF_8, NULL); + + if (ef_str != NULL) { + _zip_string_free(str); + str = ef_str; + } + } + + _zip_buffer_free(buffer); + + return str; +} + + +static bool +_zip_dirent_process_winzip_aes(zip_dirent_t *de, zip_error_t *error) { + zip_uint16_t ef_len; + zip_buffer_t *buffer; + const zip_uint8_t *ef; + bool crc_valid; + zip_uint16_t enc_method; + + + if (de->comp_method != ZIP_CM_WINZIP_AES) { + return true; + } + + ef = _zip_ef_get_by_id(de->extra_fields, &ef_len, ZIP_EF_WINZIP_AES, 0, ZIP_EF_BOTH, NULL); + + if (ef == NULL || ef_len < 7) { + zip_error_set(error, ZIP_ER_INCONS, 0); + return false; + } + + if ((buffer = _zip_buffer_new((zip_uint8_t *)ef, ef_len)) == NULL) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + return false; + } + + /* version */ + + crc_valid = true; + switch (_zip_buffer_get_16(buffer)) { + case 1: + break; + + case 2: + if (de->uncomp_size < 20 /* TODO: constant */) { + crc_valid = false; + } + break; + + default: + zip_error_set(error, ZIP_ER_ENCRNOTSUPP, 0); + _zip_buffer_free(buffer); + return false; + } + + /* vendor */ + if (memcmp(_zip_buffer_get(buffer, 2), "AE", 2) != 0) { + zip_error_set(error, ZIP_ER_ENCRNOTSUPP, 0); + _zip_buffer_free(buffer); + return false; + } + + /* mode */ + switch (_zip_buffer_get_8(buffer)) { + case 1: + enc_method = ZIP_EM_AES_128; + break; + case 2: + enc_method = ZIP_EM_AES_192; + break; + case 3: + enc_method = ZIP_EM_AES_256; + break; + default: + zip_error_set(error, ZIP_ER_ENCRNOTSUPP, 0); + _zip_buffer_free(buffer); + return false; + } + + if (ef_len != 7) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_buffer_free(buffer); + return false; + } + + de->crc_valid = crc_valid; + de->encryption_method = enc_method; + de->comp_method = _zip_buffer_get_16(buffer); + + _zip_buffer_free(buffer); + return true; +} + + +zip_int32_t +_zip_dirent_size(zip_source_t *src, zip_uint16_t flags, zip_error_t *error) { + zip_int32_t size; + bool local = (flags & ZIP_EF_LOCAL) != 0; + int i; + zip_uint8_t b[6]; + zip_buffer_t *buffer; + + size = local ? LENTRYSIZE : CDENTRYSIZE; + + if (zip_source_seek(src, local ? 26 : 28, SEEK_CUR) < 0) { + _zip_error_set_from_source(error, src); + return -1; + } + + if ((buffer = _zip_buffer_new_from_source(src, local ? 4 : 6, b, error)) == NULL) { + return -1; + } + + for (i = 0; i < (local ? 2 : 3); i++) { + size += _zip_buffer_get_16(buffer); + } + + if (!_zip_buffer_eof(buffer)) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + _zip_buffer_free(buffer); + return -1; + } + + _zip_buffer_free(buffer); + return size; +} + + +/* _zip_dirent_write + Writes zip directory entry. + + If flags & ZIP_EF_LOCAL, it writes a local header instead of a central + directory entry. If flags & ZIP_EF_FORCE_ZIP64, a ZIP64 extra field is written, even if not needed. + + Returns 0 if successful, 1 if successful and wrote ZIP64 extra field. On error, error is filled in and -1 is + returned. +*/ + +int +_zip_dirent_write(zip_t *za, zip_dirent_t *de, zip_flags_t flags) { + zip_uint16_t dostime, dosdate; + zip_encoding_type_t com_enc, name_enc; + zip_extra_field_t *ef; + zip_extra_field_t *ef64; + zip_uint32_t ef_total_size; + bool is_zip64; + bool is_really_zip64; + bool is_winzip_aes; + zip_uint8_t buf[CDENTRYSIZE]; + zip_buffer_t *buffer; + + ef = NULL; + + name_enc = _zip_guess_encoding(de->filename, ZIP_ENCODING_UNKNOWN); + com_enc = _zip_guess_encoding(de->comment, ZIP_ENCODING_UNKNOWN); + + if ((name_enc == ZIP_ENCODING_UTF8_KNOWN && com_enc == ZIP_ENCODING_ASCII) || (name_enc == ZIP_ENCODING_ASCII && com_enc == ZIP_ENCODING_UTF8_KNOWN) || (name_enc == ZIP_ENCODING_UTF8_KNOWN && com_enc == ZIP_ENCODING_UTF8_KNOWN)) + de->bitflags |= ZIP_GPBF_ENCODING_UTF_8; + else { + de->bitflags &= (zip_uint16_t)~ZIP_GPBF_ENCODING_UTF_8; + if (name_enc == ZIP_ENCODING_UTF8_KNOWN) { + ef = _zip_ef_utf8(ZIP_EF_UTF_8_NAME, de->filename, &za->error); + if (ef == NULL) + return -1; + } + if ((flags & ZIP_FL_LOCAL) == 0 && com_enc == ZIP_ENCODING_UTF8_KNOWN) { + zip_extra_field_t *ef2 = _zip_ef_utf8(ZIP_EF_UTF_8_COMMENT, de->comment, &za->error); + if (ef2 == NULL) { + _zip_ef_free(ef); + return -1; + } + ef2->next = ef; + ef = ef2; + } + } + + if (de->encryption_method == ZIP_EM_NONE) { + de->bitflags &= (zip_uint16_t)~ZIP_GPBF_ENCRYPTED; + } + else { + de->bitflags |= (zip_uint16_t)ZIP_GPBF_ENCRYPTED; + } + + is_really_zip64 = _zip_dirent_needs_zip64(de, flags); + is_zip64 = (flags & (ZIP_FL_LOCAL | ZIP_FL_FORCE_ZIP64)) == (ZIP_FL_LOCAL | ZIP_FL_FORCE_ZIP64) || is_really_zip64; + is_winzip_aes = de->encryption_method == ZIP_EM_AES_128 || de->encryption_method == ZIP_EM_AES_192 || de->encryption_method == ZIP_EM_AES_256; + + if (is_zip64) { + zip_uint8_t ef_zip64[EFZIP64SIZE]; + zip_buffer_t *ef_buffer = _zip_buffer_new(ef_zip64, sizeof(ef_zip64)); + if (ef_buffer == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + _zip_ef_free(ef); + return -1; + } + + if (flags & ZIP_FL_LOCAL) { + if ((flags & ZIP_FL_FORCE_ZIP64) || de->comp_size > ZIP_UINT32_MAX || de->uncomp_size > ZIP_UINT32_MAX) { + _zip_buffer_put_64(ef_buffer, de->uncomp_size); + _zip_buffer_put_64(ef_buffer, de->comp_size); + } + } + else { + if ((flags & ZIP_FL_FORCE_ZIP64) || de->comp_size > ZIP_UINT32_MAX || de->uncomp_size > ZIP_UINT32_MAX || de->offset > ZIP_UINT32_MAX) { + if (de->uncomp_size >= ZIP_UINT32_MAX) { + _zip_buffer_put_64(ef_buffer, de->uncomp_size); + } + if (de->comp_size >= ZIP_UINT32_MAX) { + _zip_buffer_put_64(ef_buffer, de->comp_size); + } + if (de->offset >= ZIP_UINT32_MAX) { + _zip_buffer_put_64(ef_buffer, de->offset); + } + } + } + + if (!_zip_buffer_ok(ef_buffer)) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + _zip_buffer_free(ef_buffer); + _zip_ef_free(ef); + return -1; + } + + ef64 = _zip_ef_new(ZIP_EF_ZIP64, (zip_uint16_t)(_zip_buffer_offset(ef_buffer)), ef_zip64, ZIP_EF_BOTH); + _zip_buffer_free(ef_buffer); + ef64->next = ef; + ef = ef64; + } + + if (is_winzip_aes) { + zip_uint8_t data[EF_WINZIP_AES_SIZE]; + zip_buffer_t *ef_buffer = _zip_buffer_new(data, sizeof(data)); + zip_extra_field_t *ef_winzip; + + if (ef_buffer == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + _zip_ef_free(ef); + return -1; + } + + _zip_buffer_put_16(ef_buffer, 2); + _zip_buffer_put(ef_buffer, "AE", 2); + _zip_buffer_put_8(ef_buffer, (zip_uint8_t)(de->encryption_method & 0xff)); + _zip_buffer_put_16(ef_buffer, (zip_uint16_t)de->comp_method); + + if (!_zip_buffer_ok(ef_buffer)) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + _zip_buffer_free(ef_buffer); + _zip_ef_free(ef); + return -1; + } + + ef_winzip = _zip_ef_new(ZIP_EF_WINZIP_AES, EF_WINZIP_AES_SIZE, data, ZIP_EF_BOTH); + _zip_buffer_free(ef_buffer); + ef_winzip->next = ef; + ef = ef_winzip; + } + + if ((buffer = _zip_buffer_new(buf, sizeof(buf))) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + _zip_ef_free(ef); + return -1; + } + + _zip_buffer_put(buffer, (flags & ZIP_FL_LOCAL) ? LOCAL_MAGIC : CENTRAL_MAGIC, 4); + + if ((flags & ZIP_FL_LOCAL) == 0) { + _zip_buffer_put_16(buffer, (zip_uint16_t)(is_really_zip64 ? 45 : de->version_madeby)); + } + _zip_buffer_put_16(buffer, (zip_uint16_t)(is_really_zip64 ? 45 : de->version_needed)); + _zip_buffer_put_16(buffer, de->bitflags); + if (is_winzip_aes) { + _zip_buffer_put_16(buffer, ZIP_CM_WINZIP_AES); + } + else { + _zip_buffer_put_16(buffer, (zip_uint16_t)de->comp_method); + } + + _zip_u2d_time(de->last_mod, &dostime, &dosdate); + _zip_buffer_put_16(buffer, dostime); + _zip_buffer_put_16(buffer, dosdate); + + if (is_winzip_aes && de->uncomp_size < 20) { + _zip_buffer_put_32(buffer, 0); + } + else { + _zip_buffer_put_32(buffer, de->crc); + } + + if (((flags & ZIP_FL_LOCAL) == ZIP_FL_LOCAL) && ((de->comp_size >= ZIP_UINT32_MAX) || (de->uncomp_size >= ZIP_UINT32_MAX))) { + /* In local headers, if a ZIP64 EF is written, it MUST contain + * both compressed and uncompressed sizes (even if one of the + * two is smaller than 0xFFFFFFFF); on the other hand, those + * may only appear when the corresponding standard entry is + * 0xFFFFFFFF. (appnote.txt 4.5.3) */ + _zip_buffer_put_32(buffer, ZIP_UINT32_MAX); + _zip_buffer_put_32(buffer, ZIP_UINT32_MAX); + } + else { + if (de->comp_size < ZIP_UINT32_MAX) { + _zip_buffer_put_32(buffer, (zip_uint32_t)de->comp_size); + } + else { + _zip_buffer_put_32(buffer, ZIP_UINT32_MAX); + } + if (de->uncomp_size < ZIP_UINT32_MAX) { + _zip_buffer_put_32(buffer, (zip_uint32_t)de->uncomp_size); + } + else { + _zip_buffer_put_32(buffer, ZIP_UINT32_MAX); + } + } + + _zip_buffer_put_16(buffer, _zip_string_length(de->filename)); + /* TODO: check for overflow */ + ef_total_size = (zip_uint32_t)_zip_ef_size(de->extra_fields, flags) + (zip_uint32_t)_zip_ef_size(ef, ZIP_EF_BOTH); + _zip_buffer_put_16(buffer, (zip_uint16_t)ef_total_size); + + if ((flags & ZIP_FL_LOCAL) == 0) { + _zip_buffer_put_16(buffer, _zip_string_length(de->comment)); + _zip_buffer_put_16(buffer, (zip_uint16_t)de->disk_number); + _zip_buffer_put_16(buffer, de->int_attrib); + _zip_buffer_put_32(buffer, de->ext_attrib); + if (de->offset < ZIP_UINT32_MAX) + _zip_buffer_put_32(buffer, (zip_uint32_t)de->offset); + else + _zip_buffer_put_32(buffer, ZIP_UINT32_MAX); + } + + if (!_zip_buffer_ok(buffer)) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + _zip_buffer_free(buffer); + _zip_ef_free(ef); + return -1; + } + + if (_zip_write(za, buf, _zip_buffer_offset(buffer)) < 0) { + _zip_buffer_free(buffer); + _zip_ef_free(ef); + return -1; + } + + _zip_buffer_free(buffer); + + if (de->filename) { + if (_zip_string_write(za, de->filename) < 0) { + _zip_ef_free(ef); + return -1; + } + } + + if (ef) { + if (_zip_ef_write(za, ef, ZIP_EF_BOTH) < 0) { + _zip_ef_free(ef); + return -1; + } + } + _zip_ef_free(ef); + if (de->extra_fields) { + if (_zip_ef_write(za, de->extra_fields, flags) < 0) { + return -1; + } + } + + if ((flags & ZIP_FL_LOCAL) == 0) { + if (de->comment) { + if (_zip_string_write(za, de->comment) < 0) { + return -1; + } + } + } + + + return is_zip64; +} + + +static time_t +_zip_d2u_time(zip_uint16_t dtime, zip_uint16_t ddate) { + struct tm tm; + + memset(&tm, 0, sizeof(tm)); + + /* let mktime decide if DST is in effect */ + tm.tm_isdst = -1; + + tm.tm_year = ((ddate >> 9) & 127) + 1980 - 1900; + tm.tm_mon = ((ddate >> 5) & 15) - 1; + tm.tm_mday = ddate & 31; + + tm.tm_hour = (dtime >> 11) & 31; + tm.tm_min = (dtime >> 5) & 63; + tm.tm_sec = (dtime << 1) & 62; + + return mktime(&tm); +} + + +static zip_extra_field_t * +_zip_ef_utf8(zip_uint16_t id, zip_string_t *str, zip_error_t *error) { + const zip_uint8_t *raw; + zip_uint32_t len; + zip_buffer_t *buffer; + zip_extra_field_t *ef; + + if ((raw = _zip_string_get(str, &len, ZIP_FL_ENC_RAW, NULL)) == NULL) { + /* error already set */ + return NULL; + } + + if (len + 5 > ZIP_UINT16_MAX) { + zip_error_set(error, ZIP_ER_INVAL, 0); /* TODO: better error code? */ + return NULL; + } + + if ((buffer = _zip_buffer_new(NULL, len + 5)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + _zip_buffer_put_8(buffer, 1); + _zip_buffer_put_32(buffer, _zip_string_crc32(str)); + _zip_buffer_put(buffer, raw, len); + + if (!_zip_buffer_ok(buffer)) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + _zip_buffer_free(buffer); + return NULL; + } + + ef = _zip_ef_new(id, (zip_uint16_t)(_zip_buffer_offset(buffer)), _zip_buffer_data(buffer), ZIP_EF_BOTH); + _zip_buffer_free(buffer); + + return ef; +} + + +zip_dirent_t * +_zip_get_dirent(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error) { + if (error == NULL) + error = &za->error; + + if (idx >= za->nentry) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((flags & ZIP_FL_UNCHANGED) || za->entry[idx].changes == NULL) { + if (za->entry[idx].orig == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + if (za->entry[idx].deleted && (flags & ZIP_FL_UNCHANGED) == 0) { + zip_error_set(error, ZIP_ER_DELETED, 0); + return NULL; + } + return za->entry[idx].orig; + } + else + return za->entry[idx].changes; +} + + +void +_zip_u2d_time(time_t intime, zip_uint16_t *dtime, zip_uint16_t *ddate) { + struct tm *tm; + + tm = localtime(&intime); + if (tm == NULL) { + /* if localtime() fails, return an arbitrary date (1980-01-01 00:00:00) */ + *ddate = (1 << 5) + 1; + *dtime = 0; + return; + } + if (tm->tm_year < 80) { + tm->tm_year = 80; + } + + *ddate = (zip_uint16_t)(((tm->tm_year + 1900 - 1980) << 9) + ((tm->tm_mon + 1) << 5) + tm->tm_mday); + *dtime = (zip_uint16_t)(((tm->tm_hour) << 11) + ((tm->tm_min) << 5) + ((tm->tm_sec) >> 1)); + + return; +} + + +void +_zip_dirent_set_version_needed(zip_dirent_t *de, bool force_zip64) { + zip_uint16_t length; + + if (de->comp_method == ZIP_CM_LZMA) { + de->version_needed = 63; + return; + } + + if (de->comp_method == ZIP_CM_BZIP2) { + de->version_needed = 46; + return; + } + + if (force_zip64 || _zip_dirent_needs_zip64(de, 0)) { + de->version_needed = 45; + return; + } + + if (de->comp_method == ZIP_CM_DEFLATE || de->encryption_method == ZIP_EM_TRAD_PKWARE) { + de->version_needed = 20; + return; + } + + /* directory */ + if ((length = _zip_string_length(de->filename)) > 0) { + if (de->filename->raw[length - 1] == '/') { + de->version_needed = 20; + return; + } + } + + de->version_needed = 10; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_discard.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_discard.c new file mode 100644 index 000000000..94972cfbd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_discard.c @@ -0,0 +1,80 @@ +/* + zip_discard.c -- discard and free struct zip + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +/* zip_discard: + frees the space allocated to a zipfile struct, and closes the + corresponding file. */ + +void +zip_discard(zip_t *za) { + zip_uint64_t i; + + if (za == NULL) + return; + + if (za->src) { + zip_source_close(za->src); + zip_source_free(za->src); + } + + free(za->default_password); + _zip_string_free(za->comment_orig); + _zip_string_free(za->comment_changes); + + _zip_hash_free(za->names); + + if (za->entry) { + for (i = 0; i < za->nentry; i++) + _zip_entry_finalize(za->entry + i); + free(za->entry); + } + + for (i = 0; i < za->nopen_source; i++) { + _zip_source_invalidate(za->open_source[i]); + } + free(za->open_source); + + _zip_progress_free(za->progress); + + zip_error_fini(&za->error); + + free(za); + + return; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_entry.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_entry.c new file mode 100644 index 000000000..55f64581f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_entry.c @@ -0,0 +1,51 @@ +/* + zip_entry.c -- struct zip_entry helper functions + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +void +_zip_entry_finalize(zip_entry_t *e) { + _zip_unchange_data(e); + _zip_dirent_free(e->orig); + _zip_dirent_free(e->changes); +} + + +void +_zip_entry_init(zip_entry_t *e) { + e->orig = NULL; + e->changes = NULL; + e->source = NULL; + e->deleted = 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_err_str.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_err_str.c new file mode 100644 index 000000000..3d9ee54e6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_err_str.c @@ -0,0 +1,20 @@ +/* + This file was generated automatically by ./make_zip_err_str.sh + from ./zip.h; make changes there. + */ + +#include "zipint.h" + +const char *const _zip_err_str[] = { + "No error", "Multi-disk zip archives not supported", "Renaming temporary file failed", "Closing zip archive failed", "Seek error", "Read error", "Write error", "CRC error", "Containing zip archive was closed", "No such file", "File already exists", "Can't open file", "Failure to create temporary file", "Zlib error", "Malloc failure", "Entry has been changed", "Compression method not supported", "Premature end of file", "Invalid argument", "Not a zip archive", "Internal error", "Zip archive inconsistent", "Can't remove file", "Entry has been deleted", "Encryption method not supported", "Read-only archive", "No password provided", "Wrong password provided", "Operation not supported", "Resource still in use", "Tell error", "Compressed data invalid", +}; + +const int _zip_nerr_str = sizeof(_zip_err_str) / sizeof(_zip_err_str[0]); + +#define N ZIP_ET_NONE +#define S ZIP_ET_SYS +#define Z ZIP_ET_ZLIB + +const int _zip_err_type[] = { + N, N, S, S, S, S, S, N, N, N, N, S, S, Z, N, N, N, N, N, N, N, N, S, N, N, N, N, N, N, N, S, N, +}; diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_error.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_error.c new file mode 100644 index 000000000..e05ae5005 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_error.c @@ -0,0 +1,150 @@ +/* + zip_error.c -- zip_error_t helper functions + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_error_code_system(const zip_error_t *error) { + return error->sys_err; +} + + +ZIP_EXTERN int +zip_error_code_zip(const zip_error_t *error) { + return error->zip_err; +} + + +ZIP_EXTERN void +zip_error_fini(zip_error_t *err) { + free(err->str); + err->str = NULL; +} + + +ZIP_EXTERN void +zip_error_init(zip_error_t *err) { + err->zip_err = ZIP_ER_OK; + err->sys_err = 0; + err->str = NULL; +} + +ZIP_EXTERN void +zip_error_init_with_code(zip_error_t *error, int ze) { + zip_error_init(error); + error->zip_err = ze; + switch (zip_error_system_type(error)) { + case ZIP_ET_SYS: + error->sys_err = errno; + break; + + default: + error->sys_err = 0; + break; + } +} + + +ZIP_EXTERN int +zip_error_system_type(const zip_error_t *error) { + if (error->zip_err < 0 || error->zip_err >= _zip_nerr_str) + return ZIP_ET_NONE; + + return _zip_err_type[error->zip_err]; +} + + +void +_zip_error_clear(zip_error_t *err) { + if (err == NULL) + return; + + err->zip_err = ZIP_ER_OK; + err->sys_err = 0; +} + + +void +_zip_error_copy(zip_error_t *dst, const zip_error_t *src) { + if (dst == NULL) { + return; + } + + dst->zip_err = src->zip_err; + dst->sys_err = src->sys_err; +} + + +void +_zip_error_get(const zip_error_t *err, int *zep, int *sep) { + if (zep) + *zep = err->zip_err; + if (sep) { + if (zip_error_system_type(err) != ZIP_ET_NONE) + *sep = err->sys_err; + else + *sep = 0; + } +} + + +void +zip_error_set(zip_error_t *err, int ze, int se) { + if (err) { + err->zip_err = ze; + err->sys_err = se; + } +} + + +void +_zip_error_set_from_source(zip_error_t *err, zip_source_t *src) { + _zip_error_copy(err, zip_source_error(src)); +} + + +zip_int64_t +zip_error_to_data(const zip_error_t *error, void *data, zip_uint64_t length) { + int *e = (int *)data; + + if (length < sizeof(int) * 2) { + return -1; + } + + e[0] = zip_error_code_zip(error); + e[1] = zip_error_code_system(error); + return sizeof(int) * 2; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_error_clear.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_clear.c new file mode 100644 index 000000000..6b3a8da08 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_clear.c @@ -0,0 +1,44 @@ +/* + zip_error_clear.c -- clear zip error + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN void +zip_error_clear(zip_t *za) { + if (za == NULL) + return; + + _zip_error_clear(&za->error); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_error_get.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_get.c new file mode 100644 index 000000000..12341d1c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_get.c @@ -0,0 +1,54 @@ +/* + zip_error_get.c -- get zip error + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN void +zip_error_get(zip_t *za, int *zep, int *sep) { + _zip_error_get(&za->error, zep, sep); +} + + +ZIP_EXTERN zip_error_t * +zip_get_error(zip_t *za) { + return &za->error; +} + + +ZIP_EXTERN zip_error_t * +zip_file_get_error(zip_file_t *f) { + return &f->error; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_error_get_sys_type.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_get_sys_type.c new file mode 100644 index 000000000..80bfc0cae --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_get_sys_type.c @@ -0,0 +1,44 @@ +/* + zip_error_get_sys_type.c -- return type of system error code + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN int +zip_error_get_sys_type(int ze) { + if (ze < 0 || ze >= _zip_nerr_str) + return 0; + + return _zip_err_type[ze]; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_error_strerror.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_strerror.c new file mode 100644 index 000000000..0f650b5f4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_strerror.c @@ -0,0 +1,82 @@ +/* + zip_error_sterror.c -- get string representation of struct zip_error + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include + +#include "zipint.h" + + +ZIP_EXTERN const char * +zip_error_strerror(zip_error_t *err) { + const char *zs, *ss; + char buf[128], *s; + + zip_error_fini(err); + + if (err->zip_err < 0 || err->zip_err >= _zip_nerr_str) { + sprintf(buf, "Unknown error %d", err->zip_err); + zs = NULL; + ss = buf; + } + else { + zs = _zip_err_str[err->zip_err]; + + switch (_zip_err_type[err->zip_err]) { + case ZIP_ET_SYS: + ss = strerror(err->sys_err); + break; + + case ZIP_ET_ZLIB: + ss = zError(err->sys_err); + break; + + default: + ss = NULL; + } + } + + if (ss == NULL) + return zs; + else { + if ((s = (char *)malloc(strlen(ss) + (zs ? strlen(zs) + 2 : 0) + 1)) == NULL) + return _zip_err_str[ZIP_ER_MEMORY]; + + sprintf(s, "%s%s%s", (zs ? zs : ""), (zs ? ": " : ""), ss); + err->str = s; + + return s; + } +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_error_to_str.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_to_str.c new file mode 100644 index 000000000..bf515698a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_error_to_str.c @@ -0,0 +1,66 @@ +/* + zip_error_to_str.c -- get string representation of zip error code + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN int +zip_error_to_str(char *buf, zip_uint64_t len, int ze, int se) { + const char *zs, *ss; + + if (ze < 0 || ze >= _zip_nerr_str) + return snprintf(buf, len, "Unknown error %d", ze); + + zs = _zip_err_str[ze]; + + switch (_zip_err_type[ze]) { + case ZIP_ET_SYS: + ss = strerror(se); + break; + + case ZIP_ET_ZLIB: + ss = zError(se); + break; + + default: + ss = NULL; + } + + return snprintf(buf, len, "%s%s%s", zs, (ss ? ": " : ""), (ss ? ss : "")); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_extra_field.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_extra_field.c new file mode 100644 index 000000000..a17e4916a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_extra_field.c @@ -0,0 +1,426 @@ +/* + zip_extra_field.c -- manipulate extra fields + Copyright (C) 2012-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include + +#include "zipint.h" + + +zip_extra_field_t * +_zip_ef_clone(const zip_extra_field_t *ef, zip_error_t *error) { + zip_extra_field_t *head, *prev, *def; + + head = prev = NULL; + + while (ef) { + if ((def = _zip_ef_new(ef->id, ef->size, ef->data, ef->flags)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + _zip_ef_free(head); + return NULL; + } + + if (head == NULL) + head = def; + if (prev) + prev->next = def; + prev = def; + + ef = ef->next; + } + + return head; +} + + +zip_extra_field_t * +_zip_ef_delete_by_id(zip_extra_field_t *ef, zip_uint16_t id, zip_uint16_t id_idx, zip_flags_t flags) { + zip_extra_field_t *head, *prev; + int i; + + i = 0; + head = ef; + prev = NULL; + for (; ef; ef = (prev ? prev->next : head)) { + if ((ef->flags & flags & ZIP_EF_BOTH) && ((ef->id == id) || (id == ZIP_EXTRA_FIELD_ALL))) { + if (id_idx == ZIP_EXTRA_FIELD_ALL || i == id_idx) { + ef->flags &= ~(flags & ZIP_EF_BOTH); + if ((ef->flags & ZIP_EF_BOTH) == 0) { + if (prev) + prev->next = ef->next; + else + head = ef->next; + ef->next = NULL; + _zip_ef_free(ef); + + if (id_idx == ZIP_EXTRA_FIELD_ALL) + continue; + } + } + + i++; + if (i > id_idx) + break; + } + prev = ef; + } + + return head; +} + + +void +_zip_ef_free(zip_extra_field_t *ef) { + zip_extra_field_t *ef2; + + while (ef) { + ef2 = ef->next; + free(ef->data); + free(ef); + ef = ef2; + } +} + + +const zip_uint8_t * +_zip_ef_get_by_id(const zip_extra_field_t *ef, zip_uint16_t *lenp, zip_uint16_t id, zip_uint16_t id_idx, zip_flags_t flags, zip_error_t *error) { + static const zip_uint8_t empty[1] = {'\0'}; + + int i; + + i = 0; + for (; ef; ef = ef->next) { + if (ef->id == id && (ef->flags & flags & ZIP_EF_BOTH)) { + if (i < id_idx) { + i++; + continue; + } + + if (lenp) + *lenp = ef->size; + if (ef->size > 0) + return ef->data; + else + return empty; + } + } + + zip_error_set(error, ZIP_ER_NOENT, 0); + return NULL; +} + + +zip_extra_field_t * +_zip_ef_merge(zip_extra_field_t *to, zip_extra_field_t *from) { + zip_extra_field_t *ef2, *tt, *tail; + int duplicate; + + if (to == NULL) + return from; + + for (tail = to; tail->next; tail = tail->next) + ; + + for (; from; from = ef2) { + ef2 = from->next; + + duplicate = 0; + for (tt = to; tt; tt = tt->next) { + if (tt->id == from->id && tt->size == from->size && (tt->size == 0 || memcmp(tt->data, from->data, tt->size) == 0)) { + tt->flags |= (from->flags & ZIP_EF_BOTH); + duplicate = 1; + break; + } + } + + from->next = NULL; + if (duplicate) + _zip_ef_free(from); + else + tail = tail->next = from; + } + + return to; +} + + +zip_extra_field_t * +_zip_ef_new(zip_uint16_t id, zip_uint16_t size, const zip_uint8_t *data, zip_flags_t flags) { + zip_extra_field_t *ef; + + if ((ef = (zip_extra_field_t *)malloc(sizeof(*ef))) == NULL) + return NULL; + + ef->next = NULL; + ef->flags = flags; + ef->id = id; + ef->size = size; + if (size > 0) { + if ((ef->data = (zip_uint8_t *)_zip_memdup(data, size, NULL)) == NULL) { + free(ef); + return NULL; + } + } + else + ef->data = NULL; + + return ef; +} + + +bool +_zip_ef_parse(const zip_uint8_t *data, zip_uint16_t len, zip_flags_t flags, zip_extra_field_t **ef_head_p, zip_error_t *error) { + zip_buffer_t *buffer; + zip_extra_field_t *ef, *ef2, *ef_head; + + if ((buffer = _zip_buffer_new((zip_uint8_t *)data, len)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return false; + } + + ef_head = ef = NULL; + + while (_zip_buffer_ok(buffer) && _zip_buffer_left(buffer) >= 4) { + zip_uint16_t fid, flen; + zip_uint8_t *ef_data; + + fid = _zip_buffer_get_16(buffer); + flen = _zip_buffer_get_16(buffer); + ef_data = _zip_buffer_get(buffer, flen); + + if (ef_data == NULL) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_buffer_free(buffer); + _zip_ef_free(ef_head); + return false; + } + + if ((ef2 = _zip_ef_new(fid, flen, ef_data, flags)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + _zip_buffer_free(buffer); + _zip_ef_free(ef_head); + return false; + } + + if (ef_head) { + ef->next = ef2; + ef = ef2; + } + else + ef_head = ef = ef2; + } + + if (!_zip_buffer_eof(buffer)) { + /* Android APK files align stored file data with padding in extra fields; ignore. */ + /* see https://android.googlesource.com/platform/build/+/master/tools/zipalign/ZipAlign.cpp */ + size_t glen = _zip_buffer_left(buffer); + zip_uint8_t *garbage; + garbage = _zip_buffer_get(buffer, glen); + if (glen >= 4 || garbage == NULL || memcmp(garbage, "\0\0\0", glen) != 0) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_buffer_free(buffer); + _zip_ef_free(ef_head); + return false; + } + } + + _zip_buffer_free(buffer); + + if (ef_head_p) { + *ef_head_p = ef_head; + } + else { + _zip_ef_free(ef_head); + } + + return true; +} + + +zip_extra_field_t * +_zip_ef_remove_internal(zip_extra_field_t *ef) { + zip_extra_field_t *ef_head; + zip_extra_field_t *prev, *next; + + ef_head = ef; + prev = NULL; + + while (ef) { + if (ZIP_EF_IS_INTERNAL(ef->id)) { + next = ef->next; + if (ef_head == ef) + ef_head = next; + ef->next = NULL; + _zip_ef_free(ef); + if (prev) + prev->next = next; + ef = next; + } + else { + prev = ef; + ef = ef->next; + } + } + + return ef_head; +} + + +zip_uint16_t +_zip_ef_size(const zip_extra_field_t *ef, zip_flags_t flags) { + zip_uint16_t size; + + size = 0; + for (; ef; ef = ef->next) { + if (ef->flags & flags & ZIP_EF_BOTH) + size = (zip_uint16_t)(size + 4 + ef->size); + } + + return size; +} + + +int +_zip_ef_write(zip_t *za, const zip_extra_field_t *ef, zip_flags_t flags) { + zip_uint8_t b[4]; + zip_buffer_t *buffer = _zip_buffer_new(b, sizeof(b)); + + if (buffer == NULL) { + return -1; + } + + for (; ef; ef = ef->next) { + if (ef->flags & flags & ZIP_EF_BOTH) { + _zip_buffer_set_offset(buffer, 0); + _zip_buffer_put_16(buffer, ef->id); + _zip_buffer_put_16(buffer, ef->size); + if (!_zip_buffer_ok(buffer)) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + _zip_buffer_free(buffer); + return -1; + } + if (_zip_write(za, b, 4) < 0) { + _zip_buffer_free(buffer); + return -1; + } + if (ef->size > 0) { + if (_zip_write(za, ef->data, ef->size) < 0) { + _zip_buffer_free(buffer); + return -1; + } + } + } + } + + _zip_buffer_free(buffer); + return 0; +} + + +int +_zip_read_local_ef(zip_t *za, zip_uint64_t idx) { + zip_entry_t *e; + unsigned char b[4]; + zip_buffer_t *buffer; + zip_uint16_t fname_len, ef_len; + + if (idx >= za->nentry) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + e = za->entry + idx; + + if (e->orig == NULL || e->orig->local_extra_fields_read) + return 0; + + if (e->orig->offset + 26 > ZIP_INT64_MAX) { + zip_error_set(&za->error, ZIP_ER_SEEK, EFBIG); + return -1; + } + + if (zip_source_seek(za->src, (zip_int64_t)(e->orig->offset + 26), SEEK_SET) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + + if ((buffer = _zip_buffer_new_from_source(za->src, sizeof(b), b, &za->error)) == NULL) { + return -1; + } + + fname_len = _zip_buffer_get_16(buffer); + ef_len = _zip_buffer_get_16(buffer); + + if (!_zip_buffer_eof(buffer)) { + _zip_buffer_free(buffer); + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + _zip_buffer_free(buffer); + + if (ef_len > 0) { + zip_extra_field_t *ef; + zip_uint8_t *ef_raw; + + if (zip_source_seek(za->src, fname_len, SEEK_CUR) < 0) { + zip_error_set(&za->error, ZIP_ER_SEEK, errno); + return -1; + } + + ef_raw = _zip_read_data(NULL, za->src, ef_len, 0, &za->error); + + if (ef_raw == NULL) + return -1; + + if (!_zip_ef_parse(ef_raw, ef_len, ZIP_EF_LOCAL, &ef, &za->error)) { + free(ef_raw); + return -1; + } + free(ef_raw); + + if (ef) { + ef = _zip_ef_remove_internal(ef); + e->orig->extra_fields = _zip_ef_merge(e->orig->extra_fields, ef); + } + } + + e->orig->local_extra_fields_read = 1; + + if (e->changes && e->changes->local_extra_fields_read == 0) { + e->changes->extra_fields = e->orig->extra_fields; + e->changes->local_extra_fields_read = 1; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_extra_field_api.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_extra_field_api.c new file mode 100644 index 000000000..31808dede --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_extra_field_api.c @@ -0,0 +1,355 @@ +/* + zip_extra_field_api.c -- public extra fields API functions + Copyright (C) 2012-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_file_extra_field_delete(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_flags_t flags) { + zip_dirent_t *de; + + if ((flags & ZIP_EF_BOTH) == 0) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (_zip_get_dirent(za, idx, 0, NULL) == NULL) + return -1; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (_zip_file_extra_field_prepare_for_change(za, idx) < 0) + return -1; + + de = za->entry[idx].changes; + + de->extra_fields = _zip_ef_delete_by_id(de->extra_fields, ZIP_EXTRA_FIELD_ALL, ef_idx, flags); + return 0; +} + + +ZIP_EXTERN int +zip_file_extra_field_delete_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, zip_flags_t flags) { + zip_dirent_t *de; + + if ((flags & ZIP_EF_BOTH) == 0) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (((flags & ZIP_EF_BOTH) == ZIP_EF_BOTH) && (ef_idx != ZIP_EXTRA_FIELD_ALL)) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (_zip_get_dirent(za, idx, 0, NULL) == NULL) + return -1; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (_zip_file_extra_field_prepare_for_change(za, idx) < 0) + return -1; + + de = za->entry[idx].changes; + + de->extra_fields = _zip_ef_delete_by_id(de->extra_fields, ef_id, ef_idx, flags); + return 0; +} + + +ZIP_EXTERN const zip_uint8_t * +zip_file_extra_field_get(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_idx, zip_uint16_t *idp, zip_uint16_t *lenp, zip_flags_t flags) { + static const zip_uint8_t empty[1] = {'\0'}; + + zip_dirent_t *de; + zip_extra_field_t *ef; + int i; + + if ((flags & ZIP_EF_BOTH) == 0) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((de = _zip_get_dirent(za, idx, flags, &za->error)) == NULL) + return NULL; + + if (flags & ZIP_FL_LOCAL) + if (_zip_read_local_ef(za, idx) < 0) + return NULL; + + i = 0; + for (ef = de->extra_fields; ef; ef = ef->next) { + if (ef->flags & flags & ZIP_EF_BOTH) { + if (i < ef_idx) { + i++; + continue; + } + + if (idp) + *idp = ef->id; + if (lenp) + *lenp = ef->size; + if (ef->size > 0) + return ef->data; + else + return empty; + } + } + + zip_error_set(&za->error, ZIP_ER_NOENT, 0); + return NULL; +} + + +ZIP_EXTERN const zip_uint8_t * +zip_file_extra_field_get_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, zip_uint16_t *lenp, zip_flags_t flags) { + zip_dirent_t *de; + + if ((flags & ZIP_EF_BOTH) == 0) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((de = _zip_get_dirent(za, idx, flags, &za->error)) == NULL) + return NULL; + + if (flags & ZIP_FL_LOCAL) + if (_zip_read_local_ef(za, idx) < 0) + return NULL; + + return _zip_ef_get_by_id(de->extra_fields, lenp, ef_id, ef_idx, flags, &za->error); +} + + +ZIP_EXTERN zip_int16_t +zip_file_extra_fields_count(zip_t *za, zip_uint64_t idx, zip_flags_t flags) { + zip_dirent_t *de; + zip_extra_field_t *ef; + zip_uint16_t n; + + if ((flags & ZIP_EF_BOTH) == 0) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if ((de = _zip_get_dirent(za, idx, flags, &za->error)) == NULL) + return -1; + + if (flags & ZIP_FL_LOCAL) + if (_zip_read_local_ef(za, idx) < 0) + return -1; + + n = 0; + for (ef = de->extra_fields; ef; ef = ef->next) + if (ef->flags & flags & ZIP_EF_BOTH) + n++; + + return (zip_int16_t)n; +} + + +ZIP_EXTERN zip_int16_t +zip_file_extra_fields_count_by_id(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_flags_t flags) { + zip_dirent_t *de; + zip_extra_field_t *ef; + zip_uint16_t n; + + if ((flags & ZIP_EF_BOTH) == 0) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if ((de = _zip_get_dirent(za, idx, flags, &za->error)) == NULL) + return -1; + + if (flags & ZIP_FL_LOCAL) + if (_zip_read_local_ef(za, idx) < 0) + return -1; + + n = 0; + for (ef = de->extra_fields; ef; ef = ef->next) + if (ef->id == ef_id && (ef->flags & flags & ZIP_EF_BOTH)) + n++; + + return (zip_int16_t)n; +} + + +ZIP_EXTERN int +zip_file_extra_field_set(zip_t *za, zip_uint64_t idx, zip_uint16_t ef_id, zip_uint16_t ef_idx, const zip_uint8_t *data, zip_uint16_t len, zip_flags_t flags) { + zip_dirent_t *de; + zip_uint16_t ls, cs; + zip_extra_field_t *ef, *ef_prev, *ef_new; + int i, found, new_len; + + if ((flags & ZIP_EF_BOTH) == 0) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (_zip_get_dirent(za, idx, 0, NULL) == NULL) + return -1; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (ZIP_EF_IS_INTERNAL(ef_id)) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (_zip_file_extra_field_prepare_for_change(za, idx) < 0) + return -1; + + de = za->entry[idx].changes; + + ef = de->extra_fields; + ef_prev = NULL; + i = 0; + found = 0; + + for (; ef; ef = ef->next) { + if (ef->id == ef_id && (ef->flags & flags & ZIP_EF_BOTH)) { + if (i == ef_idx) { + found = 1; + break; + } + i++; + } + ef_prev = ef; + } + + if (i < ef_idx && ef_idx != ZIP_EXTRA_FIELD_NEW) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (flags & ZIP_EF_LOCAL) + ls = _zip_ef_size(de->extra_fields, ZIP_EF_LOCAL); + else + ls = 0; + if (flags & ZIP_EF_CENTRAL) + cs = _zip_ef_size(de->extra_fields, ZIP_EF_CENTRAL); + else + cs = 0; + + new_len = ls > cs ? ls : cs; + if (found) + new_len -= ef->size + 4; + new_len += len + 4; + + if (new_len > ZIP_UINT16_MAX) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if ((ef_new = _zip_ef_new(ef_id, len, data, flags)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + + if (found) { + if ((ef->flags & ZIP_EF_BOTH) == (flags & ZIP_EF_BOTH)) { + ef_new->next = ef->next; + ef->next = NULL; + _zip_ef_free(ef); + if (ef_prev) + ef_prev->next = ef_new; + else + de->extra_fields = ef_new; + } + else { + ef->flags &= ~(flags & ZIP_EF_BOTH); + ef_new->next = ef->next; + ef->next = ef_new; + } + } + else if (ef_prev) { + ef_new->next = ef_prev->next; + ef_prev->next = ef_new; + } + else + de->extra_fields = ef_new; + + return 0; +} + + +int +_zip_file_extra_field_prepare_for_change(zip_t *za, zip_uint64_t idx) { + zip_entry_t *e; + + if (idx >= za->nentry) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + e = za->entry + idx; + + if (e->changes && (e->changes->changed & ZIP_DIRENT_EXTRA_FIELD)) + return 0; + + if (e->orig) { + if (_zip_read_local_ef(za, idx) < 0) + return -1; + } + + if (e->changes == NULL) { + if ((e->changes = _zip_dirent_clone(e->orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + + if (e->orig && e->orig->extra_fields) { + if ((e->changes->extra_fields = _zip_ef_clone(e->orig->extra_fields, &za->error)) == NULL) + return -1; + } + e->changes->changed |= ZIP_DIRENT_EXTRA_FIELD; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fclose.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fclose.c new file mode 100644 index 000000000..1c69a966a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fclose.c @@ -0,0 +1,54 @@ +/* + zip_fclose.c -- close file in zip archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_fclose(zip_file_t *zf) { + int ret; + + if (zf->src) + zip_source_free(zf->src); + + ret = 0; + if (zf->error.zip_err) + ret = zf->error.zip_err; + + zip_error_fini(&zf->error); + free(zf); + return ret; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fdopen.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fdopen.c new file mode 100644 index 000000000..32709355f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fdopen.c @@ -0,0 +1,86 @@ +/* + zip_fdopen.c -- open read-only archive from file descriptor + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" +#ifdef HAVE_UNISTD_H +#include +#endif + + +ZIP_EXTERN zip_t * +zip_fdopen(int fd_orig, int _flags, int *zep) { + int fd; + FILE *fp; + zip_t *za; + zip_source_t *src; + struct zip_error error; + + if (_flags < 0 || (_flags & ~(ZIP_CHECKCONS | ZIP_RDONLY))) { + _zip_set_open_error(zep, NULL, ZIP_ER_INVAL); + return NULL; + } + + /* We dup() here to avoid messing with the passed in fd. + We could not restore it to the original state in case of error. */ + + if ((fd = dup(fd_orig)) < 0) { + _zip_set_open_error(zep, NULL, ZIP_ER_OPEN); + return NULL; + } + + if ((fp = fdopen(fd, "rb")) == NULL) { + close(fd); + _zip_set_open_error(zep, NULL, ZIP_ER_OPEN); + return NULL; + } + + zip_error_init(&error); + if ((src = zip_source_filep_create(fp, 0, -1, &error)) == NULL) { + fclose(fp); + _zip_set_open_error(zep, &error, 0); + zip_error_fini(&error); + return NULL; + } + + if ((za = zip_open_from_source(src, _flags, &error)) == NULL) { + zip_source_free(src); + _zip_set_open_error(zep, &error, 0); + zip_error_fini(&error); + return NULL; + } + + zip_error_fini(&error); + close(fd_orig); + return za; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_add.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_add.c new file mode 100644 index 000000000..c2c13d669 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_add.c @@ -0,0 +1,52 @@ +/* + zip_file_add.c -- add file via callback function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +/* + NOTE: Return type is signed so we can return -1 on error. + The index can not be larger than ZIP_INT64_MAX since the size + of the central directory cannot be larger than + ZIP_UINT64_MAX, and each entry is larger than 2 bytes. +*/ + +ZIP_EXTERN zip_int64_t +zip_file_add(zip_t *za, const char *name, zip_source_t *source, zip_flags_t flags) { + if (name == NULL || source == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + return _zip_file_replace(za, ZIP_UINT64_MAX, name, source, flags); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_error_clear.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_error_clear.c new file mode 100644 index 000000000..2e7dcea84 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_error_clear.c @@ -0,0 +1,44 @@ +/* + zip_file_error_clear.c -- clear zip file error + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN void +zip_file_error_clear(zip_file_t *zf) { + if (zf == NULL) + return; + + _zip_error_clear(&zf->error); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_error_get.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_error_get.c new file mode 100644 index 000000000..1d13807f8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_error_get.c @@ -0,0 +1,41 @@ +/* + zip_file_error_get.c -- get zip file error + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN void +zip_file_error_get(zip_file_t *zf, int *zep, int *sep) { + _zip_error_get(&zf->error, zep, sep); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_comment.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_comment.c new file mode 100644 index 000000000..ad944aaf3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_comment.c @@ -0,0 +1,55 @@ +/* + zip_file_get_comment.c -- get file comment + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +/* lenp is 32 bit because converted comment can be longer than ZIP_UINT16_MAX */ + +ZIP_EXTERN const char * +zip_file_get_comment(zip_t *za, zip_uint64_t idx, zip_uint32_t *lenp, zip_flags_t flags) { + zip_dirent_t *de; + zip_uint32_t len; + const zip_uint8_t *str; + + if ((de = _zip_get_dirent(za, idx, flags, NULL)) == NULL) + return NULL; + + if ((str = _zip_string_get(de->comment, &len, flags, &za->error)) == NULL) + return NULL; + + if (lenp) + *lenp = len; + + return (const char *)str; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_external_attributes.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_external_attributes.c new file mode 100644 index 000000000..e2e553575 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_external_attributes.c @@ -0,0 +1,50 @@ +/* + zip_file_get_external_attributes.c -- get opsys/external attributes + Copyright (C) 2013-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" + +int +zip_file_get_external_attributes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t *opsys, zip_uint32_t *attributes) { + zip_dirent_t *de; + + if ((de = _zip_get_dirent(za, idx, flags, NULL)) == NULL) + return -1; + + if (opsys) + *opsys = (zip_uint8_t)((de->version_madeby >> 8) & 0xff); + + if (attributes) + *attributes = de->ext_attrib; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_offset.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_offset.c new file mode 100644 index 000000000..858a78a47 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_get_offset.c @@ -0,0 +1,120 @@ +/* + zip_file_get_offset.c -- get offset of file data in archive. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include +#include +#include + +#include "zipint.h" + + +/* _zip_file_get_offset(za, ze): + Returns the offset of the file data for entry ze. + + On error, fills in za->error and returns 0. +*/ + +zip_uint64_t +_zip_file_get_offset(const zip_t *za, zip_uint64_t idx, zip_error_t *error) { + zip_uint64_t offset; + zip_int32_t size; + + if (za->entry[idx].orig == NULL) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + return 0; + } + + offset = za->entry[idx].orig->offset; + + if (zip_source_seek(za->src, (zip_int64_t)offset, SEEK_SET) < 0) { + _zip_error_set_from_source(error, za->src); + return 0; + } + + /* TODO: cache? */ + if ((size = _zip_dirent_size(za->src, ZIP_EF_LOCAL, error)) < 0) + return 0; + + if (offset + (zip_uint32_t)size > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return 0; + } + + return offset + (zip_uint32_t)size; +} + +zip_uint64_t +_zip_file_get_end(const zip_t *za, zip_uint64_t index, zip_error_t *error) { + zip_uint64_t offset; + zip_dirent_t *entry; + + if ((offset = _zip_file_get_offset(za, index, error)) == 0) { + return 0; + } + + entry = za->entry[index].orig; + + if (offset + entry->comp_size < offset || offset + entry->comp_size > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return 0; + } + offset += entry->comp_size; + + if (entry->bitflags & ZIP_GPBF_DATA_DESCRIPTOR) { + zip_uint8_t buf[4]; + if (zip_source_seek(za->src, (zip_int64_t)offset, SEEK_SET) < 0) { + _zip_error_set_from_source(error, za->src); + return 0; + } + if (zip_source_read(za->src, buf, 4) != 4) { + _zip_error_set_from_source(error, za->src); + return 0; + } + if (memcmp(buf, DATADES_MAGIC, 4) == 0) { + offset += 4; + } + offset += 12; + if (_zip_dirent_needs_zip64(entry, 0)) { + offset += 8; + } + if (offset > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return 0; + } + } + + return offset; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_rename.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_rename.c new file mode 100644 index 000000000..cc42dfcc4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_rename.c @@ -0,0 +1,67 @@ +/* + zip_file_rename.c -- rename file in zip archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_file_rename(zip_t *za, zip_uint64_t idx, const char *name, zip_flags_t flags) { + const char *old_name; + int old_is_dir, new_is_dir; + + if (idx >= za->nentry || (name != NULL && strlen(name) > ZIP_UINT16_MAX)) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if ((old_name = zip_get_name(za, idx, 0)) == NULL) + return -1; + + new_is_dir = (name != NULL && name[strlen(name) - 1] == '/'); + old_is_dir = (old_name[strlen(old_name) - 1] == '/'); + + if (new_is_dir != old_is_dir) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + return _zip_set_name(za, idx, name, flags); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_replace.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_replace.c new file mode 100644 index 000000000..70b379aaa --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_replace.c @@ -0,0 +1,105 @@ +/* + zip_file_replace.c -- replace file via callback function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_file_replace(zip_t *za, zip_uint64_t idx, zip_source_t *source, zip_flags_t flags) { + if (idx >= za->nentry || source == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (_zip_file_replace(za, idx, NULL, source, flags) == -1) + return -1; + + return 0; +} + + +/* NOTE: Signed due to -1 on error. See zip_add.c for more details. */ + +zip_int64_t +_zip_file_replace(zip_t *za, zip_uint64_t idx, const char *name, zip_source_t *source, zip_flags_t flags) { + zip_uint64_t za_nentry_prev; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + za_nentry_prev = za->nentry; + if (idx == ZIP_UINT64_MAX) { + zip_int64_t i = -1; + + if (flags & ZIP_FL_OVERWRITE) + i = _zip_name_locate(za, name, flags, NULL); + + if (i == -1) { + /* create and use new entry, used by zip_add */ + if ((i = _zip_add_entry(za)) < 0) + return -1; + } + idx = (zip_uint64_t)i; + } + + if (name && _zip_set_name(za, idx, name, flags) != 0) { + if (za->nentry != za_nentry_prev) { + _zip_entry_finalize(za->entry + idx); + za->nentry = za_nentry_prev; + } + return -1; + } + + /* does not change any name related data, so we can do it here; + * needed for a double add of the same file name */ + _zip_unchange_data(za->entry + idx); + + if (za->entry[idx].orig != NULL && (za->entry[idx].changes == NULL || (za->entry[idx].changes->changed & ZIP_DIRENT_COMP_METHOD) == 0)) { + if (za->entry[idx].changes == NULL) { + if ((za->entry[idx].changes = _zip_dirent_clone(za->entry[idx].orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + + za->entry[idx].changes->comp_method = ZIP_CM_REPLACED_DEFAULT; + za->entry[idx].changes->changed |= ZIP_DIRENT_COMP_METHOD; + } + + za->entry[idx].source = source; + + return (zip_int64_t)idx; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_comment.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_comment.c new file mode 100644 index 000000000..ae6b60218 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_comment.c @@ -0,0 +1,101 @@ +/* + zip_file_set_comment.c -- set comment for file in archive + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_file_set_comment(zip_t *za, zip_uint64_t idx, const char *comment, zip_uint16_t len, zip_flags_t flags) { + zip_entry_t *e; + zip_string_t *cstr; + int changed; + + if (_zip_get_dirent(za, idx, 0, NULL) == NULL) + return -1; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (len > 0 && comment == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (len > 0) { + if ((cstr = _zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL) + return -1; + if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED) + cstr->encoding = ZIP_ENCODING_UTF8_KNOWN; + } + else + cstr = NULL; + + e = za->entry + idx; + + if (e->changes) { + _zip_string_free(e->changes->comment); + e->changes->comment = NULL; + e->changes->changed &= ~ZIP_DIRENT_COMMENT; + } + + if (e->orig && e->orig->comment) + changed = !_zip_string_equal(e->orig->comment, cstr); + else + changed = (cstr != NULL); + + if (changed) { + if (e->changes == NULL) { + if ((e->changes = _zip_dirent_clone(e->orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + _zip_string_free(cstr); + return -1; + } + } + e->changes->comment = cstr; + e->changes->changed |= ZIP_DIRENT_COMMENT; + } + else { + _zip_string_free(cstr); + if (e->changes && e->changes->changed == 0) { + _zip_dirent_free(e->changes); + e->changes = NULL; + } + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_encryption.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_encryption.c new file mode 100644 index 000000000..7e7a9b139 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_encryption.c @@ -0,0 +1,116 @@ +/* + zip_file_set_encryption.c -- set encryption for file in archive + Copyright (C) 2016-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +#include +#include + +ZIP_EXTERN int +zip_file_set_encryption(zip_t *za, zip_uint64_t idx, zip_uint16_t method, const char *password) { + zip_entry_t *e; + zip_uint16_t old_method; + + if (idx >= za->nentry) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (method != ZIP_EM_NONE && _zip_get_encryption_implementation(method, ZIP_CODEC_ENCODE) == NULL) { + zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); + return -1; + } + + e = za->entry + idx; + + old_method = (e->orig == NULL ? ZIP_EM_NONE : e->orig->encryption_method); + + if (method == old_method && password == NULL) { + if (e->changes) { + if (e->changes->changed & ZIP_DIRENT_PASSWORD) { + _zip_crypto_clear(e->changes->password, strlen(e->changes->password)); + free(e->changes->password); + e->changes->password = (e->orig == NULL ? NULL : e->orig->password); + } + e->changes->changed &= ~(ZIP_DIRENT_ENCRYPTION_METHOD | ZIP_DIRENT_PASSWORD); + if (e->changes->changed == 0) { + _zip_dirent_free(e->changes); + e->changes = NULL; + } + } + } + else { + char *our_password = NULL; + + if (password) { + if ((our_password = strdup(password)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + + if (e->changes == NULL) { + if ((e->changes = _zip_dirent_clone(e->orig)) == NULL) { + if (our_password) { + _zip_crypto_clear(our_password, strlen(our_password)); + } + free(our_password); + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + + e->changes->encryption_method = method; + e->changes->changed |= ZIP_DIRENT_ENCRYPTION_METHOD; + if (password) { + e->changes->password = our_password; + e->changes->changed |= ZIP_DIRENT_PASSWORD; + } + else { + if (e->changes->changed & ZIP_DIRENT_PASSWORD) { + _zip_crypto_clear(e->changes->password, strlen(e->changes->password)); + free(e->changes->password); + e->changes->password = e->orig ? e->orig->password : NULL; + e->changes->changed &= ~ZIP_DIRENT_PASSWORD; + } + } + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_external_attributes.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_external_attributes.c new file mode 100644 index 000000000..c412f2725 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_external_attributes.c @@ -0,0 +1,82 @@ +/* + zip_file_set_external_attributes.c -- set external attributes for entry + Copyright (C) 2013-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" + +ZIP_EXTERN int +zip_file_set_external_attributes(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_uint8_t opsys, zip_uint32_t attributes) { + zip_entry_t *e; + int changed; + zip_uint8_t unchanged_opsys; + zip_uint32_t unchanged_attributes; + + if (_zip_get_dirent(za, idx, 0, NULL) == NULL) + return -1; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + e = za->entry + idx; + + unchanged_opsys = (e->orig ? (zip_uint8_t)(e->orig->version_madeby >> 8) : (zip_uint8_t)ZIP_OPSYS_DEFAULT); + unchanged_attributes = e->orig ? e->orig->ext_attrib : ZIP_EXT_ATTRIB_DEFAULT; + + changed = (opsys != unchanged_opsys || attributes != unchanged_attributes); + + if (changed) { + if (e->changes == NULL) { + if ((e->changes = _zip_dirent_clone(e->orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + e->changes->version_madeby = (zip_uint16_t)((opsys << 8) | (e->changes->version_madeby & 0xff)); + e->changes->ext_attrib = attributes; + e->changes->changed |= ZIP_DIRENT_ATTRIBUTES; + } + else if (e->changes) { + e->changes->changed &= ~ZIP_DIRENT_ATTRIBUTES; + if (e->changes->changed == 0) { + _zip_dirent_free(e->changes); + e->changes = NULL; + } + else { + e->changes->version_madeby = (zip_uint16_t)((unchanged_opsys << 8) | (e->changes->version_madeby & 0xff)); + e->changes->ext_attrib = unchanged_attributes; + } + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_mtime.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_mtime.c new file mode 100644 index 000000000..f8d6c208e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_set_mtime.c @@ -0,0 +1,74 @@ +/* + zip_file_set_mtime.c -- set modification time of entry. + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "zipint.h" + +ZIP_EXTERN int +zip_file_set_mtime(zip_t *za, zip_uint64_t idx, time_t mtime, zip_flags_t flags) { + zip_entry_t *e; + int changed; + + if (_zip_get_dirent(za, idx, 0, NULL) == NULL) + return -1; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + e = za->entry + idx; + + changed = e->orig == NULL || mtime != e->orig->last_mod; + + if (changed) { + if (e->changes == NULL) { + if ((e->changes = _zip_dirent_clone(e->orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + e->changes->last_mod = mtime; + e->changes->changed |= ZIP_DIRENT_LAST_MOD; + } + else { + if (e->changes) { + e->changes->changed &= ~ZIP_DIRENT_LAST_MOD; + if (e->changes->changed == 0) { + _zip_dirent_free(e->changes); + e->changes = NULL; + } + } + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_file_strerror.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_strerror.c new file mode 100644 index 000000000..189c556c2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_file_strerror.c @@ -0,0 +1,41 @@ +/* + zip_file_sterror.c -- get string representation of zip file error + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN const char * +zip_file_strerror(zip_file_t *zf) { + return zip_error_strerror(&zf->error); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_filerange_crc.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_filerange_crc.c new file mode 100644 index 000000000..33bf5d850 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_filerange_crc.c @@ -0,0 +1,84 @@ +/* + zip_filerange_crc.c -- compute CRC32 for a range of a file + Copyright (C) 2008-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +int +_zip_filerange_crc(zip_source_t *src, zip_uint64_t start, zip_uint64_t len, uLong *crcp, zip_error_t *error) { + DEFINE_BYTE_ARRAY(buf, BUFSIZE); + + zip_int64_t n; + + *crcp = crc32(0L, Z_NULL, 0); + + if (start > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return -1; + } + + if (zip_source_seek(src, (zip_int64_t)start, SEEK_SET) != 0) { + _zip_error_set_from_source(error, src); + return -1; + } + + if (!byte_array_init(buf, BUFSIZE)) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return -1; + } + + while (len > 0) { + n = (zip_int64_t)(len > BUFSIZE ? BUFSIZE : len); + if ((n = zip_source_read(src, buf, (zip_uint64_t)n)) < 0) { + _zip_error_set_from_source(error, src); + byte_array_fini(buf); + return -1; + } + if (n == 0) { + zip_error_set(error, ZIP_ER_EOF, 0); + byte_array_fini(buf); + return -1; + } + + *crcp = crc32(*crcp, buf, (uInt)n); + + len -= (zip_uint64_t)n; + } + + byte_array_fini(buf); + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen.c new file mode 100644 index 000000000..4ef76bad8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen.c @@ -0,0 +1,46 @@ +/* + zip_fopen.c -- open file in zip archive for reading + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN zip_file_t * +zip_fopen(zip_t *za, const char *fname, zip_flags_t flags) { + zip_int64_t idx; + + if ((idx = zip_name_locate(za, fname, flags)) < 0) + return NULL; + + return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, za->default_password); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_encrypted.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_encrypted.c new file mode 100644 index 000000000..47cd37763 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_encrypted.c @@ -0,0 +1,46 @@ +/* + zip_fopen_encrypted.c -- open file for reading with password + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN zip_file_t * +zip_fopen_encrypted(zip_t *za, const char *fname, zip_flags_t flags, const char *password) { + zip_int64_t idx; + + if ((idx = zip_name_locate(za, fname, flags)) < 0) + return NULL; + + return zip_fopen_index_encrypted(za, (zip_uint64_t)idx, flags, password); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_index.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_index.c new file mode 100644 index 000000000..5f0dc2a77 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_index.c @@ -0,0 +1,44 @@ +/* + zip_fopen_index.c -- open file in zip archive for reading by index + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + + +ZIP_EXTERN zip_file_t * +zip_fopen_index(zip_t *za, zip_uint64_t index, zip_flags_t flags) { + return zip_fopen_index_encrypted(za, index, flags, za->default_password); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_index_encrypted.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_index_encrypted.c new file mode 100644 index 000000000..4d4aee39f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fopen_index_encrypted.c @@ -0,0 +1,83 @@ +/* + zip_fopen_index_encrypted.c -- open file for reading by index w/ password + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + +static zip_file_t *_zip_file_new(zip_t *za); + + +ZIP_EXTERN zip_file_t * +zip_fopen_index_encrypted(zip_t *za, zip_uint64_t index, zip_flags_t flags, const char *password) { + zip_file_t *zf; + zip_source_t *src; + + if ((src = _zip_source_zip_new(za, za, index, flags, 0, 0, password)) == NULL) + return NULL; + + if (zip_source_open(src) < 0) { + _zip_error_set_from_source(&za->error, src); + zip_source_free(src); + return NULL; + } + + if ((zf = _zip_file_new(za)) == NULL) { + zip_source_free(src); + return NULL; + } + + zf->src = src; + + return zf; +} + + +static zip_file_t * +_zip_file_new(zip_t *za) { + zip_file_t *zf; + + if ((zf = (zip_file_t *)malloc(sizeof(struct zip_file))) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return NULL; + } + + zf->za = za; + zip_error_init(&zf->error); + zf->eof = 0; + zf->src = NULL; + + return zf; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fread.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fread.c new file mode 100644 index 000000000..3020a16ef --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fread.c @@ -0,0 +1,62 @@ +/* + zip_fread.c -- read from file + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN zip_int64_t +zip_fread(zip_file_t *zf, void *outbuf, zip_uint64_t toread) { + zip_int64_t n; + + if (!zf) + return -1; + + if (zf->error.zip_err != 0) + return -1; + + if (toread > ZIP_INT64_MAX) { + zip_error_set(&zf->error, ZIP_ER_INVAL, 0); + return -1; + } + + if ((zf->eof) || (toread == 0)) + return 0; + + if ((n = zip_source_read(zf->src, outbuf, toread)) < 0) { + _zip_error_set_from_source(&zf->error, zf->src); + return -1; + } + + return n; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_fseek.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_fseek.c new file mode 100644 index 000000000..355740187 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_fseek.c @@ -0,0 +1,52 @@ +/* + zip_fseek.c -- seek in file + Copyright (C) 2016-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" +#include + +ZIP_EXTERN zip_int8_t +zip_fseek(zip_file_t *zf, zip_int64_t offset, int whence) { + if (!zf) + return -1; + + if (zf->error.zip_err != 0) + return -1; + + if (zip_source_seek(zf->src, offset, whence) < 0) { + _zip_error_set_from_source(&zf->error, zf->src); + return -1; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_ftell.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_ftell.c new file mode 100644 index 000000000..f4e45509b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_ftell.c @@ -0,0 +1,55 @@ +/* + zip_ftell.c -- tell position in file + Copyright (C) 2016-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" +#include + +ZIP_EXTERN zip_int64_t +zip_ftell(zip_file_t *zf) { + zip_int64_t res; + + if (!zf) + return -1; + + if (zf->error.zip_err != 0) + return -1; + + res = zip_source_tell(zf->src); + if (res < 0) { + _zip_error_set_from_source(&zf->error, zf->src); + return -1; + } + + return res; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_get_archive_comment.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_archive_comment.c new file mode 100644 index 000000000..c51148db5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_archive_comment.c @@ -0,0 +1,58 @@ +/* + zip_get_archive_comment.c -- get archive comment + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN const char * +zip_get_archive_comment(zip_t *za, int *lenp, zip_flags_t flags) { + zip_string_t *comment; + zip_uint32_t len; + const zip_uint8_t *str; + + if ((flags & ZIP_FL_UNCHANGED) || (za->comment_changes == NULL)) + comment = za->comment_orig; + else + comment = za->comment_changes; + + if ((str = _zip_string_get(comment, &len, flags, &za->error)) == NULL) + return NULL; + + if (lenp) + *lenp = (int)len; + + return (const char *)str; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_get_archive_flag.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_archive_flag.c new file mode 100644 index 000000000..1aaca729a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_archive_flag.c @@ -0,0 +1,45 @@ +/* + zip_get_archive_flag.c -- get archive global flag + Copyright (C) 2008-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_get_archive_flag(zip_t *za, zip_flags_t flag, zip_flags_t flags) { + unsigned int fl; + + fl = (flags & ZIP_FL_UNCHANGED) ? za->flags : za->ch_flags; + + return (fl & flag) ? 1 : 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_get_encryption_implementation.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_encryption_implementation.c new file mode 100644 index 000000000..07e43169b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_encryption_implementation.c @@ -0,0 +1,57 @@ +/* + zip_get_encryption_implementation.c -- get encryption implementation + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +zip_encryption_implementation +_zip_get_encryption_implementation(zip_uint16_t em, int operation) { + switch (em) { + case ZIP_EM_TRAD_PKWARE: + if (operation == ZIP_CODEC_ENCODE) { + return NULL; + } + return zip_source_pkware; + +#if defined(HAVE_CRYPTO) + case ZIP_EM_AES_128: + case ZIP_EM_AES_192: + case ZIP_EM_AES_256: + return operation == ZIP_CODEC_DECODE ? zip_source_winzip_aes_decode : zip_source_winzip_aes_encode; +#endif + + default: + return NULL; + } +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_get_file_comment.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_file_comment.c new file mode 100644 index 000000000..6e85a58e4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_file_comment.c @@ -0,0 +1,50 @@ +/* + zip_get_file_comment.c -- get file comment + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN const char * +zip_get_file_comment(zip_t *za, zip_uint64_t idx, int *lenp, int flags) { + zip_uint32_t len; + const char *s; + + if ((s = zip_file_get_comment(za, idx, &len, (zip_flags_t)flags)) != NULL) { + if (lenp) + *lenp = (int)len; + } + + return s; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_get_name.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_name.c new file mode 100644 index 000000000..2ac005a86 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_name.c @@ -0,0 +1,58 @@ +/* + zip_get_name.c -- get filename for a file in zip file + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN const char * +zip_get_name(zip_t *za, zip_uint64_t idx, zip_flags_t flags) { + return _zip_get_name(za, idx, flags, &za->error); +} + + +const char * +_zip_get_name(zip_t *za, zip_uint64_t idx, zip_flags_t flags, zip_error_t *error) { + zip_dirent_t *de; + const zip_uint8_t *str; + + if ((de = _zip_get_dirent(za, idx, flags, error)) == NULL) + return NULL; + + if ((str = _zip_string_get(de->filename, NULL, flags, error)) == NULL) + return NULL; + + return (const char *)str; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_get_num_entries.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_num_entries.c new file mode 100644 index 000000000..99dfc7a66 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_num_entries.c @@ -0,0 +1,52 @@ +/* + zip_get_num_entries.c -- get number of entries in archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN zip_int64_t +zip_get_num_entries(zip_t *za, zip_flags_t flags) { + zip_uint64_t n; + + if (za == NULL) + return -1; + + if (flags & ZIP_FL_UNCHANGED) { + n = za->nentry; + while (n > 0 && za->entry[n - 1].orig == NULL) + --n; + return (zip_int64_t)n; + } + return (zip_int64_t)za->nentry; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_get_num_files.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_num_files.c new file mode 100644 index 000000000..b6e910e47 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_get_num_files.c @@ -0,0 +1,51 @@ +/* + zip_get_num_files.c -- get number of files in archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" +#include + + +ZIP_EXTERN int +zip_get_num_files(zip_t *za) { + if (za == NULL) + return -1; + + if (za->nentry > INT_MAX) { + zip_error_set(&za->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } + + return (int)za->nentry; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_hash.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_hash.c new file mode 100644 index 000000000..728845335 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_hash.c @@ -0,0 +1,410 @@ +/* + zip_hash.c -- hash table string -> uint64 + Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" +#include +#include + +/* parameter for the string hash function */ +#define HASH_MULTIPLIER 33 +#define HASH_START 5381 + +/* hash table's fill ratio is kept between these by doubling/halfing its size as necessary */ +#define HASH_MAX_FILL .75 +#define HASH_MIN_FILL .01 + +/* but hash table size is kept between these */ +#define HASH_MIN_SIZE 256 +#define HASH_MAX_SIZE 0x80000000ul + +struct zip_hash_entry { + const zip_uint8_t *name; + zip_int64_t orig_index; + zip_int64_t current_index; + struct zip_hash_entry *next; + zip_uint32_t hash_value; +}; +typedef struct zip_hash_entry zip_hash_entry_t; + +struct zip_hash { + zip_uint32_t table_size; + zip_uint64_t nentries; + zip_hash_entry_t **table; +}; + + +/* free list of entries */ +static void +free_list(zip_hash_entry_t *entry) { + while (entry != NULL) { + zip_hash_entry_t *next = entry->next; + free(entry); + entry = next; + } +} + + +/* compute hash of string, full 32 bit value */ +static zip_uint32_t +hash_string(const zip_uint8_t *name) { + zip_uint64_t value = HASH_START; + + if (name == NULL) { + return 0; + } + + while (*name != 0) { + value = (zip_uint64_t)(((value * HASH_MULTIPLIER) + (zip_uint8_t)*name) % 0x100000000ul); + name++; + } + + return (zip_uint32_t)value; +} + + +/* resize hash table; new_size must be a power of 2, can be larger or smaller than current size */ +static bool +hash_resize(zip_hash_t *hash, zip_uint32_t new_size, zip_error_t *error) { + zip_hash_entry_t **new_table; + + if (new_size == hash->table_size) { + return true; + } + + if ((new_table = (zip_hash_entry_t **)calloc(new_size, sizeof(zip_hash_entry_t *))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return false; + } + + if (hash->nentries > 0) { + zip_uint32_t i; + + for (i = 0; i < hash->table_size; i++) { + zip_hash_entry_t *entry = hash->table[i]; + while (entry) { + zip_hash_entry_t *next = entry->next; + + zip_uint32_t new_index = entry->hash_value % new_size; + + entry->next = new_table[new_index]; + new_table[new_index] = entry; + + entry = next; + } + } + } + + free(hash->table); + hash->table = new_table; + hash->table_size = new_size; + + return true; +} + + +static zip_uint32_t +size_for_capacity(zip_uint64_t capacity) { + double needed_size = capacity / HASH_MAX_FILL; + zip_uint32_t v; + + if (needed_size > ZIP_UINT32_MAX) { + v = ZIP_UINT32_MAX; + } + else { + v = (zip_uint32_t)needed_size; + } + + if (v > HASH_MAX_SIZE) { + return HASH_MAX_SIZE; + } + + /* From Bit Twiddling Hacks by Sean Eron Anderson + (http://graphics.stanford.edu/~seander/bithacks.html#RoundUpPowerOf2). */ + + v--; + v |= v >> 1; + v |= v >> 2; + v |= v >> 4; + v |= v >> 8; + v |= v >> 16; + v++; + + return v; +} + + +zip_hash_t * +_zip_hash_new(zip_error_t *error) { + zip_hash_t *hash; + + if ((hash = (zip_hash_t *)malloc(sizeof(zip_hash_t))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + hash->table_size = 0; + hash->nentries = 0; + hash->table = NULL; + + return hash; +} + + +void +_zip_hash_free(zip_hash_t *hash) { + zip_uint32_t i; + + if (hash == NULL) { + return; + } + + if (hash->table != NULL) { + for (i = 0; i < hash->table_size; i++) { + if (hash->table[i] != NULL) { + free_list(hash->table[i]); + } + } + free(hash->table); + } + free(hash); +} + + +/* insert into hash, return error on existence or memory issues */ +bool +_zip_hash_add(zip_hash_t *hash, const zip_uint8_t *name, zip_uint64_t index, zip_flags_t flags, zip_error_t *error) { + zip_uint32_t hash_value, table_index; + zip_hash_entry_t *entry; + + if (hash == NULL || name == NULL || index > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return false; + } + + if (hash->table_size == 0) { + if (!hash_resize(hash, HASH_MIN_SIZE, error)) { + return false; + } + } + + hash_value = hash_string(name); + table_index = hash_value % hash->table_size; + + for (entry = hash->table[table_index]; entry != NULL; entry = entry->next) { + if (entry->hash_value == hash_value && strcmp((const char *)name, (const char *)entry->name) == 0) { + if (((flags & ZIP_FL_UNCHANGED) && entry->orig_index != -1) || entry->current_index != -1) { + zip_error_set(error, ZIP_ER_EXISTS, 0); + return false; + } + else { + break; + } + } + } + + if (entry == NULL) { + if ((entry = (zip_hash_entry_t *)malloc(sizeof(zip_hash_entry_t))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return false; + } + entry->name = name; + entry->next = hash->table[table_index]; + hash->table[table_index] = entry; + entry->hash_value = hash_value; + entry->orig_index = -1; + hash->nentries++; + if (hash->nentries > hash->table_size * HASH_MAX_FILL && hash->table_size < HASH_MAX_SIZE) { + if (!hash_resize(hash, hash->table_size * 2, error)) { + return false; + } + } + } + + if (flags & ZIP_FL_UNCHANGED) { + entry->orig_index = (zip_int64_t)index; + } + entry->current_index = (zip_int64_t)index; + + return true; +} + + +/* remove entry from hash, error if not found */ +bool +_zip_hash_delete(zip_hash_t *hash, const zip_uint8_t *name, zip_error_t *error) { + zip_uint32_t hash_value, index; + zip_hash_entry_t *entry, *previous; + + if (hash == NULL || name == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return false; + } + + if (hash->nentries > 0) { + hash_value = hash_string(name); + index = hash_value % hash->table_size; + previous = NULL; + entry = hash->table[index]; + while (entry) { + if (entry->hash_value == hash_value && strcmp((const char *)name, (const char *)entry->name) == 0) { + if (entry->orig_index == -1) { + if (previous) { + previous->next = entry->next; + } + else { + hash->table[index] = entry->next; + } + free(entry); + hash->nentries--; + if (hash->nentries < hash->table_size * HASH_MIN_FILL && hash->table_size > HASH_MIN_SIZE) { + if (!hash_resize(hash, hash->table_size / 2, error)) { + return false; + } + } + } + else { + entry->current_index = -1; + } + return true; + } + previous = entry; + entry = entry->next; + } + } + + zip_error_set(error, ZIP_ER_NOENT, 0); + return false; +} + + +/* find value for entry in hash, -1 if not found */ +zip_int64_t +_zip_hash_lookup(zip_hash_t *hash, const zip_uint8_t *name, zip_flags_t flags, zip_error_t *error) { + zip_uint32_t hash_value, index; + zip_hash_entry_t *entry; + + if (hash == NULL || name == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return -1; + } + + if (hash->nentries > 0) { + hash_value = hash_string(name); + index = hash_value % hash->table_size; + for (entry = hash->table[index]; entry != NULL; entry = entry->next) { + if (strcmp((const char *)name, (const char *)entry->name) == 0) { + if (flags & ZIP_FL_UNCHANGED) { + if (entry->orig_index != -1) { + return entry->orig_index; + } + } + else { + if (entry->current_index != -1) { + return entry->current_index; + } + } + break; + } + } + } + + zip_error_set(error, ZIP_ER_NOENT, 0); + return -1; +} + + +bool +_zip_hash_reserve_capacity(zip_hash_t *hash, zip_uint64_t capacity, zip_error_t *error) { + zip_uint32_t new_size; + + if (capacity == 0) { + return true; + } + + new_size = size_for_capacity(capacity); + + if (new_size <= hash->table_size) { + return true; + } + + if (!hash_resize(hash, new_size, error)) { + return false; + } + + return true; +} + + +bool +_zip_hash_revert(zip_hash_t *hash, zip_error_t *error) { + zip_uint32_t i; + zip_hash_entry_t *entry, *previous; + + for (i = 0; i < hash->table_size; i++) { + previous = NULL; + entry = hash->table[i]; + while (entry) { + if (entry->orig_index == -1) { + zip_hash_entry_t *p; + if (previous) { + previous->next = entry->next; + } + else { + hash->table[i] = entry->next; + } + p = entry; + entry = entry->next; + /* previous does not change */ + free(p); + hash->nentries--; + } + else { + entry->current_index = entry->orig_index; + previous = entry; + entry = entry->next; + } + } + } + + if (hash->nentries < hash->table_size * HASH_MIN_FILL && hash->table_size > HASH_MIN_SIZE) { + zip_uint32_t new_size = hash->table_size / 2; + while (hash->nentries < new_size * HASH_MIN_FILL && new_size > HASH_MIN_SIZE) { + new_size /= 2; + } + if (!hash_resize(hash, new_size, error)) { + return false; + } + } + + return true; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_io_util.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_io_util.c new file mode 100644 index 000000000..53f44377b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_io_util.c @@ -0,0 +1,134 @@ +/* + zip_io_util.c -- I/O helper functions + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include +#include + +#include "zipint.h" + +int +_zip_read(zip_source_t *src, zip_uint8_t *b, zip_uint64_t length, zip_error_t *error) { + zip_int64_t n; + + if (length > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + return -1; + } + + if ((n = zip_source_read(src, b, length)) < 0) { + _zip_error_set_from_source(error, src); + return -1; + } + + if (n < (zip_int64_t)length) { + zip_error_set(error, ZIP_ER_EOF, 0); + return -1; + } + + return 0; +} + + +zip_uint8_t * +_zip_read_data(zip_buffer_t *buffer, zip_source_t *src, size_t length, bool nulp, zip_error_t *error) { + zip_uint8_t *r; + + if (length == 0 && !nulp) { + return NULL; + } + + r = (zip_uint8_t *)malloc(length + (nulp ? 1 : 0)); + if (!r) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if (buffer) { + zip_uint8_t *data = _zip_buffer_get(buffer, length); + + if (data == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + free(r); + return NULL; + } + memcpy(r, data, length); + } + else { + if (_zip_read(src, r, length, error) < 0) { + free(r); + return NULL; + } + } + + if (nulp) { + zip_uint8_t *o; + /* replace any in-string NUL characters with spaces */ + r[length] = 0; + for (o = r; o < r + length; o++) + if (*o == '\0') + *o = ' '; + } + + return r; +} + + +zip_string_t * +_zip_read_string(zip_buffer_t *buffer, zip_source_t *src, zip_uint16_t len, bool nulp, zip_error_t *error) { + zip_uint8_t *raw; + zip_string_t *s; + + if ((raw = _zip_read_data(buffer, src, len, nulp, error)) == NULL) + return NULL; + + s = _zip_string_new(raw, len, ZIP_FL_ENC_GUESS, error); + free(raw); + return s; +} + + +int +_zip_write(zip_t *za, const void *data, zip_uint64_t length) { + zip_int64_t n; + + if ((n = zip_source_write(za->src, data, length)) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return -1; + } + if ((zip_uint64_t)n != length) { + zip_error_set(&za->error, ZIP_ER_WRITE, EINTR); + return -1; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_libzip_version.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_libzip_version.c new file mode 100644 index 000000000..c6787a90d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_libzip_version.c @@ -0,0 +1,41 @@ +/* + zip_libzip_version.c -- return run-time version of library + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN const char * +zip_libzip_version(void) { + return LIBZIP_VERSION; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_memdup.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_memdup.c new file mode 100644 index 000000000..d6044081e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_memdup.c @@ -0,0 +1,56 @@ +/* + zip_memdup.c -- internal zip function, "strdup" with len + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include + +#include "zipint.h" + + +void * +_zip_memdup(const void *mem, size_t len, zip_error_t *error) { + void *ret; + + if (len == 0) + return NULL; + + ret = malloc(len); + if (!ret) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + memcpy(ret, mem, len); + + return ret; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_name_locate.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_name_locate.c new file mode 100644 index 000000000..37b1ffeb3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_name_locate.c @@ -0,0 +1,92 @@ +/* + zip_name_locate.c -- get index by name + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#ifdef HAVE_STRINGS_H +#include +#endif + +#include "zipint.h" + + +ZIP_EXTERN zip_int64_t +zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags) { + return _zip_name_locate(za, fname, flags, &za->error); +} + + +zip_int64_t +_zip_name_locate(zip_t *za, const char *fname, zip_flags_t flags, zip_error_t *error) { + int (*cmp)(const char *, const char *); + const char *fn, *p; + zip_uint64_t i; + + if (za == NULL) + return -1; + + if (fname == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return -1; + } + + if (flags & (ZIP_FL_NOCASE | ZIP_FL_NODIR | ZIP_FL_ENC_CP437)) { + /* can't use hash table */ + cmp = (flags & ZIP_FL_NOCASE) ? strcasecmp : strcmp; + + for (i = 0; i < za->nentry; i++) { + fn = _zip_get_name(za, i, flags, error); + + /* newly added (partially filled) entry or error */ + if (fn == NULL) + continue; + + if (flags & ZIP_FL_NODIR) { + p = strrchr(fn, '/'); + if (p) + fn = p + 1; + } + + if (cmp(fname, fn) == 0) { + _zip_error_clear(error); + return (zip_int64_t)i; + } + } + + zip_error_set(error, ZIP_ER_NOENT, 0); + return -1; + } + else { + return _zip_hash_lookup(za->names, (const zip_uint8_t *)fname, flags, error); + } +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_new.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_new.c new file mode 100644 index 000000000..1cd614dff --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_new.c @@ -0,0 +1,73 @@ +/* + zip_new.c -- create and init struct zip + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +/* _zip_new: + creates a new zipfile struct, and sets the contents to zero; returns + the new struct. */ + +zip_t * +_zip_new(zip_error_t *error) { + zip_t *za; + + za = (zip_t *)malloc(sizeof(struct zip)); + if (!za) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if ((za->names = _zip_hash_new(error)) == NULL) { + free(za); + return NULL; + } + + za->src = NULL; + za->open_flags = 0; + zip_error_init(&za->error); + za->flags = za->ch_flags = 0; + za->default_password = NULL; + za->comment_orig = za->comment_changes = NULL; + za->comment_changed = 0; + za->nentry = za->nentry_alloc = 0; + za->entry = NULL; + za->nopen_source = za->nopen_source_alloc = 0; + za->open_source = NULL; + za->progress = NULL; + + return za; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_open.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_open.c new file mode 100644 index 000000000..593bfde56 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_open.c @@ -0,0 +1,848 @@ +/* + zip_open.c -- open zip archive by name + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include +#include +#include + +#include "zipint.h" + +typedef enum { + EXISTS_ERROR = -1, + EXISTS_NOT = 0, + EXISTS_EMPTY, + EXISTS_NONEMPTY, +} exists_t; +static zip_t *_zip_allocate_new(zip_source_t *src, unsigned int flags, zip_error_t *error); +static zip_int64_t _zip_checkcons(zip_t *za, zip_cdir_t *cdir, zip_error_t *error); +static zip_cdir_t *_zip_find_central_dir(zip_t *za, zip_uint64_t len); +static exists_t _zip_file_exists(zip_source_t *src, zip_error_t *error); +static int _zip_headercomp(const zip_dirent_t *, const zip_dirent_t *); +static unsigned char *_zip_memmem(const unsigned char *, size_t, const unsigned char *, size_t); +static zip_cdir_t *_zip_read_cdir(zip_t *za, zip_buffer_t *buffer, zip_uint64_t buf_offset, zip_error_t *error); +static zip_cdir_t *_zip_read_eocd(zip_buffer_t *buffer, zip_uint64_t buf_offset, unsigned int flags, zip_error_t *error); +static zip_cdir_t *_zip_read_eocd64(zip_source_t *src, zip_buffer_t *buffer, zip_uint64_t buf_offset, unsigned int flags, zip_error_t *error); + + +ZIP_EXTERN zip_t * +zip_open(const char *fn, int _flags, int *zep) { + zip_t *za; + zip_source_t *src; + struct zip_error error; + + zip_error_init(&error); + if ((src = zip_source_file_create(fn, 0, -1, &error)) == NULL) { + _zip_set_open_error(zep, &error, 0); + zip_error_fini(&error); + return NULL; + } + + if ((za = zip_open_from_source(src, _flags, &error)) == NULL) { + zip_source_free(src); + _zip_set_open_error(zep, &error, 0); + zip_error_fini(&error); + return NULL; + } + + zip_error_fini(&error); + return za; +} + + +ZIP_EXTERN zip_t * +zip_open_from_source(zip_source_t *src, int _flags, zip_error_t *error) { + static zip_int64_t needed_support_read = -1; + static zip_int64_t needed_support_write = -1; + + unsigned int flags; + zip_int64_t supported; + exists_t exists; + + if (_flags < 0 || src == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + flags = (unsigned int)_flags; + + supported = zip_source_supports(src); + if (needed_support_read == -1) { + needed_support_read = zip_source_make_command_bitmap(ZIP_SOURCE_OPEN, ZIP_SOURCE_READ, ZIP_SOURCE_CLOSE, ZIP_SOURCE_SEEK, ZIP_SOURCE_TELL, ZIP_SOURCE_STAT, -1); + needed_support_write = zip_source_make_command_bitmap(ZIP_SOURCE_BEGIN_WRITE, ZIP_SOURCE_COMMIT_WRITE, ZIP_SOURCE_ROLLBACK_WRITE, ZIP_SOURCE_SEEK_WRITE, ZIP_SOURCE_TELL_WRITE, ZIP_SOURCE_REMOVE, -1); + } + if ((supported & needed_support_read) != needed_support_read) { + zip_error_set(error, ZIP_ER_OPNOTSUPP, 0); + return NULL; + } + if ((supported & needed_support_write) != needed_support_write) { + flags |= ZIP_RDONLY; + } + + if ((flags & (ZIP_RDONLY | ZIP_TRUNCATE)) == (ZIP_RDONLY | ZIP_TRUNCATE)) { + zip_error_set(error, ZIP_ER_RDONLY, 0); + return NULL; + } + + exists = _zip_file_exists(src, error); + switch (exists) { + case EXISTS_ERROR: + return NULL; + + case EXISTS_NOT: + if ((flags & ZIP_CREATE) == 0) { + zip_error_set(error, ZIP_ER_NOENT, 0); + return NULL; + } + return _zip_allocate_new(src, flags, error); + + default: { + zip_t *za; + if (flags & ZIP_EXCL) { + zip_error_set(error, ZIP_ER_EXISTS, 0); + return NULL; + } + if (zip_source_open(src) < 0) { + _zip_error_set_from_source(error, src); + return NULL; + } + + if (flags & ZIP_TRUNCATE) { + za = _zip_allocate_new(src, flags, error); + } + else { + /* ZIP_CREATE gets ignored if file exists and not ZIP_EXCL, just like open() */ + za = _zip_open(src, flags, error); + } + + if (za == NULL) { + zip_source_close(src); + return NULL; + } + return za; + } + } +} + + +zip_t * +_zip_open(zip_source_t *src, unsigned int flags, zip_error_t *error) { + zip_t *za; + zip_cdir_t *cdir; + struct zip_stat st; + zip_uint64_t len, idx; + + zip_stat_init(&st); + if (zip_source_stat(src, &st) < 0) { + _zip_error_set_from_source(error, src); + return NULL; + } + if ((st.valid & ZIP_STAT_SIZE) == 0) { + zip_error_set(error, ZIP_ER_SEEK, EOPNOTSUPP); + return NULL; + } + len = st.size; + + /* treat empty files as empty archives */ + if (len == 0) { + if ((za = _zip_allocate_new(src, flags, error)) == NULL) { + return NULL; + } + + return za; + } + + if ((za = _zip_allocate_new(src, flags, error)) == NULL) { + return NULL; + } + + if ((cdir = _zip_find_central_dir(za, len)) == NULL) { + _zip_error_copy(error, &za->error); + /* keep src so discard does not get rid of it */ + zip_source_keep(src); + zip_discard(za); + return NULL; + } + + za->entry = cdir->entry; + za->nentry = cdir->nentry; + za->nentry_alloc = cdir->nentry_alloc; + za->comment_orig = cdir->comment; + + free(cdir); + + _zip_hash_reserve_capacity(za->names, za->nentry, &za->error); + + for (idx = 0; idx < za->nentry; idx++) { + const zip_uint8_t *name = _zip_string_get(za->entry[idx].orig->filename, NULL, 0, error); + if (name == NULL) { + /* keep src so discard does not get rid of it */ + zip_source_keep(src); + zip_discard(za); + return NULL; + } + + if (_zip_hash_add(za->names, name, idx, ZIP_FL_UNCHANGED, &za->error) == false) { + if (za->error.zip_err != ZIP_ER_EXISTS || (flags & ZIP_CHECKCONS)) { + _zip_error_copy(error, &za->error); + /* keep src so discard does not get rid of it */ + zip_source_keep(src); + zip_discard(za); + return NULL; + } + } + } + + za->ch_flags = za->flags; + + return za; +} + + +void +_zip_set_open_error(int *zep, const zip_error_t *err, int ze) { + if (err) { + ze = zip_error_code_zip(err); + if (zip_error_system_type(err) == ZIP_ET_SYS) { + errno = zip_error_code_system(err); + } + } + + if (zep) + *zep = ze; +} + + +/* _zip_readcdir: + tries to find a valid end-of-central-directory at the beginning of + buf, and then the corresponding central directory entries. + Returns a struct zip_cdir which contains the central directory + entries, or NULL if unsuccessful. */ + +static zip_cdir_t * +_zip_read_cdir(zip_t *za, zip_buffer_t *buffer, zip_uint64_t buf_offset, zip_error_t *error) { + zip_cdir_t *cd; + zip_uint16_t comment_len; + zip_uint64_t i, left; + zip_uint64_t eocd_offset = _zip_buffer_offset(buffer); + zip_buffer_t *cd_buffer; + + if (_zip_buffer_left(buffer) < EOCDLEN) { + /* not enough bytes left for comment */ + zip_error_set(error, ZIP_ER_NOZIP, 0); + return NULL; + } + + /* check for end-of-central-dir magic */ + if (memcmp(_zip_buffer_get(buffer, 4), EOCD_MAGIC, 4) != 0) { + zip_error_set(error, ZIP_ER_NOZIP, 0); + return NULL; + } + + if (eocd_offset >= EOCD64LOCLEN && memcmp(_zip_buffer_data(buffer) + eocd_offset - EOCD64LOCLEN, EOCD64LOC_MAGIC, 4) == 0) { + _zip_buffer_set_offset(buffer, eocd_offset - EOCD64LOCLEN); + cd = _zip_read_eocd64(za->src, buffer, buf_offset, za->flags, error); + } + else { + _zip_buffer_set_offset(buffer, eocd_offset); + cd = _zip_read_eocd(buffer, buf_offset, za->flags, error); + } + + if (cd == NULL) + return NULL; + + _zip_buffer_set_offset(buffer, eocd_offset + 20); + comment_len = _zip_buffer_get_16(buffer); + + if (cd->offset + cd->size > buf_offset + eocd_offset) { + /* cdir spans past EOCD record */ + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_cdir_free(cd); + return NULL; + } + + if (comment_len || (za->open_flags & ZIP_CHECKCONS)) { + zip_uint64_t tail_len; + + _zip_buffer_set_offset(buffer, eocd_offset + EOCDLEN); + tail_len = _zip_buffer_left(buffer); + + if (tail_len < comment_len || ((za->open_flags & ZIP_CHECKCONS) && tail_len != comment_len)) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_cdir_free(cd); + return NULL; + } + + if (comment_len) { + if ((cd->comment = _zip_string_new(_zip_buffer_get(buffer, comment_len), comment_len, ZIP_FL_ENC_GUESS, error)) == NULL) { + _zip_cdir_free(cd); + return NULL; + } + } + } + + if (cd->offset >= buf_offset) { + zip_uint8_t *data; + /* if buffer already read in, use it */ + _zip_buffer_set_offset(buffer, cd->offset - buf_offset); + + if ((data = _zip_buffer_get(buffer, cd->size)) == NULL) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_cdir_free(cd); + return NULL; + } + if ((cd_buffer = _zip_buffer_new(data, cd->size)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + _zip_cdir_free(cd); + return NULL; + } + } + else { + cd_buffer = NULL; + + if (zip_source_seek(za->src, (zip_int64_t)cd->offset, SEEK_SET) < 0) { + _zip_error_set_from_source(error, za->src); + _zip_cdir_free(cd); + return NULL; + } + + /* possible consistency check: cd->offset = len-(cd->size+cd->comment_len+EOCDLEN) ? */ + if (zip_source_tell(za->src) != (zip_int64_t)cd->offset) { + zip_error_set(error, ZIP_ER_NOZIP, 0); + _zip_cdir_free(cd); + return NULL; + } + } + + left = (zip_uint64_t)cd->size; + i = 0; + while (left > 0) { + bool grown = false; + zip_int64_t entry_size; + + if (i == cd->nentry) { + /* InfoZIP has a hack to avoid using Zip64: it stores nentries % 0x10000 */ + /* This hack isn't applicable if we're using Zip64, or if there is no central directory entry following. */ + + if (cd->is_zip64 || left < CDENTRYSIZE) { + break; + } + + if (!_zip_cdir_grow(cd, 0x10000, error)) { + _zip_cdir_free(cd); + _zip_buffer_free(cd_buffer); + return NULL; + } + grown = true; + } + + if ((cd->entry[i].orig = _zip_dirent_new()) == NULL || (entry_size = _zip_dirent_read(cd->entry[i].orig, za->src, cd_buffer, false, error)) < 0) { + if (grown && zip_error_code_zip(error) == ZIP_ER_NOZIP) { + zip_error_set(error, ZIP_ER_INCONS, 0); + } + _zip_cdir_free(cd); + _zip_buffer_free(cd_buffer); + return NULL; + } + i++; + left -= (zip_uint64_t)entry_size; + } + + if (i != cd->nentry || left > 0) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_buffer_free(cd_buffer); + _zip_cdir_free(cd); + return NULL; + } + + if (za->open_flags & ZIP_CHECKCONS) { + bool ok; + + if (cd_buffer) { + ok = _zip_buffer_eof(cd_buffer); + } + else { + zip_int64_t offset = zip_source_tell(za->src); + + if (offset < 0) { + _zip_error_set_from_source(error, za->src); + _zip_cdir_free(cd); + return NULL; + } + ok = ((zip_uint64_t)offset == cd->offset + cd->size); + } + + if (!ok) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_buffer_free(cd_buffer); + _zip_cdir_free(cd); + return NULL; + } + } + + _zip_buffer_free(cd_buffer); + return cd; +} + + +/* _zip_checkcons: + Checks the consistency of the central directory by comparing central + directory entries with local headers and checking for plausible + file and header offsets. Returns -1 if not plausible, else the + difference between the lowest and the highest fileposition reached */ + +static zip_int64_t +_zip_checkcons(zip_t *za, zip_cdir_t *cd, zip_error_t *error) { + zip_uint64_t i; + zip_uint64_t min, max, j; + struct zip_dirent temp; + + _zip_dirent_init(&temp); + if (cd->nentry) { + max = cd->entry[0].orig->offset; + min = cd->entry[0].orig->offset; + } + else + min = max = 0; + + for (i = 0; i < cd->nentry; i++) { + if (cd->entry[i].orig->offset < min) + min = cd->entry[i].orig->offset; + if (min > (zip_uint64_t)cd->offset) { + zip_error_set(error, ZIP_ER_NOZIP, 0); + return -1; + } + + j = cd->entry[i].orig->offset + cd->entry[i].orig->comp_size + _zip_string_length(cd->entry[i].orig->filename) + LENTRYSIZE; + if (j > max) + max = j; + if (max > (zip_uint64_t)cd->offset) { + zip_error_set(error, ZIP_ER_NOZIP, 0); + return -1; + } + + if (zip_source_seek(za->src, (zip_int64_t)cd->entry[i].orig->offset, SEEK_SET) < 0) { + _zip_error_set_from_source(error, za->src); + return -1; + } + + if (_zip_dirent_read(&temp, za->src, NULL, true, error) == -1) { + _zip_dirent_finalize(&temp); + return -1; + } + + if (_zip_headercomp(cd->entry[i].orig, &temp) != 0) { + zip_error_set(error, ZIP_ER_INCONS, 0); + _zip_dirent_finalize(&temp); + return -1; + } + + cd->entry[i].orig->extra_fields = _zip_ef_merge(cd->entry[i].orig->extra_fields, temp.extra_fields); + cd->entry[i].orig->local_extra_fields_read = 1; + temp.extra_fields = NULL; + + _zip_dirent_finalize(&temp); + } + + return (max - min) < ZIP_INT64_MAX ? (zip_int64_t)(max - min) : ZIP_INT64_MAX; +} + + +/* _zip_headercomp: + compares a central directory entry and a local file header + Return 0 if they are consistent, -1 if not. */ + +static int +_zip_headercomp(const zip_dirent_t *central, const zip_dirent_t *local) { + if ((central->version_needed < local->version_needed) +#if 0 + /* some zip-files have different values in local + and global headers for the bitflags */ + || (central->bitflags != local->bitflags) +#endif + || (central->comp_method != local->comp_method) || (central->last_mod != local->last_mod) || !_zip_string_equal(central->filename, local->filename)) + return -1; + + if ((central->crc != local->crc) || (central->comp_size != local->comp_size) || (central->uncomp_size != local->uncomp_size)) { + /* InfoZip stores valid values in local header even when data descriptor is used. + This is in violation of the appnote. */ + if (((local->bitflags & ZIP_GPBF_DATA_DESCRIPTOR) == 0 || local->crc != 0 || local->comp_size != 0 || local->uncomp_size != 0)) + return -1; + } + + return 0; +} + + +static zip_t * +_zip_allocate_new(zip_source_t *src, unsigned int flags, zip_error_t *error) { + zip_t *za; + + if ((za = _zip_new(error)) == NULL) { + return NULL; + } + + za->src = src; + za->open_flags = flags; + if (flags & ZIP_RDONLY) { + za->flags |= ZIP_AFL_RDONLY; + za->ch_flags |= ZIP_AFL_RDONLY; + } + return za; +} + + +/* + * tests for file existence + */ +static exists_t +_zip_file_exists(zip_source_t *src, zip_error_t *error) { + struct zip_stat st; + + zip_stat_init(&st); + if (zip_source_stat(src, &st) != 0) { + zip_error_t *src_error = zip_source_error(src); + if (zip_error_code_zip(src_error) == ZIP_ER_READ && zip_error_code_system(src_error) == ENOENT) { + return EXISTS_NOT; + } + _zip_error_copy(error, src_error); + return EXISTS_ERROR; + } + + return (st.valid & ZIP_STAT_SIZE) && st.size == 0 ? EXISTS_EMPTY : EXISTS_NONEMPTY; +} + + +static zip_cdir_t * +_zip_find_central_dir(zip_t *za, zip_uint64_t len) { + zip_cdir_t *cdir, *cdirnew; + zip_uint8_t *match; + zip_int64_t buf_offset; + zip_uint64_t buflen; + zip_int64_t a; + zip_int64_t best; + zip_error_t error; + zip_buffer_t *buffer; + + if (len < EOCDLEN) { + zip_error_set(&za->error, ZIP_ER_NOZIP, 0); + return NULL; + } + + buflen = (len < CDBUFSIZE ? len : CDBUFSIZE); + if (zip_source_seek(za->src, -(zip_int64_t)buflen, SEEK_END) < 0) { + zip_error_t *src_error = zip_source_error(za->src); + if (zip_error_code_zip(src_error) != ZIP_ER_SEEK || zip_error_code_system(src_error) != EFBIG) { + /* seek before start of file on my machine */ + _zip_error_copy(&za->error, src_error); + return NULL; + } + } + if ((buf_offset = zip_source_tell(za->src)) < 0) { + _zip_error_set_from_source(&za->error, za->src); + return NULL; + } + + if ((buffer = _zip_buffer_new_from_source(za->src, buflen, NULL, &za->error)) == NULL) { + return NULL; + } + + best = -1; + cdir = NULL; + if (buflen >= CDBUFSIZE) { + /* EOCD64 locator is before EOCD, so leave place for it */ + _zip_buffer_set_offset(buffer, EOCD64LOCLEN); + } + zip_error_set(&error, ZIP_ER_NOZIP, 0); + + match = _zip_buffer_get(buffer, 0); + while ((match = _zip_memmem(match, _zip_buffer_left(buffer) - (EOCDLEN - 4), (const unsigned char *)EOCD_MAGIC, 4)) != NULL) { + _zip_buffer_set_offset(buffer, (zip_uint64_t)(match - _zip_buffer_data(buffer))); + if ((cdirnew = _zip_read_cdir(za, buffer, (zip_uint64_t)buf_offset, &error)) != NULL) { + if (cdir) { + if (best <= 0) { + best = _zip_checkcons(za, cdir, &error); + } + + a = _zip_checkcons(za, cdirnew, &error); + if (best < a) { + _zip_cdir_free(cdir); + cdir = cdirnew; + best = a; + } + else { + _zip_cdir_free(cdirnew); + } + } + else { + cdir = cdirnew; + if (za->open_flags & ZIP_CHECKCONS) + best = _zip_checkcons(za, cdir, &error); + else { + best = 0; + } + } + cdirnew = NULL; + } + + match++; + _zip_buffer_set_offset(buffer, (zip_uint64_t)(match - _zip_buffer_data(buffer))); + } + + _zip_buffer_free(buffer); + + if (best < 0) { + _zip_error_copy(&za->error, &error); + _zip_cdir_free(cdir); + return NULL; + } + + return cdir; +} + + +static unsigned char * +_zip_memmem(const unsigned char *big, size_t biglen, const unsigned char *little, size_t littlelen) { + const unsigned char *p; + + if ((biglen < littlelen) || (littlelen == 0)) + return NULL; + p = big - 1; + while ((p = (const unsigned char *)memchr(p + 1, little[0], (size_t)(big - (p + 1)) + (size_t)(biglen - littlelen) + 1)) != NULL) { + if (memcmp(p + 1, little + 1, littlelen - 1) == 0) + return (unsigned char *)p; + } + + return NULL; +} + + +static zip_cdir_t * +_zip_read_eocd(zip_buffer_t *buffer, zip_uint64_t buf_offset, unsigned int flags, zip_error_t *error) { + zip_cdir_t *cd; + zip_uint64_t i, nentry, size, offset, eocd_offset; + + if (_zip_buffer_left(buffer) < EOCDLEN) { + zip_error_set(error, ZIP_ER_INCONS, 0); + return NULL; + } + + eocd_offset = _zip_buffer_offset(buffer); + + _zip_buffer_get(buffer, 4); /* magic already verified */ + + if (_zip_buffer_get_32(buffer) != 0) { + zip_error_set(error, ZIP_ER_MULTIDISK, 0); + return NULL; + } + + /* number of cdir-entries on this disk */ + i = _zip_buffer_get_16(buffer); + /* number of cdir-entries */ + nentry = _zip_buffer_get_16(buffer); + + if (nentry != i) { + zip_error_set(error, ZIP_ER_NOZIP, 0); + return NULL; + } + + size = _zip_buffer_get_32(buffer); + offset = _zip_buffer_get_32(buffer); + + if (offset + size < offset) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return NULL; + } + + if (offset + size > buf_offset + eocd_offset) { + /* cdir spans past EOCD record */ + zip_error_set(error, ZIP_ER_INCONS, 0); + return NULL; + } + + if ((flags & ZIP_CHECKCONS) && offset + size != buf_offset + eocd_offset) { + zip_error_set(error, ZIP_ER_INCONS, 0); + return NULL; + } + + if ((cd = _zip_cdir_new(nentry, error)) == NULL) + return NULL; + + cd->is_zip64 = false; + cd->size = size; + cd->offset = offset; + + return cd; +} + + +static zip_cdir_t * +_zip_read_eocd64(zip_source_t *src, zip_buffer_t *buffer, zip_uint64_t buf_offset, unsigned int flags, zip_error_t *error) { + zip_cdir_t *cd; + zip_uint64_t offset; + zip_uint8_t eocd[EOCD64LEN]; + zip_uint64_t eocd_offset; + zip_uint64_t size, nentry, i, eocdloc_offset; + bool free_buffer; + zip_uint32_t num_disks, num_disks64, eocd_disk, eocd_disk64; + + eocdloc_offset = _zip_buffer_offset(buffer); + + _zip_buffer_get(buffer, 4); /* magic already verified */ + + num_disks = _zip_buffer_get_16(buffer); + eocd_disk = _zip_buffer_get_16(buffer); + eocd_offset = _zip_buffer_get_64(buffer); + + if (eocd_offset > ZIP_INT64_MAX || eocd_offset + EOCD64LEN < eocd_offset) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return NULL; + } + + if (eocd_offset + EOCD64LEN > eocdloc_offset + buf_offset) { + zip_error_set(error, ZIP_ER_INCONS, 0); + return NULL; + } + + if (eocd_offset >= buf_offset && eocd_offset + EOCD64LEN <= buf_offset + _zip_buffer_size(buffer)) { + _zip_buffer_set_offset(buffer, eocd_offset - buf_offset); + free_buffer = false; + } + else { + if (zip_source_seek(src, (zip_int64_t)eocd_offset, SEEK_SET) < 0) { + _zip_error_set_from_source(error, src); + return NULL; + } + if ((buffer = _zip_buffer_new_from_source(src, EOCD64LEN, eocd, error)) == NULL) { + return NULL; + } + free_buffer = true; + } + + if (memcmp(_zip_buffer_get(buffer, 4), EOCD64_MAGIC, 4) != 0) { + zip_error_set(error, ZIP_ER_INCONS, 0); + if (free_buffer) { + _zip_buffer_free(buffer); + } + return NULL; + } + + size = _zip_buffer_get_64(buffer); + + if ((flags & ZIP_CHECKCONS) && size + eocd_offset + 12 != buf_offset + eocdloc_offset) { + zip_error_set(error, ZIP_ER_INCONS, 0); + if (free_buffer) { + _zip_buffer_free(buffer); + } + return NULL; + } + + _zip_buffer_get(buffer, 4); /* skip version made by/needed */ + + num_disks64 = _zip_buffer_get_32(buffer); + eocd_disk64 = _zip_buffer_get_32(buffer); + + /* if eocd values are 0xffff, we have to use eocd64 values. + otherwise, if the values are not the same, it's inconsistent; + in any case, if the value is not 0, we don't support it */ + if (num_disks == 0xffff) { + num_disks = num_disks64; + } + if (eocd_disk == 0xffff) { + eocd_disk = eocd_disk64; + } + if ((flags & ZIP_CHECKCONS) && (eocd_disk != eocd_disk64 || num_disks != num_disks64)) { + zip_error_set(error, ZIP_ER_INCONS, 0); + if (free_buffer) { + _zip_buffer_free(buffer); + } + return NULL; + } + if (num_disks != 0 || eocd_disk != 0) { + zip_error_set(error, ZIP_ER_MULTIDISK, 0); + if (free_buffer) { + _zip_buffer_free(buffer); + } + return NULL; + } + + nentry = _zip_buffer_get_64(buffer); + i = _zip_buffer_get_64(buffer); + + if (nentry != i) { + zip_error_set(error, ZIP_ER_MULTIDISK, 0); + if (free_buffer) { + _zip_buffer_free(buffer); + } + return NULL; + } + + size = _zip_buffer_get_64(buffer); + offset = _zip_buffer_get_64(buffer); + + if (!_zip_buffer_ok(buffer)) { + zip_error_set(error, ZIP_ER_INTERNAL, 0); + if (free_buffer) { + _zip_buffer_free(buffer); + } + return NULL; + } + + if (free_buffer) { + _zip_buffer_free(buffer); + } + + if (offset > ZIP_INT64_MAX || offset + size < offset) { + zip_error_set(error, ZIP_ER_SEEK, EFBIG); + return NULL; + } + if (offset + size > buf_offset + eocd_offset) { + /* cdir spans past EOCD record */ + zip_error_set(error, ZIP_ER_INCONS, 0); + return NULL; + } + if ((flags & ZIP_CHECKCONS) && offset + size != buf_offset + eocd_offset) { + zip_error_set(error, ZIP_ER_INCONS, 0); + return NULL; + } + + if ((cd = _zip_cdir_new(nentry, error)) == NULL) + return NULL; + + cd->is_zip64 = true; + cd->size = size; + cd->offset = offset; + + return cd; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_progress.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_progress.c new file mode 100644 index 000000000..9b1169428 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_progress.c @@ -0,0 +1,183 @@ +/* + zip_progress.c -- progress reporting + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + +#include + + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + +struct zip_progress { + zip_t *za; + zip_progress_callback callback; + void (*ud_free)(void *); + + void *ud; + + double precision; + + /* state */ + double last_update; /* last value callback function was called with */ + + double start; /* start of sub-progress section */ + double end; /* end of sub-progress section */ +}; + + +void +_zip_progress_end(zip_progress_t *progress) { + _zip_progress_update(progress, 1.0); +} + + +void +_zip_progress_free(zip_progress_t *progress) { + if (progress == NULL) { + return; + } + + if (progress->ud_free) { + progress->ud_free(progress->ud); + } + + free(progress); +} + + +zip_progress_t * +_zip_progress_new(zip_t *za, double precision, zip_progress_callback callback, void (*ud_free)(void *), void *ud) { + zip_progress_t *progress = (zip_progress_t *)malloc(sizeof(*progress)); + + if (progress == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return NULL; + } + + progress->za = za; + progress->callback = callback; + progress->ud_free = ud_free; + progress->ud = ud; + progress->precision = precision; + + return progress; +} + + +void +_zip_progress_start(zip_progress_t *progress) { + if (progress == NULL) { + return; + } + + progress->last_update = 0.0; + progress->callback(progress->za, 0.0, progress->ud); +} + + +void +_zip_progress_subrange(zip_progress_t *progress, double start, double end) { + if (progress == NULL) { + return; + } + + progress->start = start; + progress->end = end; + + _zip_progress_update(progress, 0.0); +} + +void +_zip_progress_update(zip_progress_t *progress, double sub_current) { + double current; + + if (progress == NULL) { + return; + } + + current = ZIP_MIN(ZIP_MAX(sub_current, 0.0), 1.0) * (progress->end - progress->start) + progress->start; + + if (current - progress->last_update > progress->precision) { + progress->callback(progress->za, current, progress->ud); + progress->last_update = current; + } +} + + +ZIP_EXTERN int +zip_register_progress_callback_with_state(zip_t *za, double precision, zip_progress_callback callback, void (*ud_free)(void *), void *ud) { + zip_progress_t *progress = NULL; + + if (callback != NULL) { + if ((progress = _zip_progress_new(za, precision, callback, ud_free, ud)) == NULL) { + return -1; + } + } + + _zip_progress_free(za->progress); + za->progress = progress; + + return 0; +} + + +struct legacy_ud { + zip_progress_callback_t callback; +}; + + +static void +_zip_legacy_progress_callback(zip_t *za, double progress, void *vud) { + struct legacy_ud *ud = (struct legacy_ud *)vud; + + ud->callback(progress); +} + +ZIP_EXTERN void +zip_register_progress_callback(zip_t *za, zip_progress_callback_t progress_callback) { + struct legacy_ud *ud; + + if (progress_callback == NULL) { + zip_register_progress_callback_with_state(za, 0, NULL, NULL, NULL); + } + + if ((ud = (struct legacy_ud *)malloc(sizeof(*ud))) == NULL) { + return; + } + + ud->callback = progress_callback; + + if (zip_register_progress_callback_with_state(za, 0.001, _zip_legacy_progress_callback, free, ud) < 0) { + free(ud); + } +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_random_unix.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_random_unix.c new file mode 100644 index 000000000..8e289df6e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_random_unix.c @@ -0,0 +1,54 @@ +/* + zip_random_unix.c -- fill the user's buffer with random stuff (Unix version) + Copyright (C) 2016-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" + +#include +#include + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + int fd; + + if ((fd = open("/dev/urandom", O_RDONLY)) < 0) { + return false; + } + + if (read(fd, buffer, length) != length) { + close(fd); + return false; + } + + close(fd); + return true; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_random_uwp.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_random_uwp.c new file mode 100644 index 000000000..42b96a040 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_random_uwp.c @@ -0,0 +1,54 @@ +/* + zip_random_uwp.c -- fill the user's buffer with random stuff (UWP version) + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include +#include + +#include "zipint.h" +#include "zipwin32.h" + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + BCRYPT_ALG_HANDLE hAlg = NULL; + NTSTATUS hr = BCryptOpenAlgorithmProvider(&hAlg, BCRYPT_RNG_ALGORITHM, MS_PRIMITIVE_PROVIDER, 0); + if (hr != STATUS_SUCCESS || hAlg == NULL) { + return false; + } + hr = BCryptGenRandom(&hAlg, buffer, length, 0); + BCryptCloseAlgorithmProvider(&hAlg, 0); + if (hr != STATUS_SUCCESS) { + return false; + } + return true; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_random_win32.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_random_win32.c new file mode 100644 index 000000000..3b929782d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_random_win32.c @@ -0,0 +1,52 @@ +/* + zip_random_win32.c -- fill the user's buffer with random stuff (Windows version) + Copyright (C) 2016-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" +#include "zipwin32.h" + +#include + +ZIP_EXTERN bool +zip_random(zip_uint8_t *buffer, zip_uint16_t length) { + HCRYPTPROV hprov; + if (!CryptAcquireContext(&hprov, NULL, NULL, PROV_RSA_AES, CRYPT_VERIFYCONTEXT | CRYPT_SILENT)) { + return false; + } + if (!CryptGenRandom(hprov, length, buffer)) { + return false; + } + if (!CryptReleaseContext(hprov, 0)) { + return false; + } + return true; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_rename.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_rename.c new file mode 100644 index 000000000..4fdf63618 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_rename.c @@ -0,0 +1,44 @@ +/* + zip_rename.c -- rename file in zip archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN int +zip_rename(zip_t *za, zip_uint64_t idx, const char *name) { + return zip_file_rename(za, idx, name, 0); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_replace.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_replace.c new file mode 100644 index 000000000..2e982aff9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_replace.c @@ -0,0 +1,42 @@ +/* + zip_replace.c -- replace file via callback function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN int +zip_replace(zip_t *za, zip_uint64_t idx, zip_source_t *source) { + return zip_file_replace(za, idx, source, 0); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_set_archive_comment.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_archive_comment.c new file mode 100644 index 000000000..166a2c0bc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_archive_comment.c @@ -0,0 +1,80 @@ +/* + zip_set_archive_comment.c -- set archive comment + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_set_archive_comment(zip_t *za, const char *comment, zip_uint16_t len) { + zip_string_t *cstr; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (len > 0 && comment == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (len > 0) { + if ((cstr = _zip_string_new((const zip_uint8_t *)comment, len, ZIP_FL_ENC_GUESS, &za->error)) == NULL) + return -1; + + if (_zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_CP437) { + _zip_string_free(cstr); + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + } + else + cstr = NULL; + + _zip_string_free(za->comment_changes); + za->comment_changes = NULL; + + if (((za->comment_orig && _zip_string_equal(za->comment_orig, cstr)) || (za->comment_orig == NULL && cstr == NULL))) { + _zip_string_free(cstr); + za->comment_changed = 0; + } + else { + za->comment_changes = cstr; + za->comment_changed = 1; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_set_archive_flag.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_archive_flag.c new file mode 100644 index 000000000..facf6146f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_archive_flag.c @@ -0,0 +1,65 @@ +/* + zip_get_archive_flag.c -- set archive global flag + Copyright (C) 2008-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_set_archive_flag(zip_t *za, zip_flags_t flag, int value) { + unsigned int new_flags; + + if (value) + new_flags = za->ch_flags | flag; + else + new_flags = za->ch_flags & ~flag; + + if (new_flags == za->ch_flags) + return 0; + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if ((flag & ZIP_AFL_RDONLY) && value && (za->ch_flags & ZIP_AFL_RDONLY) == 0) { + if (_zip_changed(za, NULL)) { + zip_error_set(&za->error, ZIP_ER_CHANGED, 0); + return -1; + } + } + + za->ch_flags = new_flags; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_set_default_password.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_default_password.c new file mode 100644 index 000000000..8081657c5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_default_password.c @@ -0,0 +1,58 @@ +/* + zip_set_default_password.c -- set default password for decryption + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_set_default_password(zip_t *za, const char *passwd) { + if (za == NULL) + return -1; + + free(za->default_password); + + if (passwd) { + if ((za->default_password = strdup(passwd)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + else + za->default_password = NULL; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_set_file_comment.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_file_comment.c new file mode 100644 index 000000000..e4e0331e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_file_comment.c @@ -0,0 +1,48 @@ +/* + zip_set_file_comment.c -- set comment for file in archive + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#define _ZIP_COMPILING_DEPRECATED +#include "zipint.h" + + +ZIP_EXTERN int +zip_set_file_comment(zip_t *za, zip_uint64_t idx, const char *comment, int len) { + if (len < 0 || len > ZIP_UINT16_MAX) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + return zip_file_set_comment(za, idx, comment, (zip_uint16_t)len, 0); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_set_file_compression.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_file_compression.c new file mode 100644 index 000000000..054dd1fda --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_file_compression.c @@ -0,0 +1,91 @@ +/* + zip_set_file_compression.c -- set compression for file in archive + Copyright (C) 2012-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_set_file_compression(zip_t *za, zip_uint64_t idx, zip_int32_t method, zip_uint32_t flags) { + zip_entry_t *e; + zip_int32_t old_method; + + if (idx >= za->nentry || flags > 9) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (!zip_compression_method_supported(method, true)) { + zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); + return -1; + } + + e = za->entry + idx; + + old_method = (e->orig == NULL ? ZIP_CM_DEFAULT : e->orig->comp_method); + + /* TODO: do we want to recompress if level is set? Only if it's + * different than what bit flags tell us, but those are not + * defined for all compression methods, or not directly mappable + * to levels */ + + if (method == old_method) { + if (e->changes) { + e->changes->changed &= ~ZIP_DIRENT_COMP_METHOD; + e->changes->compression_level = 0; + if (e->changes->changed == 0) { + _zip_dirent_free(e->changes); + e->changes = NULL; + } + } + } + else { + if (e->changes == NULL) { + if ((e->changes = _zip_dirent_clone(e->orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + } + + e->changes->comp_method = method; + e->changes->compression_level = (zip_uint16_t)flags; + e->changes->changed |= ZIP_DIRENT_COMP_METHOD; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_set_name.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_name.c new file mode 100644 index 000000000..aa1dd8eac --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_set_name.c @@ -0,0 +1,157 @@ +/* + zip_set_name.c -- rename helper function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + + +int +_zip_set_name(zip_t *za, zip_uint64_t idx, const char *name, zip_flags_t flags) { + zip_entry_t *e; + zip_string_t *str; + bool same_as_orig; + zip_int64_t i; + const zip_uint8_t *old_name, *new_name; + zip_string_t *old_str; + + if (idx >= za->nentry) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (ZIP_IS_RDONLY(za)) { + zip_error_set(&za->error, ZIP_ER_RDONLY, 0); + return -1; + } + + if (name && name[0] != '\0') { + /* TODO: check for string too long */ + if ((str = _zip_string_new((const zip_uint8_t *)name, (zip_uint16_t)strlen(name), flags, &za->error)) == NULL) + return -1; + if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(str, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED) + str->encoding = ZIP_ENCODING_UTF8_KNOWN; + } + else + str = NULL; + + /* TODO: encoding flags needed for CP437? */ + if ((i = _zip_name_locate(za, name, 0, NULL)) >= 0 && (zip_uint64_t)i != idx) { + _zip_string_free(str); + zip_error_set(&za->error, ZIP_ER_EXISTS, 0); + return -1; + } + + /* no effective name change */ + if (i >= 0 && (zip_uint64_t)i == idx) { + _zip_string_free(str); + return 0; + } + + e = za->entry + idx; + + if (e->orig) + same_as_orig = _zip_string_equal(e->orig->filename, str); + else + same_as_orig = false; + + if (!same_as_orig && e->changes == NULL) { + if ((e->changes = _zip_dirent_clone(e->orig)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + _zip_string_free(str); + return -1; + } + } + + if ((new_name = _zip_string_get(same_as_orig ? e->orig->filename : str, NULL, 0, &za->error)) == NULL) { + _zip_string_free(str); + return -1; + } + + if (e->changes) { + old_str = e->changes->filename; + } + else if (e->orig) { + old_str = e->orig->filename; + } + else { + old_str = NULL; + } + + if (old_str) { + if ((old_name = _zip_string_get(old_str, NULL, 0, &za->error)) == NULL) { + _zip_string_free(str); + return -1; + } + } + else { + old_name = NULL; + } + + if (_zip_hash_add(za->names, new_name, idx, 0, &za->error) == false) { + _zip_string_free(str); + return -1; + } + if (old_name) { + _zip_hash_delete(za->names, old_name, NULL); + } + + if (same_as_orig) { + if (e->changes) { + if (e->changes->changed & ZIP_DIRENT_FILENAME) { + _zip_string_free(e->changes->filename); + e->changes->changed &= ~ZIP_DIRENT_FILENAME; + if (e->changes->changed == 0) { + _zip_dirent_free(e->changes); + e->changes = NULL; + } + else { + /* TODO: what if not cloned? can that happen? */ + e->changes->filename = e->orig->filename; + } + } + } + _zip_string_free(str); + } + else { + if (e->changes->changed & ZIP_DIRENT_FILENAME) { + _zip_string_free(e->changes->filename); + } + e->changes->changed |= ZIP_DIRENT_FILENAME; + e->changes->filename = str; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_begin_write.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_begin_write.c new file mode 100644 index 000000000..a8b90b5f4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_begin_write.c @@ -0,0 +1,52 @@ +/* + zip_source_begin_write.c -- start a new file for writing + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_source_begin_write(zip_source_t *src) { + if (ZIP_SOURCE_IS_OPEN_WRITING(src)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (_zip_source_call(src, NULL, 0, ZIP_SOURCE_BEGIN_WRITE) < 0) { + return -1; + } + + src->write_state = ZIP_SOURCE_WRITE_OPEN; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_begin_write_cloning.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_begin_write_cloning.c new file mode 100644 index 000000000..b38de04d3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_begin_write_cloning.c @@ -0,0 +1,52 @@ +/* + zip_source_begin_write_cloning.c -- clone part of file for writing + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_source_begin_write_cloning(zip_source_t *src, zip_uint64_t offset) { + if (ZIP_SOURCE_IS_OPEN_WRITING(src)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (_zip_source_call(src, NULL, offset, ZIP_SOURCE_BEGIN_WRITE_CLONING) < 0) { + return -1; + } + + src->write_state = ZIP_SOURCE_WRITE_OPEN; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_buffer.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_buffer.c new file mode 100644 index 000000000..119bc02c2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_buffer.c @@ -0,0 +1,579 @@ +/* + zip_source_buffer.c -- create zip data source from buffer + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include + +#include "zipint.h" + +#ifndef WRITE_FRAGMENT_SIZE +#define WRITE_FRAGMENT_SIZE (64 * 1024) +#endif + +struct buffer { + zip_buffer_fragment_t *fragments; /* fragments */ + zip_uint64_t *fragment_offsets; /* offset of each fragment from start of buffer, nfragments+1 entries */ + zip_uint64_t nfragments; /* number of allocated fragments */ + zip_uint64_t fragments_capacity; /* size of fragments (number of pointers) */ + + zip_uint64_t first_owned_fragment; /* first fragment to free data from */ + + zip_uint64_t shared_fragments; /* number of shared fragments */ + struct buffer *shared_buffer; /* buffer fragments are shared with */ + zip_uint64_t size; /* size of buffer */ + + zip_uint64_t offset; /* current offset in buffer */ + zip_uint64_t current_fragment; /* fragment current offset is in */ +}; + +typedef struct buffer buffer_t; + +struct read_data { + zip_error_t error; + time_t mtime; + buffer_t *in; + buffer_t *out; +}; + +#define buffer_capacity(buffer) ((buffer)->fragment_offsets[(buffer)->nfragments]) +#define buffer_size(buffer) ((buffer)->size) + +static buffer_t *buffer_clone(buffer_t *buffer, zip_uint64_t length, zip_error_t *error); +static zip_uint64_t buffer_find_fragment(const buffer_t *buffer, zip_uint64_t offset); +static void buffer_free(buffer_t *buffer); +static bool buffer_grow_fragments(buffer_t *buffer, zip_uint64_t capacity, zip_error_t *error); +static buffer_t *buffer_new(const zip_buffer_fragment_t *fragments, zip_uint64_t nfragments, int free_data, zip_error_t *error); +static zip_int64_t buffer_read(buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length); +static int buffer_seek(buffer_t *buffer, void *data, zip_uint64_t len, zip_error_t *error); +static zip_int64_t buffer_write(buffer_t *buffer, const zip_uint8_t *data, zip_uint64_t length, zip_error_t *); + +static zip_int64_t read_data(void *, void *, zip_uint64_t, zip_source_cmd_t); + + +ZIP_EXTERN zip_source_t * +zip_source_buffer(zip_t *za, const void *data, zip_uint64_t len, int freep) { + if (za == NULL) + return NULL; + + return zip_source_buffer_create(data, len, freep, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_buffer_create(const void *data, zip_uint64_t len, int freep, zip_error_t *error) { + zip_buffer_fragment_t fragment; + + if (data == NULL && len > 0) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + fragment.data = (zip_uint8_t *)data; + fragment.length = len; + + return zip_source_buffer_fragment_create(&fragment, 1, freep, error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_buffer_fragment(zip_t *za, const zip_buffer_fragment_t *fragments, zip_uint64_t nfragments, int freep) { + if (za == NULL) { + return NULL; + } + + return zip_source_buffer_fragment_create(fragments, nfragments, freep, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_buffer_fragment_create(const zip_buffer_fragment_t *fragments, zip_uint64_t nfragments, int freep, zip_error_t *error) { + struct read_data *ctx; + zip_source_t *zs; + buffer_t *buffer; + + if (fragments == NULL && nfragments > 0) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((buffer = buffer_new(fragments, nfragments, freep, error)) == NULL) { + return NULL; + } + + if ((ctx = (struct read_data *)malloc(sizeof(*ctx))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + buffer_free(buffer); + return NULL; + } + + ctx->in = buffer; + ctx->out = NULL; + ctx->mtime = time(NULL); + zip_error_init(&ctx->error); + + if ((zs = zip_source_function_create(read_data, ctx, error)) == NULL) { + buffer_free(ctx->in); + free(ctx); + return NULL; + } + + return zs; +} + + +static zip_int64_t +read_data(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + struct read_data *ctx = (struct read_data *)state; + + switch (cmd) { + case ZIP_SOURCE_BEGIN_WRITE: + if ((ctx->out = buffer_new(NULL, 0, 0, &ctx->error)) == NULL) { + return -1; + } + ctx->out->offset = 0; + ctx->out->current_fragment = 0; + return 0; + + case ZIP_SOURCE_BEGIN_WRITE_CLONING: + if ((ctx->out = buffer_clone(ctx->in, len, &ctx->error)) == NULL) { + return -1; + } + ctx->out->offset = len; + ctx->out->current_fragment = ctx->out->nfragments; + return 0; + + case ZIP_SOURCE_CLOSE: + return 0; + + case ZIP_SOURCE_COMMIT_WRITE: + buffer_free(ctx->in); + ctx->in = ctx->out; + ctx->out = NULL; + return 0; + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + buffer_free(ctx->in); + buffer_free(ctx->out); + free(ctx); + return 0; + + case ZIP_SOURCE_OPEN: + ctx->in->offset = 0; + ctx->in->current_fragment = 0; + return 0; + + case ZIP_SOURCE_READ: + if (len > ZIP_INT64_MAX) { + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } + return buffer_read(ctx->in, data, len); + + case ZIP_SOURCE_REMOVE: { + buffer_t *empty = buffer_new(NULL, 0, 0, &ctx->error); + if (empty == NULL) { + return -1; + } + + buffer_free(ctx->in); + ctx->in = empty; + return 0; + } + + case ZIP_SOURCE_ROLLBACK_WRITE: + buffer_free(ctx->out); + ctx->out = NULL; + return 0; + + case ZIP_SOURCE_SEEK: + return buffer_seek(ctx->in, data, len, &ctx->error); + + case ZIP_SOURCE_SEEK_WRITE: + return buffer_seek(ctx->out, data, len, &ctx->error); + + case ZIP_SOURCE_STAT: { + zip_stat_t *st; + + if (len < sizeof(*st)) { + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } + + st = (zip_stat_t *)data; + + zip_stat_init(st); + st->mtime = ctx->mtime; + st->size = ctx->in->size; + st->comp_size = st->size; + st->comp_method = ZIP_CM_STORE; + st->encryption_method = ZIP_EM_NONE; + st->valid = ZIP_STAT_MTIME | ZIP_STAT_SIZE | ZIP_STAT_COMP_SIZE | ZIP_STAT_COMP_METHOD | ZIP_STAT_ENCRYPTION_METHOD; + + return sizeof(*st); + } + + case ZIP_SOURCE_SUPPORTS: + return zip_source_make_command_bitmap(ZIP_SOURCE_OPEN, ZIP_SOURCE_READ, ZIP_SOURCE_CLOSE, ZIP_SOURCE_STAT, ZIP_SOURCE_ERROR, ZIP_SOURCE_FREE, ZIP_SOURCE_SEEK, ZIP_SOURCE_TELL, ZIP_SOURCE_BEGIN_WRITE, ZIP_SOURCE_BEGIN_WRITE_CLONING, ZIP_SOURCE_COMMIT_WRITE, ZIP_SOURCE_REMOVE, ZIP_SOURCE_ROLLBACK_WRITE, ZIP_SOURCE_SEEK_WRITE, ZIP_SOURCE_TELL_WRITE, ZIP_SOURCE_WRITE, -1); + + case ZIP_SOURCE_TELL: + if (ctx->in->offset > ZIP_INT64_MAX) { + zip_error_set(&ctx->error, ZIP_ER_TELL, EOVERFLOW); + return -1; + } + return (zip_int64_t)ctx->in->offset; + + + case ZIP_SOURCE_TELL_WRITE: + if (ctx->out->offset > ZIP_INT64_MAX) { + zip_error_set(&ctx->error, ZIP_ER_TELL, EOVERFLOW); + return -1; + } + return (zip_int64_t)ctx->out->offset; + + case ZIP_SOURCE_WRITE: + if (len > ZIP_INT64_MAX) { + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } + return buffer_write(ctx->out, data, len, &ctx->error); + + default: + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } +} + + +static buffer_t * +buffer_clone(buffer_t *buffer, zip_uint64_t offset, zip_error_t *error) { + zip_uint64_t fragment, fragment_offset, waste; + buffer_t *clone; + + if (offset == 0) { + return buffer_new(NULL, 0, 1, error); + } + + if (offset > buffer->size) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + if (buffer->shared_buffer != NULL) { + zip_error_set(error, ZIP_ER_INUSE, 0); + return NULL; + } + + fragment = buffer_find_fragment(buffer, offset); + fragment_offset = offset - buffer->fragment_offsets[fragment]; + + if (fragment_offset == 0) { + fragment--; + fragment_offset = buffer->fragments[fragment].length; + } + + waste = buffer->fragments[fragment].length - fragment_offset; + if (waste > offset) { + zip_error_set(error, ZIP_ER_OPNOTSUPP, 0); + return NULL; + } + + if ((clone = buffer_new(buffer->fragments, fragment + 1, 0, error)) == NULL) { + return NULL; + } + +#ifndef __clang_analyzer__ + /* clone->fragments can't be null, since it was created with at least one fragment */ + clone->fragments[clone->nfragments - 1].length = fragment_offset; +#endif + clone->fragment_offsets[clone->nfragments] = offset; + clone->size = offset; + + clone->first_owned_fragment = ZIP_MIN(buffer->first_owned_fragment, clone->nfragments - 1); + + buffer->shared_buffer = clone; + clone->shared_buffer = buffer; + buffer->shared_fragments = clone->nfragments; + clone->shared_fragments = fragment + 1; + + return clone; +} + + +static zip_uint64_t +buffer_find_fragment(const buffer_t *buffer, zip_uint64_t offset) { + zip_uint64_t low, high, mid; + + low = 0; + high = buffer->nfragments - 1; + + while (low < high) { + mid = (high - low) / 2 + low; + if (buffer->fragment_offsets[mid] > offset) { + high = mid - 1; + } + else if (mid == buffer->nfragments || buffer->fragment_offsets[mid + 1] > offset) { + return mid; + } + else { + low = mid + 1; + } + } + + return low; +} + + +static void +buffer_free(buffer_t *buffer) { + zip_uint64_t i; + + if (buffer == NULL) { + return; + } + + if (buffer->shared_buffer != NULL) { + buffer->shared_buffer->shared_buffer = NULL; + buffer->shared_buffer->shared_fragments = 0; + + buffer->first_owned_fragment = ZIP_MAX(buffer->first_owned_fragment, buffer->shared_fragments); + } + + for (i = buffer->first_owned_fragment; i < buffer->nfragments; i++) { + free(buffer->fragments[i].data); + } + free(buffer->fragments); + free(buffer->fragment_offsets); + free(buffer); +} + + +static bool +buffer_grow_fragments(buffer_t *buffer, zip_uint64_t capacity, zip_error_t *error) { + zip_buffer_fragment_t *fragments; + zip_uint64_t *offsets; + + if (capacity < buffer->fragments_capacity) { + return true; + } + + if ((fragments = realloc(buffer->fragments, sizeof(buffer->fragments[0]) * capacity)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return false; + } + buffer->fragments = fragments; + if ((offsets = realloc(buffer->fragment_offsets, sizeof(buffer->fragment_offsets[0]) * (capacity + 1))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return false; + } + buffer->fragment_offsets = offsets; + buffer->fragments_capacity = capacity; + + return true; +} + + +static buffer_t * +buffer_new(const zip_buffer_fragment_t *fragments, zip_uint64_t nfragments, int free_data, zip_error_t *error) { + buffer_t *buffer; + + if ((buffer = malloc(sizeof(*buffer))) == NULL) { + return NULL; + } + + buffer->offset = 0; + buffer->first_owned_fragment = 0; + buffer->size = 0; + buffer->fragments = NULL; + buffer->fragment_offsets = NULL; + buffer->nfragments = 0; + buffer->fragments_capacity = 0; + buffer->shared_buffer = NULL; + buffer->shared_fragments = 0; + + if (nfragments == 0) { + if ((buffer->fragment_offsets = malloc(sizeof(buffer->fragment_offsets[0]))) == NULL) { + free(buffer); + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + buffer->fragment_offsets[0] = 0; + } + else { + zip_uint64_t i, j, offset; + + if (!buffer_grow_fragments(buffer, nfragments, NULL)) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + buffer_free(buffer); + return NULL; + } + + offset = 0; + for (i = 0, j = 0; i < nfragments; i++) { + if (fragments[i].length == 0) { + continue; + } + if (fragments[i].data == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + buffer_free(buffer); + return NULL; + } + buffer->fragments[j].data = fragments[i].data; + buffer->fragments[j].length = fragments[i].length; + buffer->fragment_offsets[i] = offset; + offset += fragments[i].length; + j++; + } + buffer->nfragments = j; + buffer->first_owned_fragment = free_data ? 0 : buffer->nfragments; + buffer->fragment_offsets[nfragments] = offset; + buffer->size = offset; + } + + return buffer; +} + +static zip_int64_t +buffer_read(buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length) { + zip_uint64_t n, i, fragment_offset; + + length = ZIP_MIN(length, buffer->size - buffer->offset); + + if (length == 0) { + return 0; + } + if (length > ZIP_INT64_MAX) { + return -1; + } + + i = buffer->current_fragment; + fragment_offset = buffer->offset - buffer->fragment_offsets[i]; + n = 0; + while (n < length) { + zip_uint64_t left = ZIP_MIN(length - n, buffer->fragments[i].length - fragment_offset); + + memcpy(data + n, buffer->fragments[i].data + fragment_offset, left); + + if (left == buffer->fragments[i].length - fragment_offset) { + i++; + } + n += left; + fragment_offset = 0; + } + + buffer->offset += n; + buffer->current_fragment = i; + return (zip_int64_t)n; +} + + +static int +buffer_seek(buffer_t *buffer, void *data, zip_uint64_t len, zip_error_t *error) { + zip_int64_t new_offset = zip_source_seek_compute_offset(buffer->offset, buffer->size, data, len, error); + + if (new_offset < 0) { + return -1; + } + + buffer->offset = (zip_uint64_t)new_offset; + buffer->current_fragment = buffer_find_fragment(buffer, buffer->offset); + return 0; +} + + +static zip_int64_t +buffer_write(buffer_t *buffer, const zip_uint8_t *data, zip_uint64_t length, zip_error_t *error) { + zip_uint64_t n, i, fragment_offset, capacity; + + if (buffer->offset + length + WRITE_FRAGMENT_SIZE - 1 < length) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return -1; + } + + /* grow buffer if needed */ + capacity = buffer_capacity(buffer); + if (buffer->offset + length > capacity) { + zip_uint64_t needed_fragments = buffer->nfragments + (length - (capacity - buffer->offset) + WRITE_FRAGMENT_SIZE - 1) / WRITE_FRAGMENT_SIZE; + + if (needed_fragments > buffer->fragments_capacity) { + zip_uint64_t new_capacity = buffer->fragments_capacity; + + if (new_capacity == 0) { + new_capacity = 16; + } + while (new_capacity < needed_fragments) { + new_capacity *= 2; + } + + if (!buffer_grow_fragments(buffer, new_capacity, error)) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return -1; + } + } + + while (buffer->nfragments < needed_fragments) { + if ((buffer->fragments[buffer->nfragments].data = malloc(WRITE_FRAGMENT_SIZE)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return -1; + } + buffer->fragments[buffer->nfragments].length = WRITE_FRAGMENT_SIZE; + buffer->nfragments++; + capacity += WRITE_FRAGMENT_SIZE; + buffer->fragment_offsets[buffer->nfragments] = capacity; + } + } + + i = buffer->current_fragment; + fragment_offset = buffer->offset - buffer->fragment_offsets[i]; + n = 0; + while (n < length) { + zip_uint64_t left = ZIP_MIN(length - n, buffer->fragments[i].length - fragment_offset); + + memcpy(buffer->fragments[i].data + fragment_offset, data + n, left); + + if (left == buffer->fragments[i].length - fragment_offset) { + i++; + } + n += left; + fragment_offset = 0; + } + + buffer->offset += n; + buffer->current_fragment = i; + if (buffer->offset > buffer->size) { + buffer->size = buffer->offset; + } + + return (zip_int64_t)n; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_call.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_call.c new file mode 100644 index 000000000..3f374fc50 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_call.c @@ -0,0 +1,68 @@ +/* + zip_source_call.c -- invoke callback command on zip_source + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + +#include "zipint.h" + + +zip_int64_t +_zip_source_call(zip_source_t *src, void *data, zip_uint64_t length, zip_source_cmd_t command) { + zip_int64_t ret; + + if ((src->supports & ZIP_SOURCE_MAKE_COMMAND_BITMASK(command)) == 0) { + zip_error_set(&src->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } + + if (src->src == NULL) { + ret = src->cb.f(src->ud, data, length, command); + } + else { + ret = src->cb.l(src->src, src->ud, data, length, command); + } + + if (ret < 0) { + if (command != ZIP_SOURCE_ERROR && command != ZIP_SOURCE_SUPPORTS) { + int e[2]; + + if (_zip_source_call(src, e, sizeof(e), ZIP_SOURCE_ERROR) < 0) { + zip_error_set(&src->error, ZIP_ER_INTERNAL, 0); + } + else { + zip_error_set(&src->error, e[0], e[1]); + } + } + } + + return ret; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_close.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_close.c new file mode 100644 index 000000000..791655009 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_close.c @@ -0,0 +1,57 @@ +/* + zip_source_close.c -- close zip_source (stop reading) + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +int +zip_source_close(zip_source_t *src) { + if (!ZIP_SOURCE_IS_OPEN_READING(src)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + src->open_count--; + if (src->open_count == 0) { + _zip_source_call(src, NULL, 0, ZIP_SOURCE_CLOSE); + + if (ZIP_SOURCE_IS_LAYERED(src)) { + if (zip_source_close(src->src) < 0) { + zip_error_set(&src->error, ZIP_ER_INTERNAL, 0); + } + } + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_commit_write.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_commit_write.c new file mode 100644 index 000000000..67881f056 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_commit_write.c @@ -0,0 +1,63 @@ +/* + zip_source_commit_write.c -- commit changes to file + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_source_commit_write(zip_source_t *src) { + if (!ZIP_SOURCE_IS_OPEN_WRITING(src)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (src->open_count > 1) { + zip_error_set(&src->error, ZIP_ER_INUSE, 0); + return -1; + } + else if (ZIP_SOURCE_IS_OPEN_READING(src)) { + if (zip_source_close(src) < 0) { + return -1; + } + } + + if (_zip_source_call(src, NULL, 0, ZIP_SOURCE_COMMIT_WRITE) < 0) { + src->write_state = ZIP_SOURCE_WRITE_FAILED; + return -1; + } + + src->write_state = ZIP_SOURCE_WRITE_CLOSED; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_compress.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_compress.c new file mode 100644 index 000000000..d2ae220ca --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_compress.c @@ -0,0 +1,367 @@ +/* + zip_source_compress.c -- (de)compression routines + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include +#include + +#include "zipint.h" + +struct context { + zip_error_t error; + + bool end_of_input; + bool end_of_stream; + bool can_store; + bool is_stored; /* only valid if end_of_stream is true */ + bool compress; + zip_int32_t method; + + zip_uint64_t size; + zip_int64_t first_read; + zip_uint8_t buffer[BUFSIZE]; + + zip_compression_algorithm_t *algorithm; + void *ud; +}; + + +struct implementation { + zip_uint16_t method; + zip_compression_algorithm_t *compress; + zip_compression_algorithm_t *decompress; +}; + +static struct implementation implementations[] = { + {ZIP_CM_DEFLATE, &zip_algorithm_deflate_compress, &zip_algorithm_deflate_decompress}, +#if defined(HAVE_LIBBZ2) + {ZIP_CM_BZIP2, &zip_algorithm_bzip2_compress, &zip_algorithm_bzip2_decompress}, +#endif +}; + +static size_t implementations_size = sizeof(implementations) / sizeof(implementations[0]); + +static zip_source_t *compression_source_new(zip_t *za, zip_source_t *src, zip_int32_t method, bool compress, int compression_flags); +static zip_int64_t compress_callback(zip_source_t *, void *, void *, zip_uint64_t, zip_source_cmd_t); +static void context_free(struct context *ctx); +static struct context *context_new(zip_int32_t method, bool compress, int compression_flags, zip_compression_algorithm_t *algorithm); +static zip_int64_t compress_read(zip_source_t *, struct context *, void *, zip_uint64_t); + +static zip_compression_algorithm_t * +get_algorithm(zip_int32_t method, bool compress) { + size_t i; + zip_uint16_t real_method = ZIP_CM_ACTUAL(method); + + for (i = 0; i < implementations_size; i++) { + if (implementations[i].method == real_method) { + if (compress) { + return implementations[i].compress; + } + else { + return implementations[i].decompress; + } + } + } + + return NULL; +} + +bool +zip_compression_method_supported(zip_int32_t method, bool compress) { + if (method == ZIP_CM_STORE) { + return true; + } + return get_algorithm(method, compress) != NULL; +} + +zip_source_t * +zip_source_compress(zip_t *za, zip_source_t *src, zip_int32_t method, int compression_flags) { + return compression_source_new(za, src, method, true, compression_flags); +} + +zip_source_t * +zip_source_decompress(zip_t *za, zip_source_t *src, zip_int32_t method) { + return compression_source_new(za, src, method, false, 0); +} + + +static zip_source_t * +compression_source_new(zip_t *za, zip_source_t *src, zip_int32_t method, bool compress, int compression_flags) { + struct context *ctx; + zip_source_t *s2; + zip_compression_algorithm_t *algorithm = NULL; + + if (src == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((algorithm = get_algorithm(method, compress)) == NULL) { + zip_error_set(&za->error, ZIP_ER_COMPNOTSUPP, 0); + return NULL; + } + + if ((ctx = context_new(method, compress, compression_flags, algorithm)) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if ((s2 = zip_source_layered(za, src, compress_callback, ctx)) == NULL) { + context_free(ctx); + return NULL; + } + + return s2; +} + + +static struct context * +context_new(zip_int32_t method, bool compress, int compression_flags, zip_compression_algorithm_t *algorithm) { + struct context *ctx; + + if ((ctx = (struct context *)malloc(sizeof(*ctx))) == NULL) { + return NULL; + } + zip_error_init(&ctx->error); + ctx->can_store = compress ? ZIP_CM_IS_DEFAULT(method) : false; + ctx->algorithm = algorithm; + ctx->method = method; + ctx->compress = compress; + ctx->end_of_input = false; + ctx->end_of_stream = false; + ctx->is_stored = false; + + if ((ctx->ud = ctx->algorithm->allocate(ZIP_CM_ACTUAL(method), compression_flags, &ctx->error)) == NULL) { + zip_error_fini(&ctx->error); + free(ctx); + return NULL; + } + + return ctx; +} + + +static void +context_free(struct context *ctx) { + if (ctx == NULL) { + return; + } + + ctx->algorithm->deallocate(ctx->ud); + zip_error_fini(&ctx->error); + + free(ctx); +} + + +static zip_int64_t +compress_read(zip_source_t *src, struct context *ctx, void *data, zip_uint64_t len) { + zip_compression_status_t ret; + bool end; + zip_int64_t n; + zip_uint64_t out_offset; + zip_uint64_t out_len; + + if (zip_error_code_zip(&ctx->error) != ZIP_ER_OK) { + return -1; + } + + if (len == 0 || ctx->end_of_stream) { + return 0; + } + + out_offset = 0; + + end = false; + while (!end && out_offset < len) { + out_len = len - out_offset; + ret = ctx->algorithm->process(ctx->ud, (zip_uint8_t *)data + out_offset, &out_len); + + if (ret != ZIP_COMPRESSION_ERROR) { + out_offset += out_len; + } + + switch (ret) { + case ZIP_COMPRESSION_END: + ctx->end_of_stream = true; + + if (!ctx->end_of_input) { + /* TODO: garbage after stream, or compression ended before all data read */ + } + + if (ctx->first_read < 0) { + /* we got end of processed stream before reading any input data */ + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + end = true; + break; + } + if (ctx->can_store && (zip_uint64_t)ctx->first_read <= out_offset) { + ctx->is_stored = true; + ctx->size = (zip_uint64_t)ctx->first_read; + memcpy(data, ctx->buffer, ctx->size); + return (zip_int64_t)ctx->size; + } + end = true; + break; + + case ZIP_COMPRESSION_OK: + break; + + case ZIP_COMPRESSION_NEED_DATA: + if (ctx->end_of_input) { + /* TODO: error: stream not ended, but no more input */ + end = true; + break; + } + + if ((n = zip_source_read(src, ctx->buffer, sizeof(ctx->buffer))) < 0) { + _zip_error_set_from_source(&ctx->error, src); + end = true; + break; + } + else if (n == 0) { + ctx->end_of_input = true; + ctx->algorithm->end_of_input(ctx->ud); + if (ctx->first_read < 0) { + ctx->first_read = 0; + } + } + else { + if (ctx->first_read >= 0) { + /* we overwrote a previously filled ctx->buffer */ + ctx->can_store = false; + } + else { + ctx->first_read = n; + } + + ctx->algorithm->input(ctx->ud, ctx->buffer, (zip_uint64_t)n); + } + break; + + case ZIP_COMPRESSION_ERROR: + /* error set by algorithm */ + if (zip_error_code_zip(&ctx->error) == ZIP_ER_OK) { + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + } + end = true; + break; + } + } + + if (out_offset > 0) { + ctx->can_store = false; + ctx->size += out_offset; + return (zip_int64_t)out_offset; + } + + return (zip_error_code_zip(&ctx->error) == ZIP_ER_OK) ? 0 : -1; +} + + +static zip_int64_t +compress_callback(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + struct context *ctx; + + ctx = (struct context *)ud; + + switch (cmd) { + case ZIP_SOURCE_OPEN: + ctx->size = 0; + ctx->end_of_input = false; + ctx->end_of_stream = false; + ctx->is_stored = false; + ctx->first_read = -1; + + if (!ctx->algorithm->start(ctx->ud)) { + return -1; + } + + return 0; + + case ZIP_SOURCE_READ: + return compress_read(src, ctx, data, len); + + case ZIP_SOURCE_CLOSE: + if (!ctx->algorithm->end(ctx->ud)) { + return -1; + } + return 0; + + case ZIP_SOURCE_STAT: { + zip_stat_t *st; + + st = (zip_stat_t *)data; + + if (ctx->compress) { + if (ctx->end_of_stream) { + st->comp_method = ctx->is_stored ? ZIP_CM_STORE : ZIP_CM_ACTUAL(ctx->method); + st->comp_size = ctx->size; + st->valid |= ZIP_STAT_COMP_SIZE | ZIP_STAT_COMP_METHOD; + } + else { + st->valid &= ~(ZIP_STAT_COMP_SIZE | ZIP_STAT_COMP_METHOD); + } + } + else { + st->comp_method = ZIP_CM_STORE; + st->valid |= ZIP_STAT_COMP_METHOD; + if (ctx->end_of_stream) { + st->size = ctx->size; + st->valid |= ZIP_STAT_SIZE; + } + else { + st->valid &= ~ZIP_STAT_SIZE; + } + } + } + return 0; + + case ZIP_SOURCE_GET_COMPRESSION_FLAGS: + return ctx->is_stored ? 0 : ctx->algorithm->compression_flags(ctx->ud); + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + context_free(ctx); + return 0; + + case ZIP_SOURCE_SUPPORTS: + return ZIP_SOURCE_SUPPORTS_READABLE | zip_source_make_command_bitmap(ZIP_SOURCE_GET_COMPRESSION_FLAGS, -1); + + default: + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + return -1; + } +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_crc.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_crc.c new file mode 100644 index 000000000..e16f92988 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_crc.c @@ -0,0 +1,197 @@ +/* + zip_source_crc.c -- pass-through source that calculates CRC32 and size + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include + +#include "zipint.h" + +struct crc_context { + int validate; /* whether to check CRC on EOF and return error on mismatch */ + int crc_complete; /* whether CRC was computed for complete file */ + zip_error_t error; + zip_uint64_t size; + zip_uint64_t position; /* current reading position */ + zip_uint64_t crc_position; /* how far we've computed the CRC */ + zip_uint32_t crc; +}; + +static zip_int64_t crc_read(zip_source_t *, void *, void *, zip_uint64_t, zip_source_cmd_t); + + +zip_source_t * +zip_source_crc(zip_t *za, zip_source_t *src, int validate) { + struct crc_context *ctx; + + if (src == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((ctx = (struct crc_context *)malloc(sizeof(*ctx))) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return NULL; + } + + zip_error_init(&ctx->error); + ctx->validate = validate; + ctx->crc_complete = 0; + ctx->crc_position = 0; + ctx->crc = (zip_uint32_t)crc32(0, NULL, 0); + ctx->size = 0; + + return zip_source_layered(za, src, crc_read, ctx); +} + + +static zip_int64_t +crc_read(zip_source_t *src, void *_ctx, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + struct crc_context *ctx; + zip_int64_t n; + + ctx = (struct crc_context *)_ctx; + + switch (cmd) { + case ZIP_SOURCE_OPEN: + ctx->position = 0; + return 0; + + case ZIP_SOURCE_READ: + if ((n = zip_source_read(src, data, len)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + if (n == 0) { + if (ctx->crc_position == ctx->position) { + ctx->crc_complete = 1; + ctx->size = ctx->position; + + if (ctx->validate) { + struct zip_stat st; + + if (zip_source_stat(src, &st) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + if ((st.valid & ZIP_STAT_CRC) && st.crc != ctx->crc) { + zip_error_set(&ctx->error, ZIP_ER_CRC, 0); + return -1; + } + if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) { + zip_error_set(&ctx->error, ZIP_ER_INCONS, 0); + return -1; + } + } + } + } + else if (!ctx->crc_complete && ctx->position <= ctx->crc_position) { + zip_uint64_t i, nn; + + for (i = ctx->crc_position - ctx->position; i < (zip_uint64_t)n; i += nn) { + nn = ZIP_MIN(UINT_MAX, (zip_uint64_t)n - i); + + ctx->crc = (zip_uint32_t)crc32(ctx->crc, (const Bytef *)data + i, (uInt)nn); + ctx->crc_position += nn; + } + } + ctx->position += (zip_uint64_t)n; + return n; + + case ZIP_SOURCE_CLOSE: + return 0; + + case ZIP_SOURCE_STAT: { + zip_stat_t *st; + + st = (zip_stat_t *)data; + + if (ctx->crc_complete) { + /* TODO: Set comp_size, comp_method, encryption_method? + After all, this only works for uncompressed data. */ + st->size = ctx->size; + st->crc = ctx->crc; + st->comp_size = ctx->size; + st->comp_method = ZIP_CM_STORE; + st->encryption_method = ZIP_EM_NONE; + st->valid |= ZIP_STAT_SIZE | ZIP_STAT_CRC | ZIP_STAT_COMP_SIZE | ZIP_STAT_COMP_METHOD | ZIP_STAT_ENCRYPTION_METHOD; + } + return 0; + } + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + free(ctx); + return 0; + + case ZIP_SOURCE_SUPPORTS: { + zip_int64_t mask = zip_source_supports(src); + + if (mask < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + return mask & ~zip_source_make_command_bitmap(ZIP_SOURCE_BEGIN_WRITE, ZIP_SOURCE_COMMIT_WRITE, ZIP_SOURCE_ROLLBACK_WRITE, ZIP_SOURCE_SEEK_WRITE, ZIP_SOURCE_TELL_WRITE, ZIP_SOURCE_REMOVE, ZIP_SOURCE_GET_COMPRESSION_FLAGS, -1); + } + + case ZIP_SOURCE_SEEK: { + zip_int64_t new_position; + zip_source_args_seek_t *args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, len, &ctx->error); + + if (args == NULL) { + return -1; + } + if (zip_source_seek(src, args->offset, args->whence) < 0 || (new_position = zip_source_tell(src)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + ctx->position = (zip_uint64_t)new_position; + + return 0; + } + + case ZIP_SOURCE_TELL: + return (zip_int64_t)ctx->position; + + default: + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_error.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_error.c new file mode 100644 index 000000000..1e0e0d46c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_error.c @@ -0,0 +1,46 @@ +/* + zip_source_error.c -- get last error from zip_source + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +zip_error_t * +zip_source_error(zip_source_t *src) { + return &src->error; +} + +bool +_zip_source_had_error(zip_source_t *src) { + return zip_source_error(src)->zip_err != ZIP_ER_OK; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_file.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_file.c new file mode 100644 index 000000000..871478522 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_file.c @@ -0,0 +1,61 @@ +/* + zip_source_file.c -- create data source from file + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + +#ifdef _WIN32 +#error This file is incompatible with Windows, use zip_source_win32utf8.c instead. +#error Something probably went wrong with configure/cmake. +#endif + +ZIP_EXTERN zip_source_t * +zip_source_file(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) { + if (za == NULL) + return NULL; + + return zip_source_file_create(fname, start, len, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) { + if (fname == NULL || length < -1) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + return _zip_source_file_or_p(fname, NULL, start, length, NULL, error); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_filep.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_filep.c new file mode 100644 index 000000000..2c33c3b7a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_filep.c @@ -0,0 +1,659 @@ +/* + zip_source_filep.c -- create data source from FILE * + Copyright (C) 1999-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include +#include +#include +#include +#include + +#include "zipint.h" + +#ifdef HAVE_UNISTD_H +#include +#endif + +#ifdef HAVE_CLONEFILE +#include +#include +#define CAN_CLONE +#endif +#ifdef HAVE_FICLONERANGE +#include +#include +#define CAN_CLONE +#endif + +#ifdef _WIN32 +/* WIN32 needs for _O_BINARY */ +#include +#endif + +/* Windows sys/types.h does not provide these */ +#ifndef S_ISREG +#define S_ISREG(m) (((m)&S_IFMT) == S_IFREG) +#endif +#if defined(S_IXUSR) && defined(S_IRWXG) && defined(S_IRWXO) +#define _SAFE_MASK (S_IXUSR | S_IRWXG | S_IRWXO) +#elif defined(_S_IWRITE) +#define _SAFE_MASK (_S_IWRITE) +#else +#error do not know safe values for umask, please report this +#endif + +#ifdef _MSC_VER +/* MSVC doesn't have mode_t */ +typedef int mode_t; +#endif + +struct read_file { + zip_error_t error; /* last error information */ + zip_int64_t supports; + + /* reading */ + char *fname; /* name of file to read from */ + FILE *f; /* file to read from */ + struct zip_stat st; /* stat information passed in */ + zip_error_t stat_error; /* error returned for stat */ + zip_uint64_t start; /* start offset of data to read */ + zip_uint64_t end; /* end offset of data to read relative to start, 0 for up to EOF */ + zip_uint64_t current; /* current offset relative to start (0 is beginning of part we read) */ + + /* writing */ + char *tmpname; + FILE *fout; +}; + +static zip_int64_t read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd); +static int create_temp_output(struct read_file *ctx); +#ifdef CAN_CLONE +static zip_int64_t create_temp_output_cloning(struct read_file *ctx, zip_uint64_t offset); +#endif +static int _zip_fseek_u(FILE *f, zip_uint64_t offset, int whence, zip_error_t *error); +static int _zip_fseek(FILE *f, zip_int64_t offset, int whence, zip_error_t *error); + + +ZIP_EXTERN zip_source_t * +zip_source_filep(zip_t *za, FILE *file, zip_uint64_t start, zip_int64_t len) { + if (za == NULL) + return NULL; + + return zip_source_filep_create(file, start, len, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_filep_create(FILE *file, zip_uint64_t start, zip_int64_t length, zip_error_t *error) { + if (file == NULL || length < -1) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + return _zip_source_file_or_p(NULL, file, start, length, NULL, error); +} + + +zip_source_t * +_zip_source_file_or_p(const char *fname, FILE *file, zip_uint64_t start, zip_int64_t len, const zip_stat_t *st, zip_error_t *error) { + struct read_file *ctx; + zip_source_t *zs; + struct stat sb; + bool stat_valid; + + if (file == NULL && fname == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if (len < 0) { + len = 0; + } + + if (start > ZIP_INT64_MAX || start + (zip_uint64_t)len < start) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((ctx = (struct read_file *)malloc(sizeof(struct read_file))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + ctx->fname = NULL; + if (fname) { + if ((ctx->fname = strdup(fname)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + free(ctx); + return NULL; + } + } + ctx->f = file; + ctx->start = start; + ctx->end = (zip_uint64_t)len; + if (st) { + memcpy(&ctx->st, st, sizeof(ctx->st)); + ctx->st.name = NULL; + ctx->st.valid &= ~ZIP_STAT_NAME; + } + else { + zip_stat_init(&ctx->st); + } + + if (ctx->end > 0) { + ctx->st.size = ctx->end; + ctx->st.valid |= ZIP_STAT_SIZE; + } + + zip_error_init(&ctx->stat_error); + + ctx->tmpname = NULL; + ctx->fout = NULL; + + zip_error_init(&ctx->error); + + ctx->supports = ZIP_SOURCE_SUPPORTS_READABLE | zip_source_make_command_bitmap(ZIP_SOURCE_SUPPORTS, ZIP_SOURCE_TELL, -1); + + if (ctx->fname) { + stat_valid = stat(ctx->fname, &sb) >= 0; + + if (!stat_valid) { + if (ctx->start == 0 && ctx->end == 0) { + ctx->supports = ZIP_SOURCE_SUPPORTS_WRITABLE; + } + } + } + else { + stat_valid = fstat(fileno(ctx->f), &sb) >= 0; + } + + if (!stat_valid) { + zip_error_set(&ctx->stat_error, ZIP_ER_READ, errno); + } + else { + if ((ctx->st.valid & ZIP_STAT_MTIME) == 0) { + ctx->st.mtime = sb.st_mtime; + ctx->st.valid |= ZIP_STAT_MTIME; + } + if (S_ISREG(sb.st_mode)) { + ctx->supports = ZIP_SOURCE_SUPPORTS_SEEKABLE; + + if (ctx->start + ctx->end > (zip_uint64_t)sb.st_size) { + zip_error_set(error, ZIP_ER_INVAL, 0); + free(ctx->fname); + free(ctx); + return NULL; + } + + if (ctx->end == 0) { + ctx->st.size = (zip_uint64_t)sb.st_size - ctx->start; + ctx->st.valid |= ZIP_STAT_SIZE; + + if (ctx->fname && start == 0) { + ctx->supports = ZIP_SOURCE_SUPPORTS_WRITABLE; + } + } + } + } + +#ifdef CAN_CLONE + if (ctx->supports & ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE)) { + ctx->supports |= ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_BEGIN_WRITE_CLONING); + } +#endif + + if ((zs = zip_source_function_create(read_file, ctx, error)) == NULL) { + free(ctx->fname); + free(ctx); + return NULL; + } + + return zs; +} + + +static int +create_temp_output(struct read_file *ctx) { + char *temp; + int tfd; + mode_t mask; + FILE *tfp; + + if ((temp = (char *)malloc(strlen(ctx->fname) + 8)) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); + return -1; + } + sprintf(temp, "%s.XXXXXX", ctx->fname); + + mask = umask(_SAFE_MASK); + if ((tfd = mkstemp(temp)) == -1) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + umask(mask); + free(temp); + return -1; + } + umask(mask); + + if ((tfp = fdopen(tfd, "r+b")) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + close(tfd); + (void)remove(temp); + free(temp); + return -1; + } + +#ifdef _WIN32 + /* + According to Pierre Joye, Windows in some environments per + default creates text files, so force binary mode. + */ + _setmode(_fileno(tfp), _O_BINARY); +#endif + + ctx->fout = tfp; + ctx->tmpname = temp; + + return 0; +} + +#ifdef CAN_CLONE +zip_int64_t static create_temp_output_cloning(struct read_file *ctx, zip_uint64_t offset) { + char *temp; + FILE *tfp; + + if (offset > ZIP_OFF_MAX) { + zip_error_set(&ctx->error, ZIP_ER_SEEK, E2BIG); + return -1; + } + + if ((temp = (char *)malloc(strlen(ctx->fname) + 8)) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); + return -1; + } + sprintf(temp, "%s.XXXXXX", ctx->fname); + +#ifdef HAVE_CLONEFILE +#ifndef __clang_analyzer__ + /* we can't use mkstemp, since clonefile insists on creating the file */ + if (mktemp(temp) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + free(temp); + return -1; + } +#endif + + if (clonefile(ctx->fname, temp, 0) < 0) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + free(temp); + return -1; + } + if ((tfp = fopen(temp, "r+b")) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + (void)remove(temp); + free(temp); + return -1; + } +#else + { + int fd; + struct file_clone_range range; + struct stat st; + + if (fstat(fileno(ctx->f), &st) < 0) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + return -1; + } + + if ((fd = mkstemp(temp)) < 0) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + free(temp); + return -1; + } + + range.src_fd = fileno(ctx->f); + range.src_offset = 0; + range.src_length = ((offset + st.st_blksize - 1) / st.st_blksize) * st.st_blksize; + if (range.src_length > st.st_size) { + range.src_length = 0; + } + range.dest_offset = 0; + if (ioctl(fd, FICLONERANGE, &range) < 0) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + (void)close(fd); + (void)remove(temp); + free(temp); + return -1; + } + + if ((tfp = fdopen(fd, "r+b")) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + (void)close(fd); + (void)remove(temp); + free(temp); + return -1; + } + } +#endif + + if (ftruncate(fileno(tfp), (off_t)offset) < 0) { + (void)fclose(tfp); + (void)remove(temp); + free(temp); + return -1; + } + if (fseeko(tfp, (off_t)offset, SEEK_SET) < 0) { + (void)fclose(tfp); + (void)remove(temp); + free(temp); + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, errno); + } + + ctx->fout = tfp; + ctx->tmpname = temp; + + return 0; +} +#endif + + +static zip_int64_t +read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + struct read_file *ctx; + char *buf; + zip_uint64_t n; + size_t i; + + ctx = (struct read_file *)state; + buf = (char *)data; + + switch (cmd) { + case ZIP_SOURCE_BEGIN_WRITE: + if (ctx->fname == NULL) { + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } + return create_temp_output(ctx); + +#ifdef CAN_CLONE + case ZIP_SOURCE_BEGIN_WRITE_CLONING: + if (ctx->fname == NULL) { + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } + return create_temp_output_cloning(ctx, len); +#endif + + case ZIP_SOURCE_COMMIT_WRITE: { + mode_t mode; + struct stat st; + + if (fclose(ctx->fout) < 0) { + ctx->fout = NULL; + zip_error_set(&ctx->error, ZIP_ER_WRITE, errno); + } + ctx->fout = NULL; + if (stat(ctx->fname, &st) == 0) { + mode = st.st_mode; + } + else { + mode_t mask = umask(022); + umask(mask); + mode = 0666 & ~mask; + } + if (rename(ctx->tmpname, ctx->fname) < 0) { + zip_error_set(&ctx->error, ZIP_ER_RENAME, errno); + return -1; + } + /* not much we can do if chmod fails except make the whole commit fail */ + (void)chmod(ctx->fname, mode); + free(ctx->tmpname); + ctx->tmpname = NULL; + return 0; + } + + case ZIP_SOURCE_CLOSE: + if (ctx->fname) { + fclose(ctx->f); + ctx->f = NULL; + } + return 0; + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + free(ctx->fname); + free(ctx->tmpname); + if (ctx->f) + fclose(ctx->f); + free(ctx); + return 0; + + case ZIP_SOURCE_OPEN: + if (ctx->fname) { + if ((ctx->f = fopen(ctx->fname, "rb")) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_OPEN, errno); + return -1; + } + } + + if (ctx->start > 0) { + if (_zip_fseek_u(ctx->f, ctx->start, SEEK_SET, &ctx->error) < 0) { + /* TODO: skip by reading */ + return -1; + } + } + ctx->current = 0; + return 0; + + case ZIP_SOURCE_READ: + if (ctx->end > 0) { + n = ctx->end - ctx->current; + if (n > len) { + n = len; + } + } + else { + n = len; + } + + if (n > SIZE_MAX) + n = SIZE_MAX; + + if ((i = fread(buf, 1, (size_t)n, ctx->f)) == 0) { + if (ferror(ctx->f)) { + zip_error_set(&ctx->error, ZIP_ER_READ, errno); + return -1; + } + } + ctx->current += i; + + return (zip_int64_t)i; + + case ZIP_SOURCE_REMOVE: + if (remove(ctx->fname) < 0) { + zip_error_set(&ctx->error, ZIP_ER_REMOVE, errno); + return -1; + } + return 0; + + case ZIP_SOURCE_ROLLBACK_WRITE: + if (ctx->fout) { + fclose(ctx->fout); + ctx->fout = NULL; + } + (void)remove(ctx->tmpname); + free(ctx->tmpname); + ctx->tmpname = NULL; + return 0; + + case ZIP_SOURCE_SEEK: { + zip_int64_t new_current; + int need_seek; + zip_source_args_seek_t *args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, len, &ctx->error); + + if (args == NULL) + return -1; + + need_seek = 1; + + switch (args->whence) { + case SEEK_SET: + new_current = args->offset; + break; + + case SEEK_END: + if (ctx->end == 0) { + if (_zip_fseek(ctx->f, args->offset, SEEK_END, &ctx->error) < 0) { + return -1; + } + if ((new_current = ftello(ctx->f)) < 0) { + zip_error_set(&ctx->error, ZIP_ER_SEEK, errno); + return -1; + } + new_current -= (zip_int64_t)ctx->start; + need_seek = 0; + } + else { + new_current = (zip_int64_t)ctx->end + args->offset; + } + break; + + case SEEK_CUR: + new_current = (zip_int64_t)ctx->current + args->offset; + break; + + default: + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (new_current < 0 || (ctx->end != 0 && (zip_uint64_t)new_current > ctx->end) || (zip_uint64_t)new_current + ctx->start < ctx->start) { + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } + + ctx->current = (zip_uint64_t)new_current; + + if (need_seek) { + if (_zip_fseek_u(ctx->f, ctx->current + ctx->start, SEEK_SET, &ctx->error) < 0) { + return -1; + } + } + return 0; + } + + case ZIP_SOURCE_SEEK_WRITE: { + zip_source_args_seek_t *args; + + args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, len, &ctx->error); + if (args == NULL) { + return -1; + } + + if (_zip_fseek(ctx->fout, args->offset, args->whence, &ctx->error) < 0) { + return -1; + } + return 0; + } + + case ZIP_SOURCE_STAT: { + if (len < sizeof(ctx->st)) + return -1; + + if (zip_error_code_zip(&ctx->stat_error) != 0) { + zip_error_set(&ctx->error, zip_error_code_zip(&ctx->stat_error), zip_error_code_system(&ctx->stat_error)); + return -1; + } + + memcpy(data, &ctx->st, sizeof(ctx->st)); + return sizeof(ctx->st); + } + + case ZIP_SOURCE_SUPPORTS: + return ctx->supports; + + case ZIP_SOURCE_TELL: + return (zip_int64_t)ctx->current; + + case ZIP_SOURCE_TELL_WRITE: { + off_t ret = ftello(ctx->fout); + + if (ret < 0) { + zip_error_set(&ctx->error, ZIP_ER_TELL, errno); + return -1; + } + return ret; + } + + case ZIP_SOURCE_WRITE: { + size_t ret; + + clearerr(ctx->fout); + ret = fwrite(data, 1, len, ctx->fout); + if (ret != len || ferror(ctx->fout)) { + zip_error_set(&ctx->error, ZIP_ER_WRITE, errno); + return -1; + } + + return (zip_int64_t)ret; + } + + default: + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } +} + + +static int +_zip_fseek_u(FILE *f, zip_uint64_t offset, int whence, zip_error_t *error) { + if (offset > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_SEEK, EOVERFLOW); + return -1; + } + return _zip_fseek(f, (zip_int64_t)offset, whence, error); +} + + +static int +_zip_fseek(FILE *f, zip_int64_t offset, int whence, zip_error_t *error) { + if (offset > ZIP_FSEEK_MAX || offset < ZIP_FSEEK_MIN) { + zip_error_set(error, ZIP_ER_SEEK, EOVERFLOW); + return -1; + } + if (fseeko(f, (off_t)offset, whence) < 0) { + zip_error_set(error, ZIP_ER_SEEK, errno); + return -1; + } + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_free.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_free.c new file mode 100644 index 000000000..dd3c6df92 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_free.c @@ -0,0 +1,71 @@ +/* + zip_source_free.c -- free zip data source + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN void +zip_source_free(zip_source_t *src) { + if (src == NULL) + return; + + if (src->refcount > 0) { + src->refcount--; + } + if (src->refcount > 0) { + return; + } + + if (ZIP_SOURCE_IS_OPEN_READING(src)) { + src->open_count = 1; /* force close */ + zip_source_close(src); + } + if (ZIP_SOURCE_IS_OPEN_WRITING(src)) { + zip_source_rollback_write(src); + } + + if (src->source_archive && !src->source_closed) { + _zip_deregister_source(src->source_archive, src); + } + + (void)_zip_source_call(src, NULL, 0, ZIP_SOURCE_FREE); + + if (src->src) { + zip_source_free(src->src); + } + + free(src); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_function.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_function.c new file mode 100644 index 000000000..c9730c959 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_function.c @@ -0,0 +1,97 @@ +/* + zip_source_function.c -- create zip data source from callback function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN zip_source_t * +zip_source_function(zip_t *za, zip_source_callback zcb, void *ud) { + if (za == NULL) { + return NULL; + } + + return zip_source_function_create(zcb, ud, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_function_create(zip_source_callback zcb, void *ud, zip_error_t *error) { + zip_source_t *zs; + + if ((zs = _zip_source_new(error)) == NULL) + return NULL; + + zs->cb.f = zcb; + zs->ud = ud; + + zs->supports = zcb(ud, NULL, 0, ZIP_SOURCE_SUPPORTS); + if (zs->supports < 0) { + zs->supports = ZIP_SOURCE_SUPPORTS_READABLE; + } + + return zs; +} + + +ZIP_EXTERN void +zip_source_keep(zip_source_t *src) { + src->refcount++; +} + + +zip_source_t * +_zip_source_new(zip_error_t *error) { + zip_source_t *src; + + if ((src = (zip_source_t *)malloc(sizeof(*src))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + src->src = NULL; + src->cb.f = NULL; + src->ud = NULL; + src->open_count = 0; + src->write_state = ZIP_SOURCE_WRITE_CLOSED; + src->source_closed = false; + src->source_archive = NULL; + src->refcount = 1; + zip_error_init(&src->error); + src->eof = false; + src->had_read_error = false; + + return src; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_get_compression_flags.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_get_compression_flags.c new file mode 100644 index 000000000..a9442aa50 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_get_compression_flags.c @@ -0,0 +1,57 @@ +/* + zip_source_get_compression_flags.c -- get compression flags for entry + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +#define ZIP_COMPRESSION_BITFLAG_MAX 3 + +zip_int8_t +zip_source_get_compression_flags(zip_source_t *src) { + while (src) { + if ((src->supports & ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_GET_COMPRESSION_FLAGS))) { + zip_int64_t ret = _zip_source_call(src, NULL, 0, ZIP_SOURCE_GET_COMPRESSION_FLAGS); + if (ret < 0) { + return -1; + } + if (ret > ZIP_COMPRESSION_BITFLAG_MAX) { + zip_error_set(&src->error, ZIP_ER_INTERNAL, 0); + return -1; + } + return (zip_int8_t)ret; + } + src = src->src; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_is_deleted.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_is_deleted.c new file mode 100644 index 000000000..090a67b41 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_is_deleted.c @@ -0,0 +1,41 @@ +/* + zip_source_is_deleted.c -- was archive was removed? + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_source_is_deleted(zip_source_t *src) { + return src->write_state == ZIP_SOURCE_WRITE_REMOVED; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_layered.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_layered.c new file mode 100644 index 000000000..580bff0ed --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_layered.c @@ -0,0 +1,67 @@ +/* + zip_source_layered.c -- create layered source + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +zip_source_t * +zip_source_layered(zip_t *za, zip_source_t *src, zip_source_layered_callback cb, void *ud) { + if (za == NULL) + return NULL; + + return zip_source_layered_create(src, cb, ud, &za->error); +} + + +zip_source_t * +zip_source_layered_create(zip_source_t *src, zip_source_layered_callback cb, void *ud, zip_error_t *error) { + zip_source_t *zs; + + if ((zs = _zip_source_new(error)) == NULL) + return NULL; + + zip_source_keep(src); + zs->src = src; + zs->cb.l = cb; + zs->ud = ud; + + zs->supports = cb(src, ud, NULL, 0, ZIP_SOURCE_SUPPORTS); + if (zs->supports < 0) { + zs->supports = ZIP_SOURCE_SUPPORTS_READABLE; + } + + return zs; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_open.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_open.c new file mode 100644 index 000000000..d10a3c550 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_open.c @@ -0,0 +1,75 @@ +/* + zip_source_open.c -- open zip_source (prepare for reading) + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +ZIP_EXTERN int +zip_source_open(zip_source_t *src) { + if (src->source_closed) { + return -1; + } + if (src->write_state == ZIP_SOURCE_WRITE_REMOVED) { + zip_error_set(&src->error, ZIP_ER_DELETED, 0); + return -1; + } + + if (ZIP_SOURCE_IS_OPEN_READING(src)) { + if ((zip_source_supports(src) & ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK)) == 0) { + zip_error_set(&src->error, ZIP_ER_INUSE, 0); + return -1; + } + } + else { + if (ZIP_SOURCE_IS_LAYERED(src)) { + if (zip_source_open(src->src) < 0) { + _zip_error_set_from_source(&src->error, src->src); + return -1; + } + } + + if (_zip_source_call(src, NULL, 0, ZIP_SOURCE_OPEN) < 0) { + if (ZIP_SOURCE_IS_LAYERED(src)) { + zip_source_close(src->src); + } + return -1; + } + } + + src->eof = false; + src->had_read_error = false; + _zip_error_clear(&src->error); + src->open_count++; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_pkware.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_pkware.c new file mode 100644 index 000000000..cc510ea5f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_pkware.c @@ -0,0 +1,215 @@ +/* + zip_source_pkware.c -- Traditional PKWARE de/encryption routines + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + +struct trad_pkware { + zip_error_t error; + zip_uint32_t key[3]; +}; + +#define HEADERLEN 12 +#define KEY0 305419896 +#define KEY1 591751049 +#define KEY2 878082192 + + +static void decrypt(struct trad_pkware *, zip_uint8_t *, const zip_uint8_t *, zip_uint64_t, int); +static int decrypt_header(zip_source_t *, struct trad_pkware *); +static zip_int64_t pkware_decrypt(zip_source_t *, void *, void *, zip_uint64_t, zip_source_cmd_t); +static void pkware_free(struct trad_pkware *); + + +zip_source_t * +zip_source_pkware(zip_t *za, zip_source_t *src, zip_uint16_t em, int flags, const char *password) { + struct trad_pkware *ctx; + zip_source_t *s2; + + if (password == NULL || src == NULL || em != ZIP_EM_TRAD_PKWARE) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + if (flags & ZIP_CODEC_ENCODE) { + zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); + return NULL; + } + + if ((ctx = (struct trad_pkware *)malloc(sizeof(*ctx))) == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return NULL; + } + + zip_error_init(&ctx->error); + + ctx->key[0] = KEY0; + ctx->key[1] = KEY1; + ctx->key[2] = KEY2; + decrypt(ctx, NULL, (const zip_uint8_t *)password, strlen(password), 1); + + if ((s2 = zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) { + pkware_free(ctx); + return NULL; + } + + return s2; +} + + +static void +decrypt(struct trad_pkware *ctx, zip_uint8_t *out, const zip_uint8_t *in, zip_uint64_t len, int update_only) { + zip_uint16_t tmp; + zip_uint64_t i; + Bytef b; + + for (i = 0; i < len; i++) { + b = in[i]; + + if (!update_only) { + /* decrypt next byte */ + tmp = (zip_uint16_t)(ctx->key[2] | 2); + tmp = (zip_uint16_t)(((zip_uint32_t)tmp * (tmp ^ 1)) >> 8); + b ^= (Bytef)tmp; + } + + /* store cleartext */ + if (out) + out[i] = b; + + /* update keys */ + ctx->key[0] = (zip_uint32_t)crc32(ctx->key[0] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL; + ctx->key[1] = (ctx->key[1] + (ctx->key[0] & 0xff)) * 134775813 + 1; + b = (Bytef)(ctx->key[1] >> 24); + ctx->key[2] = (zip_uint32_t)crc32(ctx->key[2] ^ 0xffffffffUL, &b, 1) ^ 0xffffffffUL; + } +} + + +static int +decrypt_header(zip_source_t *src, struct trad_pkware *ctx) { + zip_uint8_t header[HEADERLEN]; + struct zip_stat st; + zip_int64_t n; + unsigned short dostime, dosdate; + + if ((n = zip_source_read(src, header, HEADERLEN)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + if (n != HEADERLEN) { + zip_error_set(&ctx->error, ZIP_ER_EOF, 0); + return -1; + } + + decrypt(ctx, header, header, HEADERLEN, 0); + + if (zip_source_stat(src, &st) < 0) { + /* stat failed, skip password validation */ + return 0; + } + + _zip_u2d_time(st.mtime, &dostime, &dosdate); + + if (header[HEADERLEN - 1] != st.crc >> 24 && header[HEADERLEN - 1] != dostime >> 8) { + zip_error_set(&ctx->error, ZIP_ER_WRONGPASSWD, 0); + return -1; + } + + return 0; +} + + +static zip_int64_t +pkware_decrypt(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + struct trad_pkware *ctx; + zip_int64_t n; + + ctx = (struct trad_pkware *)ud; + + switch (cmd) { + case ZIP_SOURCE_OPEN: + if (decrypt_header(src, ctx) < 0) + return -1; + return 0; + + case ZIP_SOURCE_READ: + if ((n = zip_source_read(src, data, len)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + decrypt((struct trad_pkware *)ud, (zip_uint8_t *)data, (zip_uint8_t *)data, (zip_uint64_t)n, 0); + return n; + + case ZIP_SOURCE_CLOSE: + return 0; + + case ZIP_SOURCE_STAT: { + zip_stat_t *st; + + st = (zip_stat_t *)data; + + st->encryption_method = ZIP_EM_NONE; + st->valid |= ZIP_STAT_ENCRYPTION_METHOD; + /* TODO: deduce HEADERLEN from size for uncompressed */ + if (st->valid & ZIP_STAT_COMP_SIZE) + st->comp_size -= HEADERLEN; + + return 0; + } + + case ZIP_SOURCE_SUPPORTS: + return zip_source_make_command_bitmap(ZIP_SOURCE_OPEN, ZIP_SOURCE_READ, ZIP_SOURCE_CLOSE, ZIP_SOURCE_STAT, ZIP_SOURCE_ERROR, ZIP_SOURCE_FREE, -1); + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + pkware_free(ctx); + return 0; + + default: + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } +} + + +static void +pkware_free(struct trad_pkware *ctx) { + free(ctx); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_read.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_read.c new file mode 100644 index 000000000..816fb3d2f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_read.c @@ -0,0 +1,90 @@ +/* + zip_source_read.c -- read data from zip_source + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +zip_int64_t +zip_source_read(zip_source_t *src, void *data, zip_uint64_t len) { + zip_uint64_t bytes_read; + zip_int64_t n; + + if (src->source_closed) { + return -1; + } + if (!ZIP_SOURCE_IS_OPEN_READING(src) || len > ZIP_INT64_MAX || (len > 0 && data == NULL)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (src->had_read_error) { + return -1; + } + + if (_zip_source_eof(src)) { + return 0; + } + + if (len == 0) { + return 0; + } + + bytes_read = 0; + while (bytes_read < len) { + if ((n = _zip_source_call(src, (zip_uint8_t *)data + bytes_read, len - bytes_read, ZIP_SOURCE_READ)) < 0) { + src->had_read_error = true; + if (bytes_read == 0) { + return -1; + } + else { + return (zip_int64_t)bytes_read; + } + } + + if (n == 0) { + src->eof = 1; + break; + } + + bytes_read += (zip_uint64_t)n; + } + + return (zip_int64_t)bytes_read; +} + + +bool +_zip_source_eof(zip_source_t *src) { + return src->eof; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_remove.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_remove.c new file mode 100644 index 000000000..6841b747e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_remove.c @@ -0,0 +1,60 @@ +/* + zip_source_remove.c -- remove empty archive + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + + +#include "zipint.h" + + +int +zip_source_remove(zip_source_t *src) { + if (src->write_state == ZIP_SOURCE_WRITE_REMOVED) { + return 0; + } + + if (ZIP_SOURCE_IS_OPEN_READING(src)) { + if (zip_source_close(src) < 0) { + return -1; + } + } + if (src->write_state != ZIP_SOURCE_WRITE_CLOSED) { + zip_source_rollback_write(src); + } + + if (_zip_source_call(src, NULL, 0, ZIP_SOURCE_REMOVE) < 0) { + return -1; + } + + src->write_state = ZIP_SOURCE_WRITE_REMOVED; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_rollback_write.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_rollback_write.c new file mode 100644 index 000000000..04aa93894 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_rollback_write.c @@ -0,0 +1,46 @@ +/* + zip_source_rollback_write.c -- discard changes + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN void +zip_source_rollback_write(zip_source_t *src) { + if (src->write_state != ZIP_SOURCE_WRITE_OPEN && src->write_state != ZIP_SOURCE_WRITE_FAILED) { + return; + } + + _zip_source_call(src, NULL, 0, ZIP_SOURCE_ROLLBACK_WRITE); + src->write_state = ZIP_SOURCE_WRITE_CLOSED; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_seek.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_seek.c new file mode 100644 index 000000000..c7bd8e6ef --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_seek.c @@ -0,0 +1,95 @@ +/* + zip_source_seek.c -- seek to offset + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_source_seek(zip_source_t *src, zip_int64_t offset, int whence) { + zip_source_args_seek_t args; + + if (src->source_closed) { + return -1; + } + if (!ZIP_SOURCE_IS_OPEN_READING(src) || (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + args.offset = offset; + args.whence = whence; + + if (_zip_source_call(src, &args, sizeof(args), ZIP_SOURCE_SEEK) < 0) { + return -1; + } + + src->eof = 0; + return 0; +} + + +zip_int64_t +zip_source_seek_compute_offset(zip_uint64_t offset, zip_uint64_t length, void *data, zip_uint64_t data_length, zip_error_t *error) { + zip_int64_t new_offset; + zip_source_args_seek_t *args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, data_length, error); + + if (args == NULL) { + return -1; + } + + switch (args->whence) { + case SEEK_CUR: + new_offset = (zip_int64_t)offset + args->offset; + break; + + case SEEK_END: + new_offset = (zip_int64_t)length + args->offset; + break; + + case SEEK_SET: + new_offset = args->offset; + break; + + default: + zip_error_set(error, ZIP_ER_INVAL, 0); + return -1; + } + + if (new_offset < 0 || (zip_uint64_t)new_offset > length) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return -1; + } + + return new_offset; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_seek_write.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_seek_write.c new file mode 100644 index 000000000..a20dc82e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_seek_write.c @@ -0,0 +1,51 @@ +/* + zip_source_seek_write.c -- seek to offset for writing + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_source_seek_write(zip_source_t *src, zip_int64_t offset, int whence) { + zip_source_args_seek_t args; + + if (!ZIP_SOURCE_IS_OPEN_WRITING(src) || (whence != SEEK_SET && whence != SEEK_CUR && whence != SEEK_END)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + args.offset = offset; + args.whence = whence; + + return (_zip_source_call(src, &args, sizeof(args), ZIP_SOURCE_SEEK_WRITE) < 0 ? -1 : 0); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_stat.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_stat.c new file mode 100644 index 000000000..f3af3be9e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_stat.c @@ -0,0 +1,62 @@ +/* + zip_source_stat.c -- get meta information from zip_source + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_source_stat(zip_source_t *src, zip_stat_t *st) { + if (src->source_closed) { + return -1; + } + if (st == NULL) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + zip_stat_init(st); + + if (ZIP_SOURCE_IS_LAYERED(src)) { + if (zip_source_stat(src->src, st) < 0) { + _zip_error_set_from_source(&src->error, src->src); + return -1; + } + } + + if (_zip_source_call(src, st, sizeof(*st), ZIP_SOURCE_STAT) < 0) { + return -1; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_supports.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_supports.c new file mode 100644 index 000000000..394f06ec6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_supports.c @@ -0,0 +1,65 @@ +/* + zip_source_supports.c -- check for supported functions + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +zip_int64_t +zip_source_supports(zip_source_t *src) { + return src->supports; +} + + +ZIP_EXTERN zip_int64_t +zip_source_make_command_bitmap(zip_source_cmd_t cmd0, ...) { + zip_int64_t bitmap; + va_list ap; + + bitmap = ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd0); + + + va_start(ap, cmd0); + for (;;) { + int cmd = va_arg(ap, int); + if (cmd < 0) { + break; + } + bitmap |= ZIP_SOURCE_MAKE_COMMAND_BITMASK(cmd); + } + va_end(ap); + + return bitmap; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_tell.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_tell.c new file mode 100644 index 000000000..da13cf519 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_tell.c @@ -0,0 +1,49 @@ +/* + zip_source_tell.c -- report current offset + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN zip_int64_t +zip_source_tell(zip_source_t *src) { + if (src->source_closed) { + return -1; + } + if (!ZIP_SOURCE_IS_OPEN_READING(src)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + return _zip_source_call(src, NULL, 0, ZIP_SOURCE_TELL); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_tell_write.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_tell_write.c new file mode 100644 index 000000000..d20139fe1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_tell_write.c @@ -0,0 +1,46 @@ +/* + zip_source_tell_write.c -- report current offset for writing + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN zip_int64_t +zip_source_tell_write(zip_source_t *src) { + if (!ZIP_SOURCE_IS_OPEN_WRITING(src)) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + return _zip_source_call(src, NULL, 0, ZIP_SOURCE_TELL_WRITE); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32a.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32a.c new file mode 100644 index 000000000..79bb2e832 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32a.c @@ -0,0 +1,120 @@ +/* + zip_source_win32a.c -- create data source from Windows file (ANSI) + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" +#include "zipwin32.h" + +static void *_win32_strdup_a(const void *str); +static HANDLE _win32_open_a(_zip_source_win32_read_file_t *ctx); +static HANDLE _win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa); +static int _win32_rename_temp_a(_zip_source_win32_read_file_t *ctx); +static int _win32_remove_a(const void *fname); + +// clang-format off +static _zip_source_win32_file_ops_t win32_ops_a = { + _win32_strdup_a, + _win32_open_a, + _win32_create_temp_a, + _win32_rename_temp_a, + _win32_remove_a +}; +// clang-format on + +ZIP_EXTERN zip_source_t * +zip_source_win32a(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) { + if (za == NULL) + return NULL; + + return zip_source_win32a_create(fname, start, len, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_win32a_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) { + if (fname == NULL || length < -1) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + return _zip_source_win32_handle_or_name(fname, INVALID_HANDLE_VALUE, start, length, 1, NULL, &win32_ops_a, error); +} + + +static void * +_win32_strdup_a(const void *str) { + return strdup((const char *)str); +} + + +static HANDLE +_win32_open_a(_zip_source_win32_read_file_t *ctx) { + return CreateFileA(ctx->fname, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); +} + + +static HANDLE +_win32_create_temp_a(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa) { + size_t len; + + len = strlen((const char *)ctx->fname) + 10; + if (*temp == NULL) { + if ((*temp = malloc(sizeof(char) * len)) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); + return INVALID_HANDLE_VALUE; + } + } + if (sprintf((char *)*temp, "%s.%08x", (const char *)ctx->fname, value) != len - 1) { + return INVALID_HANDLE_VALUE; + } + + return CreateFileA((const char *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREATE_NEW, FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_TEMPORARY, NULL); +} + + +static int +_win32_rename_temp_a(_zip_source_win32_read_file_t *ctx) { + if (!MoveFileExA(ctx->tmpname, ctx->fname, MOVEFILE_REPLACE_EXISTING)) + return -1; + return 0; +} + + +static int +_win32_remove_a(const void *fname) { + DeleteFileA((const char *)fname); + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32handle.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32handle.c new file mode 100644 index 000000000..3a2f52e16 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32handle.c @@ -0,0 +1,597 @@ +/* + zip_source_win32file.c -- create data source from HANDLE (Win32) + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include +#include + +#include "zipint.h" +#include "zipwin32.h" + +static zip_int64_t _win32_read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd); +static int _win32_create_temp_file(_zip_source_win32_read_file_t *ctx); +static int _zip_filetime_to_time_t(FILETIME ft, time_t *t); +static int _zip_seek_win32_u(void *h, zip_uint64_t offset, int whence, zip_error_t *error); +static int _zip_seek_win32(void *h, zip_int64_t offset, int whence, zip_error_t *error); +static int _zip_win32_error_to_errno(unsigned long win32err); +static int _zip_stat_win32(void *h, zip_stat_t *st, _zip_source_win32_read_file_t *ctx); + +ZIP_EXTERN zip_source_t * +zip_source_win32handle(zip_t *za, HANDLE h, zip_uint64_t start, zip_int64_t len) { + if (za == NULL) + return NULL; + + return zip_source_win32handle_create(h, start, len, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_win32handle_create(HANDLE h, zip_uint64_t start, zip_int64_t length, zip_error_t *error) { + if (h == INVALID_HANDLE_VALUE || length < -1) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + return _zip_source_win32_handle_or_name(NULL, h, start, length, 1, NULL, NULL, error); +} + + +zip_source_t * +_zip_source_win32_handle_or_name(const void *fname, HANDLE h, zip_uint64_t start, zip_int64_t len, int closep, const zip_stat_t *st, _zip_source_win32_file_ops_t *ops, zip_error_t *error) { + _zip_source_win32_read_file_t *ctx; + zip_source_t *zs; + + if (h == INVALID_HANDLE_VALUE && fname == NULL) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((ctx = (_zip_source_win32_read_file_t *)malloc(sizeof(_zip_source_win32_read_file_t))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + ctx->fname = NULL; + if (fname) { + if ((ctx->fname = ops->op_strdup(fname)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + free(ctx); + return NULL; + } + } + + ctx->ops = ops; + ctx->h = h; + ctx->start = start; + ctx->end = (len < 0 ? 0 : start + (zip_uint64_t)len); + ctx->closep = ctx->fname ? 1 : closep; + if (st) { + memcpy(&ctx->st, st, sizeof(ctx->st)); + ctx->st.name = NULL; + ctx->st.valid &= ~ZIP_STAT_NAME; + } + else { + zip_stat_init(&ctx->st); + } + + ctx->tmpname = NULL; + ctx->hout = INVALID_HANDLE_VALUE; + + zip_error_init(&ctx->error); + + ctx->supports = ZIP_SOURCE_SUPPORTS_READABLE | zip_source_make_command_bitmap(ZIP_SOURCE_SUPPORTS, ZIP_SOURCE_TELL, -1); + if (ctx->fname) { + HANDLE th; + + th = ops->op_open(ctx); + if (th == INVALID_HANDLE_VALUE || GetFileType(th) == FILE_TYPE_DISK) { + ctx->supports = ZIP_SOURCE_SUPPORTS_WRITABLE; + } + if (th != INVALID_HANDLE_VALUE) { + CloseHandle(th); + } + } + else if (GetFileType(ctx->h) == FILE_TYPE_DISK) { + ctx->supports = ZIP_SOURCE_SUPPORTS_SEEKABLE; + } + + if ((zs = zip_source_function_create(_win32_read_file, ctx, error)) == NULL) { + free(ctx->fname); + free(ctx); + return NULL; + } + + return zs; +} + + +static zip_int64_t +_win32_read_file(void *state, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + _zip_source_win32_read_file_t *ctx; + char *buf; + zip_uint64_t n; + DWORD i; + + ctx = (_zip_source_win32_read_file_t *)state; + buf = (char *)data; + + switch (cmd) { + case ZIP_SOURCE_BEGIN_WRITE: + if (ctx->fname == NULL) { + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } + return _win32_create_temp_file(ctx); + + case ZIP_SOURCE_COMMIT_WRITE: { + if (!CloseHandle(ctx->hout)) { + ctx->hout = INVALID_HANDLE_VALUE; + zip_error_set(&ctx->error, ZIP_ER_WRITE, _zip_win32_error_to_errno(GetLastError())); + } + ctx->hout = INVALID_HANDLE_VALUE; + if (ctx->ops->op_rename_temp(ctx) < 0) { + zip_error_set(&ctx->error, ZIP_ER_RENAME, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + free(ctx->tmpname); + ctx->tmpname = NULL; + return 0; + } + + case ZIP_SOURCE_CLOSE: + if (ctx->fname) { + CloseHandle(ctx->h); + ctx->h = INVALID_HANDLE_VALUE; + } + return 0; + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + free(ctx->fname); + free(ctx->tmpname); + if (ctx->closep && ctx->h != INVALID_HANDLE_VALUE) + CloseHandle(ctx->h); + free(ctx); + return 0; + + case ZIP_SOURCE_OPEN: + if (ctx->fname) { + if ((ctx->h = ctx->ops->op_open(ctx)) == INVALID_HANDLE_VALUE) { + zip_error_set(&ctx->error, ZIP_ER_OPEN, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + } + + if (ctx->closep && ctx->start > 0) { + if (_zip_seek_win32_u(ctx->h, ctx->start, SEEK_SET, &ctx->error) < 0) { + return -1; + } + } + ctx->current = ctx->start; + return 0; + + case ZIP_SOURCE_READ: + if (ctx->end > 0) { + n = ctx->end - ctx->current; + if (n > len) { + n = len; + } + } + else { + n = len; + } + + if (n > SIZE_MAX) + n = SIZE_MAX; + + if (!ctx->closep) { + if (_zip_seek_win32_u(ctx->h, ctx->current, SEEK_SET, &ctx->error) < 0) { + return -1; + } + } + + if (!ReadFile(ctx->h, buf, (DWORD)n, &i, NULL)) { + zip_error_set(&ctx->error, ZIP_ER_READ, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + ctx->current += i; + + return (zip_int64_t)i; + + case ZIP_SOURCE_REMOVE: + if (ctx->ops->op_remove(ctx->fname) < 0) { + zip_error_set(&ctx->error, ZIP_ER_REMOVE, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + return 0; + + case ZIP_SOURCE_ROLLBACK_WRITE: + if (ctx->hout) { + CloseHandle(ctx->hout); + ctx->hout = INVALID_HANDLE_VALUE; + } + ctx->ops->op_remove(ctx->tmpname); + free(ctx->tmpname); + ctx->tmpname = NULL; + return 0; + + case ZIP_SOURCE_SEEK: { + zip_int64_t new_current; + int need_seek; + zip_source_args_seek_t *args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, len, &ctx->error); + + if (args == NULL) + return -1; + + need_seek = ctx->closep; + + switch (args->whence) { + case SEEK_SET: + new_current = args->offset; + break; + + case SEEK_END: + if (ctx->end == 0) { + LARGE_INTEGER zero; + LARGE_INTEGER new_offset; + + if (_zip_seek_win32(ctx->h, args->offset, SEEK_END, &ctx->error) < 0) { + return -1; + } + zero.QuadPart = 0; + if (!SetFilePointerEx(ctx->h, zero, &new_offset, FILE_CURRENT)) { + zip_error_set(&ctx->error, ZIP_ER_SEEK, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + new_current = new_offset.QuadPart; + need_seek = 0; + } + else { + new_current = (zip_int64_t)ctx->end + args->offset; + } + break; + case SEEK_CUR: + new_current = (zip_int64_t)ctx->current + args->offset; + break; + + default: + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (new_current < 0 || (zip_uint64_t)new_current < ctx->start || (ctx->end != 0 && (zip_uint64_t)new_current > ctx->end)) { + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } + + ctx->current = (zip_uint64_t)new_current; + + if (need_seek) { + if (_zip_seek_win32_u(ctx->h, ctx->current, SEEK_SET, &ctx->error) < 0) { + return -1; + } + } + return 0; + } + + case ZIP_SOURCE_SEEK_WRITE: { + zip_source_args_seek_t *args; + + args = ZIP_SOURCE_GET_ARGS(zip_source_args_seek_t, data, len, &ctx->error); + if (args == NULL) { + return -1; + } + + if (_zip_seek_win32(ctx->hout, args->offset, args->whence, &ctx->error) < 0) { + return -1; + } + return 0; + } + + case ZIP_SOURCE_STAT: { + if (len < sizeof(ctx->st)) + return -1; + + if (ctx->st.valid != 0) + memcpy(data, &ctx->st, sizeof(ctx->st)); + else { + DWORD win32err; + zip_stat_t *st; + HANDLE h; + int success; + + st = (zip_stat_t *)data; + + if (ctx->h != INVALID_HANDLE_VALUE) { + h = ctx->h; + } + else { + h = ctx->ops->op_open(ctx); + if (h == INVALID_HANDLE_VALUE) { + win32err = GetLastError(); + if (win32err == ERROR_FILE_NOT_FOUND || win32err == ERROR_PATH_NOT_FOUND) { + zip_error_set(&ctx->error, ZIP_ER_READ, ENOENT); + return -1; + } + } + } + + success = _zip_stat_win32(h, st, ctx); + win32err = GetLastError(); + + /* We're done with the handle, so close it if we just opened it. */ + if (h != ctx->h) { + CloseHandle(h); + } + + if (success < 0) { + /* TODO: Is this the correct error to return in all cases? */ + zip_error_set(&ctx->error, ZIP_ER_READ, _zip_win32_error_to_errno(win32err)); + return -1; + } + } + return sizeof(ctx->st); + } + + case ZIP_SOURCE_SUPPORTS: + return ctx->supports; + + case ZIP_SOURCE_TELL: + return (zip_int64_t)ctx->current; + + case ZIP_SOURCE_TELL_WRITE: { + LARGE_INTEGER zero; + LARGE_INTEGER offset; + + zero.QuadPart = 0; + if (!SetFilePointerEx(ctx->hout, zero, &offset, FILE_CURRENT)) { + zip_error_set(&ctx->error, ZIP_ER_TELL, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + + return offset.QuadPart; + } + + case ZIP_SOURCE_WRITE: { + DWORD ret; + if (!WriteFile(ctx->hout, data, (DWORD)len, &ret, NULL) || ret != len) { + zip_error_set(&ctx->error, ZIP_ER_WRITE, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + + return (zip_int64_t)ret; + } + + default: + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } +} + + +static int +_win32_create_temp_file(_zip_source_win32_read_file_t *ctx) { + zip_uint32_t value; + /* + Windows has GetTempFileName(), but it closes the file after + creation, leaving it open to a horrible race condition. So + we reinvent the wheel. + */ + int i; + HANDLE th = INVALID_HANDLE_VALUE; + void *temp = NULL; + PSECURITY_DESCRIPTOR psd = NULL; + PSECURITY_ATTRIBUTES psa = NULL; + SECURITY_ATTRIBUTES sa; + SECURITY_INFORMATION si; + DWORD success; + PACL dacl = NULL; + + /* + Read the DACL from the original file, so we can copy it to the temp file. + If there is no original file, or if we can't read the DACL, we'll use the + default security descriptor. + */ + if (ctx->h != INVALID_HANDLE_VALUE && GetFileType(ctx->h) == FILE_TYPE_DISK) { + si = DACL_SECURITY_INFORMATION | UNPROTECTED_DACL_SECURITY_INFORMATION; + success = GetSecurityInfo(ctx->h, SE_FILE_OBJECT, si, NULL, NULL, &dacl, NULL, &psd); + if (success == ERROR_SUCCESS) { + sa.nLength = sizeof(SECURITY_ATTRIBUTES); + sa.bInheritHandle = FALSE; + sa.lpSecurityDescriptor = psd; + psa = &sa; + } + } + + +#ifndef MS_UWP + value = GetTickCount(); +#else + value = (zip_uint32_t)GetTickCount64(); +#endif + + for (i = 0; i < 1024 && th == INVALID_HANDLE_VALUE; i++) { + th = ctx->ops->op_create_temp(ctx, &temp, value + i, psa); + if (th == INVALID_HANDLE_VALUE && GetLastError() != ERROR_FILE_EXISTS) + break; + } + + if (th == INVALID_HANDLE_VALUE) { + free(temp); + LocalFree(psd); + zip_error_set(&ctx->error, ZIP_ER_TMPOPEN, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + + LocalFree(psd); + ctx->hout = th; + ctx->tmpname = temp; + + return 0; +} + + +static int +_zip_seek_win32_u(HANDLE h, zip_uint64_t offset, int whence, zip_error_t *error) { + if (offset > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_SEEK, EOVERFLOW); + return -1; + } + return _zip_seek_win32(h, (zip_int64_t)offset, whence, error); +} + + +static int +_zip_seek_win32(HANDLE h, zip_int64_t offset, int whence, zip_error_t *error) { + LARGE_INTEGER li; + DWORD method; + + switch (whence) { + case SEEK_SET: + method = FILE_BEGIN; + break; + case SEEK_END: + method = FILE_END; + break; + case SEEK_CUR: + method = FILE_CURRENT; + break; + default: + zip_error_set(error, ZIP_ER_SEEK, EINVAL); + return -1; + } + + li.QuadPart = (LONGLONG)offset; + if (!SetFilePointerEx(h, li, NULL, method)) { + zip_error_set(error, ZIP_ER_SEEK, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + + return 0; +} + + +static int +_zip_win32_error_to_errno(DWORD win32err) { + /* + Note: This list isn't exhaustive, but should cover common cases. + */ + switch (win32err) { + case ERROR_INVALID_PARAMETER: + return EINVAL; + case ERROR_FILE_NOT_FOUND: + return ENOENT; + case ERROR_INVALID_HANDLE: + return EBADF; + case ERROR_ACCESS_DENIED: + return EACCES; + case ERROR_FILE_EXISTS: + return EEXIST; + case ERROR_TOO_MANY_OPEN_FILES: + return EMFILE; + case ERROR_DISK_FULL: + return ENOSPC; + default: + return 0; + } +} + + +static int +_zip_stat_win32(HANDLE h, zip_stat_t *st, _zip_source_win32_read_file_t *ctx) { + FILETIME mtimeft; + time_t mtime; + LARGE_INTEGER size; + int regularp; + + if (!GetFileTime(h, NULL, NULL, &mtimeft)) { + zip_error_set(&ctx->error, ZIP_ER_READ, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + if (_zip_filetime_to_time_t(mtimeft, &mtime) < 0) { + zip_error_set(&ctx->error, ZIP_ER_READ, ERANGE); + return -1; + } + + regularp = 0; + if (GetFileType(h) == FILE_TYPE_DISK) { + regularp = 1; + } + + if (!GetFileSizeEx(h, &size)) { + zip_error_set(&ctx->error, ZIP_ER_READ, _zip_win32_error_to_errno(GetLastError())); + return -1; + } + + zip_stat_init(st); + st->mtime = mtime; + st->valid |= ZIP_STAT_MTIME; + if (ctx->end != 0) { + st->size = ctx->end - ctx->start; + st->valid |= ZIP_STAT_SIZE; + } + else if (regularp) { + st->size = (zip_uint64_t)size.QuadPart; + st->valid |= ZIP_STAT_SIZE; + } + + return 0; +} + + +static int +_zip_filetime_to_time_t(FILETIME ft, time_t *t) { + /* + Inspired by http://stackoverflow.com/questions/6161776/convert-windows-filetime-to-second-in-unix-linux + */ + const zip_int64_t WINDOWS_TICK = 10000000LL; + const zip_int64_t SEC_TO_UNIX_EPOCH = 11644473600LL; + ULARGE_INTEGER li; + zip_int64_t secs; + time_t temp; + + li.LowPart = ft.dwLowDateTime; + li.HighPart = ft.dwHighDateTime; + secs = (li.QuadPart / WINDOWS_TICK - SEC_TO_UNIX_EPOCH); + + temp = (time_t)secs; + if (secs != (zip_int64_t)temp) + return -1; + + *t = temp; + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32utf8.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32utf8.c new file mode 100644 index 000000000..4ad2bf0a9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32utf8.c @@ -0,0 +1,77 @@ +/* + zip_source_win32utf8.c -- create data source from Windows file (UTF-8) + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" +#include "zipwin32.h" + + +ZIP_EXTERN zip_source_t * +zip_source_file(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) { + if (za == NULL) + return NULL; + + return zip_source_file_create(fname, start, len, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_file_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) { + int size; + wchar_t *wfname; + zip_source_t *source; + + if (fname == NULL || length < -1) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + /* Convert fname from UTF-8 to Windows-friendly UTF-16. */ + size = MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, fname, -1, NULL, 0); + if (size == 0) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + if ((wfname = (wchar_t *)malloc(sizeof(wchar_t) * size)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + MultiByteToWideChar(CP_UTF8, MB_ERR_INVALID_CHARS, fname, -1, wfname, size); + + source = zip_source_win32w_create(wfname, start, length, error); + + free(wfname); + return source; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32w.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32w.c new file mode 100644 index 000000000..6a433fb8f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_win32w.c @@ -0,0 +1,144 @@ +/* + zip_source_win32w.c -- create data source from Windows file (UTF-16) + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" +#include "zipwin32.h" + +static void *_win32_strdup_w(const void *str); +static HANDLE _win32_open_w(_zip_source_win32_read_file_t *ctx); +static HANDLE _win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa); +static int _win32_rename_temp_w(_zip_source_win32_read_file_t *ctx); +static int _win32_remove_w(const void *fname); + +// clang-format off +static _zip_source_win32_file_ops_t win32_ops_w = { + _win32_strdup_w, + _win32_open_w, + _win32_create_temp_w, + _win32_rename_temp_w, + _win32_remove_w +}; +// clang-format on + +ZIP_EXTERN zip_source_t * +zip_source_win32w(zip_t *za, const wchar_t *fname, zip_uint64_t start, zip_int64_t len) { + if (za == NULL) + return NULL; + + return zip_source_win32w_create(fname, start, len, &za->error); +} + + +ZIP_EXTERN zip_source_t * +zip_source_win32w_create(const wchar_t *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *error) { + if (fname == NULL || length < -1) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + return _zip_source_win32_handle_or_name(fname, INVALID_HANDLE_VALUE, start, length, 1, NULL, &win32_ops_w, error); +} + + +static void * +_win32_strdup_w(const void *str) { + return _wcsdup((const wchar_t *)str); +} + + +static HANDLE +_win32_open_w(_zip_source_win32_read_file_t *ctx) { +#ifdef MS_UWP + CREATEFILE2_EXTENDED_PARAMETERS extParams = {0}; + extParams.dwFileAttributes = FILE_ATTRIBUTE_NORMAL; + extParams.dwFileFlags = FILE_FLAG_RANDOM_ACCESS; + extParams.dwSecurityQosFlags = SECURITY_ANONYMOUS; + extParams.dwSize = sizeof(extParams); + extParams.hTemplateFile = NULL; + extParams.lpSecurityAttributes = NULL; + + return CreateFile2(ctx->fname, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, OPEN_EXISTING, &extParams); +#else + return CreateFileW(ctx->fname, GENERIC_READ, FILE_SHARE_READ | FILE_SHARE_WRITE, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); +#endif +} + + +static HANDLE +_win32_create_temp_w(_zip_source_win32_read_file_t *ctx, void **temp, zip_uint32_t value, PSECURITY_ATTRIBUTES sa) { + size_t len; + + len = wcslen((const wchar_t *)ctx->fname) + 10; + if (*temp == NULL) { + if ((*temp = malloc(sizeof(wchar_t) * len)) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); + return INVALID_HANDLE_VALUE; + } + } + if (_snwprintf((wchar_t *)*temp, len, L"%s.%08x", (const wchar_t *)ctx->fname, value) != len - 1) { + return INVALID_HANDLE_VALUE; + } + +#ifdef MS_UWP + CREATEFILE2_EXTENDED_PARAMETERS extParams = {0}; + extParams.dwFileAttributes = FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_TEMPORARY; + extParams.dwFileFlags = FILE_FLAG_RANDOM_ACCESS; + extParams.dwSecurityQosFlags = SECURITY_ANONYMOUS; + extParams.dwSize = sizeof(extParams); + extParams.hTemplateFile = NULL; + extParams.lpSecurityAttributes = NULL; + + return CreateFile2((const wchar_t *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, CREATE_NEW, &extParams); +#else + return CreateFileW((const wchar_t *)*temp, GENERIC_READ | GENERIC_WRITE, FILE_SHARE_READ, sa, CREATE_NEW, FILE_ATTRIBUTE_NORMAL | FILE_ATTRIBUTE_TEMPORARY, NULL); +#endif +} + + +static int +_win32_rename_temp_w(_zip_source_win32_read_file_t *ctx) { + if (!MoveFileExW(ctx->tmpname, ctx->fname, MOVEFILE_REPLACE_EXISTING)) + return -1; + return 0; +} + + +static int +_win32_remove_w(const void *fname) { + DeleteFileW((const wchar_t *)fname); + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_window.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_window.c new file mode 100644 index 000000000..fed9dafac --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_window.c @@ -0,0 +1,283 @@ +/* + zip_source_window.c -- return part of lower source + Copyright (C) 2012-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + +struct window { + zip_uint64_t start; /* where in file we start reading */ + zip_uint64_t end; /* where in file we stop reading */ + + /* if not NULL, read file data for this file */ + zip_t *source_archive; + zip_uint64_t source_index; + + zip_uint64_t offset; /* offset in src for next read */ + + zip_stat_t stat; + zip_int8_t compression_flags; + zip_error_t error; + zip_int64_t supports; + bool needs_seek; +}; + +static zip_int64_t window_read(zip_source_t *, void *, void *, zip_uint64_t, zip_source_cmd_t); + + +zip_source_t * +zip_source_window(zip_t *za, zip_source_t *src, zip_uint64_t start, zip_uint64_t len) { + return _zip_source_window_new(src, start, len, NULL, 0, NULL, 0, &za->error); +} + + +zip_source_t * +_zip_source_window_new(zip_source_t *src, zip_uint64_t start, zip_uint64_t length, zip_stat_t *st, zip_int8_t compression_flags, zip_t *source_archive, zip_uint64_t source_index, zip_error_t *error) { + struct window *ctx; + + if (src == NULL || start + length < start || (source_archive == NULL && source_index != 0)) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((ctx = (struct window *)malloc(sizeof(*ctx))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + ctx->start = start; + ctx->end = start + length; + zip_stat_init(&ctx->stat); + ctx->compression_flags = compression_flags; + ctx->source_archive = source_archive; + ctx->source_index = source_index; + zip_error_init(&ctx->error); + ctx->supports = (zip_source_supports(src) & ZIP_SOURCE_SUPPORTS_SEEKABLE) | (zip_source_make_command_bitmap(ZIP_SOURCE_GET_COMPRESSION_FLAGS, ZIP_SOURCE_SUPPORTS, ZIP_SOURCE_TELL, -1)); + ctx->needs_seek = (ctx->supports & ZIP_SOURCE_MAKE_COMMAND_BITMASK(ZIP_SOURCE_SEEK)) ? true : false; + + if (st) { + if (_zip_stat_merge(&ctx->stat, st, error) < 0) { + free(ctx); + return NULL; + } + } + + return zip_source_layered_create(src, window_read, ctx, error); +} + + +int +_zip_source_set_source_archive(zip_source_t *src, zip_t *za) { + src->source_archive = za; + return _zip_register_source(za, src); +} + + +/* called by zip_discard to avoid operating on file from closed archive */ +void +_zip_source_invalidate(zip_source_t *src) { + src->source_closed = 1; + + if (zip_error_code_zip(&src->error) == ZIP_ER_OK) { + zip_error_set(&src->error, ZIP_ER_ZIPCLOSED, 0); + } +} + + +static zip_int64_t +window_read(zip_source_t *src, void *_ctx, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + struct window *ctx; + zip_int64_t ret; + zip_uint64_t n, i; + + ctx = (struct window *)_ctx; + + switch (cmd) { + case ZIP_SOURCE_CLOSE: + return 0; + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + free(ctx); + return 0; + + case ZIP_SOURCE_OPEN: + if (ctx->source_archive) { + zip_uint64_t offset; + + if ((offset = _zip_file_get_offset(ctx->source_archive, ctx->source_index, &ctx->error)) == 0) { + return -1; + } + if (ctx->end + offset < ctx->end) { + /* zip archive data claims end of data past zip64 limits */ + zip_error_set(&ctx->error, ZIP_ER_INCONS, 0); + return -1; + } + ctx->start += offset; + ctx->end += offset; + ctx->source_archive = NULL; + } + + if (!ctx->needs_seek) { + DEFINE_BYTE_ARRAY(b, BUFSIZE); + + if (!byte_array_init(b, BUFSIZE)) { + zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); + return -1; + } + + for (n = 0; n < ctx->start; n += (zip_uint64_t)ret) { + i = (ctx->start - n > BUFSIZE ? BUFSIZE : ctx->start - n); + if ((ret = zip_source_read(src, b, i)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + byte_array_fini(b); + return -1; + } + if (ret == 0) { + zip_error_set(&ctx->error, ZIP_ER_EOF, 0); + byte_array_fini(b); + return -1; + } + } + + byte_array_fini(b); + } + + ctx->offset = ctx->start; + return 0; + + case ZIP_SOURCE_READ: + if (len > ctx->end - ctx->offset) + len = ctx->end - ctx->offset; + + if (len == 0) + return 0; + + if (ctx->needs_seek) { + if (zip_source_seek(src, (zip_int64_t)ctx->offset, SEEK_SET) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + } + + if ((ret = zip_source_read(src, data, len)) < 0) { + zip_error_set(&ctx->error, ZIP_ER_EOF, 0); + return -1; + } + + ctx->offset += (zip_uint64_t)ret; + + if (ret == 0) { + if (ctx->offset < ctx->end) { + zip_error_set(&ctx->error, ZIP_ER_EOF, 0); + return -1; + } + } + return ret; + + case ZIP_SOURCE_SEEK: { + zip_int64_t new_offset = zip_source_seek_compute_offset(ctx->offset - ctx->start, ctx->end - ctx->start, data, len, &ctx->error); + + if (new_offset < 0) { + return -1; + } + + ctx->offset = (zip_uint64_t)new_offset + ctx->start; + return 0; + } + + case ZIP_SOURCE_STAT: { + zip_stat_t *st; + + st = (zip_stat_t *)data; + + if (_zip_stat_merge(st, &ctx->stat, &ctx->error) < 0) { + return -1; + } + return 0; + } + + case ZIP_SOURCE_GET_COMPRESSION_FLAGS: + return ctx->compression_flags; + + case ZIP_SOURCE_SUPPORTS: + return ctx->supports; + + case ZIP_SOURCE_TELL: + return (zip_int64_t)(ctx->offset - ctx->start); + + default: + zip_error_set(&ctx->error, ZIP_ER_OPNOTSUPP, 0); + return -1; + } +} + + +void +_zip_deregister_source(zip_t *za, zip_source_t *src) { + unsigned int i; + + for (i = 0; i < za->nopen_source; i++) { + if (za->open_source[i] == src) { + za->open_source[i] = za->open_source[za->nopen_source - 1]; + za->nopen_source--; + break; + } + } +} + + +int +_zip_register_source(zip_t *za, zip_source_t *src) { + zip_source_t **open_source; + + if (za->nopen_source + 1 >= za->nopen_source_alloc) { + unsigned int n; + n = za->nopen_source_alloc + 10; + open_source = (zip_source_t **)realloc(za->open_source, n * sizeof(zip_source_t *)); + if (open_source == NULL) { + zip_error_set(&za->error, ZIP_ER_MEMORY, 0); + return -1; + } + za->nopen_source_alloc = n; + za->open_source = open_source; + } + + za->open_source[za->nopen_source++] = src; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_winzip_aes_decode.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_winzip_aes_decode.c new file mode 100644 index 000000000..f1a05a8d7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_winzip_aes_decode.c @@ -0,0 +1,265 @@ +/* + zip_source_winzip_aes_decode.c -- Winzip AES decryption routines + Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + +struct winzip_aes { + char *password; + zip_uint16_t encryption_method; + + zip_uint64_t data_length; + zip_uint64_t current_position; + + zip_winzip_aes_t *aes_ctx; + zip_error_t error; +}; + + +static int decrypt_header(zip_source_t *src, struct winzip_aes *ctx); +static void winzip_aes_free(struct winzip_aes *); +static zip_int64_t winzip_aes_decrypt(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd); +static struct winzip_aes *winzip_aes_new(zip_uint16_t encryption_method, const char *password, zip_error_t *error); + + +zip_source_t * +zip_source_winzip_aes_decode(zip_t *za, zip_source_t *src, zip_uint16_t encryption_method, int flags, const char *password) { + zip_source_t *s2; + zip_stat_t st; + zip_uint64_t aux_length; + struct winzip_aes *ctx; + + if ((encryption_method != ZIP_EM_AES_128 && encryption_method != ZIP_EM_AES_192 && encryption_method != ZIP_EM_AES_256) || password == NULL || src == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + if (flags & ZIP_CODEC_ENCODE) { + zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); + return NULL; + } + + if (zip_source_stat(src, &st) != 0) { + _zip_error_set_from_source(&za->error, src); + return NULL; + } + + aux_length = WINZIP_AES_PASSWORD_VERIFY_LENGTH + SALT_LENGTH(encryption_method) + HMAC_LENGTH; + + if ((st.valid & ZIP_STAT_COMP_SIZE) == 0 || st.comp_size < aux_length) { + zip_error_set(&za->error, ZIP_ER_OPNOTSUPP, 0); + return NULL; + } + + if ((ctx = winzip_aes_new(encryption_method, password, &za->error)) == NULL) { + return NULL; + } + + ctx->data_length = st.comp_size - aux_length; + + if ((s2 = zip_source_layered(za, src, winzip_aes_decrypt, ctx)) == NULL) { + winzip_aes_free(ctx); + return NULL; + } + + return s2; +} + + +static int +decrypt_header(zip_source_t *src, struct winzip_aes *ctx) { + zip_uint8_t header[WINZIP_AES_MAX_HEADER_LENGTH]; + zip_uint8_t password_verification[WINZIP_AES_PASSWORD_VERIFY_LENGTH]; + unsigned int headerlen; + zip_int64_t n; + + headerlen = WINZIP_AES_PASSWORD_VERIFY_LENGTH + SALT_LENGTH(ctx->encryption_method); + if ((n = zip_source_read(src, header, headerlen)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + if (n != headerlen) { + zip_error_set(&ctx->error, ZIP_ER_EOF, 0); + return -1; + } + + if ((ctx->aes_ctx = _zip_winzip_aes_new((zip_uint8_t *)ctx->password, strlen(ctx->password), header, ctx->encryption_method, password_verification, &ctx->error)) == NULL) { + return -1; + } + if (memcmp(password_verification, header + SALT_LENGTH(ctx->encryption_method), WINZIP_AES_PASSWORD_VERIFY_LENGTH) != 0) { + _zip_winzip_aes_free(ctx->aes_ctx); + ctx->aes_ctx = NULL; + zip_error_set(&ctx->error, ZIP_ER_WRONGPASSWD, 0); + return -1; + } + return 0; +} + + +static bool +verify_hmac(zip_source_t *src, struct winzip_aes *ctx) { + unsigned char computed[SHA1_LENGTH], from_file[HMAC_LENGTH]; + if (zip_source_read(src, from_file, HMAC_LENGTH) < HMAC_LENGTH) { + _zip_error_set_from_source(&ctx->error, src); + return false; + } + + if (!_zip_winzip_aes_finish(ctx->aes_ctx, computed)) { + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + return false; + } + _zip_winzip_aes_free(ctx->aes_ctx); + ctx->aes_ctx = NULL; + + if (memcmp(from_file, computed, HMAC_LENGTH) != 0) { + zip_error_set(&ctx->error, ZIP_ER_CRC, 0); + return false; + } + + return true; +} + + +static zip_int64_t +winzip_aes_decrypt(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd) { + struct winzip_aes *ctx; + zip_int64_t n; + + ctx = (struct winzip_aes *)ud; + + switch (cmd) { + case ZIP_SOURCE_OPEN: + if (decrypt_header(src, ctx) < 0) { + return -1; + } + ctx->current_position = 0; + return 0; + + case ZIP_SOURCE_READ: + if (len > ctx->data_length - ctx->current_position) { + len = ctx->data_length - ctx->current_position; + } + + if (len == 0) { + if (!verify_hmac(src, ctx)) { + return -1; + } + return 0; + } + + if ((n = zip_source_read(src, data, len)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + ctx->current_position += (zip_uint64_t)n; + + if (!_zip_winzip_aes_decrypt(ctx->aes_ctx, (zip_uint8_t *)data, (zip_uint64_t)n)) { + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + return n; + + case ZIP_SOURCE_CLOSE: + return 0; + + case ZIP_SOURCE_STAT: { + zip_stat_t *st; + + st = (zip_stat_t *)data; + + st->encryption_method = ZIP_EM_NONE; + st->valid |= ZIP_STAT_ENCRYPTION_METHOD; + if (st->valid & ZIP_STAT_COMP_SIZE) { + st->comp_size -= 12 + SALT_LENGTH(ctx->encryption_method); + } + + return 0; + } + + case ZIP_SOURCE_SUPPORTS: + return zip_source_make_command_bitmap(ZIP_SOURCE_OPEN, ZIP_SOURCE_READ, ZIP_SOURCE_CLOSE, ZIP_SOURCE_STAT, ZIP_SOURCE_ERROR, ZIP_SOURCE_FREE, -1); + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, len); + + case ZIP_SOURCE_FREE: + winzip_aes_free(ctx); + return 0; + + default: + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } +} + + +static void +winzip_aes_free(struct winzip_aes *ctx) { + if (ctx == NULL) { + return; + } + + _zip_crypto_clear(ctx->password, strlen(ctx->password)); + free(ctx->password); + zip_error_fini(&ctx->error); + _zip_winzip_aes_free(ctx->aes_ctx); + free(ctx); +} + + +static struct winzip_aes * +winzip_aes_new(zip_uint16_t encryption_method, const char *password, zip_error_t *error) { + struct winzip_aes *ctx; + + if ((ctx = (struct winzip_aes *)malloc(sizeof(*ctx))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if ((ctx->password = strdup(password)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + free(ctx); + return NULL; + } + + ctx->encryption_method = encryption_method; + ctx->aes_ctx = NULL; + + zip_error_init(&ctx->error); + + return ctx; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_winzip_aes_encode.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_winzip_aes_encode.c new file mode 100644 index 000000000..c428c9af2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_winzip_aes_encode.c @@ -0,0 +1,242 @@ +/* + zip_source_winzip_aes_encode.c -- Winzip AES encryption routines + Copyright (C) 2009-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + + +struct winzip_aes { + char *password; + zip_uint16_t encryption_method; + + zip_uint8_t data[ZIP_MAX(WINZIP_AES_MAX_HEADER_LENGTH, SHA1_LENGTH)]; + zip_buffer_t *buffer; + + zip_winzip_aes_t *aes_ctx; + bool eof; + zip_error_t error; +}; + + +static int encrypt_header(zip_source_t *src, struct winzip_aes *ctx); +static void winzip_aes_free(struct winzip_aes *); +static zip_int64_t winzip_aes_encrypt(zip_source_t *src, void *ud, void *data, zip_uint64_t len, zip_source_cmd_t cmd); +static struct winzip_aes *winzip_aes_new(zip_uint16_t encryption_method, const char *password, zip_error_t *error); + + +zip_source_t * +zip_source_winzip_aes_encode(zip_t *za, zip_source_t *src, zip_uint16_t encryption_method, int flags, const char *password) { + zip_source_t *s2; + struct winzip_aes *ctx; + + if ((encryption_method != ZIP_EM_AES_128 && encryption_method != ZIP_EM_AES_192 && encryption_method != ZIP_EM_AES_256) || password == NULL || src == NULL) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((ctx = winzip_aes_new(encryption_method, password, &za->error)) == NULL) { + return NULL; + } + + if ((s2 = zip_source_layered(za, src, winzip_aes_encrypt, ctx)) == NULL) { + winzip_aes_free(ctx); + return NULL; + } + + return s2; +} + + +static int +encrypt_header(zip_source_t *src, struct winzip_aes *ctx) { + zip_uint16_t salt_length = SALT_LENGTH(ctx->encryption_method); + if (!zip_random(ctx->data, salt_length)) { + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + return -1; + } + + if ((ctx->aes_ctx = _zip_winzip_aes_new((zip_uint8_t *)ctx->password, strlen(ctx->password), ctx->data, ctx->encryption_method, ctx->data + salt_length, &ctx->error)) == NULL) { + return -1; + } + + if ((ctx->buffer = _zip_buffer_new(ctx->data, salt_length + WINZIP_AES_PASSWORD_VERIFY_LENGTH)) == NULL) { + _zip_winzip_aes_free(ctx->aes_ctx); + ctx->aes_ctx = NULL; + zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); + return -1; + } + + return 0; +} + + +static zip_int64_t +winzip_aes_encrypt(zip_source_t *src, void *ud, void *data, zip_uint64_t length, zip_source_cmd_t cmd) { + struct winzip_aes *ctx; + zip_int64_t ret; + zip_uint64_t buffer_n; + + ctx = (struct winzip_aes *)ud; + + switch (cmd) { + case ZIP_SOURCE_OPEN: + ctx->eof = false; + if (encrypt_header(src, ctx) < 0) { + return -1; + } + return 0; + + case ZIP_SOURCE_READ: + buffer_n = 0; + + if (ctx->buffer) { + buffer_n = _zip_buffer_read(ctx->buffer, data, length); + + data = (zip_uint8_t *)data + buffer_n; + length -= buffer_n; + + if (_zip_buffer_eof(ctx->buffer)) { + _zip_buffer_free(ctx->buffer); + ctx->buffer = NULL; + } + } + + if (ctx->eof) { + return (zip_int64_t)buffer_n; + } + + if ((ret = zip_source_read(src, data, length)) < 0) { + _zip_error_set_from_source(&ctx->error, src); + return -1; + } + + if (!_zip_winzip_aes_encrypt(ctx->aes_ctx, data, (zip_uint64_t)ret)) { + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + /* TODO: return partial read? */ + return -1; + } + + if ((zip_uint64_t)ret < length) { + ctx->eof = true; + if (!_zip_winzip_aes_finish(ctx->aes_ctx, ctx->data)) { + zip_error_set(&ctx->error, ZIP_ER_INTERNAL, 0); + /* TODO: return partial read? */ + return -1; + } + _zip_winzip_aes_free(ctx->aes_ctx); + ctx->aes_ctx = NULL; + if ((ctx->buffer = _zip_buffer_new(ctx->data, HMAC_LENGTH)) == NULL) { + zip_error_set(&ctx->error, ZIP_ER_MEMORY, 0); + /* TODO: return partial read? */ + return -1; + } + buffer_n += _zip_buffer_read(ctx->buffer, data + ret, length - (zip_uint64_t)ret); + } + + return (zip_int64_t)(buffer_n + (zip_uint64_t)ret); + + case ZIP_SOURCE_CLOSE: + return 0; + + case ZIP_SOURCE_STAT: { + zip_stat_t *st; + + st = (zip_stat_t *)data; + st->encryption_method = ctx->encryption_method; + st->valid |= ZIP_STAT_ENCRYPTION_METHOD; + if (st->valid & ZIP_STAT_COMP_SIZE) { + st->comp_size += 12 + SALT_LENGTH(ctx->encryption_method); + } + + return 0; + } + + case ZIP_SOURCE_SUPPORTS: + return zip_source_make_command_bitmap(ZIP_SOURCE_OPEN, ZIP_SOURCE_READ, ZIP_SOURCE_CLOSE, ZIP_SOURCE_STAT, ZIP_SOURCE_ERROR, ZIP_SOURCE_FREE, -1); + + case ZIP_SOURCE_ERROR: + return zip_error_to_data(&ctx->error, data, length); + + case ZIP_SOURCE_FREE: + winzip_aes_free(ctx); + return 0; + + default: + zip_error_set(&ctx->error, ZIP_ER_INVAL, 0); + return -1; + } +} + + +static void +winzip_aes_free(struct winzip_aes *ctx) { + if (ctx == NULL) { + return; + } + + _zip_crypto_clear(ctx->password, strlen(ctx->password)); + free(ctx->password); + zip_error_fini(&ctx->error); + _zip_buffer_free(ctx->buffer); + _zip_winzip_aes_free(ctx->aes_ctx); + free(ctx); +} + + +static struct winzip_aes * +winzip_aes_new(zip_uint16_t encryption_method, const char *password, zip_error_t *error) { + struct winzip_aes *ctx; + + if ((ctx = (struct winzip_aes *)malloc(sizeof(*ctx))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if ((ctx->password = strdup(password)) == NULL) { + free(ctx); + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + ctx->encryption_method = encryption_method; + ctx->buffer = NULL; + ctx->aes_ctx = NULL; + + zip_error_init(&ctx->error); + + ctx->eof = false; + return ctx; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_write.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_write.c new file mode 100644 index 000000000..9f494e091 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_write.c @@ -0,0 +1,46 @@ +/* + zip_source_write.c -- start a new file for writing + Copyright (C) 2014-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN zip_int64_t +zip_source_write(zip_source_t *src, const void *data, zip_uint64_t length) { + if (!ZIP_SOURCE_IS_OPEN_WRITING(src) || length > ZIP_INT64_MAX) { + zip_error_set(&src->error, ZIP_ER_INVAL, 0); + return -1; + } + + return _zip_source_call(src, (void *)data, length, ZIP_SOURCE_WRITE); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_zip.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_zip.c new file mode 100644 index 000000000..3fd90abef --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_zip.c @@ -0,0 +1,57 @@ +/* + zip_source_zip.c -- create data source from zip file + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + + +ZIP_EXTERN zip_source_t * +zip_source_zip(zip_t *za, zip_t *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_int64_t len) { + if (len < -1) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if (len == -1) + len = 0; + + if (start == 0 && len == 0) + flags |= ZIP_FL_COMPRESSED; + else + flags &= ~ZIP_FL_COMPRESSED; + + return _zip_source_zip_new(za, srcza, srcidx, flags, start, (zip_uint64_t)len, NULL); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_source_zip_new.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_zip_new.c new file mode 100644 index 000000000..ab7856155 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_source_zip_new.c @@ -0,0 +1,175 @@ +/* + zip_source_zip_new.c -- prepare data structures for zip_fopen/zip_source_zip + Copyright (C) 2012-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +zip_source_t * +_zip_source_zip_new(zip_t *za, zip_t *srcza, zip_uint64_t srcidx, zip_flags_t flags, zip_uint64_t start, zip_uint64_t len, const char *password) { + zip_source_t *src, *s2; + struct zip_stat st; + bool partial_data, needs_crc, needs_decrypt, needs_decompress; + + if (za == NULL) + return NULL; + + if (srcza == NULL || srcidx >= srcza->nentry) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((flags & ZIP_FL_UNCHANGED) == 0 && (ZIP_ENTRY_DATA_CHANGED(srcza->entry + srcidx) || srcza->entry[srcidx].deleted)) { + zip_error_set(&za->error, ZIP_ER_CHANGED, 0); + return NULL; + } + + if (zip_stat_index(srcza, srcidx, flags | ZIP_FL_UNCHANGED, &st) < 0) { + zip_error_set(&za->error, ZIP_ER_INTERNAL, 0); + return NULL; + } + + if (flags & ZIP_FL_ENCRYPTED) + flags |= ZIP_FL_COMPRESSED; + + if ((start > 0 || len > 0) && (flags & ZIP_FL_COMPRESSED)) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + /* overflow or past end of file */ + if ((start > 0 || len > 0) && (start + len < start || start + len > st.size)) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return NULL; + } + + if (len == 0) { + len = st.size - start; + } + + partial_data = len < st.size; + needs_decrypt = ((flags & ZIP_FL_ENCRYPTED) == 0) && (st.encryption_method != ZIP_EM_NONE); + needs_decompress = ((flags & ZIP_FL_COMPRESSED) == 0) && (st.comp_method != ZIP_CM_STORE); + /* when reading the whole file, check for CRC errors */ + needs_crc = ((flags & ZIP_FL_COMPRESSED) == 0 || st.comp_method == ZIP_CM_STORE) && !partial_data; + + if (needs_decrypt) { + if (password == NULL) { + password = za->default_password; + } + if (password == NULL) { + zip_error_set(&za->error, ZIP_ER_NOPASSWD, 0); + return NULL; + } + } + + if (st.comp_size == 0) { + return zip_source_buffer(za, NULL, 0, 0); + } + + if (partial_data && !needs_decrypt && !needs_decompress) { + struct zip_stat st2; + + st2.size = len; + st2.comp_size = len; + st2.comp_method = ZIP_CM_STORE; + st2.mtime = st.mtime; + st2.valid = ZIP_STAT_SIZE | ZIP_STAT_COMP_SIZE | ZIP_STAT_COMP_METHOD | ZIP_STAT_MTIME; + + if ((src = _zip_source_window_new(srcza->src, start, len, &st2, 0, srcza, srcidx, &za->error)) == NULL) { + return NULL; + } + } + else { + zip_dirent_t *de; + + if ((de = _zip_get_dirent(srcza, srcidx, flags, &za->error)) == NULL) { + return NULL; + } + if ((src = _zip_source_window_new(srcza->src, 0, st.comp_size, &st, (de->bitflags >> 1) & 3, srcza, srcidx, &za->error)) == NULL) { + return NULL; + } + } + + if (_zip_source_set_source_archive(src, srcza) < 0) { + zip_source_free(src); + return NULL; + } + + /* creating a layered source calls zip_keep() on the lower layer, so we free it */ + + if (needs_decrypt) { + zip_encryption_implementation enc_impl; + + if ((enc_impl = _zip_get_encryption_implementation(st.encryption_method, ZIP_CODEC_DECODE)) == NULL) { + zip_error_set(&za->error, ZIP_ER_ENCRNOTSUPP, 0); + return NULL; + } + + s2 = enc_impl(za, src, st.encryption_method, 0, password); + zip_source_free(src); + if (s2 == NULL) { + return NULL; + } + src = s2; + } + if (needs_decompress) { + s2 = zip_source_decompress(za, src, st.comp_method); + zip_source_free(src); + if (s2 == NULL) { + return NULL; + } + src = s2; + } + if (needs_crc) { + s2 = zip_source_crc(za, src, 1); + zip_source_free(src); + if (s2 == NULL) { + return NULL; + } + src = s2; + } + + if (partial_data && (needs_decrypt || needs_decompress)) { + s2 = zip_source_window(za, src, start, len); + zip_source_free(src); + if (s2 == NULL) { + return NULL; + } + src = s2; + } + + return src; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_stat.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_stat.c new file mode 100644 index 000000000..237d985df --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_stat.c @@ -0,0 +1,46 @@ +/* + zip_stat.c -- get information about file by name + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_stat(zip_t *za, const char *fname, zip_flags_t flags, zip_stat_t *st) { + zip_int64_t idx; + + if ((idx = zip_name_locate(za, fname, flags)) < 0) + return -1; + + return zip_stat_index(za, (zip_uint64_t)idx, flags, st); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_stat_index.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_stat_index.c new file mode 100644 index 000000000..d19e76a33 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_stat_index.c @@ -0,0 +1,73 @@ +/* + zip_stat_index.c -- get information about file by index + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN int +zip_stat_index(zip_t *za, zip_uint64_t index, zip_flags_t flags, zip_stat_t *st) { + const char *name; + zip_dirent_t *de; + + if ((de = _zip_get_dirent(za, index, flags, NULL)) == NULL) + return -1; + + if ((name = zip_get_name(za, index, flags)) == NULL) + return -1; + + + if ((flags & ZIP_FL_UNCHANGED) == 0 && ZIP_ENTRY_DATA_CHANGED(za->entry + index)) { + if (zip_source_stat(za->entry[index].source, st) < 0) { + zip_error_set(&za->error, ZIP_ER_CHANGED, 0); + return -1; + } + } + else { + zip_stat_init(st); + + st->crc = de->crc; + st->size = de->uncomp_size; + st->mtime = de->last_mod; + st->comp_size = de->comp_size; + st->comp_method = (zip_uint16_t)de->comp_method; + st->encryption_method = de->encryption_method; + st->valid = (de->crc_valid ? ZIP_STAT_CRC : 0) | ZIP_STAT_SIZE | ZIP_STAT_MTIME | ZIP_STAT_COMP_SIZE | ZIP_STAT_COMP_METHOD | ZIP_STAT_ENCRYPTION_METHOD; + } + + st->index = index; + st->name = name; + st->valid |= ZIP_STAT_INDEX | ZIP_STAT_NAME; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_stat_init.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_stat_init.c new file mode 100644 index 000000000..46fa404cd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_stat_init.c @@ -0,0 +1,83 @@ +/* + zip_stat_init.c -- initialize struct zip_stat. + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include + +#include "zipint.h" + + +ZIP_EXTERN void +zip_stat_init(zip_stat_t *st) { + st->valid = 0; + st->name = NULL; + st->index = ZIP_UINT64_MAX; + st->crc = 0; + st->mtime = (time_t)-1; + st->size = 0; + st->comp_size = 0; + st->comp_method = ZIP_CM_STORE; + st->encryption_method = ZIP_EM_NONE; +} + + +int +_zip_stat_merge(zip_stat_t *dst, const zip_stat_t *src, zip_error_t *error) { + /* name is not merged, since zip_stat_t doesn't own it, and src may not be valid as long as dst */ + if (src->valid & ZIP_STAT_INDEX) { + dst->index = src->index; + } + if (src->valid & ZIP_STAT_SIZE) { + dst->size = src->size; + } + if (src->valid & ZIP_STAT_COMP_SIZE) { + dst->comp_size = src->comp_size; + } + if (src->valid & ZIP_STAT_MTIME) { + dst->mtime = src->mtime; + } + if (src->valid & ZIP_STAT_CRC) { + dst->crc = src->crc; + } + if (src->valid & ZIP_STAT_COMP_METHOD) { + dst->comp_method = src->comp_method; + } + if (src->valid & ZIP_STAT_ENCRYPTION_METHOD) { + dst->encryption_method = src->encryption_method; + } + if (src->valid & ZIP_STAT_FLAGS) { + dst->flags = src->flags; + } + dst->valid |= src->valid; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_strerror.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_strerror.c new file mode 100644 index 000000000..eb94198d6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_strerror.c @@ -0,0 +1,41 @@ +/* + zip_sterror.c -- get string representation of zip error + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + + +ZIP_EXTERN const char * +zip_strerror(zip_t *za) { + return zip_error_strerror(&za->error); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_string.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_string.c new file mode 100644 index 000000000..7e16a728c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_string.c @@ -0,0 +1,178 @@ +/* + zip_string.c -- string handling (with encoding) + Copyright (C) 2012-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include + +#include "zipint.h" + + +zip_uint32_t +_zip_string_crc32(const zip_string_t *s) { + zip_uint32_t crc; + + crc = (zip_uint32_t)crc32(0L, Z_NULL, 0); + + if (s != NULL) + crc = (zip_uint32_t)crc32(crc, s->raw, s->length); + + return crc; +} + + +int +_zip_string_equal(const zip_string_t *a, const zip_string_t *b) { + if (a == NULL || b == NULL) + return a == b; + + if (a->length != b->length) + return 0; + + /* TODO: encoding */ + + return (memcmp(a->raw, b->raw, a->length) == 0); +} + + +void +_zip_string_free(zip_string_t *s) { + if (s == NULL) + return; + + free(s->raw); + free(s->converted); + free(s); +} + + +const zip_uint8_t * +_zip_string_get(zip_string_t *string, zip_uint32_t *lenp, zip_flags_t flags, zip_error_t *error) { + static const zip_uint8_t empty[1] = ""; + + if (string == NULL) { + if (lenp) + *lenp = 0; + return empty; + } + + if ((flags & ZIP_FL_ENC_RAW) == 0) { + /* start guessing */ + if (string->encoding == ZIP_ENCODING_UNKNOWN) + _zip_guess_encoding(string, ZIP_ENCODING_UNKNOWN); + + if (((flags & ZIP_FL_ENC_STRICT) && string->encoding != ZIP_ENCODING_ASCII && string->encoding != ZIP_ENCODING_UTF8_KNOWN) || (string->encoding == ZIP_ENCODING_CP437)) { + if (string->converted == NULL) { + if ((string->converted = _zip_cp437_to_utf8(string->raw, string->length, &string->converted_length, error)) == NULL) + return NULL; + } + if (lenp) + *lenp = string->converted_length; + return string->converted; + } + } + + if (lenp) + *lenp = string->length; + return string->raw; +} + + +zip_uint16_t +_zip_string_length(const zip_string_t *s) { + if (s == NULL) + return 0; + + return s->length; +} + + +zip_string_t * +_zip_string_new(const zip_uint8_t *raw, zip_uint16_t length, zip_flags_t flags, zip_error_t *error) { + zip_string_t *s; + zip_encoding_type_t expected_encoding; + + if (length == 0) + return NULL; + + switch (flags & ZIP_FL_ENCODING_ALL) { + case ZIP_FL_ENC_GUESS: + expected_encoding = ZIP_ENCODING_UNKNOWN; + break; + case ZIP_FL_ENC_UTF_8: + expected_encoding = ZIP_ENCODING_UTF8_KNOWN; + break; + case ZIP_FL_ENC_CP437: + expected_encoding = ZIP_ENCODING_CP437; + break; + default: + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + if ((s = (zip_string_t *)malloc(sizeof(*s))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + if ((s->raw = (zip_uint8_t *)malloc((size_t)(length + 1))) == NULL) { + free(s); + return NULL; + } + + memcpy(s->raw, raw, length); + s->raw[length] = '\0'; + s->length = length; + s->encoding = ZIP_ENCODING_UNKNOWN; + s->converted = NULL; + s->converted_length = 0; + + if (expected_encoding != ZIP_ENCODING_UNKNOWN) { + if (_zip_guess_encoding(s, expected_encoding) == ZIP_ENCODING_ERROR) { + _zip_string_free(s); + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + } + + return s; +} + + +int +_zip_string_write(zip_t *za, const zip_string_t *s) { + if (s == NULL) + return 0; + + return _zip_write(za, s->raw, s->length); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange.c new file mode 100644 index 000000000..8285707b8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange.c @@ -0,0 +1,93 @@ +/* + zip_unchange.c -- undo changes to file in zip archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_unchange(zip_t *za, zip_uint64_t idx) { + return _zip_unchange(za, idx, 0); +} + + +int +_zip_unchange(zip_t *za, zip_uint64_t idx, int allow_duplicates) { + zip_int64_t i; + const char *orig_name, *changed_name; + + if (idx >= za->nentry) { + zip_error_set(&za->error, ZIP_ER_INVAL, 0); + return -1; + } + + if (!allow_duplicates && za->entry[idx].changes && (za->entry[idx].changes->changed & ZIP_DIRENT_FILENAME)) { + if (za->entry[idx].orig != NULL) { + if ((orig_name = _zip_get_name(za, idx, ZIP_FL_UNCHANGED, &za->error)) == NULL) { + return -1; + } + + i = _zip_name_locate(za, orig_name, 0, NULL); + if (i >= 0 && (zip_uint64_t)i != idx) { + zip_error_set(&za->error, ZIP_ER_EXISTS, 0); + return -1; + } + } + else { + orig_name = NULL; + } + + if ((changed_name = _zip_get_name(za, idx, 0, &za->error)) == NULL) { + return -1; + } + + if (orig_name) { + if (_zip_hash_add(za->names, (const zip_uint8_t *)orig_name, idx, 0, &za->error) == false) { + return -1; + } + } + if (_zip_hash_delete(za->names, (const zip_uint8_t *)changed_name, &za->error) == false) { + _zip_hash_delete(za->names, (const zip_uint8_t *)orig_name, NULL); + return -1; + } + } + + _zip_dirent_free(za->entry[idx].changes); + za->entry[idx].changes = NULL; + + _zip_unchange_data(za->entry + idx); + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_all.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_all.c new file mode 100644 index 000000000..6a43358c9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_all.c @@ -0,0 +1,56 @@ +/* + zip_unchange.c -- undo changes to all files in zip archive + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_unchange_all(zip_t *za) { + int ret; + zip_uint64_t i; + + if (!_zip_hash_revert(za->names, &za->error)) { + return -1; + } + + ret = 0; + for (i = 0; i < za->nentry; i++) + ret |= _zip_unchange(za, i, 1); + + ret |= zip_unchange_archive(za); + + return ret; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_archive.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_archive.c new file mode 100644 index 000000000..404f1ed8c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_archive.c @@ -0,0 +1,51 @@ +/* + zip_unchange_archive.c -- undo global changes to ZIP archive + Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include + +#include "zipint.h" + + +ZIP_EXTERN int +zip_unchange_archive(zip_t *za) { + if (za->comment_changed) { + _zip_string_free(za->comment_changes); + za->comment_changes = NULL; + za->comment_changed = 0; + } + + za->ch_flags = za->flags; + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_data.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_data.c new file mode 100644 index 000000000..f1df2bdeb --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_unchange_data.c @@ -0,0 +1,53 @@ +/* + zip_unchange_data.c -- undo helper function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +void +_zip_unchange_data(zip_entry_t *ze) { + if (ze->source) { + zip_source_free(ze->source); + ze->source = NULL; + } + + if (ze->changes != NULL && (ze->changes->changed & ZIP_DIRENT_COMP_METHOD) && ze->changes->comp_method == ZIP_CM_REPLACED_DEFAULT) { + ze->changes->changed &= ~ZIP_DIRENT_COMP_METHOD; + if (ze->changes->changed == 0) { + _zip_dirent_free(ze->changes); + ze->changes = NULL; + } + } + + ze->deleted = 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_utf-8.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_utf-8.c new file mode 100644 index 000000000..684eba5ee --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_utf-8.c @@ -0,0 +1,226 @@ +/* + zip_utf-8.c -- UTF-8 support functions for libzip + Copyright (C) 2011-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "zipint.h" + +#include + + +static const zip_uint16_t _cp437_to_unicode[256] = { + /* 0x00 - 0x0F */ + 0x0000, 0x263A, 0x263B, 0x2665, 0x2666, 0x2663, 0x2660, 0x2022, 0x25D8, 0x25CB, 0x25D9, 0x2642, 0x2640, 0x266A, 0x266B, 0x263C, + + /* 0x10 - 0x1F */ + 0x25BA, 0x25C4, 0x2195, 0x203C, 0x00B6, 0x00A7, 0x25AC, 0x21A8, 0x2191, 0x2193, 0x2192, 0x2190, 0x221F, 0x2194, 0x25B2, 0x25BC, + + /* 0x20 - 0x2F */ + 0x0020, 0x0021, 0x0022, 0x0023, 0x0024, 0x0025, 0x0026, 0x0027, 0x0028, 0x0029, 0x002A, 0x002B, 0x002C, 0x002D, 0x002E, 0x002F, + + /* 0x30 - 0x3F */ + 0x0030, 0x0031, 0x0032, 0x0033, 0x0034, 0x0035, 0x0036, 0x0037, 0x0038, 0x0039, 0x003A, 0x003B, 0x003C, 0x003D, 0x003E, 0x003F, + + /* 0x40 - 0x4F */ + 0x0040, 0x0041, 0x0042, 0x0043, 0x0044, 0x0045, 0x0046, 0x0047, 0x0048, 0x0049, 0x004A, 0x004B, 0x004C, 0x004D, 0x004E, 0x004F, + + /* 0x50 - 0x5F */ + 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0055, 0x0056, 0x0057, 0x0058, 0x0059, 0x005A, 0x005B, 0x005C, 0x005D, 0x005E, 0x005F, + + /* 0x60 - 0x6F */ + 0x0060, 0x0061, 0x0062, 0x0063, 0x0064, 0x0065, 0x0066, 0x0067, 0x0068, 0x0069, 0x006A, 0x006B, 0x006C, 0x006D, 0x006E, 0x006F, + + /* 0x70 - 0x7F */ + 0x0070, 0x0071, 0x0072, 0x0073, 0x0074, 0x0075, 0x0076, 0x0077, 0x0078, 0x0079, 0x007A, 0x007B, 0x007C, 0x007D, 0x007E, 0x2302, + + /* 0x80 - 0x8F */ + 0x00C7, 0x00FC, 0x00E9, 0x00E2, 0x00E4, 0x00E0, 0x00E5, 0x00E7, 0x00EA, 0x00EB, 0x00E8, 0x00EF, 0x00EE, 0x00EC, 0x00C4, 0x00C5, + + /* 0x90 - 0x9F */ + 0x00C9, 0x00E6, 0x00C6, 0x00F4, 0x00F6, 0x00F2, 0x00FB, 0x00F9, 0x00FF, 0x00D6, 0x00DC, 0x00A2, 0x00A3, 0x00A5, 0x20A7, 0x0192, + + /* 0xA0 - 0xAF */ + 0x00E1, 0x00ED, 0x00F3, 0x00FA, 0x00F1, 0x00D1, 0x00AA, 0x00BA, 0x00BF, 0x2310, 0x00AC, 0x00BD, 0x00BC, 0x00A1, 0x00AB, 0x00BB, + + /* 0xB0 - 0xBF */ + 0x2591, 0x2592, 0x2593, 0x2502, 0x2524, 0x2561, 0x2562, 0x2556, 0x2555, 0x2563, 0x2551, 0x2557, 0x255D, 0x255C, 0x255B, 0x2510, + + /* 0xC0 - 0xCF */ + 0x2514, 0x2534, 0x252C, 0x251C, 0x2500, 0x253C, 0x255E, 0x255F, 0x255A, 0x2554, 0x2569, 0x2566, 0x2560, 0x2550, 0x256C, 0x2567, + + /* 0xD0 - 0xDF */ + 0x2568, 0x2564, 0x2565, 0x2559, 0x2558, 0x2552, 0x2553, 0x256B, 0x256A, 0x2518, 0x250C, 0x2588, 0x2584, 0x258C, 0x2590, 0x2580, + + /* 0xE0 - 0xEF */ + 0x03B1, 0x00DF, 0x0393, 0x03C0, 0x03A3, 0x03C3, 0x00B5, 0x03C4, 0x03A6, 0x0398, 0x03A9, 0x03B4, 0x221E, 0x03C6, 0x03B5, 0x2229, + + /* 0xF0 - 0xFF */ + 0x2261, 0x00B1, 0x2265, 0x2264, 0x2320, 0x2321, 0x00F7, 0x2248, 0x00B0, 0x2219, 0x00B7, 0x221A, 0x207F, 0x00B2, 0x25A0, 0x00A0}; + +#define UTF_8_LEN_2_MASK 0xe0 +#define UTF_8_LEN_2_MATCH 0xc0 +#define UTF_8_LEN_3_MASK 0xf0 +#define UTF_8_LEN_3_MATCH 0xe0 +#define UTF_8_LEN_4_MASK 0xf8 +#define UTF_8_LEN_4_MATCH 0xf0 +#define UTF_8_CONTINUE_MASK 0xc0 +#define UTF_8_CONTINUE_MATCH 0x80 + + +zip_encoding_type_t +_zip_guess_encoding(zip_string_t *str, zip_encoding_type_t expected_encoding) { + zip_encoding_type_t enc; + const zip_uint8_t *name; + zip_uint32_t i, j, ulen; + + if (str == NULL) + return ZIP_ENCODING_ASCII; + + name = str->raw; + + if (str->encoding != ZIP_ENCODING_UNKNOWN) + enc = str->encoding; + else { + enc = ZIP_ENCODING_ASCII; + for (i = 0; i < str->length; i++) { + if ((name[i] > 31 && name[i] < 128) || name[i] == '\r' || name[i] == '\n' || name[i] == '\t') + continue; + + enc = ZIP_ENCODING_UTF8_GUESSED; + if ((name[i] & UTF_8_LEN_2_MASK) == UTF_8_LEN_2_MATCH) + ulen = 1; + else if ((name[i] & UTF_8_LEN_3_MASK) == UTF_8_LEN_3_MATCH) + ulen = 2; + else if ((name[i] & UTF_8_LEN_4_MASK) == UTF_8_LEN_4_MATCH) + ulen = 3; + else { + enc = ZIP_ENCODING_CP437; + break; + } + + if (i + ulen >= str->length) { + enc = ZIP_ENCODING_CP437; + break; + } + + for (j = 1; j <= ulen; j++) { + if ((name[i + j] & UTF_8_CONTINUE_MASK) != UTF_8_CONTINUE_MATCH) { + enc = ZIP_ENCODING_CP437; + goto done; + } + } + i += ulen; + } + } + +done: + str->encoding = enc; + + if (expected_encoding != ZIP_ENCODING_UNKNOWN) { + if (expected_encoding == ZIP_ENCODING_UTF8_KNOWN && enc == ZIP_ENCODING_UTF8_GUESSED) + str->encoding = enc = ZIP_ENCODING_UTF8_KNOWN; + + if (expected_encoding != enc && enc != ZIP_ENCODING_ASCII) + return ZIP_ENCODING_ERROR; + } + + return enc; +} + + +static zip_uint32_t +_zip_unicode_to_utf8_len(zip_uint32_t codepoint) { + if (codepoint < 0x0080) + return 1; + if (codepoint < 0x0800) + return 2; + if (codepoint < 0x10000) + return 3; + return 4; +} + + +static zip_uint32_t +_zip_unicode_to_utf8(zip_uint32_t codepoint, zip_uint8_t *buf) { + if (codepoint < 0x0080) { + buf[0] = codepoint & 0xff; + return 1; + } + if (codepoint < 0x0800) { + buf[0] = (zip_uint8_t)(UTF_8_LEN_2_MATCH | ((codepoint >> 6) & 0x1f)); + buf[1] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | (codepoint & 0x3f)); + return 2; + } + if (codepoint < 0x10000) { + buf[0] = (zip_uint8_t)(UTF_8_LEN_3_MATCH | ((codepoint >> 12) & 0x0f)); + buf[1] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | ((codepoint >> 6) & 0x3f)); + buf[2] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | (codepoint & 0x3f)); + return 3; + } + buf[0] = (zip_uint8_t)(UTF_8_LEN_4_MATCH | ((codepoint >> 18) & 0x07)); + buf[1] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | ((codepoint >> 12) & 0x3f)); + buf[2] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | ((codepoint >> 6) & 0x3f)); + buf[3] = (zip_uint8_t)(UTF_8_CONTINUE_MATCH | (codepoint & 0x3f)); + return 4; +} + + +zip_uint8_t * +_zip_cp437_to_utf8(const zip_uint8_t *const _cp437buf, zip_uint32_t len, zip_uint32_t *utf8_lenp, zip_error_t *error) { + zip_uint8_t *cp437buf = (zip_uint8_t *)_cp437buf; + zip_uint8_t *utf8buf; + zip_uint32_t buflen, i, offset; + + if (len == 0) { + if (utf8_lenp) + *utf8_lenp = 0; + return NULL; + } + + buflen = 1; + for (i = 0; i < len; i++) + buflen += _zip_unicode_to_utf8_len(_cp437_to_unicode[cp437buf[i]]); + + if ((utf8buf = (zip_uint8_t *)malloc(buflen)) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + offset = 0; + for (i = 0; i < len; i++) + offset += _zip_unicode_to_utf8(_cp437_to_unicode[cp437buf[i]], utf8buf + offset); + + utf8buf[buflen - 1] = 0; + if (utf8_lenp) + *utf8_lenp = buflen - 1; + return utf8buf; +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zip_winzip_aes.c b/plugins/TKLiveSync/libzip_iOS/lib/zip_winzip_aes.c new file mode 100644 index 000000000..03159d7ff --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zip_winzip_aes.c @@ -0,0 +1,163 @@ +/* + zip_winzip_aes.c -- Winzip AES de/encryption backend routines + Copyright (C) 2017-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "zipint.h" + +#include "zip_crypto.h" + +#include +#include +#include + + +#define MAX_KEY_LENGTH 256 +#define PBKDF2_ITERATIONS 1000 + +struct _zip_winzip_aes { + _zip_crypto_aes_t *aes; + _zip_crypto_hmac_t *hmac; + zip_uint8_t counter[ZIP_CRYPTO_AES_BLOCK_LENGTH]; + zip_uint8_t pad[ZIP_CRYPTO_AES_BLOCK_LENGTH]; + int pad_offset; +}; + +static bool +aes_crypt(zip_winzip_aes_t *ctx, zip_uint8_t *data, zip_uint64_t length) { + zip_uint64_t i, j; + + for (i = 0; i < length; i++) { + if (ctx->pad_offset == AES_BLOCK_SIZE) { + for (j = 0; j < 8; j++) { + ctx->counter[j]++; + if (ctx->counter[j] != 0) { + break; + } + } + if (!_zip_crypto_aes_encrypt_block(ctx->aes, ctx->counter, ctx->pad)) { + return false; + } + ctx->pad_offset = 0; + } + data[i] ^= ctx->pad[ctx->pad_offset++]; + } + + return true; +} + + +zip_winzip_aes_t * +_zip_winzip_aes_new(const zip_uint8_t *password, zip_uint64_t password_length, const zip_uint8_t *salt, zip_uint16_t encryption_method, zip_uint8_t *password_verify, zip_error_t *error) { + zip_winzip_aes_t *ctx; + zip_uint8_t buffer[2 * (MAX_KEY_LENGTH / 8) + WINZIP_AES_PASSWORD_VERIFY_LENGTH]; + zip_uint16_t key_size = 0; /* in bits */ + zip_uint16_t key_length; /* in bytes */ + + switch (encryption_method) { + case ZIP_EM_AES_128: + key_size = 128; + break; + case ZIP_EM_AES_192: + key_size = 192; + break; + case ZIP_EM_AES_256: + key_size = 256; + break; + } + + if (key_size == 0 || salt == NULL || password == NULL || password_length == 0) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + + key_length = key_size / 8; + + if ((ctx = (zip_winzip_aes_t *)malloc(sizeof(*ctx))) == NULL) { + zip_error_set(error, ZIP_ER_MEMORY, 0); + return NULL; + } + + memset(ctx->counter, 0, sizeof(ctx->counter)); + ctx->pad_offset = ZIP_CRYPTO_AES_BLOCK_LENGTH; + + if (!_zip_crypto_pbkdf2(password, password_length, salt, key_length / 2, PBKDF2_ITERATIONS, buffer, 2 * key_length + WINZIP_AES_PASSWORD_VERIFY_LENGTH)) { + free(ctx); + return NULL; + } + + if ((ctx->aes = _zip_crypto_aes_new(buffer, key_size, error)) == NULL) { + _zip_crypto_clear(ctx, sizeof(*ctx)); + free(ctx); + return NULL; + } + if ((ctx->hmac = _zip_crypto_hmac_new(buffer + key_length, key_length, error)) == NULL) { + _zip_crypto_aes_free(ctx->aes); + free(ctx); + return NULL; + } + + if (password_verify) { + memcpy(password_verify, buffer + (2 * key_size / 8), WINZIP_AES_PASSWORD_VERIFY_LENGTH); + } + + return ctx; +} + + +bool +_zip_winzip_aes_encrypt(zip_winzip_aes_t *ctx, zip_uint8_t *data, zip_uint64_t length) { + return aes_crypt(ctx, data, length) && _zip_crypto_hmac(ctx->hmac, data, length); +} + + +bool +_zip_winzip_aes_decrypt(zip_winzip_aes_t *ctx, zip_uint8_t *data, zip_uint64_t length) { + return _zip_crypto_hmac(ctx->hmac, data, length) && aes_crypt(ctx, data, length); +} + + +bool +_zip_winzip_aes_finish(zip_winzip_aes_t *ctx, zip_uint8_t *hmac) { + return _zip_crypto_hmac_output(ctx->hmac, hmac); +} + + +void +_zip_winzip_aes_free(zip_winzip_aes_t *ctx) { + if (ctx == NULL) { + return; + } + + _zip_crypto_aes_free(ctx->aes); + _zip_crypto_hmac_free(ctx->hmac); + free(ctx); +} diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zipint.h b/plugins/TKLiveSync/libzip_iOS/lib/zipint.h new file mode 100644 index 000000000..477929498 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zipint.h @@ -0,0 +1,585 @@ +#ifndef _HAD_ZIPINT_H +#define _HAD_ZIPINT_H + +/* + zipint.h -- internal declarations. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include "compat.h" + +#ifdef ZIP_ALLOCATE_BUFFER +#include +#endif + +#include + +#ifndef _ZIP_COMPILING_DEPRECATED +#define ZIP_DISABLE_DEPRECATED +#endif + +#include "zip.h" + +#define CENTRAL_MAGIC "PK\1\2" +#define LOCAL_MAGIC "PK\3\4" +#define EOCD_MAGIC "PK\5\6" +#define DATADES_MAGIC "PK\7\10" +#define EOCD64LOC_MAGIC "PK\6\7" +#define EOCD64_MAGIC "PK\6\6" +#define CDENTRYSIZE 46u +#define LENTRYSIZE 30 +#define MAXCOMLEN 65536 +#define MAXEXTLEN 65536 +#define EOCDLEN 22 +#define EOCD64LOCLEN 20 +#define EOCD64LEN 56 +#define CDBUFSIZE (MAXCOMLEN + EOCDLEN + EOCD64LOCLEN) +#define BUFSIZE 8192 +#define EFZIP64SIZE 28 +#define EF_WINZIP_AES_SIZE 7 + +#define ZIP_CM_REPLACED_DEFAULT (-2) +#define ZIP_CM_WINZIP_AES 99 /* Winzip AES encrypted */ + +#define WINZIP_AES_PASSWORD_VERIFY_LENGTH 2 +#define WINZIP_AES_MAX_HEADER_LENGTH (16 + WINZIP_AES_PASSWORD_VERIFY_LENGTH) +#define AES_BLOCK_SIZE 16 +#define HMAC_LENGTH 10 +#define SHA1_LENGTH 20 +#define SALT_LENGTH(method) ((method) == ZIP_EM_AES_128 ? 8 : ((method) == ZIP_EM_AES_192 ? 12 : 16)) + +#define ZIP_CM_IS_DEFAULT(x) ((x) == ZIP_CM_DEFAULT || (x) == ZIP_CM_REPLACED_DEFAULT) +#define ZIP_CM_ACTUAL(x) ((zip_uint16_t)(ZIP_CM_IS_DEFAULT(x) ? ZIP_CM_DEFLATE : (x))) + +#define ZIP_EF_UTF_8_COMMENT 0x6375 +#define ZIP_EF_UTF_8_NAME 0x7075 +#define ZIP_EF_WINZIP_AES 0x9901 +#define ZIP_EF_ZIP64 0x0001 + +#define ZIP_EF_IS_INTERNAL(id) ((id) == ZIP_EF_UTF_8_COMMENT || (id) == ZIP_EF_UTF_8_NAME || (id) == ZIP_EF_WINZIP_AES || (id) == ZIP_EF_ZIP64) + +/* according to unzip-6.0's zipinfo.c, this corresponds to a regular file with rw permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT (0100666u << 16) +/* according to unzip-6.0's zipinfo.c, this corresponds to a directory with rwx permissions for everyone */ +#define ZIP_EXT_ATTRIB_DEFAULT_DIR (0040777u << 16) + + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +/* This section contains API that won't materialize like this. It's + placed in the internal section, pending cleanup. */ + +/* flags for compression and encryption sources */ + +#define ZIP_CODEC_DECODE 0 /* decompress/decrypt (encode flag not set) */ +#define ZIP_CODEC_ENCODE 1 /* compress/encrypt */ + +typedef zip_source_t *(*zip_encryption_implementation)(zip_t *, zip_source_t *, zip_uint16_t, int, const char *); + +zip_encryption_implementation _zip_get_encryption_implementation(zip_uint16_t method, int operation); + +// clang-format off +enum zip_compression_status { + ZIP_COMPRESSION_OK, + ZIP_COMPRESSION_END, + ZIP_COMPRESSION_ERROR, + ZIP_COMPRESSION_NEED_DATA +}; +// clang-format on +typedef enum zip_compression_status zip_compression_status_t; + +struct zip_compression_algorithm { + /* called once to create new context */ + void *(*allocate)(zip_uint16_t method, int compression_flags, zip_error_t *error); + /* called once to free context */ + void (*deallocate)(void *ctx); + + /* get compression specific general purpose bitflags */ + int (*compression_flags)(void *ctx); + + /* start processing */ + bool (*start)(void *ctx); + /* stop processing */ + bool (*end)(void *ctx); + + /* provide new input data, remains valid until next call to input or end */ + bool (*input)(void *ctx, zip_uint8_t *data, zip_uint64_t length); + + /* all input data has been provided */ + void (*end_of_input)(void *ctx); + + /* process input data, writing to data, which has room for length bytes, update length to number of bytes written */ + zip_compression_status_t (*process)(void *ctx, zip_uint8_t *data, zip_uint64_t *length); +}; +typedef struct zip_compression_algorithm zip_compression_algorithm_t; + +extern zip_compression_algorithm_t zip_algorithm_bzip2_compress; +extern zip_compression_algorithm_t zip_algorithm_bzip2_decompress; +extern zip_compression_algorithm_t zip_algorithm_deflate_compress; +extern zip_compression_algorithm_t zip_algorithm_deflate_decompress; + +bool zip_compression_method_supported(zip_int32_t method, bool compress); + +/* This API is not final yet, but we need it internally, so it's private for now. */ + +const zip_uint8_t *zip_get_extra_field_by_id(zip_t *, int, int, zip_uint16_t, int, zip_uint16_t *); + +/* This section contains API that is of limited use until support for + user-supplied compression/encryption implementation is finished. + Thus we will keep it private for now. */ + +typedef zip_int64_t (*zip_source_layered_callback)(zip_source_t *, void *, void *, zip_uint64_t, enum zip_source_cmd); +zip_source_t *zip_source_compress(zip_t *za, zip_source_t *src, zip_int32_t cm, int compression_flags); +zip_source_t *zip_source_crc(zip_t *, zip_source_t *, int); +zip_source_t *zip_source_decompress(zip_t *za, zip_source_t *src, zip_int32_t cm); +zip_source_t *zip_source_layered(zip_t *, zip_source_t *, zip_source_layered_callback, void *); +zip_source_t *zip_source_layered_create(zip_source_t *src, zip_source_layered_callback cb, void *ud, zip_error_t *error); +zip_source_t *zip_source_pkware(zip_t *, zip_source_t *, zip_uint16_t, int, const char *); +int zip_source_remove(zip_source_t *); +zip_int64_t zip_source_supports(zip_source_t *src); +zip_source_t *zip_source_window(zip_t *, zip_source_t *, zip_uint64_t, zip_uint64_t); +zip_source_t *zip_source_winzip_aes_decode(zip_t *, zip_source_t *, zip_uint16_t, int, const char *); +zip_source_t *zip_source_winzip_aes_encode(zip_t *, zip_source_t *, zip_uint16_t, int, const char *); + + +/* error source for layered sources */ + +enum zip_les { ZIP_LES_NONE, ZIP_LES_UPPER, ZIP_LES_LOWER, ZIP_LES_INVAL }; + +/* directory entry: general purpose bit flags */ + +#define ZIP_GPBF_ENCRYPTED 0x0001u /* is encrypted */ +#define ZIP_GPBF_DATA_DESCRIPTOR 0x0008u /* crc/size after file data */ +#define ZIP_GPBF_STRONG_ENCRYPTION 0x0040u /* uses strong encryption */ +#define ZIP_GPBF_ENCODING_UTF_8 0x0800u /* file name encoding is UTF-8 */ + + +/* extra fields */ +#define ZIP_EF_LOCAL ZIP_FL_LOCAL /* include in local header */ +#define ZIP_EF_CENTRAL ZIP_FL_CENTRAL /* include in central directory */ +#define ZIP_EF_BOTH (ZIP_EF_LOCAL | ZIP_EF_CENTRAL) /* include in both */ + +#define ZIP_FL_FORCE_ZIP64 1024 /* force zip64 extra field (_zip_dirent_write) */ + +#define ZIP_FL_ENCODING_ALL (ZIP_FL_ENC_GUESS | ZIP_FL_ENC_CP437 | ZIP_FL_ENC_UTF_8) + + +/* encoding type */ +enum zip_encoding_type { + ZIP_ENCODING_UNKNOWN, /* not yet analyzed */ + ZIP_ENCODING_ASCII, /* plain ASCII */ + ZIP_ENCODING_UTF8_KNOWN, /* is UTF-8 */ + ZIP_ENCODING_UTF8_GUESSED, /* possibly UTF-8 */ + ZIP_ENCODING_CP437, /* Code Page 437 */ + ZIP_ENCODING_ERROR /* should be UTF-8 but isn't */ +}; + +typedef enum zip_encoding_type zip_encoding_type_t; + +struct zip_hash; +struct zip_progress; + +typedef struct zip_cdir zip_cdir_t; +typedef struct zip_dirent zip_dirent_t; +typedef struct zip_entry zip_entry_t; +typedef struct zip_extra_field zip_extra_field_t; +typedef struct zip_string zip_string_t; +typedef struct zip_buffer zip_buffer_t; +typedef struct zip_hash zip_hash_t; +typedef struct zip_progress zip_progress_t; + +/* zip archive, part of API */ + +struct zip { + zip_source_t *src; /* data source for archive */ + unsigned int open_flags; /* flags passed to zip_open */ + zip_error_t error; /* error information */ + + unsigned int flags; /* archive global flags */ + unsigned int ch_flags; /* changed archive global flags */ + + char *default_password; /* password used when no other supplied */ + + zip_string_t *comment_orig; /* archive comment */ + zip_string_t *comment_changes; /* changed archive comment */ + bool comment_changed; /* whether archive comment was changed */ + + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + zip_entry_t *entry; /* entries */ + + unsigned int nopen_source; /* number of open sources using archive */ + unsigned int nopen_source_alloc; /* number of sources allocated */ + zip_source_t **open_source; /* open sources using archive */ + + zip_hash_t *names; /* hash table for name lookup */ + + zip_progress_t *progress; /* progress callback for zip_close() */ +}; + +/* file in zip archive, part of API */ + +struct zip_file { + zip_t *za; /* zip archive containing this file */ + zip_error_t error; /* error information */ + bool eof; + zip_source_t *src; /* data source */ +}; + +/* zip archive directory entry (central or local) */ + +#define ZIP_DIRENT_COMP_METHOD 0x0001u +#define ZIP_DIRENT_FILENAME 0x0002u +#define ZIP_DIRENT_COMMENT 0x0004u +#define ZIP_DIRENT_EXTRA_FIELD 0x0008u +#define ZIP_DIRENT_ATTRIBUTES 0x0010u +#define ZIP_DIRENT_LAST_MOD 0x0020u +#define ZIP_DIRENT_ENCRYPTION_METHOD 0x0040u +#define ZIP_DIRENT_PASSWORD 0x0080u +#define ZIP_DIRENT_ALL ZIP_UINT32_MAX + +struct zip_dirent { + zip_uint32_t changed; + bool local_extra_fields_read; /* whether we already read in local header extra fields */ + bool cloned; /* whether this instance is cloned, and thus shares non-changed strings */ + + bool crc_valid; /* if CRC is valid (sometimes not for encrypted archives) */ + + zip_uint16_t version_madeby; /* (c) version of creator */ + zip_uint16_t version_needed; /* (cl) version needed to extract */ + zip_uint16_t bitflags; /* (cl) general purpose bit flag */ + zip_int32_t comp_method; /* (cl) compression method used (uint16 and ZIP_CM_DEFAULT (-1)) */ + time_t last_mod; /* (cl) time of last modification */ + zip_uint32_t crc; /* (cl) CRC-32 of uncompressed data */ + zip_uint64_t comp_size; /* (cl) size of compressed data */ + zip_uint64_t uncomp_size; /* (cl) size of uncompressed data */ + zip_string_t *filename; /* (cl) file name (NUL-terminated) */ + zip_extra_field_t *extra_fields; /* (cl) extra fields, parsed */ + zip_string_t *comment; /* (c) file comment */ + zip_uint32_t disk_number; /* (c) disk number start */ + zip_uint16_t int_attrib; /* (c) internal file attributes */ + zip_uint32_t ext_attrib; /* (c) external file attributes */ + zip_uint64_t offset; /* (c) offset of local header */ + + zip_uint16_t compression_level; /* level of compression to use (never valid in orig) */ + zip_uint16_t encryption_method; /* encryption method, computed from other fields */ + char *password; /* file specific encryption password */ +}; + +/* zip archive central directory */ + +struct zip_cdir { + zip_entry_t *entry; /* directory entries */ + zip_uint64_t nentry; /* number of entries */ + zip_uint64_t nentry_alloc; /* number of entries allocated */ + + zip_uint64_t size; /* size of central directory */ + zip_uint64_t offset; /* offset of central directory in file */ + zip_string_t *comment; /* zip archive comment */ + bool is_zip64; /* central directory in zip64 format */ +}; + +struct zip_extra_field { + zip_extra_field_t *next; + zip_flags_t flags; /* in local/central header */ + zip_uint16_t id; /* header id */ + zip_uint16_t size; /* data size */ + zip_uint8_t *data; +}; + +enum zip_source_write_state { + ZIP_SOURCE_WRITE_CLOSED, /* write is not in progress */ + ZIP_SOURCE_WRITE_OPEN, /* write is in progress */ + ZIP_SOURCE_WRITE_FAILED, /* commit failed, only rollback allowed */ + ZIP_SOURCE_WRITE_REMOVED /* file was removed */ +}; +typedef enum zip_source_write_state zip_source_write_state_t; + +struct zip_source { + zip_source_t *src; + union { + zip_source_callback f; + zip_source_layered_callback l; + } cb; + void *ud; + zip_error_t error; + zip_int64_t supports; /* supported commands */ + unsigned int open_count; /* number of times source was opened (directly or as lower layer) */ + zip_source_write_state_t write_state; /* whether source is open for writing */ + bool source_closed; /* set if source archive is closed */ + zip_t *source_archive; /* zip archive we're reading from, NULL if not from archive */ + unsigned int refcount; + bool eof; /* EOF reached */ + bool had_read_error; /* a previous ZIP_SOURCE_READ reported an error */ +}; + +#define ZIP_SOURCE_IS_OPEN_READING(src) ((src)->open_count > 0) +#define ZIP_SOURCE_IS_OPEN_WRITING(src) ((src)->write_state == ZIP_SOURCE_WRITE_OPEN) +#define ZIP_SOURCE_IS_LAYERED(src) ((src)->src != NULL) + +/* entry in zip archive directory */ + +struct zip_entry { + zip_dirent_t *orig; + zip_dirent_t *changes; + zip_source_t *source; + bool deleted; +}; + + +/* file or archive comment, or filename */ + +struct zip_string { + zip_uint8_t *raw; /* raw string */ + zip_uint16_t length; /* length of raw string */ + enum zip_encoding_type encoding; /* autorecognized encoding */ + zip_uint8_t *converted; /* autoconverted string */ + zip_uint32_t converted_length; /* length of converted */ +}; + + +/* byte array */ + +/* For performance, we usually keep 8k byte arrays on the stack. + However, there are (embedded) systems with a stack size of 12k; + for those, use malloc()/free() */ + +#ifdef ZIP_ALLOCATE_BUFFER +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t *buf +#define byte_array_init(buf, size) (((buf) = (zip_uint8_t *)malloc(size)) != NULL) +#define byte_array_fini(buf) (free(buf)) +#else +#define DEFINE_BYTE_ARRAY(buf, size) zip_uint8_t buf[size] +#define byte_array_init(buf, size) (1) +#define byte_array_fini(buf) ((void)0) +#endif + + +/* bounds checked access to memory buffer */ + +struct zip_buffer { + bool ok; + bool free_data; + + zip_uint8_t *data; + zip_uint64_t size; + zip_uint64_t offset; +}; + +/* which files to write in which order */ + +struct zip_filelist { + zip_uint64_t idx; + /* TODO const char *name; */ +}; + +typedef struct zip_filelist zip_filelist_t; + +struct _zip_winzip_aes; +typedef struct _zip_winzip_aes zip_winzip_aes_t; + +extern const char *const _zip_err_str[]; +extern const int _zip_nerr_str; +extern const int _zip_err_type[]; + +#define ZIP_MAX(a, b) ((a) > (b) ? (a) : (b)) +#define ZIP_MIN(a, b) ((a) < (b) ? (a) : (b)) + +#define ZIP_ENTRY_CHANGED(e, f) ((e)->changes && ((e)->changes->changed & (f))) +#define ZIP_ENTRY_DATA_CHANGED(x) ((x)->source != NULL) +#define ZIP_ENTRY_HAS_CHANGES(e) (ZIP_ENTRY_DATA_CHANGED(e) || (e)->deleted || ZIP_ENTRY_CHANGED((e), ZIP_DIRENT_ALL)) + +#define ZIP_IS_RDONLY(za) ((za)->ch_flags & ZIP_AFL_RDONLY) + + +#ifdef HAVE_EXPLICIT_MEMSET +#define _zip_crypto_clear(b, l) explicit_memset((b), 0, (l)) +#else +#ifdef HAVE_EXPLICIT_BZERO +#define _zip_crypto_clear(b, l) explicit_bzero((b), (l)) +#else +#include +#define _zip_crypto_clear(b, l) memset((b), 0, (l)) +#endif +#endif + + +zip_int64_t _zip_add_entry(zip_t *); + +zip_uint8_t *_zip_buffer_data(zip_buffer_t *buffer); +bool _zip_buffer_eof(zip_buffer_t *buffer); +void _zip_buffer_free(zip_buffer_t *buffer); +zip_uint8_t *_zip_buffer_get(zip_buffer_t *buffer, zip_uint64_t length); +zip_uint16_t _zip_buffer_get_16(zip_buffer_t *buffer); +zip_uint32_t _zip_buffer_get_32(zip_buffer_t *buffer); +zip_uint64_t _zip_buffer_get_64(zip_buffer_t *buffer); +zip_uint8_t _zip_buffer_get_8(zip_buffer_t *buffer); +zip_uint64_t _zip_buffer_left(zip_buffer_t *buffer); +zip_buffer_t *_zip_buffer_new(zip_uint8_t *data, zip_uint64_t size); +zip_buffer_t *_zip_buffer_new_from_source(zip_source_t *src, zip_uint64_t size, zip_uint8_t *buf, zip_error_t *error); +zip_uint64_t _zip_buffer_offset(zip_buffer_t *buffer); +bool _zip_buffer_ok(zip_buffer_t *buffer); +zip_uint8_t *_zip_buffer_peek(zip_buffer_t *buffer, zip_uint64_t length); +int _zip_buffer_put(zip_buffer_t *buffer, const void *src, size_t length); +int _zip_buffer_put_16(zip_buffer_t *buffer, zip_uint16_t i); +int _zip_buffer_put_32(zip_buffer_t *buffer, zip_uint32_t i); +int _zip_buffer_put_64(zip_buffer_t *buffer, zip_uint64_t i); +int _zip_buffer_put_8(zip_buffer_t *buffer, zip_uint8_t i); +zip_uint64_t _zip_buffer_read(zip_buffer_t *buffer, zip_uint8_t *data, zip_uint64_t length); +int _zip_buffer_skip(zip_buffer_t *buffer, zip_uint64_t length); +int _zip_buffer_set_offset(zip_buffer_t *buffer, zip_uint64_t offset); +zip_uint64_t _zip_buffer_size(zip_buffer_t *buffer); + +int _zip_cdir_compute_crc(zip_t *, uLong *); +void _zip_cdir_free(zip_cdir_t *); +bool _zip_cdir_grow(zip_cdir_t *cd, zip_uint64_t additional_entries, zip_error_t *error); +zip_cdir_t *_zip_cdir_new(zip_uint64_t, zip_error_t *); +zip_int64_t _zip_cdir_write(zip_t *za, const zip_filelist_t *filelist, zip_uint64_t survivors); +void _zip_deregister_source(zip_t *za, zip_source_t *src); + +zip_dirent_t *_zip_dirent_clone(const zip_dirent_t *); +void _zip_dirent_free(zip_dirent_t *); +void _zip_dirent_finalize(zip_dirent_t *); +void _zip_dirent_init(zip_dirent_t *); +bool _zip_dirent_needs_zip64(const zip_dirent_t *, zip_flags_t); +zip_dirent_t *_zip_dirent_new(void); +zip_int64_t _zip_dirent_read(zip_dirent_t *zde, zip_source_t *src, zip_buffer_t *buffer, bool local, zip_error_t *error); +void _zip_dirent_set_version_needed(zip_dirent_t *de, bool force_zip64); +zip_int32_t _zip_dirent_size(zip_source_t *src, zip_uint16_t, zip_error_t *); +int _zip_dirent_write(zip_t *za, zip_dirent_t *dirent, zip_flags_t flags); + +zip_extra_field_t *_zip_ef_clone(const zip_extra_field_t *, zip_error_t *); +zip_extra_field_t *_zip_ef_delete_by_id(zip_extra_field_t *, zip_uint16_t, zip_uint16_t, zip_flags_t); +void _zip_ef_free(zip_extra_field_t *); +const zip_uint8_t *_zip_ef_get_by_id(const zip_extra_field_t *, zip_uint16_t *, zip_uint16_t, zip_uint16_t, zip_flags_t, zip_error_t *); +zip_extra_field_t *_zip_ef_merge(zip_extra_field_t *, zip_extra_field_t *); +zip_extra_field_t *_zip_ef_new(zip_uint16_t, zip_uint16_t, const zip_uint8_t *, zip_flags_t); +bool _zip_ef_parse(const zip_uint8_t *, zip_uint16_t, zip_flags_t, zip_extra_field_t **, zip_error_t *); +zip_extra_field_t *_zip_ef_remove_internal(zip_extra_field_t *); +zip_uint16_t _zip_ef_size(const zip_extra_field_t *, zip_flags_t); +int _zip_ef_write(zip_t *za, const zip_extra_field_t *ef, zip_flags_t flags); + +void _zip_entry_finalize(zip_entry_t *); +void _zip_entry_init(zip_entry_t *); + +void _zip_error_clear(zip_error_t *); +void _zip_error_get(const zip_error_t *, int *, int *); + +void _zip_error_copy(zip_error_t *dst, const zip_error_t *src); +void _zip_error_set_from_source(zip_error_t *, zip_source_t *); + +const zip_uint8_t *_zip_extract_extra_field_by_id(zip_error_t *, zip_uint16_t, int, const zip_uint8_t *, zip_uint16_t, zip_uint16_t *); + +int _zip_file_extra_field_prepare_for_change(zip_t *, zip_uint64_t); +int _zip_file_fillbuf(void *, size_t, zip_file_t *); +zip_uint64_t _zip_file_get_end(const zip_t *za, zip_uint64_t index, zip_error_t *error); +zip_uint64_t _zip_file_get_offset(const zip_t *, zip_uint64_t, zip_error_t *); + +int _zip_filerange_crc(zip_source_t *src, zip_uint64_t offset, zip_uint64_t length, uLong *crcp, zip_error_t *error); + +zip_dirent_t *_zip_get_dirent(zip_t *, zip_uint64_t, zip_flags_t, zip_error_t *); + +enum zip_encoding_type _zip_guess_encoding(zip_string_t *, enum zip_encoding_type); +zip_uint8_t *_zip_cp437_to_utf8(const zip_uint8_t *const, zip_uint32_t, zip_uint32_t *, zip_error_t *); + +bool _zip_hash_add(zip_hash_t *hash, const zip_uint8_t *name, zip_uint64_t index, zip_flags_t flags, zip_error_t *error); +bool _zip_hash_delete(zip_hash_t *hash, const zip_uint8_t *key, zip_error_t *error); +void _zip_hash_free(zip_hash_t *hash); +zip_int64_t _zip_hash_lookup(zip_hash_t *hash, const zip_uint8_t *name, zip_flags_t flags, zip_error_t *error); +zip_hash_t *_zip_hash_new(zip_error_t *error); +bool _zip_hash_reserve_capacity(zip_hash_t *hash, zip_uint64_t capacity, zip_error_t *error); +bool _zip_hash_revert(zip_hash_t *hash, zip_error_t *error); + +zip_t *_zip_open(zip_source_t *, unsigned int, zip_error_t *); + +void _zip_progress_end(zip_progress_t *progress); +void _zip_progress_free(zip_progress_t *progress); +zip_progress_t *_zip_progress_new(zip_t *za, double precision, zip_progress_callback callback, void (*ud_free)(void *), void *ud); +void _zip_progress_start(zip_progress_t *progress); +void _zip_progress_subrange(zip_progress_t *progress, double start, double end); +void _zip_progress_update(zip_progress_t *progress, double value); + +ZIP_EXTERN bool zip_random(zip_uint8_t *buffer, zip_uint16_t length); + +int _zip_read(zip_source_t *src, zip_uint8_t *data, zip_uint64_t length, zip_error_t *error); +int _zip_read_at_offset(zip_source_t *src, zip_uint64_t offset, unsigned char *b, size_t length, zip_error_t *error); +zip_uint8_t *_zip_read_data(zip_buffer_t *buffer, zip_source_t *src, size_t length, bool nulp, zip_error_t *error); +int _zip_read_local_ef(zip_t *, zip_uint64_t); +zip_string_t *_zip_read_string(zip_buffer_t *buffer, zip_source_t *src, zip_uint16_t lenght, bool nulp, zip_error_t *error); +int _zip_register_source(zip_t *za, zip_source_t *src); + +void _zip_set_open_error(int *zep, const zip_error_t *err, int ze); + +zip_int64_t _zip_source_call(zip_source_t *src, void *data, zip_uint64_t length, zip_source_cmd_t command); +bool _zip_source_eof(zip_source_t *); +zip_source_t *_zip_source_file_or_p(const char *, FILE *, zip_uint64_t, zip_int64_t, const zip_stat_t *, zip_error_t *error); +zip_int8_t zip_source_get_compression_flags(zip_source_t *); +bool _zip_source_had_error(zip_source_t *); +void _zip_source_invalidate(zip_source_t *src); +zip_source_t *_zip_source_new(zip_error_t *error); +int _zip_source_set_source_archive(zip_source_t *, zip_t *); +zip_source_t *_zip_source_window_new(zip_source_t *src, zip_uint64_t start, zip_uint64_t length, zip_stat_t *st, zip_int8_t compression_flags, zip_t *source_archive, zip_uint64_t source_index, zip_error_t *error); +zip_source_t *_zip_source_zip_new(zip_t *, zip_t *, zip_uint64_t, zip_flags_t, zip_uint64_t, zip_uint64_t, const char *); + +int _zip_stat_merge(zip_stat_t *dst, const zip_stat_t *src, zip_error_t *error); +int _zip_string_equal(const zip_string_t *, const zip_string_t *); +void _zip_string_free(zip_string_t *); +zip_uint32_t _zip_string_crc32(const zip_string_t *); +const zip_uint8_t *_zip_string_get(zip_string_t *, zip_uint32_t *, zip_flags_t, zip_error_t *); +zip_uint16_t _zip_string_length(const zip_string_t *); +zip_string_t *_zip_string_new(const zip_uint8_t *, zip_uint16_t, zip_flags_t, zip_error_t *); +int _zip_string_write(zip_t *za, const zip_string_t *string); +bool _zip_winzip_aes_decrypt(zip_winzip_aes_t *ctx, zip_uint8_t *data, zip_uint64_t length); +bool _zip_winzip_aes_encrypt(zip_winzip_aes_t *ctx, zip_uint8_t *data, zip_uint64_t length); +bool _zip_winzip_aes_finish(zip_winzip_aes_t *ctx, zip_uint8_t *hmac); +void _zip_winzip_aes_free(zip_winzip_aes_t *ctx); +zip_winzip_aes_t *_zip_winzip_aes_new(const zip_uint8_t *password, zip_uint64_t password_length, const zip_uint8_t *salt, zip_uint16_t key_size, zip_uint8_t *password_verify, zip_error_t *error); + +int _zip_changed(const zip_t *, zip_uint64_t *); +const char *_zip_get_name(zip_t *, zip_uint64_t, zip_flags_t, zip_error_t *); +int _zip_local_header_read(zip_t *, int); +void *_zip_memdup(const void *, size_t, zip_error_t *); +zip_int64_t _zip_name_locate(zip_t *, const char *, zip_flags_t, zip_error_t *); +zip_t *_zip_new(zip_error_t *); + +zip_int64_t _zip_file_replace(zip_t *, zip_uint64_t, const char *, zip_source_t *, zip_flags_t); +int _zip_set_name(zip_t *, zip_uint64_t, const char *, zip_flags_t); +void _zip_u2d_time(time_t, zip_uint16_t *, zip_uint16_t *); +int _zip_unchange(zip_t *, zip_uint64_t, int); +void _zip_unchange_data(zip_entry_t *); +int _zip_write(zip_t *za, const void *data, zip_uint64_t length); + +#endif /* zipint.h */ diff --git a/plugins/TKLiveSync/libzip_iOS/lib/zipwin32.h b/plugins/TKLiveSync/libzip_iOS/lib/zipwin32.h new file mode 100644 index 000000000..7d3ac76cd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/lib/zipwin32.h @@ -0,0 +1,85 @@ +#ifndef _HAD_ZIPWIN32_H +#define _HAD_ZIPWIN32_H + +/* + zipwin32.h -- internal declarations for Windows. + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +/* 0x0501 => Windows XP; needs to be at least this value because of GetFileSizeEx */ +#if !defined(MS_UWP) && !defined(_WIN32_WINNT) +#define _WIN32_WINNT 0x0501 +#endif + +#include + +/* context for Win32 source */ + +struct _zip_source_win32_file_ops; + +struct _zip_source_win32_read_file { + zip_error_t error; /* last error information */ + zip_int64_t supports; + + /* operations */ + struct _zip_source_win32_file_ops *ops; + + /* reading */ + void *fname; /* name of file to read from - ANSI (char *) or Unicode (wchar_t *) */ + void *h; /* HANDLE for file to read from */ + int closep; /* whether to close f on ZIP_CMD_FREE */ + struct zip_stat st; /* stat information passed in */ + zip_uint64_t start; /* start offset of data to read */ + zip_uint64_t end; /* end offset of data to read, 0 for up to EOF */ + zip_uint64_t current; /* current offset */ + + /* writing */ + void *tmpname; /* name of temp file - ANSI (char *) or Unicode (wchar_t *) */ + void *hout; /* HANDLE for output file */ +}; + +typedef struct _zip_source_win32_read_file _zip_source_win32_read_file_t; + +/* internal operations for Win32 source */ + +struct _zip_source_win32_file_ops { + void *(*op_strdup)(const void *); + void *(*op_open)(_zip_source_win32_read_file_t *); + void *(*op_create_temp)(_zip_source_win32_read_file_t *, void **, zip_uint32_t, PSECURITY_ATTRIBUTES); + int (*op_rename_temp)(_zip_source_win32_read_file_t *); + int (*op_remove)(const void *); +}; + +typedef struct _zip_source_win32_file_ops _zip_source_win32_file_ops_t; + +zip_source_t *_zip_source_win32_handle_or_name(const void *, void *, zip_uint64_t, zip_int64_t, int, const zip_stat_t *, _zip_source_win32_file_ops_t *, zip_error_t *); + +#endif /* zipwin32.h */ diff --git a/plugins/TKLiveSync/libzip_iOS/libzip.pc.in b/plugins/TKLiveSync/libzip_iOS/libzip.pc.in new file mode 100644 index 000000000..c2565a86b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/libzip.pc.in @@ -0,0 +1,15 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +bindir=@bindir@ +libdir=@libdir@ +includedir=@includedir@ + +zipcmp=@bindir@/zipcmp + +Name: libzip +Description: library for handling zip archives +Version: @VERSION@ +Libs: @PKG_CONFIG_RPATH@ -L${libdir} -lzip +Libs.private: @LIBS@ +Cflags: -I${includedir} + diff --git a/plugins/TKLiveSync/libzip_iOS/libzip_iOS/Info.plist b/plugins/TKLiveSync/libzip_iOS/libzip_iOS/Info.plist new file mode 100644 index 000000000..9bcb24442 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/libzip_iOS/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + $(PRODUCT_BUNDLE_PACKAGE_TYPE) + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/plugins/TKLiveSync/libzip_iOS/man/CMakeLists.txt b/plugins/TKLiveSync/libzip_iOS/man/CMakeLists.txt new file mode 100644 index 000000000..5d7325a7b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/CMakeLists.txt @@ -0,0 +1,154 @@ +SET(MAN_PAGES + ZIP_SOURCE_GET_ARGS.3 + libzip.3 + zip_add.3 + zip_add_dir.3 + zip_close.3 + zip_delete.3 + zip_dir_add.3 + zip_discard.3 + zip_error_clear.3 + zip_error_code_system.3 + zip_error_code_zip.3 + zip_error_fini.3 + zip_error_get.3 + zip_error_get_sys_type.3 + zip_error_init.3 + zip_error_set.3 + zip_error_strerror.3 + zip_error_system_type.3 + zip_error_to_data.3 + zip_error_to_str.3 + zip_errors.3 + zip_fclose.3 + zip_fdopen.3 + zip_file_add.3 + zip_file_extra_field_delete.3 + zip_file_extra_field_get.3 + zip_file_extra_field_set.3 + zip_file_extra_fields_count.3 + zip_file_get_comment.3 + zip_file_get_error.3 + zip_file_get_external_attributes.3 + zip_file_rename.3 + zip_file_set_comment.3 + zip_file_set_encryption.3 + zip_file_set_external_attributes.3 + zip_file_set_mtime.3 + zip_file_strerror.3 + zip_fopen.3 + zip_fopen_encrypted.3 + zip_fread.3 + zip_fseek.3 + zip_ftell.3 + zip_get_archive_comment.3 + zip_get_archive_flag.3 + zip_get_error.3 + zip_get_file_comment.3 + zip_get_name.3 + zip_get_num_entries.3 + zip_get_num_files.3 + zip_libzip_version.3 + zip_name_locate.3 + zip_open.3 + zip_register_progress_callback.3 + zip_register_progress_callback_with_state.3 + zip_rename.3 + zip_set_archive_comment.3 + zip_set_archive_flag.3 + zip_set_default_password.3 + zip_set_file_comment.3 + zip_set_file_compression.3 + zip_source.3 + zip_source_begin_write.3 + zip_source_buffer.3 + zip_source_buffer_fragment.3 + zip_source_close.3 + zip_source_commit_write.3 + zip_source_error.3 + zip_source_file.3 + zip_source_filep.3 + zip_source_free.3 + zip_source_function.3 + zip_source_is_deleted.3 + zip_source_keep.3 + zip_source_make_command_bitmap.3 + zip_source_open.3 + zip_source_read.3 + zip_source_rollback_write.3 + zip_source_seek.3 + zip_source_seek_compute_offset.3 + zip_source_seek_write.3 + zip_source_stat.3 + zip_source_tell.3 + zip_source_tell_write.3 + zip_source_win32a.3 + zip_source_win32handle.3 + zip_source_win32w.3 + zip_source_write.3 + zip_source_zip.3 + zip_stat.3 + zip_stat_init.3 + zip_unchange.3 + zip_unchange_all.3 + zip_unchange_archive.3 + zipcmp.1 + zipmerge.1 + ziptool.1 +) + +FOREACH(MAN_PAGE ${MAN_PAGES}) + STRING(REGEX REPLACE "[1-9]$" "${DOCUMENTATION_FORMAT}" SOURCE_FILE ${MAN_PAGE}) + IF (DOCUMENTATION_FORMAT MATCHES "html") + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${MAN_PAGE} DESTINATION ${CMAKE_INSTALL_DOCDIR} RENAME ${SOURCE_FILE}) + ELSE() + STRING(REGEX REPLACE ".*(.)$" "man\\1" SUBDIR ${MAN_PAGE}) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${MAN_PAGE} DESTINATION ${CMAKE_INSTALL_MANDIR}/${SUBDIR}) + ENDIF() + # CONFIGURE_FILE does not find out about updates to the sources, and it does not provide a target + #CONFIGURE_FILE(${SOURCE_FILE} ${MAN_PAGE} COPYONLY) + ADD_CUSTOM_COMMAND(OUTPUT ${MAN_PAGE} + DEPENDS ${SOURCE_FILE} + COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/${SOURCE_FILE} ${CMAKE_CURRENT_BINARY_DIR}/${MAN_PAGE} + COMMENT "Preparing ${MAN_PAGE}" + ) + + STRING(REGEX REPLACE "[1-9]$" "html" HTML_FILE ${MAN_PAGE}) + STRING(REGEX REPLACE "[1-9]$" "man" MAN_FILE ${MAN_PAGE}) + STRING(REGEX REPLACE "[1-9]$" "mdoc" MDOC_FILE ${MAN_PAGE}) + + # html re-generation + ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${HTML_FILE} + DEPENDS ${MDOC_FILE} + COMMAND ${CMAKE_COMMAND} -DIN=${MDOC_FILE} -DOUT=${HTML_FILE} -DDIR=${CMAKE_CURRENT_SOURCE_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/update-html.cmake + ) + LIST(APPEND UPDATEHTML ${CMAKE_CURRENT_SOURCE_DIR}/${HTML_FILE}) + + # man re-generation + ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${MAN_FILE} + DEPENDS ${MDOC_FILE} + COMMAND ${CMAKE_COMMAND} -DIN=${MDOC_FILE} -DOUT=${MAN_FILE} -DDIR=${CMAKE_CURRENT_SOURCE_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/update-man.cmake + ) + LIST(APPEND UPDATEMAN ${CMAKE_CURRENT_SOURCE_DIR}/${MAN_FILE}) +ENDFOREACH() +ADD_CUSTOM_TARGET(man ALL DEPENDS ${MAN_PAGES}) +ADD_CUSTOM_TARGET(update-man DEPENDS ${UPDATEMAN}) +ADD_CUSTOM_TARGET(update-html DEPENDS ${UPDATEHTML}) + +FILE(STRINGS links MANPAGE_LINKS) +FOREACH(LINKS_LINE ${MANPAGE_LINKS}) + IF(${LINKS_LINE} MATCHES "(.*) (.*)") + SET(SOURCE ${CMAKE_MATCH_1}) + SET(TARGET ${CMAKE_MATCH_2}) + IF (DOCUMENTATION_FORMAT MATCHES "html") + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${SOURCE}.3 DESTINATION ${CMAKE_INSTALL_DOCDIR} RENAME ${TARGET}.html) + ELSE() + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${SOURCE}.3 DESTINATION ${CMAKE_INSTALL_MANDIR}/man3 RENAME ${TARGET}.3) + ENDIF() + ENDIF() +ENDFOREACH() + +ADD_CUSTOM_TARGET(update_zip_errors + COMMAND sh ${CMAKE_CURRENT_SOURCE_DIR}/make_zip_errors.sh ${CMAKE_SOURCE_DIR}/lib/zip.h ${CMAKE_CURRENT_SOURCE_DIR}/zip_errors.mdoc + DEPENDS ${CMAKE_SOURCE_DIR}/lib/zip.h ${CMAKE_CURRENT_SOURCE_DIR}/zip_errors.mdoc +) diff --git a/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.html b/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.html new file mode 100644 index 000000000..66af70e75 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.html @@ -0,0 +1,114 @@ + + + + + + + ZIP_SOURCE_GET_ARGS(3) + + + + + + + + +
ZIP_SOURCE_GET_ARGS(3)Library Functions ManualZIP_SOURCE_GET_ARGS(3)
+
+
+

+ZIP_SOURCE_GET_ARGS — +
validate and cast arguments to source callback
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

type * +
+ ZIP_SOURCE_GET_ARGS(type, + void *data, + zip_uint64_t len, + zip_error_t *error);

+
+
+

+The ZIP_SOURCE_GET_ARGS() macro casts + data to a pointer to type. +
+
+

+On success, ZIP_SOURCE_GET_ARGS() returns + data. In case of error, it returns + NULL and sets error. +
+
+

+ZIP_SOURCE_GET_ARGS() fails if: +
+
[]
+
len is less than the size of + type
+
+
+
+

+libzip(3), + zip_source_function(3) +
+
+

+ZIP_SOURCE_GET_ARGS() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.man b/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.man new file mode 100644 index 000000000..0e23ebd2a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.man @@ -0,0 +1,83 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" ZIP_SOURCE_GET_ARGS -- validate and cast arguments to source callback +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_GET_ARGS" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBZIP_SOURCE_GET_ARGS\fR +\- validate and cast arguments to source callback +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fItype *\fR +.br +.PD 0 +.HP 4n +\fBZIP_SOURCE_GET_ARGS\fR(\fItype\fR, \fIvoid\ *data\fR, \fIzip_uint64_t\ len\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The +\fBZIP_SOURCE_GET_ARGS\fR() +macro casts +\fIdata\fR +to a pointer to +\fItype\fR. +.SH "RETURN VALUES" +On success, +\fBZIP_SOURCE_GET_ARGS\fR() +returns +\fIdata\fR. +In case of error, it returns +\fRNULL\fR +and sets +\fIerror\fR. +.SH "ERRORS" +\fBZIP_SOURCE_GET_ARGS\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIlen\fR +is less than the size of +\fItype\fR +.SH "SEE ALSO" +libzip(3), +zip_source_function(3) +.SH "HISTORY" +\fBZIP_SOURCE_GET_ARGS\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.mdoc b/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.mdoc new file mode 100644 index 000000000..2735964e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/ZIP_SOURCE_GET_ARGS.mdoc @@ -0,0 +1,79 @@ +.\" ZIP_SOURCE_GET_ARGS -- validate and cast arguments to source callback +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_GET_ARGS 3 +.Os +.Sh NAME +.Nm ZIP_SOURCE_GET_ARGS +.Nd validate and cast arguments to source callback +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft type * +.Fn ZIP_SOURCE_GET_ARGS "type" "void *data" "zip_uint64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The +.Fn ZIP_SOURCE_GET_ARGS +macro casts +.Ar data +to a pointer to +.Ar type . +.Sh RETURN VALUES +On success, +.Fn ZIP_SOURCE_GET_ARGS +returns +.Ar data . +In case of error, it returns +.Dv NULL +and sets +.Ar error . +.Sh ERRORS +.Fn ZIP_SOURCE_GET_ARGS +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar len +is less than the size of +.Ar type +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_function 3 +.Sh HISTORY +.Fn ZIP_SOURCE_GET_ARGS +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/handle_links b/plugins/TKLiveSync/libzip_iOS/man/handle_links new file mode 100755 index 000000000..7c2ed37d3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/handle_links @@ -0,0 +1,74 @@ +#!/usr/bin/env perl + +use strict; + +my $operation = shift @ARGV; + +if ($operation !~ m/^(install|uninstall)$/) { + print STDERR "$0: unknown operation $operation\n"; + exit(1); +} + +my %options = (); + +for my $arg (@ARGV) { + if ($arg =~ m/([^=]*)=(.*)/) { + $options{$1} = $2; + } + else { + print STDERR "$0: can't parse option [$arg]\n"; + exit(1); + } +} + +for my $option (qw(command directory extension file)) { + unless (defined($options{$option})) { + print STDERR "$0: required variable $option not provided\n"; + exit(1); + } +} + +my $fh; +unless (open $fh, '<', $options{file}) { + print STDERR "$0: can't open links file '$options{file}': $!"; + exit(1); +} + +my @cmd = split /\s+/, $options{command}; + +while (my $line = <$fh>) { + chomp $line; + my @args = split /\s+/, $line; + + process(@args); +} + +sub process { + my ($source, @destinations) = @_; + + my @args = (@cmd); + + if ($operation eq 'install') { + push @args, "$options{directory}/$source.$options{extension}"; + } + + for my $destination (@destinations) { + push @args, "$options{directory}/$destination.$options{extension}"; + run_command(@args); + pop @args; + } +} + +sub run_command { + print (join ' ', @_); + print "\n"; + + my $ret = system(@_); + + if ($ret != 0) { + print STDERR "$0: command failed: $?\n"; + exit(1); + } + + return 1; +} diff --git a/plugins/TKLiveSync/libzip_iOS/man/libzip.html b/plugins/TKLiveSync/libzip_iOS/man/libzip.html new file mode 100644 index 000000000..58f5d9b45 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/libzip.html @@ -0,0 +1,248 @@ + + + + + + + LIBZIP(3) + + + + + + + + +
LIBZIP(3)Library Functions ManualLIBZIP(3)
+
+
+

+libzip — +
library for manipulating zip archives
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +
+
+

+libzip is a library for reading, creating, and modifying + zip archives. +

The main design criteria for libzip + were:

+
    +
  • Do not create corrupt files, even in case of errors.
  • +
  • Do not delete data.
  • +
  • Be efficient.
  • +
+

For this reason, when modifying zip archives, + libzip writes to a temporary file and replaces the + original zip archive atomically.

+

Below there are two sections listing functions: one for how to + read from zip archives and one for how to create/modify them.

+
+
+

+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+
+

+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+

+ +
+
+
+

+ +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
September 29, 2018NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/libzip.man b/plugins/TKLiveSync/libzip_iOS/man/libzip.man new file mode 100644 index 000000000..19a5ca6c4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/libzip.man @@ -0,0 +1,291 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" libzip.mdoc -- general overview of available functions +.\" Copyright (C) 2005-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "LIBZIP" "3" "September 29, 2018" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBlibzip\fR +\- library for manipulating zip archives +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.SH "DESCRIPTION" +\fBlibzip\fR +is a library for reading, creating, and modifying zip archives. +.PP +The main design criteria for +\fBlibzip\fR +were: +.PD 0 +.TP 4n +\fB\(bu\fR +Do not create corrupt files, even in case of errors. +.TP 4n +\fB\(bu\fR +Do not delete data. +.TP 4n +\fB\(bu\fR +Be efficient. +.PD +.PP +For this reason, when modifying zip archives, +\fBlibzip\fR +writes to a temporary file and replaces the original +zip archive atomically. +.PP +Below there are two sections listing functions: one for how to read +from zip archives and one for how to create/modify them. +.SH "READING ZIP ARCHIVES" +.SS "open archive" +.TP 4n +\fB\(bu\fR +zip_open(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_fdopen(3) +.PD +.SS "find files" +.TP 4n +\fB\(bu\fR +zip_name_locate(3) +.SS "read files" +.TP 4n +\fB\(bu\fR +zip_fopen(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_fopen_encrypted(3) +.TP 4n +\fB\(bu\fR +zip_fopen_index(3) +.TP 4n +\fB\(bu\fR +zip_fopen_index_encrypted(3) +.TP 4n +\fB\(bu\fR +zip_fread(3) +.TP 4n +\fB\(bu\fR +zip_fseek(3) +(uncompressed files only) +.TP 4n +\fB\(bu\fR +zip_ftell(3) +(uncompressed files only) +.TP 4n +\fB\(bu\fR +zip_fclose(3) +.PD +.SS "close archive" +.TP 4n +\fB\(bu\fR +zip_close(3) +.SS "miscellaneous" +.TP 4n +\fB\(bu\fR +zip_stat(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_file_get_comment(3) +.TP 4n +\fB\(bu\fR +zip_file_get_external_attributes(3) +.TP 4n +\fB\(bu\fR +zip_get_archive_comment(3) +.TP 4n +\fB\(bu\fR +zip_get_archive_flag(3) +.TP 4n +\fB\(bu\fR +zip_get_name(3) +.TP 4n +\fB\(bu\fR +zip_get_num_entries(3) +.TP 4n +\fB\(bu\fR +zip_set_default_password(3) +.PD +.SH "CREATING/MODIFYING ZIP ARCHIVES" +.SS "create/open archive" +.TP 4n +\fB\(bu\fR +zip_open(3) +.SS "add/change files and directories" +.TP 4n +\fB\(bu\fR +zip_dir_add(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_file_add(3) +.TP 4n +\fB\(bu\fR +zip_file_replace(3) +.TP 4n +\fB\(bu\fR +zip_file_set_comment(3) +.TP 4n +\fB\(bu\fR +zip_file_set_external_attributes(3) +.TP 4n +\fB\(bu\fR +zip_file_set_encryption(3) +.TP 4n +\fB\(bu\fR +zip_file_set_mtime(3) +.TP 4n +\fB\(bu\fR +zip_set_file_compression(3) +.TP 4n +\fB\(bu\fR +zip_source_buffer(3) +.TP 4n +\fB\(bu\fR +zip_source_file(3) +.TP 4n +\fB\(bu\fR +zip_source_filep(3) +.TP 4n +\fB\(bu\fR +zip_source_free(3) +.TP 4n +\fB\(bu\fR +zip_source_function(3) +.TP 4n +\fB\(bu\fR +zip_source_zip(3) +.PD +.SS "rename files" +.TP 4n +\fB\(bu\fR +zip_rename(3) +.SS "delete files" +.TP 4n +\fB\(bu\fR +zip_delete(3) +.SS "revert changes" +.TP 4n +\fB\(bu\fR +zip_unchange(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_unchange_all(3) +.TP 4n +\fB\(bu\fR +zip_unchange_archive(3) +.PD +.SS "read/modify extra fields" +.TP 4n +\fB\(bu\fR +zip_file_extra_field_by_id(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_file_extra_field_delete(3) +.TP 4n +\fB\(bu\fR +zip_file_extra_field_delete_by_id(3) +.TP 4n +\fB\(bu\fR +zip_file_extra_field_get(3) +.TP 4n +\fB\(bu\fR +zip_file_extra_field_set(3) +.TP 4n +\fB\(bu\fR +zip_file_extra_fields_count(3) +.TP 4n +\fB\(bu\fR +zip_file_extra_fields_count_by_id(3) +.PD +.SS "close archive (writing)" +.TP 4n +\fB\(bu\fR +zip_close(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_discard(3) +.PD +.SS "miscellaneous (writing)" +.TP 4n +\fB\(bu\fR +zip_libzip_version(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_register_progress_callback_with_state(3) +.TP 4n +\fB\(bu\fR +zip_set_archive_comment(3) +.TP 4n +\fB\(bu\fR +zip_set_archive_flag(3) +.TP 4n +\fB\(bu\fR +zip_source(3) +.PD +.SH "ERROR HANDLING" +.TP 4n +\fB\(bu\fR +zip_error_strerror(3) +.PD 0 +.TP 4n +\fB\(bu\fR +zip_strerror(3) +.TP 4n +\fB\(bu\fR +zip_file_strerror(3) +.TP 4n +\fB\(bu\fR +zip_get_error(3) +.TP 4n +\fB\(bu\fR +zip_error_init_with_code(3) +.TP 4n +\fB\(bu\fR +zip_error_system_type(3) +.TP 4n +\fB\(bu\fR +zip_errors(3) +.PD +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/libzip.mdoc b/plugins/TKLiveSync/libzip_iOS/man/libzip.mdoc new file mode 100644 index 000000000..8f16564fb --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/libzip.mdoc @@ -0,0 +1,237 @@ +.\" libzip.mdoc -- general overview of available functions +.\" Copyright (C) 2005-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd September 29, 2018 +.Dt LIBZIP 3 +.Os +.Sh NAME +.Nm libzip +.Nd library for manipulating zip archives +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Sh DESCRIPTION +.Nm +is a library for reading, creating, and modifying zip archives. +.Pp +The main design criteria for +.Nm +were: +.Bl -bullet -compact +.It +Do not create corrupt files, even in case of errors. +.It +Do not delete data. +.It +Be efficient. +.El +.Pp +For this reason, when modifying zip archives, +.Nm +writes to a temporary file and replaces the original +zip archive atomically. +.Pp +Below there are two sections listing functions: one for how to read +from zip archives and one for how to create/modify them. +.Sh READING ZIP ARCHIVES +.Ss open archive +.Bl -bullet -compact +.It +.Xr zip_open 3 +.It +.Xr zip_fdopen 3 +.El +.Ss find files +.Bl -bullet -compact +.It +.Xr zip_name_locate 3 +.El +.Ss read files +.Bl -bullet -compact +.It +.Xr zip_fopen 3 +.It +.Xr zip_fopen_encrypted 3 +.It +.Xr zip_fopen_index 3 +.It +.Xr zip_fopen_index_encrypted 3 +.It +.Xr zip_fread 3 +.It +.Xr zip_fseek 3 +(uncompressed files only) +.It +.Xr zip_ftell 3 +(uncompressed files only) +.It +.Xr zip_fclose 3 +.El +.Ss close archive +.Bl -bullet -compact +.It +.Xr zip_close 3 +.El +.Ss miscellaneous +.Bl -bullet -compact +.It +.Xr zip_stat 3 +.It +.Xr zip_file_get_comment 3 +.It +.Xr zip_file_get_external_attributes 3 +.It +.Xr zip_get_archive_comment 3 +.It +.Xr zip_get_archive_flag 3 +.It +.Xr zip_get_name 3 +.It +.Xr zip_get_num_entries 3 +.It +.Xr zip_set_default_password 3 +.El +.Sh CREATING/MODIFYING ZIP ARCHIVES +.Ss create/open archive +.Bl -bullet -compact +.It +.Xr zip_open 3 +.El +.Ss add/change files and directories +.Bl -bullet -compact +.It +.Xr zip_dir_add 3 +.It +.Xr zip_file_add 3 +.It +.Xr zip_file_replace 3 +.It +.Xr zip_file_set_comment 3 +.It +.Xr zip_file_set_external_attributes 3 +.It +.Xr zip_file_set_encryption 3 +.It +.Xr zip_file_set_mtime 3 +.It +.Xr zip_set_file_compression 3 +.It +.Xr zip_source_buffer 3 +.It +.Xr zip_source_file 3 +.It +.Xr zip_source_filep 3 +.It +.Xr zip_source_free 3 +.It +.Xr zip_source_function 3 +.It +.Xr zip_source_zip 3 +.El +.Ss rename files +.Bl -bullet -compact +.It +.Xr zip_rename 3 +.El +.Ss delete files +.Bl -bullet -compact +.It +.Xr zip_delete 3 +.El +.Ss revert changes +.Bl -bullet -compact +.It +.Xr zip_unchange 3 +.It +.Xr zip_unchange_all 3 +.It +.Xr zip_unchange_archive 3 +.El +.Ss read/modify extra fields +.Bl -bullet -compact +.It +.Xr zip_file_extra_field_by_id 3 +.It +.Xr zip_file_extra_field_delete 3 +.It +.Xr zip_file_extra_field_delete_by_id 3 +.It +.Xr zip_file_extra_field_get 3 +.It +.Xr zip_file_extra_field_set 3 +.It +.Xr zip_file_extra_fields_count 3 +.It +.Xr zip_file_extra_fields_count_by_id 3 +.El +.Ss close archive (writing) +.Bl -bullet -compact +.It +.Xr zip_close 3 +.It +.Xr zip_discard 3 +.El +.Ss miscellaneous (writing) +.Bl -bullet -compact +.It +.Xr zip_libzip_version 3 +.It +.Xr zip_register_progress_callback_with_state 3 +.It +.Xr zip_set_archive_comment 3 +.It +.Xr zip_set_archive_flag 3 +.It +.Xr zip_source 3 +.El +.Sh ERROR HANDLING +.Bl -bullet -compact +.It +.Xr zip_error_strerror 3 +.It +.Xr zip_strerror 3 +.It +.Xr zip_file_strerror 3 +.It +.Xr zip_get_error 3 +.It +.Xr zip_error_init_with_code 3 +.It +.Xr zip_error_system_type 3 +.It +.Xr zip_errors 3 +.El +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/links b/plugins/TKLiveSync/libzip_iOS/man/links new file mode 100644 index 000000000..736447459 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/links @@ -0,0 +1,22 @@ +zip_add zip_replace +zip_error_clear zip_file_error_clear +zip_error_get zip_file_error_get +zip_error_init zip_error_init_with_code +zip_file_add zip_file_replace +zip_file_extra_field_delete zip_file_extra_field_delete_by_id +zip_file_extra_field_get zip_file_extra_field_get_by_id +zip_file_extra_fields_count zip_file_extra_fields_count_by_id +zip_file_strerror zip_strerror +zip_fopen zip_fopen_index +zip_fopen_encrypted zip_fopen_index_encrypted +zip_open zip_open_from_source +zip_source_begin_write zip_source_begin_write_cloning +zip_source_buffer zip_source_buffer_create +zip_source_buffer_fragment zip_source_buffer_fragment_create +zip_source_file zip_source_file_create +zip_source_filep zip_source_filep_create +zip_source_function zip_source_function_create +zip_source_win32a zip_source_win32a_create +zip_source_win32handle zip_source_win32handle_create +zip_source_win32w zip_source_win32w_create +zip_stat zip_stat_index diff --git a/plugins/TKLiveSync/libzip_iOS/man/update-html.cmake b/plugins/TKLiveSync/libzip_iOS/man/update-html.cmake new file mode 100644 index 000000000..9e405b29e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/update-html.cmake @@ -0,0 +1,11 @@ +# expect variables IN, OUT, and DIR +EXECUTE_PROCESS(COMMAND mandoc -T html -Oman=%N.html,style=../nih-man.css ${DIR}/${IN} + OUTPUT_VARIABLE HTML) +SET(LINKBASE "http://pubs.opengroup.org/onlinepubs/9699919799/functions/") +STRING(REGEX REPLACE "()" "\\1${LINKBASE}\\2\\3" HTML "${HTML}") +STRING(REGEX REPLACE "${LINKBASE}(libzip|zip)" "\\1" HTML "${HTML}") +FILE(WRITE ${DIR}/${OUT}.new "${HTML}") +CONFIGURE_FILE(${DIR}/${OUT}.new ${DIR}/${OUT} COPYONLY) +FILE(REMOVE ${DIR}/${OUT}.new) + + diff --git a/plugins/TKLiveSync/libzip_iOS/man/update-man.cmake b/plugins/TKLiveSync/libzip_iOS/man/update-man.cmake new file mode 100644 index 000000000..425471143 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/update-man.cmake @@ -0,0 +1,7 @@ +# expect variables IN, OUT, and DIR +EXECUTE_PROCESS(COMMAND mandoc -T man ${DIR}/${IN} OUTPUT_VARIABLE MAN) +STRING(REGEX REPLACE "NetBSD [0-9.]*" "NiH" MAN "${MAN}") +FILE(WRITE ${DIR}/${OUT}.new "${MAN}") +CONFIGURE_FILE(${DIR}/${OUT}.new ${DIR}/${OUT} COPYONLY) +FILE(REMOVE ${DIR}/${OUT}.new) + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_add.html b/plugins/TKLiveSync/libzip_iOS/man/zip_add.html new file mode 100644 index 000000000..c911ef3cf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_add.html @@ -0,0 +1,121 @@ + + + + + + + ZIP_ADD(3) + + + + + + + + +
ZIP_ADD(3)Library Functions ManualZIP_ADD(3)
+
+
+

+zip_add, zip_replace — +
add file to zip archive or replace file in zip archive (obsolete + interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_add(zip_t + *archive, const char + *name, zip_source_t + *source);

+

int +
+ zip_replace(zip_t + *archive, zip_uint64_t + index, zip_source_t + *source);

+
+
+

+The function zip_add() is the obsolete version of + zip_file_add(3). It is the same as + calling zip_file_add(3) with an + empty flags argument. Similarly, the + zip_replace() function is the obsolete version of + zip_file_replace(3). It is the + same as calling + zip_file_replace(3) with an + empty flags argument. +
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3) +
+
+

+zip_add() was added in libzip 0.6. In libzip 0.10 the + return type was changed from int to + zip_int64_t. It was deprecated in libzip 0.11, use + zip_file_add() instead. +

zip_replace() was added in libzip 0.6. In + libzip 0.10 the type of index was changed from + int to zip_uint64_t. It was + deprecated in libzip 0.11, use zip_file_replace() + instead.

+
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_add.man b/plugins/TKLiveSync/libzip_iOS/man/zip_add.man new file mode 100644 index 000000000..451645f41 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_add.man @@ -0,0 +1,106 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_add.mdoc -- add files to zip archive +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ADD" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_add\fR, +\fBzip_replace\fR +\- add file to zip archive or replace file in zip archive (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_add\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *name\fR, \fIzip_source_t\ *source\fR); +.PD +.PP +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_replace\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_add\fR() +is the obsolete version of +zip_file_add(3). +It is the same as calling +zip_file_add(3) +with an empty +\fIflags\fR +argument. +Similarly, the +\fBzip_replace\fR() +function is the obsolete version of +zip_file_replace(3). +It is the same as calling +zip_file_replace(3) +with an empty +\fIflags\fR +argument. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3) +.SH "HISTORY" +\fBzip_add\fR() +was added in libzip 0.6. +In libzip 0.10 the return type was changed from +\fIint\fR +to +\fIzip_int64_t\fR. +It was deprecated in libzip 0.11, use +\fBzip_file_add\fR() +instead. +.PP +\fBzip_replace\fR() +was added in libzip 0.6. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +It was deprecated in libzip 0.11, use +\fBzip_file_replace\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_add.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_add.mdoc new file mode 100644 index 000000000..27c531901 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_add.mdoc @@ -0,0 +1,96 @@ +.\" zip_add.mdoc -- add files to zip archive +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ADD 3 +.Os +.Sh NAME +.Nm zip_add , +.Nm zip_replace +.Nd add file to zip archive or replace file in zip archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_add "zip_t *archive" "const char *name" "zip_source_t *source" +.Ft int +.Fn zip_replace "zip_t *archive" "zip_uint64_t index" "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_add +is the obsolete version of +.Xr zip_file_add 3 . +It is the same as calling +.Xr zip_file_add 3 +with an empty +.Ar flags +argument. +Similarly, the +.Fn zip_replace +function is the obsolete version of +.Xr zip_file_replace 3 . +It is the same as calling +.Xr zip_file_replace 3 +with an empty +.Ar flags +argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 +.Sh HISTORY +.Fn zip_add +was added in libzip 0.6. +In libzip 0.10 the return type was changed from +.Vt int +to +.Vt zip_int64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_add +instead. +.Pp +.Fn zip_replace +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_replace +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.html b/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.html new file mode 100644 index 000000000..f6d00860f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.html @@ -0,0 +1,102 @@ + + + + + + + ZIP_ADD_DIR(3) + + + + + + + + +
ZIP_ADD_DIR(3)Library Functions ManualZIP_ADD_DIR(3)
+
+
+

+zip_add_dir — +
add directory to zip archive (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_add_dir(zip_t + *archive, const char + *name);

+
+
+

+The function zip_add_dir() is the obsolete version of + zip_dir_add(3). It is the same as + calling zip_dir_add(3) with an empty + flags argument. +
+
+

+libzip(3), + zip_dir_add(3) +
+
+

+zip_add_dir() was added in libzip 0.8. In libzip 0.10 + the return type was changed from int to + zip_int64_t. It was deprecated in libzip 0.11, use + zip_dir_add() instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.man b/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.man new file mode 100644 index 000000000..90f313d3f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.man @@ -0,0 +1,74 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_add_dir.mdoc -- add directory to zip archive +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ADD_DIR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_add_dir\fR +\- add directory to zip archive (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_add_dir\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *name\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_add_dir\fR() +is the obsolete version of +zip_dir_add(3). +It is the same as calling +zip_dir_add(3) +with an empty flags argument. +.SH "SEE ALSO" +libzip(3), +zip_dir_add(3) +.SH "HISTORY" +\fBzip_add_dir\fR() +was added in libzip 0.8. +In libzip 0.10 the return type was changed from +\fIint\fR +to +\fIzip_int64_t\fR. +It was deprecated in libzip 0.11, use +\fBzip_dir_add\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.mdoc new file mode 100644 index 000000000..f28d1d5b3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_add_dir.mdoc @@ -0,0 +1,69 @@ +.\" zip_add_dir.mdoc -- add directory to zip archive +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ADD_DIR 3 +.Os +.Sh NAME +.Nm zip_add_dir +.Nd add directory to zip archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_add_dir "zip_t *archive" "const char *name" +.Sh DESCRIPTION +The function +.Fn zip_add_dir +is the obsolete version of +.Xr zip_dir_add 3 . +It is the same as calling +.Xr zip_dir_add 3 +with an empty flags argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_dir_add 3 +.Sh HISTORY +.Fn zip_add_dir +was added in libzip 0.8. +In libzip 0.10 the return type was changed from +.Vt int +to +.Vt zip_int64_t . +It was deprecated in libzip 0.11, use +.Fn zip_dir_add +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_close.html b/plugins/TKLiveSync/libzip_iOS/man/zip_close.html new file mode 100644 index 000000000..20d41b684 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_close.html @@ -0,0 +1,146 @@ + + + + + + + ZIP_CLOSE(3) + + + + + + + + +
ZIP_CLOSE(3)Library Functions ManualZIP_CLOSE(3)
+
+
+

+zip_close — +
close zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_close(zip_t + *archive);

+
+
+

+The zip_close() function writes any changes made to + archive to disk. If archive + contains no files, the file is completely removed (no empty archive is + written). If successful, archive is freed. If writing + fails, zip_close() fails; + archive is left unchanged and must still be freed. +

To close and free a zip archive without saving changes, use + zip_discard(3).

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+zip_close() will fail if: +
+
[]
+
Unexpected end-of-file found while reading from a file.
+
[]
+
The callback function of an added or replaced file returned an error but + failed to report which.
+
[]
+
The path argument is + NULL.
+
[]
+
Required memory could not be allocated.
+
[]
+
File is not a zip archive.
+
[]
+
A file read failed.
+
[]
+
A temporary file could not be renamed to its final name.
+
[]
+
A file seek failed.
+
[]
+
A temporary file could not be created.
+
[]
+
A file write failed.
+
[]
+
An error occurred while (de)compressing a stream with + zlib(3).
+
+Additionally, any errors returned by the callback function for added or replaced + files will be passed back. +
+
+

+libzip(3), + zip_discard(3), + zip_fdopen(3), + zip_get_error(3), + zip_open(3), + zip_register_progress_callback_with_state(3), + zip_strerror(3) +
+
+

+zip_close() was added in libzip 0.6. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_close.man b/plugins/TKLiveSync/libzip_iOS/man/zip_close.man new file mode 100644 index 000000000..69552b0e6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_close.man @@ -0,0 +1,136 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_close.mdoc -- close zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_CLOSE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_close\fR +\- close zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_close\fR(\fIzip_t\ *archive\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_close\fR() +function writes any changes made to +\fIarchive\fR +to disk. +If +\fIarchive\fR +contains no files, the file is completely removed (no empty archive is +written). +If successful, +\fIarchive\fR +is freed. +If writing fails, +\fBzip_close\fR() +fails; +\fIarchive\fR +is left unchanged and must still be freed. +.PP +To close and free a zip archive without saving changes, use +zip_discard(3). +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_close\fR() +will fail if: +.TP 19n +[\fRZIP_ER_EOF\fR] +Unexpected end-of-file found while reading from a file. +.TP 19n +[\fRZIP_ER_INTERNAL\fR] +The callback function of an added or replaced file returned an +error but failed to report which. +.TP 19n +[\fRZIP_ER_INVAL\fR] +The +\fIpath\fR +argument is +\fRNULL\fR. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_NOZIP\fR] +File is not a zip archive. +.TP 19n +[\fRZIP_ER_READ\fR] +A file read failed. +.TP 19n +[\fRZIP_ER_RENAME\fR] +A temporary file could not be renamed to its final name. +.TP 19n +[\fRZIP_ER_SEEK\fR] +A file seek failed. +.TP 19n +[\fRZIP_ER_TMPOPEN\fR] +A temporary file could not be created. +.TP 19n +[\fRZIP_ER_WRITE\fR] +A file write failed. +.TP 19n +[\fRZIP_ER_ZLIB\fR] +An error occurred while (de)compressing a stream with +zlib(3). +.PD 0 +.PP +Additionally, any errors returned by the callback function +for added or replaced files will be passed back. +.PD +.SH "SEE ALSO" +libzip(3), +zip_discard(3), +zip_fdopen(3), +zip_get_error(3), +zip_open(3), +zip_register_progress_callback_with_state(3), +zip_strerror(3) +.SH "HISTORY" +\fBzip_close\fR() +was added in libzip 0.6. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_close.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_close.mdoc new file mode 100644 index 000000000..d9327cb03 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_close.mdoc @@ -0,0 +1,119 @@ +.\" zip_close.mdoc -- close zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_CLOSE 3 +.Os +.Sh NAME +.Nm zip_close +.Nd close zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_close "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_close +function writes any changes made to +.Ar archive +to disk. +If +.Ar archive +contains no files, the file is completely removed (no empty archive is +written). +If successful, +.Ar archive +is freed. +If writing fails, +.Fn zip_close +fails; +.Ar archive +is left unchanged and must still be freed. +.Pp +To close and free a zip archive without saving changes, use +.Xr zip_discard 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_close +will fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EOF +Unexpected end-of-file found while reading from a file. +.It Bq Er ZIP_ER_INTERNAL +The callback function of an added or replaced file returned an +error but failed to report which. +.It Bq Er ZIP_ER_INVAL +The +.Ar path +argument is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOZIP +File is not a zip archive. +.It Bq Er ZIP_ER_READ +A file read failed. +.It Bq Er ZIP_ER_RENAME +A temporary file could not be renamed to its final name. +.It Bq Er ZIP_ER_SEEK +A file seek failed. +.It Bq Er ZIP_ER_TMPOPEN +A temporary file could not be created. +.It Bq Er ZIP_ER_WRITE +A file write failed. +.It Bq Er ZIP_ER_ZLIB +An error occurred while (de)compressing a stream with +.Xr zlib 3 . +.El +Additionally, any errors returned by the callback function +for added or replaced files will be passed back. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_discard 3 , +.Xr zip_fdopen 3 , +.Xr zip_get_error 3 , +.Xr zip_open 3 , +.Xr zip_register_progress_callback_with_state 3 , +.Xr zip_strerror 3 +.Sh HISTORY +.Fn zip_close +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_delete.html b/plugins/TKLiveSync/libzip_iOS/man/zip_delete.html new file mode 100644 index 000000000..d9f5cc3ee --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_delete.html @@ -0,0 +1,114 @@ + + + + + + + ZIP_DELETE(3) + + + + + + + + +
ZIP_DELETE(3)Library Functions ManualZIP_DELETE(3)
+
+
+

+zip_delete — +
delete file from zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_delete(zip_t + *archive, zip_uint64_t + index);

+
+
+

+The file at position index in the zip archive + archive is marked as deleted. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+zip_delete() fails if: +
+
[]
+
index is not a valid file index in + archive.
+
+
+
+

+libzip(3), + zip_unchange(3) +
+
+

+zip_delete() was added in libzip 0.6. In libzip 0.10 the + type of index was changed from int + to zip_uint64_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_delete.man b/plugins/TKLiveSync/libzip_iOS/man/zip_delete.man new file mode 100644 index 000000000..d607c1eae --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_delete.man @@ -0,0 +1,84 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_delete.mdoc -- delete files from zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_DELETE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_delete\fR +\- delete file from zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_delete\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR); +.PD +.SH "DESCRIPTION" +The file at position +\fIindex\fR +in the zip archive +\fIarchive\fR +is marked as deleted. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_delete\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.SH "SEE ALSO" +libzip(3), +zip_unchange(3) +.SH "HISTORY" +\fBzip_delete\fR() +was added in libzip 0.6. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_delete.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_delete.mdoc new file mode 100644 index 000000000..dc8346e41 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_delete.mdoc @@ -0,0 +1,80 @@ +.\" zip_delete.mdoc -- delete files from zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_DELETE 3 +.Os +.Sh NAME +.Nm zip_delete +.Nd delete file from zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_delete "zip_t *archive" "zip_uint64_t index" +.Sh DESCRIPTION +The file at position +.Ar index +in the zip archive +.Ar archive +is marked as deleted. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_delete +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 +.Sh HISTORY +.Fn zip_delete +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.html b/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.html new file mode 100644 index 000000000..961c9df95 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.html @@ -0,0 +1,135 @@ + + + + + + + ZIP_DIR_ADD(3) + + + + + + + + +
ZIP_DIR_ADD(3)Library Functions ManualZIP_DIR_ADD(3)
+
+
+

+zip_dir_add — +
add directory to zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_dir_add(zip_t + *archive, const char + *name, zip_flags_t + flags);

+
+
+

+The function zip_dir_add() adds a directory to a zip + archive. The argument archive specifies the zip archive + to which the directory should be added. name is the + directory's name in the zip archive. The flags argument + can be any of: +
+
+
Guess encoding of name (default).
+
+
Interpret name as UTF-8.
+
+
Interpret name as code page 437 (CP-437).
+
+
+
+

+Upon successful completion, the index of the new entry in the archive is + returned. Otherwise, -1 is returned and the error code in + archive is set to indicate the error. +
+
+

+zip_dir_add() fails if: +
+
[]
+
There is already an entry called name in the + archive.
+
[]
+
archive or name are + NULL, or invalid UTF-8 encoded file names.
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_file_add(3) +
+
+

+zip_dir_add() was added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+

+zip_dir_add() does not look in the file system, it just + creates one entry in the archive for the provided name. +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.man b/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.man new file mode 100644 index 000000000..59e63a063 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.man @@ -0,0 +1,115 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_dir_add.mdoc -- add directory to zip archive +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_DIR_ADD" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_dir_add\fR +\- add directory to zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_dir_add\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *name\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_dir_add\fR() +adds a directory to a zip archive. +The argument +\fIarchive\fR +specifies the zip archive to which the directory should be added. +\fIname\fR +is the directory's name in the zip archive. +The +\fIflags\fR +argument can be any of: +.TP 22n +\fRZIP_FL_ENC_GUESS\fR +Guess encoding of +\fIname\fR +(default). +.TP 22n +\fRZIP_FL_ENC_UTF_8\fR +Interpret +\fIname\fR +as UTF-8. +.TP 22n +\fRZIP_FL_ENC_CP437\fR +Interpret +\fIname\fR +as code page 437 (CP-437). +.SH "RETURN VALUES" +Upon successful completion, the index of the new entry in the archive +is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_dir_add\fR() +fails if: +.TP 19n +[\fRZIP_ER_EXISTS\fR] +There is already an entry called +\fIname\fR +in the archive. +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIarchive\fR +or +\fIname\fR +are +\fRNULL\fR, +or invalid UTF-8 encoded file names. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3) +.SH "HISTORY" +\fBzip_dir_add\fR() +was added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> +.SH "CAVEATS" +\fBzip_dir_add\fR() +does not look in the file system, it just creates one entry in the +archive for the provided name. diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.mdoc new file mode 100644 index 000000000..c075f8345 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_dir_add.mdoc @@ -0,0 +1,108 @@ +.\" zip_dir_add.mdoc -- add directory to zip archive +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_DIR_ADD 3 +.Os +.Sh NAME +.Nm zip_dir_add +.Nd add directory to zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_dir_add "zip_t *archive" "const char *name" "zip_flags_t flags" +.Sh DESCRIPTION +The function +.Fn zip_dir_add +adds a directory to a zip archive. +The argument +.Ar archive +specifies the zip archive to which the directory should be added. +.Ar name +is the directory's name in the zip archive. +The +.Ar flags +argument can be any of: +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar name +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar name +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar name +as code page 437 (CP-437). +.El +.Sh RETURN VALUES +Upon successful completion, the index of the new entry in the archive +is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_dir_add +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +There is already an entry called +.Ar name +in the archive. +.It Bq Er ZIP_ER_INVAL +.Ar archive +or +.Ar name +are +.Dv NULL , +or invalid UTF-8 encoded file names. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 +.Sh HISTORY +.Fn zip_dir_add +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at +.Sh CAVEATS +.Fn zip_dir_add +does not look in the file system, it just creates one entry in the +archive for the provided name. diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_discard.html b/plugins/TKLiveSync/libzip_iOS/man/zip_discard.html new file mode 100644 index 000000000..078dd776f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_discard.html @@ -0,0 +1,97 @@ + + + + + + + ZIP_DISCARD(3) + + + + + + + + +
ZIP_DISCARD(3)Library Functions ManualZIP_DISCARD(3)
+
+
+

+zip_discard — +
close zip archive and discard changes
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_discard(zip_t + *archive);

+
+
+

+The zip_discard() function closes + archive and frees the memory allocated for it. Any + changes to the archive are not written to disk and discarded. +
+
+

+libzip(3), + zip_close(3) +
+
+

+zip_discard() was added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_discard.man b/plugins/TKLiveSync/libzip_iOS/man/zip_discard.man new file mode 100644 index 000000000..591f7735c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_discard.man @@ -0,0 +1,66 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_discard.mdoc -- close zip archive and discard changes +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_DISCARD" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_discard\fR +\- close zip archive and discard changes +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_discard\fR(\fIzip_t\ *archive\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_discard\fR() +function closes +\fIarchive\fR +and frees the memory allocated for it. +Any changes to the archive are not written to disk and discarded. +.SH "SEE ALSO" +libzip(3), +zip_close(3) +.SH "HISTORY" +\fBzip_discard\fR() +was added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_discard.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_discard.mdoc new file mode 100644 index 000000000..7404a4837 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_discard.mdoc @@ -0,0 +1,61 @@ +.\" zip_discard.mdoc -- close zip archive and discard changes +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_DISCARD 3 +.Os +.Sh NAME +.Nm zip_discard +.Nd close zip archive and discard changes +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_discard "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_discard +function closes +.Ar archive +and frees the memory allocated for it. +Any changes to the archive are not written to disk and discarded. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 +.Sh HISTORY +.Fn zip_discard +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.html new file mode 100644 index 000000000..20ae8602f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.html @@ -0,0 +1,104 @@ + + + + + + + ZIP_ERROR_CLEAR(3) + + + + + + + + +
ZIP_ERROR_CLEAR(3)Library Functions ManualZIP_ERROR_CLEAR(3)
+
+
+

+zip_error_clear, + zip_file_error_clear — +
clear error state for archive or file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_error_clear(zip_t + *archive);

+

void +
+ zip_file_error_clear(zip_file_t + *file);

+
+
+

+The zip_error_clear() function clears the error state + for the zip archive archive. +

The zip_file_error_clear() function does + the same for the zip file file.

+
+
+

+libzip(3), + zip_get_error(3) +
+
+

+zip_error_clear() and + zip_file_error_clear() were added in libzip 0.8. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.man new file mode 100644 index 000000000..fe92515d6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.man @@ -0,0 +1,79 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_clear.mdoc -- clear error state for archive or file +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_CLEAR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_clear\fR, +\fBzip_file_error_clear\fR +\- clear error state for archive or file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_error_clear\fR(\fIzip_t\ *archive\fR); +.PD +.PP +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_file_error_clear\fR(\fIzip_file_t\ *file\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_clear\fR() +function clears the error state for the zip archive +\fIarchive\fR. +.PP +The +\fBzip_file_error_clear\fR() +function does the same for the zip file +\fIfile\fR. +.SH "SEE ALSO" +libzip(3), +zip_get_error(3) +.SH "HISTORY" +\fBzip_error_clear\fR() +and +\fBzip_file_error_clear\fR() +were added in libzip 0.8. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.mdoc new file mode 100644 index 000000000..edac2c3ea --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_clear.mdoc @@ -0,0 +1,69 @@ +.\" zip_error_clear.mdoc -- clear error state for archive or file +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_CLEAR 3 +.Os +.Sh NAME +.Nm zip_error_clear , +.Nm zip_file_error_clear +.Nd clear error state for archive or file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_clear "zip_t *archive" +.Ft void +.Fn zip_file_error_clear "zip_file_t *file" +.Sh DESCRIPTION +The +.Fn zip_error_clear +function clears the error state for the zip archive +.Ar archive . +.Pp +The +.Fn zip_file_error_clear +function does the same for the zip file +.Ar file . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_error 3 +.Sh HISTORY +.Fn zip_error_clear +and +.Fn zip_file_error_clear +were added in libzip 0.8. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.html new file mode 100644 index 000000000..0d622e31a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.html @@ -0,0 +1,99 @@ + + + + + + + ZIP_ERROR_CODE_SYSTEM(3) + + + + + + + + +
ZIP_ERROR_CODE_SYSTEM(3)Library Functions ManualZIP_ERROR_CODE_SYSTEM(3)
+
+
+

+zip_error_code_system — +
get operating system error part of zip_error
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_error_code_system(const + zip_error_t *ze);

+
+
+

+The zip_error_code_system() function returns the system + specific part of the error from the zip_error error ze. + For finding out what system reported the error, use + zip_error_system_type(3). +
+
+

+libzip(3), + zip_error_code_zip(3), + zip_error_system_type(3) +
+
+

+zip_error_code_system() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.man new file mode 100644 index 000000000..4eb0cad8d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.man @@ -0,0 +1,68 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_code_system.mdoc -- get system error part of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_CODE_SYSTEM" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_code_system\fR +\- get operating system error part of zip_error +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_error_code_system\fR(\fIconst\ zip_error_t\ *ze\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_code_system\fR() +function returns the system specific part of the error from the +zip_error error +\fIze\fR. +For finding out what system reported the error, use +zip_error_system_type(3). +.SH "SEE ALSO" +libzip(3), +zip_error_code_zip(3), +zip_error_system_type(3) +.SH "HISTORY" +\fBzip_error_code_system\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.mdoc new file mode 100644 index 000000000..c87a20692 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_system.mdoc @@ -0,0 +1,63 @@ +.\" zip_error_code_system.mdoc -- get system error part of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_CODE_SYSTEM 3 +.Os +.Sh NAME +.Nm zip_error_code_system +.Nd get operating system error part of zip_error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_code_system "const zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_code_system +function returns the system specific part of the error from the +zip_error error +.Ar ze . +For finding out what system reported the error, use +.Xr zip_error_system_type 3 . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_zip 3 , +.Xr zip_error_system_type 3 +.Sh HISTORY +.Fn zip_error_code_system +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.html new file mode 100644 index 000000000..7f7f85232 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.html @@ -0,0 +1,96 @@ + + + + + + + ZIP_ERROR_CODE_ZIP(3) + + + + + + + + +
ZIP_ERROR_CODE_ZIP(3)Library Functions ManualZIP_ERROR_CODE_ZIP(3)
+
+
+

+zip_error_code_zip — +
get libzip error part of zip_error
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_error_code_zip(const + zip_error_t *ze);

+
+
+

+The zip_error_code_zip() function returns the libzip + specific part of the error from the zip_error error ze. +
+
+

+libzip(3), + zip_error_code_system(3) +
+
+

+zip_error_code_zip() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.man new file mode 100644 index 000000000..2a5398148 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.man @@ -0,0 +1,65 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_code_zip.mdoc -- get libzip error part of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_CODE_ZIP" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_code_zip\fR +\- get libzip error part of zip_error +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_error_code_zip\fR(\fIconst\ zip_error_t\ *ze\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_code_zip\fR() +function returns the libzip specific part of the error from the +zip_error error +\fIze\fR. +.SH "SEE ALSO" +libzip(3), +zip_error_code_system(3) +.SH "HISTORY" +\fBzip_error_code_zip\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.mdoc new file mode 100644 index 000000000..c68fff431 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_code_zip.mdoc @@ -0,0 +1,60 @@ +.\" zip_error_code_zip.mdoc -- get libzip error part of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_CODE_ZIP 3 +.Os +.Sh NAME +.Nm zip_error_code_zip +.Nd get libzip error part of zip_error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_code_zip "const zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_code_zip +function returns the libzip specific part of the error from the +zip_error error +.Ar ze . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 +.Sh HISTORY +.Fn zip_error_code_zip +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.html new file mode 100644 index 000000000..c752141e9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.html @@ -0,0 +1,97 @@ + + + + + + + ZIP_ERROR_FINI(3) + + + + + + + + +
ZIP_ERROR_FINI(3)Library Functions ManualZIP_ERROR_FINI(3)
+
+
+

+zip_error_fini — +
clean up zip_error structure
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_error_fini(zip_error_t + *ze);

+
+
+

+The zip_error_fini() function cleans up and frees + internally allocated memory of the zip_error pointed to by + ze. +
+
+

+libzip(3), + zip_error_init(3) +
+
+

+zip_error_fini() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.man new file mode 100644 index 000000000..2e4a1ae39 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.man @@ -0,0 +1,65 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_fini.mdoc -- clean up zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_FINI" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_fini\fR +\- clean up zip_error structure +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_error_fini\fR(\fIzip_error_t\ *ze\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_fini\fR() +function cleans up and frees internally allocated memory of the +zip_error pointed to by +\fIze\fR. +.SH "SEE ALSO" +libzip(3), +zip_error_init(3) +.SH "HISTORY" +\fBzip_error_fini\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.mdoc new file mode 100644 index 000000000..136db4ce4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_fini.mdoc @@ -0,0 +1,60 @@ +.\" zip_error_fini.mdoc -- clean up zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_FINI 3 +.Os +.Sh NAME +.Nm zip_error_fini +.Nd clean up zip_error structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_fini "zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_fini +function cleans up and frees internally allocated memory of the +zip_error pointed to by +.Ar ze . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init 3 +.Sh HISTORY +.Fn zip_error_fini +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.html new file mode 100644 index 000000000..91f15ced4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.html @@ -0,0 +1,150 @@ + + + + + + + ZIP_ERROR_GET(3) + + + + + + + + +
ZIP_ERROR_GET(3)Library Functions ManualZIP_ERROR_GET(3)
+
+
+

+zip_error_get, + zip_file_error_get — +
get error codes for archive or file (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_error_get(zip_t + *archive, int *zep, + int *sep);

+

void +
+ zip_file_error_get(zip_file_t + *file, int *zep, + int *sep);

+
+
+

+The functions zip_error_get() and + zip_file_error_get() are deprecated. Use + zip_error_code_system(3), + zip_error_code_zip(3), + zip_file_get_error(3), and + zip_get_error(3) instead. +

For zip_error_get(), replace

+
+
+int ze, se;
+zip_error_get(za, &ze, &se);
+
+
+with +
+
+int ze, se;
+zip_error_t *error = zip_get_error(za);
+ze = zip_error_code_zip(error);
+se = zip_error_code_system(error);
+
+
+For zip_file_error_get(), replace +
+
+int ze, se;
+zip_file_error_get(zf, &ze, &se);
+
+
+with +
+
+int ze, se;
+zip_error_t *error = zip_file_get_error(zf);
+ze = zip_error_code_zip(error);
+se = zip_error_code_system(error);
+
+
+
+
+

+libzip(3), + zip_error_code_system(3), + zip_error_code_zip(3), + zip_file_get_error(3), + zip_get_error(3) +
+
+

+zip_error_get() was added in libzip 0.6. It was + deprecated in libzip 1.0, use zip_get_error(), + zip_error_code_zip(), / + zip_error_code_system() instead. +

zip_file_error_get() was added in libzip + 0.6. It was deprecated in libzip 1.0, use + zip_file_get_error(), + zip_error_code_zip(), / + zip_error_code_system() instead.

+
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.man new file mode 100644 index 000000000..43e2c0654 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.man @@ -0,0 +1,139 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_get.mdoc -- get error codes for archive or file +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_GET" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_get\fR, +\fBzip_file_error_get\fR +\- get error codes for archive or file (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_error_get\fR(\fIzip_t\ *archive\fR, \fIint\ *zep\fR, \fIint\ *sep\fR); +.PD +.PP +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_file_error_get\fR(\fIzip_file_t\ *file\fR, \fIint\ *zep\fR, \fIint\ *sep\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_error_get\fR() +and +\fBzip_file_error_get\fR() +are deprecated. +Use +zip_error_code_system(3), +zip_error_code_zip(3), +zip_file_get_error(3), +and +zip_get_error(3) +instead. +.PP +For +\fBzip_error_get\fR(), +replace +.nf +.sp +.RS 6n +int ze, se; +zip_error_get(za, &ze, &se); +.RE +.fi +with +.nf +.sp +.RS 6n +int ze, se; +zip_error_t *error = zip_get_error(za); +ze = zip_error_code_zip(error); +se = zip_error_code_system(error); +.RE +.fi +For +\fBzip_file_error_get\fR(), +replace +.nf +.sp +.RS 6n +int ze, se; +zip_file_error_get(zf, &ze, &se); +.RE +.fi +with +.nf +.sp +.RS 6n +int ze, se; +zip_error_t *error = zip_file_get_error(zf); +ze = zip_error_code_zip(error); +se = zip_error_code_system(error); +.RE +.fi +.SH "SEE ALSO" +libzip(3), +zip_error_code_system(3), +zip_error_code_zip(3), +zip_file_get_error(3), +zip_get_error(3) +.SH "HISTORY" +\fBzip_error_get\fR() +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +\fBzip_get_error\fR(), +\fBzip_error_code_zip\fR(), +/ +\fBzip_error_code_system\fR() +instead. +.PP +\fBzip_file_error_get\fR() +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +\fBzip_file_get_error\fR(), +\fBzip_error_code_zip\fR(), +/ +\fBzip_error_code_system\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.mdoc new file mode 100644 index 000000000..527139436 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get.mdoc @@ -0,0 +1,117 @@ +.\" zip_error_get.mdoc -- get error codes for archive or file +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_GET 3 +.Os +.Sh NAME +.Nm zip_error_get , +.Nm zip_file_error_get +.Nd get error codes for archive or file (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_get "zip_t *archive" "int *zep" "int *sep" +.Ft void +.Fn zip_file_error_get "zip_file_t *file" "int *zep" "int *sep" +.Sh DESCRIPTION +The functions +.Fn zip_error_get +and +.Fn zip_file_error_get +are deprecated. +Use +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 , +.Xr zip_file_get_error 3 , +and +.Xr zip_get_error 3 +instead. +.Pp +For +.Fn zip_error_get , +replace +.Bd -literal -offset indent +int ze, se; +zip_error_get(za, &ze, &se); +.Ed +with +.Bd -literal -offset indent +int ze, se; +zip_error_t *error = zip_get_error(za); +ze = zip_error_code_zip(error); +se = zip_error_code_system(error); +.Ed +For +.Fn zip_file_error_get , +replace +.Bd -literal -offset indent +int ze, se; +zip_file_error_get(zf, &ze, &se); +.Ed +with +.Bd -literal -offset indent +int ze, se; +zip_error_t *error = zip_file_get_error(zf); +ze = zip_error_code_zip(error); +se = zip_error_code_system(error); +.Ed +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 , +.Xr zip_file_get_error 3 , +.Xr zip_get_error 3 +.Sh HISTORY +.Fn zip_error_get +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +.Fn zip_get_error , +.Fn zip_error_code_zip , +/ +.Fn zip_error_code_system +instead. +.Pp +.Fn zip_file_error_get +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +.Fn zip_file_get_error , +.Fn zip_error_code_zip , +/ +.Fn zip_error_code_system +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.html new file mode 100644 index 000000000..e85152cf2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.html @@ -0,0 +1,116 @@ + + + + + + + ZIP_ERROR_GET_SYS_TYPE(3) + + + + + + + + +
ZIP_ERROR_GET_SYS_TYPE(3)Library Functions ManualZIP_ERROR_GET_SYS_TYPE(3)
+
+
+

+zip_error_get_sys_type — +
get type of system error code (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_error_get_sys_type(int + ze);

+
+
+

+The function zip_error_get_sys_type() is deprecated; use + zip_error_init_with_code(3) + and + zip_error_system_type(3) + instead. +

Replace

+
+
+int i = zip_error_get_sys_type(ze);
+
+
+with +
+
+zip_error_t error;
+zip_error_init_with_code(&error, ze);
+int i = zip_error_system_type(&error);
+
+
+
+
+

+libzip(3), + zip_error_init_with_code(3), + zip_error_system_type(3) +
+
+

+zip_error_get_sys_type() was added in libzip 0.6. It was + deprecated in libzip 1.0, use zip_error_system_type() + instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.man new file mode 100644 index 000000000..753a94cfe --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.man @@ -0,0 +1,88 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_get_sys_type.mdoc -- get type of error +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_GET_SYS_TYPE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_get_sys_type\fR +\- get type of system error code (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_error_get_sys_type\fR(\fIint\ ze\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_error_get_sys_type\fR() +is deprecated; use +zip_error_init_with_code(3) +and +zip_error_system_type(3) +instead. +.PP +Replace +.nf +.sp +.RS 6n +int i = zip_error_get_sys_type(ze); +.RE +.fi +with +.nf +.sp +.RS 6n +zip_error_t error; +zip_error_init_with_code(&error, ze); +int i = zip_error_system_type(&error); +.RE +.fi +.SH "SEE ALSO" +libzip(3), +zip_error_init_with_code(3), +zip_error_system_type(3) +.SH "HISTORY" +\fBzip_error_get_sys_type\fR() +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +\fBzip_error_system_type\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.mdoc new file mode 100644 index 000000000..16d3af78d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_get_sys_type.mdoc @@ -0,0 +1,77 @@ +.\" zip_error_get_sys_type.mdoc -- get type of error +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_GET_SYS_TYPE 3 +.Os +.Sh NAME +.Nm zip_error_get_sys_type +.Nd get type of system error code (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_get_sys_type "int ze" +.Sh DESCRIPTION +The function +.Fn zip_error_get_sys_type +is deprecated; use +.Xr zip_error_init_with_code 3 +and +.Xr zip_error_system_type 3 +instead. +.Pp +Replace +.Bd -literal -offset indent +int i = zip_error_get_sys_type(ze); +.Ed +with +.Bd -literal -offset indent +zip_error_t error; +zip_error_init_with_code(&error, ze); +int i = zip_error_system_type(&error); +.Ed +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init_with_code 3 , +.Xr zip_error_system_type 3 +.Sh HISTORY +.Fn zip_error_get_sys_type +was added in libzip 0.6. +It was deprecated in libzip 1.0, use +.Fn zip_error_system_type +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.html new file mode 100644 index 000000000..24b671e04 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.html @@ -0,0 +1,108 @@ + + + + + + + ZIP_ERROR_INIT(3) + + + + + + + + +
ZIP_ERROR_INIT(3)Library Functions ManualZIP_ERROR_INIT(3)
+
+
+

+zip_error_init, + zip_error_init_with_code — +
initialize zip_error structure
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_error_init(zip_error_t + *error);

+

void +
+ zip_error_init_with_code(zip_error_t + *error, int + ze);

+
+
+

+The zip_error_init() function initializes the zip_error + pointed to by error. *error must + be allocated before calling zip_error_init(). +

The zip_error_init_with_code() function + does the same, but additionally sets the zip error code to + ze and sets the system error code to the current + errno(3) value, if appropriate.

+
+
+

+libzip(3), + zip_error_fini(3) +
+
+

+zip_error_init() and + zip_error_init_with_code() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.man new file mode 100644 index 000000000..7623e982f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.man @@ -0,0 +1,85 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_init.mdoc -- initialize zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_INIT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_init\fR, +\fBzip_error_init_with_code\fR +\- initialize zip_error structure +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_error_init\fR(\fIzip_error_t\ *error\fR); +.PD +.PP +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_error_init_with_code\fR(\fIzip_error_t\ *error\fR, \fIint\ ze\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_init\fR() +function initializes the zip_error pointed to by +\fIerror\fR. +\fI*error\fR +must be allocated before calling +\fBzip_error_init\fR(). +.PP +The +\fBzip_error_init_with_code\fR() +function does the same, but additionally sets the zip error code to +\fIze\fR +and sets the system error code to the current +errno(3) +value, if appropriate. +.SH "SEE ALSO" +libzip(3), +zip_error_fini(3) +.SH "HISTORY" +\fBzip_error_init\fR() +and +\fBzip_error_init_with_code\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.mdoc new file mode 100644 index 000000000..b524303ef --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_init.mdoc @@ -0,0 +1,76 @@ +.\" zip_error_init.mdoc -- initialize zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_INIT 3 +.Os +.Sh NAME +.Nm zip_error_init , +.Nm zip_error_init_with_code +.Nd initialize zip_error structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_init "zip_error_t *error" +.Ft void +.Fn zip_error_init_with_code "zip_error_t *error" "int ze" +.Sh DESCRIPTION +The +.Fn zip_error_init +function initializes the zip_error pointed to by +.Ar error . +.Ar *error +must be allocated before calling +.Fn zip_error_init . +.Pp +The +.Fn zip_error_init_with_code +function does the same, but additionally sets the zip error code to +.Ar ze +and sets the system error code to the current +.Xr errno 3 +value, if appropriate. +.\" TODO: describe when you would need to call this at all +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_fini 3 +.Sh HISTORY +.Fn zip_error_init +and +.Fn zip_error_init_with_code +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.html new file mode 100644 index 000000000..eba09b62f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.html @@ -0,0 +1,101 @@ + + + + + + + ZIP_ERROR_SET(3) + + + + + + + + +
ZIP_ERROR_SET(3)Library Functions ManualZIP_ERROR_SET(3)
+
+
+

+zip_error_set — +
fill in zip_error structure
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_error_set(zip_error_t + *ze, int le, + int se);

+
+
+

+The zip_error_set() function sets the zip_error pointed + to by ze to the libzip error code + le and the system error code se. +

ze must be allocated and initialized with + zip_error_fini(3) before + calling zip_error(set).

+
+
+

+libzip(3), + zip_error_init(3) +
+
+

+zip_error_set() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.man new file mode 100644 index 000000000..250b97f0e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.man @@ -0,0 +1,74 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_set.mdoc -- set zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_SET" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_set\fR +\- fill in zip_error structure +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_error_set\fR(\fIzip_error_t\ *ze\fR, \fIint\ le\fR, \fIint\ se\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_set\fR() +function sets the zip_error pointed to by +\fIze\fR +to the libzip error code +\fIle\fR +and the system error code +\fIse\fR. +.PP +\fIze\fR +must be allocated and initialized with +zip_error_fini(3) +before calling +\fBzip_error\fR(\fIset\fR). +.SH "SEE ALSO" +libzip(3), +zip_error_init(3) +.SH "HISTORY" +\fBzip_error_set\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.mdoc new file mode 100644 index 000000000..f7cc446e3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_set.mdoc @@ -0,0 +1,69 @@ +.\" zip_error_set.mdoc -- set zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_SET 3 +.Os +.Sh NAME +.Nm zip_error_set +.Nd fill in zip_error structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_error_set "zip_error_t *ze" "int le" "int se" +.Sh DESCRIPTION +The +.Fn zip_error_set +function sets the zip_error pointed to by +.Ar ze +to the libzip error code +.Ar le +and the system error code +.Ar se . +.Pp +.Ar ze +must be allocated and initialized with +.Xr zip_error_fini 3 +before calling +.Fn zip_error set . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init 3 +.Sh HISTORY +.Fn zip_error_set +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.html new file mode 100644 index 000000000..cba19f88c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.html @@ -0,0 +1,101 @@ + + + + + + + ZIP_ERROR_STRERROR(3) + + + + + + + + +
ZIP_ERROR_STRERROR(3)Library Functions ManualZIP_ERROR_STRERROR(3)
+
+
+

+zip_error_strerror — +
create human-readable string for zip_error
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

const char * +
+ zip_error_strerror(zip_error_t + *ze);

+
+
+

+The zip_error_strerror() function returns an error + message string corresponding to ze like + strerror(3). This string will stay + valid until the next call to zip_error_strerror() or + until zip_error_fini(3) is + called. +
+
+

+libzip(3), + strerror(3), + zip_error_fini(3) +
+
+

+zip_error_strerror() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.man new file mode 100644 index 000000000..f1396ce35 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.man @@ -0,0 +1,72 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_strerror.mdoc -- create human-readable version of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_STRERROR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_strerror\fR +\- create human-readable string for zip_error +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_error_strerror\fR(\fIzip_error_t\ *ze\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_strerror\fR() +function returns an error message string corresponding to +\fIze\fR +like +strerror(3). +This string will stay valid until the next call to +\fBzip_error_strerror\fR() +or until +zip_error_fini(3) +is called. +.SH "SEE ALSO" +libzip(3), +strerror(3), +zip_error_fini(3) +.SH "HISTORY" +\fBzip_error_strerror\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.mdoc new file mode 100644 index 000000000..8d44c993f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_strerror.mdoc @@ -0,0 +1,67 @@ +.\" zip_error_strerror.mdoc -- create human-readable version of zip_error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_STRERROR 3 +.Os +.Sh NAME +.Nm zip_error_strerror +.Nd create human-readable string for zip_error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_error_strerror "zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_strerror +function returns an error message string corresponding to +.Ar ze +like +.Xr strerror 3 . +This string will stay valid until the next call to +.Fn zip_error_strerror +or until +.Xr zip_error_fini 3 +is called. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr strerror 3 , +.Xr zip_error_fini 3 +.Sh HISTORY +.Fn zip_error_strerror +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.html new file mode 100644 index 000000000..0a6308e94 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.html @@ -0,0 +1,107 @@ + + + + + + + ZIP_ERROR_SYSTEM_TYPE(3) + + + + + + + + +
ZIP_ERROR_SYSTEM_TYPE(3)Library Functions ManualZIP_ERROR_SYSTEM_TYPE(3)
+
+
+

+zip_error_system_type — +
return type of system error
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_error_system_type(const + zip_error_t *ze);

+
+
+

+The zip_error_system_type() function returns the type of + the system specific part for the zip_error ze. + Currently, the following system types are defined: +
+
+
System specific part of ze is unused.
+
+
System specific part of ze is an + errno(2).
+
+
System specific part of ze is a + zlib(3) error.
+
+
+
+

+libzip(3), + zip_error_code_system(3) +
+
+

+zip_error_system_type() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.man new file mode 100644 index 000000000..0d55f4a3b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.man @@ -0,0 +1,83 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_system_type.mdoc -- return system type for error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_SYSTEM_TYPE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_system_type\fR +\- return type of system error +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_error_system_type\fR(\fIconst\ zip_error_t\ *ze\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_error_system_type\fR() +function returns the type of the system specific part for the zip_error +\fIze\fR. +Currently, the following system types are defined: +.TP 13n +\fRZIP_ET_NONE\fR +System specific part of +\fIze\fR +is unused. +.TP 13n +\fRZIP_ET_SYS\fR +System specific part of +\fIze\fR +is an +errno(2). +.TP 13n +\fRZIP_ET_ZLIB\fR +System specific part of +\fIze\fR +is a +zlib(3) +error. +.SH "SEE ALSO" +libzip(3), +zip_error_code_system(3) +.SH "HISTORY" +\fBzip_error_system_type\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.mdoc new file mode 100644 index 000000000..f9fbfce5e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_system_type.mdoc @@ -0,0 +1,77 @@ +.\" zip_error_system_type.mdoc -- return system type for error +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_SYSTEM_TYPE 3 +.Os +.Sh NAME +.Nm zip_error_system_type +.Nd return type of system error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_system_type "const zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_error_system_type +function returns the type of the system specific part for the zip_error +.Ar ze . +Currently, the following system types are defined: +.Bl -tag -width ZIP_ET_NONE +.It Dv ZIP_ET_NONE +System specific part of +.Ar ze +is unused. +.It Dv ZIP_ET_SYS +System specific part of +.Ar ze +is an +.Xr errno 2 . +.It Dv ZIP_ET_ZLIB +System specific part of +.Ar ze +is a +.Xr zlib 3 +error. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 +.Sh HISTORY +.Fn zip_error_system_type +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.html new file mode 100644 index 000000000..9f3ab16a2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.html @@ -0,0 +1,108 @@ + + + + + + + ZIP_ERROR_TO_DATA(3) + + + + + + + + +
ZIP_ERROR_TO_DATA(3)Library Functions ManualZIP_ERROR_TO_DATA(3)
+
+
+

+zip_error_to_data — +
convert zip_error to return value suitable for + ZIP_SOURCE_ERROR
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_error_to_data(const + zip_error_t *ze, void + *data, zip_uint64_t + len);

+
+
+

+zip_error_to_data() function converts the zip_error + ze into data suitable as return value for + ZIP_SOURCE_ERROR. The data is written into the buffer + data of size len. If the buffer is + not large enough to hold 2 ints, an error is returned. +
+
+

+zip_error_to_data() returns 2*(sizeof int) on success, + and -1 on error. +
+
+

+libzip(3), + zip_source_function(3) +
+
+

+zip_error_to_data() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.man new file mode 100644 index 000000000..f6551292f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.man @@ -0,0 +1,74 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_to_data.mdoc -- create error data for ZIP_SOURCE_ERROR +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_TO_DATA" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_to_data\fR +\- convert zip_error to return value suitable for ZIP_SOURCE_ERROR +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_error_to_data\fR(\fIconst\ zip_error_t\ *ze\fR, \fIvoid\ *data\fR, \fIzip_uint64_t\ len\fR); +.PD +.SH "DESCRIPTION" +\fBzip_error_to_data\fR() +function converts the zip_error +\fIze\fR +into data suitable as return value for +\fRZIP_SOURCE_ERROR\fR. +The data is written into the buffer +\fIdata\fR +of size +\fIlen\fR. +If the buffer is not large enough to hold 2 ints, an error is +returned. +.SH "RETURN VALUES" +\fBzip_error_to_data\fR() +returns 2*(sizeof int) on success, and \-1 on error. +.SH "SEE ALSO" +libzip(3), +zip_source_function(3) +.SH "HISTORY" +\fBzip_error_to_data\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.mdoc new file mode 100644 index 000000000..e7ba170b1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_data.mdoc @@ -0,0 +1,69 @@ +.\" zip_error_to_data.mdoc -- create error data for ZIP_SOURCE_ERROR +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_TO_DATA 3 +.Os +.Sh NAME +.Nm zip_error_to_data +.Nd convert zip_error to return value suitable for ZIP_SOURCE_ERROR +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_error_to_data "const zip_error_t *ze" "void *data" "zip_uint64_t len" +.Sh DESCRIPTION +.Fn zip_error_to_data +function converts the zip_error +.Ar ze +into data suitable as return value for +.Dv ZIP_SOURCE_ERROR . +The data is written into the buffer +.Ar data +of size +.Ar len . +If the buffer is not large enough to hold 2 ints, an error is +returned. +.Sh RETURN VALUES +.Fn zip_error_to_data +returns 2*(sizeof int) on success, and \-1 on error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_function 3 +.Sh HISTORY +.Fn zip_error_to_data +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.html b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.html new file mode 100644 index 000000000..131913912 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.html @@ -0,0 +1,124 @@ + + + + + + + ZIP_ERROR_TO_STR(3) + + + + + + + + +
ZIP_ERROR_TO_STR(3)Library Functions ManualZIP_ERROR_TO_STR(3)
+
+
+

+zip_error_to_str — +
get string representation of zip error (obsolete + interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_error_to_str(char + *buf, zip_uint64_t + len, int ze, + int se);

+
+
+

+The function zip_error_to_str() is deprecated; use + zip_error_init_with_code(3) + and zip_error_strerror(3) + instead. +

Replace

+
+
+char buf[BUFSIZE];
+zip_error_to_str(buf, sizeof(buf), ze, se);
+printf("%s", buf);
+
+
+with +
+
+zip_error_t error;
+zip_error_init_with_code(&error, ze);
+printf("%s", zip_error_strerror(&error));
+zip_error_fini(&error);
+
+
+
+
+

+libzip(3), + zip_error_init_with_code(3), + zip_error_strerror(3) +
+
+

+zip_error_to_str() was added in libzip 0.6. In libzip + 0.10 the type of len was changed from + size_t to zip_uint64_t. It was + deprecated in libzip 1.0, use + zip_error_init_with_code() and + zip_error_strerror() instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.man b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.man new file mode 100644 index 000000000..0db434aa5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.man @@ -0,0 +1,99 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_error_to_str.mdoc -- get string representation of zip error code +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_ERROR_TO_STR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_error_to_str\fR +\- get string representation of zip error (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_error_to_str\fR(\fIchar\ *buf\fR, \fIzip_uint64_t\ len\fR, \fIint\ ze\fR, \fIint\ se\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_error_to_str\fR() +is deprecated; use +zip_error_init_with_code(3) +and +zip_error_strerror(3) +instead. +.PP +Replace +.nf +.sp +.RS 6n +char buf[BUFSIZE]; +zip_error_to_str(buf, sizeof(buf), ze, se); +printf("%s", buf); +.RE +.fi +with +.nf +.sp +.RS 6n +zip_error_t error; +zip_error_init_with_code(&error, ze); +printf("%s", zip_error_strerror(&error)); +zip_error_fini(&error); +.RE +.fi +.SH "SEE ALSO" +libzip(3), +zip_error_init_with_code(3), +zip_error_strerror(3) +.SH "HISTORY" +\fBzip_error_to_str\fR() +was added in libzip 0.6. +In libzip 0.10 the type of +\fIlen\fR +was changed from +\fIsize_t\fR +to +\fIzip_uint64_t\fR. +It was deprecated in libzip 1.0, use +\fBzip_error_init_with_code\fR() +and +\fBzip_error_strerror\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.mdoc new file mode 100644 index 000000000..7054d3e43 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_error_to_str.mdoc @@ -0,0 +1,88 @@ +.\" zip_error_to_str.mdoc -- get string representation of zip error code +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERROR_TO_STR 3 +.Os +.Sh NAME +.Nm zip_error_to_str +.Nd get string representation of zip error (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_error_to_str "char *buf" "zip_uint64_t len" "int ze" "int se" +.Sh DESCRIPTION +The function +.Fn zip_error_to_str +is deprecated; use +.Xr zip_error_init_with_code 3 +and +.Xr zip_error_strerror 3 +instead. +.Pp +Replace +.Bd -literal -offset indent +char buf[BUFSIZE]; +zip_error_to_str(buf, sizeof(buf), ze, se); +printf("%s", buf); +.Ed +with +.Bd -literal -offset indent +zip_error_t error; +zip_error_init_with_code(&error, ze); +printf("%s", zip_error_strerror(&error)); +zip_error_fini(&error); +.Ed +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_init_with_code 3 , +.Xr zip_error_strerror 3 +.Sh HISTORY +.Fn zip_error_to_str +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar len +was changed from +.Vt size_t +to +.Vt zip_uint64_t . +It was deprecated in libzip 1.0, use +.Fn zip_error_init_with_code +and +.Fn zip_error_strerror +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_errors.html b/plugins/TKLiveSync/libzip_iOS/man/zip_errors.html new file mode 100644 index 000000000..f9eef5f50 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_errors.html @@ -0,0 +1,150 @@ + + + + + + + ZIP_ERRORS(3) + + + + + + + + +
ZIP_ERRORS(3)Library Functions ManualZIP_ERRORS(3)
+
+
+

+zip_errors — +
list of all libzip error codes
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +
+
+

+The following error codes are used by libzip: +
+
[ZIP_ER_CHANGED]
+
Entry has been changed.
+
[ZIP_ER_CLOSE]
+
Closing zip archive failed.
+
[ZIP_ER_COMPNOTSUPP]
+
Compression method not supported.
+
[ZIP_ER_COMPRESSED_DATA]
+
Compressed data invalid.
+
[ZIP_ER_CRC]
+
CRC error.
+
[ZIP_ER_DELETED]
+
Entry has been deleted.
+
[ZIP_ER_ENCRNOTSUPP]
+
Encryption method not supported.
+
[ZIP_ER_EOF]
+
Premature end of file.
+
[ZIP_ER_EXISTS]
+
File already exists.
+
[ZIP_ER_INCONS]
+
Zip archive inconsistent.
+
[ZIP_ER_INTERNAL]
+
Internal error.
+
[ZIP_ER_INUSE]
+
Resource still in use.
+
[ZIP_ER_INVAL]
+
Invalid argument.
+
[ZIP_ER_MEMORY]
+
Malloc failure.
+
[ZIP_ER_MULTIDISK]
+
Multi-disk zip archives not supported.
+
[ZIP_ER_NOENT]
+
No such file.
+
[ZIP_ER_NOPASSWD]
+
No password provided.
+
[ZIP_ER_NOZIP]
+
Not a zip archive.
+
[ZIP_ER_OK]
+
No error.
+
[ZIP_ER_OPEN]
+
Can't open file.
+
[ZIP_ER_OPNOTSUPP]
+
Operation not supported.
+
[ZIP_ER_RDONLY]
+
Read-only archive.
+
[ZIP_ER_READ]
+
Read error.
+
[ZIP_ER_REMOVE]
+
Can't remove file.
+
[ZIP_ER_RENAME]
+
Renaming temporary file failed.
+
[ZIP_ER_SEEK]
+
Seek error.
+
[ZIP_ER_TELL]
+
Tell error.
+
[ZIP_ER_TMPOPEN]
+
Failure to create temporary file.
+
[ZIP_ER_WRITE]
+
Write error.
+
[ZIP_ER_WRONGPASSWD]
+
Wrong password provided.
+
[ZIP_ER_ZIPCLOSED]
+
Containing zip archive was closed.
+
[ZIP_ER_ZLIB]
+
Zlib error.
+
+
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_errors.man b/plugins/TKLiveSync/libzip_iOS/man/zip_errors.man new file mode 100644 index 000000000..63c394700 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_errors.man @@ -0,0 +1,147 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_errors.mdoc -- list of all libzip error codes +.\" Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" This file was generated automatically by ./make_zip_errors.sh +.\" from ./../lib/zip.h; make changes there. +.\" +.TH "ZIP_ERRORS" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_errors\fR +\- list of all libzip error codes +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.SH "DESCRIPTION" +The following error codes are used by libzip: +.TP 26n +[\fRZIP_ER_CHANGED\fR] +Entry has been changed. +.TP 26n +[\fRZIP_ER_CLOSE\fR] +Closing zip archive failed. +.TP 26n +[\fRZIP_ER_COMPNOTSUPP\fR] +Compression method not supported. +.TP 26n +[\fRZIP_ER_COMPRESSED_DATA\fR] +Compressed data invalid. +.TP 26n +[\fRZIP_ER_CRC\fR] +CRC error. +.TP 26n +[\fRZIP_ER_DELETED\fR] +Entry has been deleted. +.TP 26n +[\fRZIP_ER_ENCRNOTSUPP\fR] +Encryption method not supported. +.TP 26n +[\fRZIP_ER_EOF\fR] +Premature end of file. +.TP 26n +[\fRZIP_ER_EXISTS\fR] +File already exists. +.TP 26n +[\fRZIP_ER_INCONS\fR] +Zip archive inconsistent. +.TP 26n +[\fRZIP_ER_INTERNAL\fR] +Internal error. +.TP 26n +[\fRZIP_ER_INUSE\fR] +Resource still in use. +.TP 26n +[\fRZIP_ER_INVAL\fR] +Invalid argument. +.TP 26n +[\fRZIP_ER_MEMORY\fR] +Malloc failure. +.TP 26n +[\fRZIP_ER_MULTIDISK\fR] +Multi-disk zip archives not supported. +.TP 26n +[\fRZIP_ER_NOENT\fR] +No such file. +.TP 26n +[\fRZIP_ER_NOPASSWD\fR] +No password provided. +.TP 26n +[\fRZIP_ER_NOZIP\fR] +Not a zip archive. +.TP 26n +[\fRZIP_ER_OK\fR] +No error. +.TP 26n +[\fRZIP_ER_OPEN\fR] +Can't open file. +.TP 26n +[\fRZIP_ER_OPNOTSUPP\fR] +Operation not supported. +.TP 26n +[\fRZIP_ER_RDONLY\fR] +Read-only archive. +.TP 26n +[\fRZIP_ER_READ\fR] +Read error. +.TP 26n +[\fRZIP_ER_REMOVE\fR] +Can't remove file. +.TP 26n +[\fRZIP_ER_RENAME\fR] +Renaming temporary file failed. +.TP 26n +[\fRZIP_ER_SEEK\fR] +Seek error. +.TP 26n +[\fRZIP_ER_TELL\fR] +Tell error. +.TP 26n +[\fRZIP_ER_TMPOPEN\fR] +Failure to create temporary file. +.TP 26n +[\fRZIP_ER_WRITE\fR] +Write error. +.TP 26n +[\fRZIP_ER_WRONGPASSWD\fR] +Wrong password provided. +.TP 26n +[\fRZIP_ER_ZIPCLOSED\fR] +Containing zip archive was closed. +.TP 26n +[\fRZIP_ER_ZLIB\fR] +Zlib error. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_errors.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_errors.mdoc new file mode 100644 index 000000000..9f6357fa0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_errors.mdoc @@ -0,0 +1,117 @@ +.\" zip_errors.mdoc -- list of all libzip error codes +.\" Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" This file was generated automatically by ./make_zip_errors.sh +.\" from ./../lib/zip.h; make changes there. +.\" +.Dd December 18, 2017 +.Dt ZIP_ERRORS 3 +.Os +.Sh NAME +.Nm zip_errors +.Nd list of all libzip error codes +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Sh DESCRIPTION +The following error codes are used by libzip: +.Bl -tag -width XZIP_ER_COMPRESSED_DATAX +.It Bq Er ZIP_ER_CHANGED +Entry has been changed. +.It Bq Er ZIP_ER_CLOSE +Closing zip archive failed. +.It Bq Er ZIP_ER_COMPNOTSUPP +Compression method not supported. +.It Bq Er ZIP_ER_COMPRESSED_DATA +Compressed data invalid. +.It Bq Er ZIP_ER_CRC +CRC error. +.It Bq Er ZIP_ER_DELETED +Entry has been deleted. +.It Bq Er ZIP_ER_ENCRNOTSUPP +Encryption method not supported. +.It Bq Er ZIP_ER_EOF +Premature end of file. +.It Bq Er ZIP_ER_EXISTS +File already exists. +.It Bq Er ZIP_ER_INCONS +Zip archive inconsistent. +.It Bq Er ZIP_ER_INTERNAL +Internal error. +.It Bq Er ZIP_ER_INUSE +Resource still in use. +.It Bq Er ZIP_ER_INVAL +Invalid argument. +.It Bq Er ZIP_ER_MEMORY +Malloc failure. +.It Bq Er ZIP_ER_MULTIDISK +Multi-disk zip archives not supported. +.It Bq Er ZIP_ER_NOENT +No such file. +.It Bq Er ZIP_ER_NOPASSWD +No password provided. +.It Bq Er ZIP_ER_NOZIP +Not a zip archive. +.It Bq Er ZIP_ER_OK +No error. +.It Bq Er ZIP_ER_OPEN +Can't open file. +.It Bq Er ZIP_ER_OPNOTSUPP +Operation not supported. +.It Bq Er ZIP_ER_RDONLY +Read-only archive. +.It Bq Er ZIP_ER_READ +Read error. +.It Bq Er ZIP_ER_REMOVE +Can't remove file. +.It Bq Er ZIP_ER_RENAME +Renaming temporary file failed. +.It Bq Er ZIP_ER_SEEK +Seek error. +.It Bq Er ZIP_ER_TELL +Tell error. +.It Bq Er ZIP_ER_TMPOPEN +Failure to create temporary file. +.It Bq Er ZIP_ER_WRITE +Write error. +.It Bq Er ZIP_ER_WRONGPASSWD +Wrong password provided. +.It Bq Er ZIP_ER_ZIPCLOSED +Containing zip archive was closed. +.It Bq Er ZIP_ER_ZLIB +Zlib error. +.El +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.html b/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.html new file mode 100644 index 000000000..c19b2cae3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.html @@ -0,0 +1,103 @@ + + + + + + + ZIP_FCLOSE(3) + + + + + + + + +
ZIP_FCLOSE(3)Library Functions ManualZIP_FCLOSE(3)
+
+
+

+zip_fclose — +
close file in zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_fclose(zip_file_t + *file);

+
+
+

+The zip_fclose() function closes + file and frees the memory allocated for it. +
+
+

+Upon successful completion 0 is returned. Otherwise, the error code is returned. +
+
+

+libzip(3), + zip_fopen(3), + zip_fread(3), + zip_fseek(3) +
+
+

+zip_fclose() was added in libzip 0.6. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.man b/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.man new file mode 100644 index 000000000..977a7b777 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.man @@ -0,0 +1,70 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_fclose.mdoc -- close file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FCLOSE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_fclose\fR +\- close file in zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_fclose\fR(\fIzip_file_t\ *file\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_fclose\fR() +function closes +\fIfile\fR +and frees the memory allocated for it. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, the error code is returned. +.SH "SEE ALSO" +libzip(3), +zip_fopen(3), +zip_fread(3), +zip_fseek(3) +.SH "HISTORY" +\fBzip_fclose\fR() +was added in libzip 0.6. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.mdoc new file mode 100644 index 000000000..0bbeee7cd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fclose.mdoc @@ -0,0 +1,65 @@ +.\" zip_fclose.mdoc -- close file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FCLOSE 3 +.Os +.Sh NAME +.Nm zip_fclose +.Nd close file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_fclose "zip_file_t *file" +.Sh DESCRIPTION +The +.Fn zip_fclose +function closes +.Ar file +and frees the memory allocated for it. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, the error code is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_fseek 3 +.Sh HISTORY +.Fn zip_fclose +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.html b/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.html new file mode 100644 index 000000000..d34f1e683 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.html @@ -0,0 +1,154 @@ + + + + + + + ZIP_FDOPEN(3) + + + + + + + + +
ZIP_FDOPEN(3)Library Functions ManualZIP_FDOPEN(3)
+
+
+

+zip_fdopen — +
open zip archive using open file descriptor
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_t * +
+ zip_fdopen(int + fd, int flags, + int *errorp);

+
+
+

+The zip archive specified by the open file descriptor fd + is opened and a pointer to a struct zip, used to + manipulate the archive, is returned. In contrast to + zip_open(3), using + zip_fdopen the archive can only be opened in read-only + mode. The fd argument may not be used any longer after + calling zip_fdopen. The flags + are specified by or'ing the + following values, or 0 for none of them. +
+
+
+
Perform additional stricter consistency checks on the archive, and error + if they fail.
+
+
+

If an error occurs and errorp is + non-NULL, it will be set to + the corresponding error code.

+
+
+

+Upon successful completion zip_fdopen() returns a + struct zip pointer, and fd should + not be used any longer, nor passed to + close(2). Otherwise, + NULL is returned and *errorp is + set to indicate the error. In the error case, fd remains + unchanged. +
+
+

+The file specified by fd is prepared for use by + libzip(3) unless: +
+
[]
+
Inconsistencies were found in the file specified by + path. This error is often caused by specifying + ZIP_CHECKCONS but can also happen without it.
+
[]
+
The flags argument is invalid. Not all + zip_open(3) flags are allowed for + zip_fdopen, see + DESCRIPTION.
+
[]
+
Required memory could not be allocated.
+
[]
+
The file specified by fd is not a zip archive.
+
[]
+
The file specified by fd could not be prepared for + use by libzip(3).
+
[]
+
A read error occurred; see errno for details.
+
[]
+
The file specified by fd does not allow seeks.
+
+
+
+

+libzip(3), + zip_close(3), + zip_error_strerror(3), + zip_open(3) +
+
+

+zip_fdopen() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.man b/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.man new file mode 100644 index 000000000..e07f92660 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.man @@ -0,0 +1,158 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_fdopen.mdoc -- open zip archive using existing file descriptor +.\" Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FDOPEN" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_fdopen\fR +\- open zip archive using open file descriptor +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_fdopen\fR(\fIint\ fd\fR, \fIint\ flags\fR, \fIint\ *errorp\fR); +.PD +.SH "DESCRIPTION" +The zip archive specified by the open file descriptor +\fIfd\fR +is opened and a pointer to a +\fIstruct zip\fR, +used to manipulate the archive, is returned. +In contrast to +zip_open(3), +using +\fBzip_fdopen\fR +the archive can only be opened in read-only mode. +The +\fIfd\fR +argument may not be used any longer after calling +\fBzip_fdopen\fR. +The +\fIflags\fR +are specified by +\fIor\fR'ing +the following values, or 0 for none of them. +.RS 6n +.TP 15n +\fRZIP_CHECKCONS\fR +Perform additional stricter consistency checks on the archive, and +error if they fail. +.RE +.PP +If an error occurs and +\fIerrorp\fR +is +non-\fRNULL\fR, +it will be set to the corresponding error code. +.SH "RETURN VALUES" +Upon successful completion +\fBzip_fdopen\fR() +returns a +\fIstruct zip\fR +pointer, and +\fIfd\fR +should not be used any longer, nor passed to +close(2). +Otherwise, +\fRNULL\fR +is returned and +\fI*errorp\fR +is set to indicate the error. +In the error case, +\fIfd\fR +remains unchanged. +.SH "ERRORS" +The file specified by +\fIfd\fR +is prepared for use by +libzip(3) +unless: +.TP 19n +[\fRZIP_ER_INCONS\fR] +Inconsistencies were found in the file specified by +\fIpath\fR. +This error is often caused by specifying +\fRZIP_CHECKCONS\fR +but can also happen without it. +.TP 19n +[\fRZIP_ER_INVAL\fR] +The +\fIflags\fR +argument is invalid. +Not all +zip_open(3) +flags are allowed for +\fBzip_fdopen\fR, +see +\fIDESCRIPTION\fR. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_NOZIP\fR] +The file specified by +\fIfd\fR +is not a zip archive. +.TP 19n +[\fRZIP_ER_OPEN\fR] +The file specified by +\fIfd\fR +could not be prepared for use by +libzip(3). +.TP 19n +[\fRZIP_ER_READ\fR] +A read error occurred; see +\fIerrno\fR +for details. +.TP 19n +[\fRZIP_ER_SEEK\fR] +The file specified by +\fIfd\fR +does not allow seeks. +.SH "SEE ALSO" +libzip(3), +zip_close(3), +zip_error_strerror(3), +zip_open(3) +.SH "HISTORY" +\fBzip_fdopen\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.mdoc new file mode 100644 index 000000000..44b505596 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fdopen.mdoc @@ -0,0 +1,147 @@ +.\" zip_fdopen.mdoc -- open zip archive using existing file descriptor +.\" Copyright (C) 2009-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FDOPEN 3 +.Os +.Sh NAME +.Nm zip_fdopen +.Nd open zip archive using open file descriptor +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_t * +.Fn zip_fdopen "int fd" "int flags" "int *errorp" +.Sh DESCRIPTION +The zip archive specified by the open file descriptor +.Ar fd +is opened and a pointer to a +.Ft struct zip , +used to manipulate the archive, is returned. +In contrast to +.Xr zip_open 3 , +using +.Nm zip_fdopen +the archive can only be opened in read-only mode. +The +.Ar fd +argument may not be used any longer after calling +.Nm zip_fdopen . +The +.Fa flags +are specified by +.Em or Ns No 'ing +the following values, or 0 for none of them. +.Bl -tag -offset indent -width ZIP_CHECKCONS +.It Dv ZIP_CHECKCONS +Perform additional stricter consistency checks on the archive, and +error if they fail. +.El +.Pp +If an error occurs and +.Ar errorp +is +.No non- Ns Dv NULL , +it will be set to the corresponding error code. +.Sh RETURN VALUES +Upon successful completion +.Fn zip_fdopen +returns a +.Ft struct zip +pointer, and +.Ar fd +should not be used any longer, nor passed to +.Xr close 2 . +Otherwise, +.Dv NULL +is returned and +.Ar *errorp +is set to indicate the error. +In the error case, +.Ar fd +remains unchanged. +.Sh ERRORS +The file specified by +.Ar fd +is prepared for use by +.Xr libzip 3 +unless: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INCONS +Inconsistencies were found in the file specified by +.Ar path . +This error is often caused by specifying +.Dv ZIP_CHECKCONS +but can also happen without it. +.It Bq Er ZIP_ER_INVAL +The +.Ar flags +argument is invalid. +Not all +.Xr zip_open 3 +flags are allowed for +.Nm zip_fdopen , +see +.Sx DESCRIPTION . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOZIP +The file specified by +.Ar fd +is not a zip archive. +.It Bq Er ZIP_ER_OPEN +The file specified by +.Ar fd +could not be prepared for use by +.Xr libzip 3 . +.It Bq Er ZIP_ER_READ +A read error occurred; see +.Va errno +for details. +.It Bq Er ZIP_ER_SEEK +The file specified by +.Ar fd +does not allow seeks. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 , +.Xr zip_error_strerror 3 , +.Xr zip_open 3 +.Sh HISTORY +.Fn zip_fdopen +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.html new file mode 100644 index 000000000..99274c9ca --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.html @@ -0,0 +1,177 @@ + + + + + + + ZIP_FILE_ADD(3) + + + + + + + + +
ZIP_FILE_ADD(3)Library Functions ManualZIP_FILE_ADD(3)
+
+
+

+zip_file_add, zip_file_replace + — +
add file to zip archive or replace file in zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_file_add(zip_t + *archive, const char + *name, zip_source_t + *source, zip_flags_t + flags);

+

int +
+ zip_file_replace(zip_t + *archive, zip_uint64_t + index, zip_source_t + *source, zip_flags_t + flags);

+
+
+

+The function zip_file_add() adds a file to a zip + archive, while zip_file_replace() replaces an existing + file in a zip archive. The argument archive specifies + the zip archive to which the file should be added. name + is the file's name in the zip archive (for + zip_file_add()), while index + specifies which file should be replaced (for + zip_file_replace()). The flags + argument can be any combination of ZIP_FL_OVERWRITE + with one of ZIP_FL_ENC_*: +
+
+
Overwrite any existing file of the same name. For + zip_file_add only.
+
+
Guess encoding of name (default).
+
+
Interpret name as UTF-8.
+
+
Interpret name as code page 437 (CP-437).
+
+The data is obtained from the source argument, see + zip_source(3). +

NOTE: + zip_source_free(3) should not + be called on a source after it was used successfully + in a zip_file_add or + zip_file_replace call.

+
+
+

+Upon successful completion, zip_file_add() returns the + index of the new file in the archive, and + zip_file_replace() returns 0. Otherwise, -1 is + returned and the error code in archive is set to + indicate the error. +
+
+

+
+
+zip_source_t *s;
+const char *buf="teststring";
+
+if ((s=zip_source_buffer(archive, buf, sizeof(buf), 0)) == NULL ||
+    zip_file_add(archive, name, s, ZIP_FL_ENC_UTF_8) < 0) {
+    zip_source_free(s);
+    printf("error adding file: %s\n", zip_strerror(archive));
+}
+
+
+
+
+

+zip_file_add() and + zip_file_replace() fail if: +
+
[]
+
There is already a file called name in the archive. + (Only applies to zip_file_add(), and only if + ZIP_FL_OVERWRITE is not provided).
+
[]
+
source or name are + NULL, or index is + invalid.
+
[]
+
Required memory could not be allocated.
+
[]
+
Archive was opened in read-only mode.
+
+
+
+

+libzip(3), + zip_source(3) +
+
+

+zip_file_add() and + zip_file_replace() were added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.man new file mode 100644 index 000000000..10c00501a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.man @@ -0,0 +1,182 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_add.mdoc -- add files to zip archive +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_ADD" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_add\fR, +\fBzip_file_replace\fR +\- add file to zip archive or replace file in zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_file_add\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *name\fR, \fIzip_source_t\ *source\fR, \fIzip_flags_t\ flags\fR); +.PD +.PP +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_replace\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_source_t\ *source\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_file_add\fR() +adds a file to a zip archive, while +\fBzip_file_replace\fR() +replaces an existing file in a zip archive. +The argument +\fIarchive\fR +specifies the zip archive to which the file should be added. +\fIname\fR +is the file's name in the zip archive (for +\fBzip_file_add\fR()), +while +\fIindex\fR +specifies which file should be replaced (for +\fBzip_file_replace\fR()). +The +\fIflags\fR +argument can be any combination of +\fRZIP_FL_OVERWRITE\fR +with one of +\fRZIP_FL_ENC_*\fR: +.TP 22n +\fRZIP_FL_OVERWRITE\fR +Overwrite any existing file of the same name. +For +\fBzip_file_add\fR +only. +.TP 22n +\fRZIP_FL_ENC_GUESS\fR +Guess encoding of +\fIname\fR +(default). +.TP 22n +\fRZIP_FL_ENC_UTF_8\fR +Interpret +\fIname\fR +as UTF-8. +.TP 22n +\fRZIP_FL_ENC_CP437\fR +Interpret +\fIname\fR +as code page 437 (CP-437). +.PD 0 +.PP +The data is obtained from the +\fIsource\fR +argument, see +zip_source(3). +.PD +.PP +\fINOTE\fR: +zip_source_free(3) +should not be called on a +\fIsource\fR +after it was used successfully in a +\fBzip_file_add\fR +or +\fBzip_file_replace\fR +call. +.SH "RETURN VALUES" +Upon successful completion, +\fBzip_file_add\fR() +returns the index of the new file in the archive, and +\fBzip_file_replace\fR() +returns 0. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "EXAMPLES" +.nf +.RS 6n +zip_source_t *s; +const char *buf="teststring"; + +if ((s=zip_source_buffer(archive, buf, sizeof(buf), 0)) == NULL || + zip_file_add(archive, name, s, ZIP_FL_ENC_UTF_8) < 0) { + zip_source_free(s); + printf("error adding file: %s\en", zip_strerror(archive)); +} +.RE +.fi +.SH "ERRORS" +\fBzip_file_add\fR() +and +\fBzip_file_replace\fR() +fail if: +.TP 19n +[\fRZIP_ER_EXISTS\fR] +There is already a file called +\fIname\fR +in the archive. +(Only applies to +\fBzip_file_add\fR(), +and only if +\fRZIP_FL_OVERWRITE\fR +is not provided). +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIsource\fR +or +\fIname\fR +are +\fRNULL\fR, +or +\fIindex\fR +is invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_RDONLY\fR] +Archive was opened in read-only mode. +.SH "SEE ALSO" +libzip(3), +zip_source(3) +.SH "HISTORY" +\fBzip_file_add\fR() +and +\fBzip_file_replace\fR() +were added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.mdoc new file mode 100644 index 000000000..9939dddfc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_add.mdoc @@ -0,0 +1,163 @@ +.\" zip_file_add.mdoc -- add files to zip archive +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_ADD 3 +.Os +.Sh NAME +.Nm zip_file_add , +.Nm zip_file_replace +.Nd add file to zip archive or replace file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_file_add "zip_t *archive" "const char *name" "zip_source_t *source" "zip_flags_t flags" +.Ft int +.Fn zip_file_replace "zip_t *archive" "zip_uint64_t index" "zip_source_t *source" "zip_flags_t flags" +.Sh DESCRIPTION +The function +.Fn zip_file_add +adds a file to a zip archive, while +.Fn zip_file_replace +replaces an existing file in a zip archive. +The argument +.Ar archive +specifies the zip archive to which the file should be added. +.Ar name +is the file's name in the zip archive (for +.Fn zip_file_add ) , +while +.Ar index +specifies which file should be replaced (for +.Fn zip_file_replace ) . +The +.Ar flags +argument can be any combination of +.Dv ZIP_FL_OVERWRITE +with one of +.Dv ZIP_FL_ENC_* : +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_OVERWRITE +Overwrite any existing file of the same name. +For +.Nm zip_file_add +only. +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar name +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar name +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar name +as code page 437 (CP-437). +.El +The data is obtained from the +.Ar source +argument, see +.Xr zip_source 3 . +.Pp +.Em NOTE : +.Xr zip_source_free 3 +should not be called on a +.Ar source +after it was used successfully in a +.Nm zip_file_add +or +.Nm zip_file_replace +call. +.Sh RETURN VALUES +Upon successful completion, +.Fn zip_file_add +returns the index of the new file in the archive, and +.Fn zip_file_replace +returns 0. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh EXAMPLES +.Bd -literal -offset indent +zip_source_t *s; +const char *buf="teststring"; + +if ((s=zip_source_buffer(archive, buf, sizeof(buf), 0)) == NULL || + zip_file_add(archive, name, s, ZIP_FL_ENC_UTF_8) < 0) { + zip_source_free(s); + printf("error adding file: %s\en", zip_strerror(archive)); +} +.Ed +.Sh ERRORS +.Fn zip_file_add +and +.Fn zip_file_replace +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +There is already a file called +.Ar name +in the archive. +(Only applies to +.Fn zip_file_add , +and only if +.Dv ZIP_FL_OVERWRITE +is not provided). +.It Bq Er ZIP_ER_INVAL +.Ar source +or +.Ar name +are +.Dv NULL , +or +.Ar index +is invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +Archive was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_file_add +and +.Fn zip_file_replace +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.html new file mode 100644 index 000000000..7457e161a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.html @@ -0,0 +1,159 @@ + + + + + + + ZIP_FILE_EXTRA_FIELD_DELETE(3) + + + + + + + + +
ZIP_FILE_EXTRA_FIELD_DELETE(3)Library Functions ManualZIP_FILE_EXTRA_FIELD_DELETE(3)
+
+
+

+zip_file_extra_field_delete, + zip_file_extra_field_delete_by_id — +
delete extra field for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_extra_field_delete(zip_t + *archive, zip_uint64_t + index, zip_uint16_t + extra_field_index, + zip_flags_t flags);

+

int +
+ zip_file_extra_field_delete_by_id(zip_t + *archive, zip_uint64_t + index, zip_uint16_t + extra_field_id, + zip_uint16_t + extra_field_index, + zip_flags_t flags);

+
+
+

+The zip_file_extra_field_delete() function deletes the + extra field with index extra_field_index for the file at + position index in the zip archive. +

If extra_field_index is + ZIP_EXTRA_FIELD_ALL, then all extra fields will be + deleted.

+

The following flags are supported:

+
+
+
+
Delete extra fields from the archive's central directory.
+
+
Delete extra fields from the local file headers.
+
+
+

The zip_file_extra_field_delete_by_id() + function deletes the extra field with ID (two-byte signature) + extra_field_id and index + extra_field_index (in other words, the + extra_field_index'th extra + field with ID extra_field_id) The other arguments are + the same as for zip_file_extra_field_delete() + (ZIP_EXTRA_FIELD_ALL will delete all extra fields of + the specified ID).

+

Please note that due to the library design, the index of an extra + field may be different between central directory and local file headers. For + this reason, it is not allowed to specify both + ZIP_FL_CENTRAL and + ZIP_FL_LOCAL in flags, except + when deleting all extra fields (i.e., + extra_field_index being + ZIP_EXTRA_FIELD_ALL).

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+zip_file_extra_field_delete() and + zip_file_extra_field_delete_by_id() fail if: +
+
[]
+
index is not a valid file index in + archive.
+
+
+
+

+libzip(3), + zip_file_extra_field_get(3), + zip_file_extra_field_set(3), + zip_file_extra_fields_count(3) +
+
+

+zip_file_extra_field_delete() and + zip_file_extra_field_delete_by_id() were added in + libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.man new file mode 100644 index 000000000..ccc5071d7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.man @@ -0,0 +1,141 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_extra_field_delete.mdoc -- delete extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_EXTRA_FIELD_DELETE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_extra_field_delete\fR, +\fBzip_file_extra_field_delete_by_id\fR +\- delete extra field for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_extra_field_delete\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint16_t\ extra_field_index\fR, \fIzip_flags_t\ flags\fR); +.PD +.PP +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_extra_field_delete_by_id\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint16_t\ extra_field_id\fR, \fIzip_uint16_t\ extra_field_index\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_extra_field_delete\fR() +function deletes the extra field with index +\fIextra_field_index\fR +for the file at position +\fIindex\fR +in the zip archive. +.PP +If +\fIextra_field_index\fR +is +\fRZIP_EXTRA_FIELD_ALL\fR, +then all extra fields will be deleted. +.PP +The following +\fIflags\fR +are supported: +.RS 6n +.TP 18n +\fRZIP_FL_CENTRAL\fR +Delete extra fields from the archive's central directory. +.TP 18n +\fRZIP_FL_LOCAL\fR +Delete extra fields from the local file headers. +.RE +.PP +The +\fBzip_file_extra_field_delete_by_id\fR() +function deletes the extra field with ID (two-byte signature) +\fIextra_field_id\fR +and index +\fIextra_field_index\fR +(in other words, the +\fIextra_field_index\fR'th +extra field with ID +\fIextra_field_id\fR) +The other arguments are the same as for +\fBzip_file_extra_field_delete\fR() +(\fRZIP_EXTRA_FIELD_ALL\fR +will delete all extra fields of the specified ID). +.PP +Please note that due to the library design, the index of an extra +field may be different between central directory and local file +headers. +For this reason, it is not allowed to specify both +\fRZIP_FL_CENTRAL\fR +and +\fRZIP_FL_LOCAL\fR +in +\fIflags\fR, +except when deleting all extra fields (i.e., +\fIextra_field_index\fR +being +\fRZIP_EXTRA_FIELD_ALL\fR). +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_extra_field_delete\fR() +and +\fBzip_file_extra_field_delete_by_id\fR() +fail if: +.TP 19n +[\fRZIP_ER_NOENT\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.SH "SEE ALSO" +libzip(3), +zip_file_extra_field_get(3), +zip_file_extra_field_set(3), +zip_file_extra_fields_count(3) +.SH "HISTORY" +\fBzip_file_extra_field_delete\fR() +and +\fBzip_file_extra_field_delete_by_id\fR() +were added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.mdoc new file mode 100644 index 000000000..005e7470b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_delete.mdoc @@ -0,0 +1,130 @@ +.\" zip_file_extra_field_delete.mdoc -- delete extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELD_DELETE 3 +.Os +.Sh NAME +.Nm zip_file_extra_field_delete , +.Nm zip_file_extra_field_delete_by_id +.Nd delete extra field for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_extra_field_delete "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_index" "zip_flags_t flags" +.Ft int +.Fn zip_file_extra_field_delete_by_id "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_uint16_t extra_field_index" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_field_delete +function deletes the extra field with index +.Ar extra_field_index +for the file at position +.Ar index +in the zip archive. +.Pp +If +.Ar extra_field_index +is +.Dv ZIP_EXTRA_FIELD_ALL , +then all extra fields will be deleted. +.Pp +The following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_CENTRALXX -offset indent +.It Dv ZIP_FL_CENTRAL +Delete extra fields from the archive's central directory. +.It Dv ZIP_FL_LOCAL +Delete extra fields from the local file headers. +.El +.Pp +The +.Fn zip_file_extra_field_delete_by_id +function deletes the extra field with ID (two-byte signature) +.Ar extra_field_id +and index +.Ar extra_field_index +(in other words, the +.Ar extra_field_index Ns No 'th +extra field with ID +.Ar extra_field_id ) +The other arguments are the same as for +.Fn zip_file_extra_field_delete +.Dv ( ZIP_EXTRA_FIELD_ALL +will delete all extra fields of the specified ID). +.Pp +Please note that due to the library design, the index of an extra +field may be different between central directory and local file +headers. +For this reason, it is not allowed to specify both +.Dv ZIP_FL_CENTRAL +and +.Dv ZIP_FL_LOCAL +in +.Ar flags , +except when deleting all extra fields (i.e., +.Ar extra_field_index +being +.Dv ZIP_EXTRA_FIELD_ALL ) . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_field_delete +and +.Fn zip_file_extra_field_delete_by_id +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_get 3 , +.Xr zip_file_extra_field_set 3 , +.Xr zip_file_extra_fields_count 3 +.Sh HISTORY +.Fn zip_file_extra_field_delete +and +.Fn zip_file_extra_field_delete_by_id +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.html new file mode 100644 index 000000000..2f1a94282 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.html @@ -0,0 +1,176 @@ + + + + + + + ZIP_FILE_EXTRA_FIELD_GET(3) + + + + + + + + +
ZIP_FILE_EXTRA_FIELD_GET(3)Library Functions ManualZIP_FILE_EXTRA_FIELD_GET(3)
+
+
+

+zip_file_extra_field_get, + zip_file_extra_field_get_by_id — +
get extra field for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

const zip_uint8_t * +
+ zip_file_extra_field_get(zip_t + *archive, zip_uint64_t + index, zip_uint16_t + extra_field_index, + zip_uint16_t *idp, + zip_uint16_t *lenp, + zip_flags_t flags);

+

const zip_uint8_t * +
+ zip_file_extra_field_get_by_id(zip_t + *archive, zip_uint64_t + index, zip_uint16_t + extra_field_id, + zip_uint16_t + extra_field_index, + zip_uint16_t *lenp, + zip_flags_t flags);

+
+
+

+The zip_file_extra_field_get() function returns the + extra field with index extra_field_index for the file at + position index in the zip archive. This pointer should + not be modified or free(3)'d, and becomes + invalid when archive is closed. If + idp is not NULL, the integer to + which it points will be set to the ID (two-byte signature) of the selected + extra field. If lenp is not + NULL, the integer to which it points will be set to + the length of the extra field. Generally speaking, lenp + and idp should be passed since only the extra field data + is returned (i.e., neither the ID nor the length, if the + idp and lenp arguments are not + provided). +

The following flags are supported:

+
+
+
+
Return extra fields from the archive's central directory.
+
+
Return extra fields from the local file headers.
+
+
Return the original unchanged extra fields, ignoring any changes + made.
+
+
+

The zip_file_extra_field_get_by_id() + function returns the extra field with ID (two-byte signature) + extra_field_id and index + extra_field_index (in other words, the + extra_field_index'th extra + field with ID extra_field_id) The other arguments are + the same as for zip_file_extra_field_get().

+
+
+

+Upon successful completion, a pointer to an extra field is returned, or + NULL if there is no extra field with that + extra_field_index for the file with index + index. In case of an error, NULL + is returned and the error code in archive is set to + indicate the error. +
+
+

+zip_file_extra_field_get() and + zip_file_extra_field_get_by_id() fail if: +
+
[]
+
index is not a valid file index in + archive, or extra_field_index + is not a valid extra file index (for ID + extra_field_id).
+
+
+
+

+libzip(3), + zip_file_extra_field_delete(3), + zip_file_extra_field_set(3), + zip_file_extra_fields_count(3) +
+
+

+zip_file_extra_field_get() and + zip_file_extra_field_get_by_id() were added in libzip + 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+

+Please note that the extra field IDs 0x0001 (ZIP64 extension), 0x6375 (Infozip + UTF-8 comment), and 0x7075 (Infozip UTF-8 file name) can not be read using + zip_file_extra_field_get() since they are used by + libzip(3) internally. +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.man new file mode 100644 index 000000000..39c54284f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.man @@ -0,0 +1,169 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_extra_field_get.mdoc -- get extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_EXTRA_FIELD_GET" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_extra_field_get\fR, +\fBzip_file_extra_field_get_by_id\fR +\- get extra field for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst zip_uint8_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_file_extra_field_get\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint16_t\ extra_field_index\fR, \fIzip_uint16_t\ *idp\fR, \fIzip_uint16_t\ *lenp\fR, \fIzip_flags_t\ flags\fR); +.PD +.PP +\fIconst zip_uint8_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_file_extra_field_get_by_id\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint16_t\ extra_field_id\fR, \fIzip_uint16_t\ extra_field_index\fR, \fIzip_uint16_t\ *lenp\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_extra_field_get\fR() +function returns the extra field with index +\fIextra_field_index\fR +for the file at position +\fIindex\fR +in the zip archive. +This pointer should not be modified or +free(3)'d, +and becomes invalid when +\fIarchive\fR +is closed. +If +\fIidp\fR +is not +\fRNULL\fR, +the integer to which it points will be set to the ID (two-byte +signature) of the selected extra field. +If +\fIlenp\fR +is not +\fRNULL\fR, +the integer to which it points will be set to the length of the +extra field. +Generally speaking, +\fIlenp\fR +and +\fIidp\fR +should be passed since only the extra field data is returned (i.e., +neither the ID nor the length, if the +\fIidp\fR +and +\fIlenp\fR +arguments are not provided). +.PP +The following +\fIflags\fR +are supported: +.RS 6n +.TP 20n +\fRZIP_FL_CENTRAL\fR +Return extra fields from the archive's central directory. +.TP 20n +\fRZIP_FL_LOCAL\fR +Return extra fields from the local file headers. +.TP 20n +\fRZIP_FL_UNCHANGED\fR +Return the original unchanged extra fields, ignoring any changes made. +.RE +.PP +The +\fBzip_file_extra_field_get_by_id\fR() +function returns the extra field with ID (two-byte signature) +\fIextra_field_id\fR +and index +\fIextra_field_index\fR +(in other words, the +\fIextra_field_index\fR'th +extra field with ID +\fIextra_field_id\fR) +The other arguments are the same as for +\fBzip_file_extra_field_get\fR(). +.SH "RETURN VALUES" +Upon successful completion, a pointer to an extra field is returned, +or +\fRNULL\fR +if there is no extra field with that +\fIextra_field_index\fR +for the file with index +\fIindex\fR. +In case of an error, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_extra_field_get\fR() +and +\fBzip_file_extra_field_get_by_id\fR() +fail if: +.TP 19n +[\fRZIP_ER_NOENT\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR, +or +\fIextra_field_index\fR +is not a valid extra file index (for ID +\fIextra_field_id\fR). +.SH "SEE ALSO" +libzip(3), +zip_file_extra_field_delete(3), +zip_file_extra_field_set(3), +zip_file_extra_fields_count(3) +.SH "HISTORY" +\fBzip_file_extra_field_get\fR() +and +\fBzip_file_extra_field_get_by_id\fR() +were added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> +.SH "CAVEATS" +Please note that the extra field IDs 0x0001 (ZIP64 extension), +0x6375 (Infozip UTF-8 comment), and +0x7075 (Infozip UTF-8 file name) can not be read using +\fBzip_file_extra_field_get\fR() +since they are used by +libzip(3) +internally. diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.mdoc new file mode 100644 index 000000000..72b2c873b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_get.mdoc @@ -0,0 +1,157 @@ +.\" zip_file_extra_field_get.mdoc -- get extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELD_GET 3 +.Os +.Sh NAME +.Nm zip_file_extra_field_get , +.Nm zip_file_extra_field_get_by_id +.Nd get extra field for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const zip_uint8_t * +.Fn zip_file_extra_field_get "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_index" "zip_uint16_t *idp" "zip_uint16_t *lenp" "zip_flags_t flags" +.Ft const zip_uint8_t * +.Fn zip_file_extra_field_get_by_id "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_uint16_t extra_field_index" "zip_uint16_t *lenp" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_field_get +function returns the extra field with index +.Ar extra_field_index +for the file at position +.Ar index +in the zip archive. +This pointer should not be modified or +.Xr free 3 Ap d , +and becomes invalid when +.Ar archive +is closed. +If +.Ar idp +is not +.Dv NULL , +the integer to which it points will be set to the ID (two-byte +signature) of the selected extra field. +If +.Ar lenp +is not +.Dv NULL , +the integer to which it points will be set to the length of the +extra field. +Generally speaking, +.Ar lenp +and +.Ar idp +should be passed since only the extra field data is returned (i.e., +neither the ID nor the length, if the +.Ar idp +and +.Ar lenp +arguments are not provided). +.Pp +The following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_UNCHANGEDXX -offset indent +.It Dv ZIP_FL_CENTRAL +Return extra fields from the archive's central directory. +.It Dv ZIP_FL_LOCAL +Return extra fields from the local file headers. +.It Dv ZIP_FL_UNCHANGED +Return the original unchanged extra fields, ignoring any changes made. +.El +.Pp +The +.Fn zip_file_extra_field_get_by_id +function returns the extra field with ID (two-byte signature) +.Ar extra_field_id +and index +.Ar extra_field_index +(in other words, the +.Ar extra_field_index Ns No 'th +extra field with ID +.Ar extra_field_id ) +The other arguments are the same as for +.Fn zip_file_extra_field_get . +.Sh RETURN VALUES +Upon successful completion, a pointer to an extra field is returned, +or +.Dv NULL +if there is no extra field with that +.Ar extra_field_index +for the file with index +.Ar index . +In case of an error, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_field_get +and +.Fn zip_file_extra_field_get_by_id +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive , +or +.Ar extra_field_index +is not a valid extra file index (for ID +.Ar extra_field_id ) . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_delete 3 , +.Xr zip_file_extra_field_set 3 , +.Xr zip_file_extra_fields_count 3 +.Sh HISTORY +.Fn zip_file_extra_field_get +and +.Fn zip_file_extra_field_get_by_id +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at +.Sh CAVEATS +Please note that the extra field IDs 0x0001 (ZIP64 extension), +0x6375 (Infozip UTF-8 comment), and +0x7075 (Infozip UTF-8 file name) can not be read using +.Fn zip_file_extra_field_get +since they are used by +.Xr libzip 3 +internally. diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.html new file mode 100644 index 000000000..8f78da580 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.html @@ -0,0 +1,148 @@ + + + + + + + ZIP_FILE_EXTRA_FIELD_SET(3) + + + + + + + + +
ZIP_FILE_EXTRA_FIELD_SET(3)Library Functions ManualZIP_FILE_EXTRA_FIELD_SET(3)
+
+
+

+zip_file_extra_field_set — +
set extra field for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_extra_field_set(zip_t + *archive, zip_uint64_t + index, zip_uint16_t + extra_field_id, + zip_uint16_t + extra_field_index, const + zip_uint8_t *extra_field_data, + zip_uint16_t len, + zip_flags_t flags);

+
+
+

+The zip_file_extra_field_set() function sets the extra + field with ID (two-byte signature) extra_field_id and + index extra_field_index for the file at position + index in the zip archive. The extra field's data will be + set to extra_field_data and length + len. If a new entry shall be appended, set + extra_field_index to + ZIP_EXTRA_FIELD_NEW. +

At least one of the following flags must be + set:

+
+
+
+
Set extra field in the archive's central directory.
+
+
Set extra field in the local file headers.
+
+
+

Please note that the extra field IDs 0x0001 (ZIP64 extension), + 0x6375 (Infozip UTF-8 comment), and 0x7075 (Infozip UTF-8 file name) can not + be set using zip_file_extra_field_set() since they + are set by libzip(3) automatically when + needed.

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+zip_file_extra_field_set() fails if: +
+
[]
+
The extra field size is too large (ID and length need 4 bytes; the maximum + length of all extra fields for one file combined is 65536 bytes). This + error also occurs if extra_field_index is too + large.
+
[]
+
Required memory could not be allocated.
+
[]
+
index is not a valid file index in + archive.
+
+
+
+

+libzip(3), + zip_file_extra_field_delete(3), + zip_file_extra_field_get(3), + zip_file_extra_fields_count(3) +
+
+

+zip_file_extra_field_set() was added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.man new file mode 100644 index 000000000..3db94fe43 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.man @@ -0,0 +1,123 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_extra_field_set.mdoc -- set extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_EXTRA_FIELD_SET" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_extra_field_set\fR +\- set extra field for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_extra_field_set\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint16_t\ extra_field_id\fR, \fIzip_uint16_t\ extra_field_index\fR, \fIconst\ zip_uint8_t\ *extra_field_data\fR, \fIzip_uint16_t\ len\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_extra_field_set\fR() +function sets the extra field with ID (two-byte signature) +\fIextra_field_id\fR +and index +\fIextra_field_index\fR +for the file at position +\fIindex\fR +in the zip archive. +The extra field's data will be set to +\fIextra_field_data\fR +and length +\fIlen\fR. +If a new entry shall be appended, set +\fIextra_field_index\fR +to +\fRZIP_EXTRA_FIELD_NEW\fR. +.PP +At least one of the following +\fIflags\fR +must be set: +.RS 6n +.TP 18n +\fRZIP_FL_CENTRAL\fR +Set extra field in the archive's central directory. +.TP 18n +\fRZIP_FL_LOCAL\fR +Set extra field in the local file headers. +.RE +.PP +Please note that the extra field IDs 0x0001 (ZIP64 extension), +0x6375 (Infozip UTF-8 comment), and +0x7075 (Infozip UTF-8 file name) can not be set using +\fBzip_file_extra_field_set\fR() +since they are set by +libzip(3) +automatically when needed. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_extra_field_set\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +The extra field size is too large (ID and length need 4 bytes; the +maximum length of all extra fields for one file combined is 65536 +bytes). +This error also occurs if +\fIextra_field_index\fR +is too large. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_NOENT\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.SH "SEE ALSO" +libzip(3), +zip_file_extra_field_delete(3), +zip_file_extra_field_get(3), +zip_file_extra_fields_count(3) +.SH "HISTORY" +\fBzip_file_extra_field_set\fR() +was added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.mdoc new file mode 100644 index 000000000..3e6abc116 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_field_set.mdoc @@ -0,0 +1,115 @@ +.\" zip_file_extra_field_set.mdoc -- set extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELD_SET 3 +.Os +.Sh NAME +.Nm zip_file_extra_field_set +.Nd set extra field for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_extra_field_set "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_uint16_t extra_field_index" "const zip_uint8_t *extra_field_data" "zip_uint16_t len" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_field_set +function sets the extra field with ID (two-byte signature) +.Ar extra_field_id +and index +.Ar extra_field_index +for the file at position +.Ar index +in the zip archive. +The extra field's data will be set to +.Ar extra_field_data +and length +.Ar len . +If a new entry shall be appended, set +.Ar extra_field_index +to +.Dv ZIP_EXTRA_FIELD_NEW . +.Pp +At least one of the following +.Ar flags +must be set: +.Bl -tag -width ZIP_FL_CENTRALXX -offset indent +.It Dv ZIP_FL_CENTRAL +Set extra field in the archive's central directory. +.It Dv ZIP_FL_LOCAL +Set extra field in the local file headers. +.El +.Pp +Please note that the extra field IDs 0x0001 (ZIP64 extension), +0x6375 (Infozip UTF-8 comment), and +0x7075 (Infozip UTF-8 file name) can not be set using +.Fn zip_file_extra_field_set +since they are set by +.Xr libzip 3 +automatically when needed. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_field_set +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +The extra field size is too large (ID and length need 4 bytes; the +maximum length of all extra fields for one file combined is 65536 +bytes). +This error also occurs if +.Ar extra_field_index +is too large. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_delete 3 , +.Xr zip_file_extra_field_get 3 , +.Xr zip_file_extra_fields_count 3 +.Sh HISTORY +.Fn zip_file_extra_field_set +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.html new file mode 100644 index 000000000..ad968dad9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.html @@ -0,0 +1,149 @@ + + + + + + + ZIP_FILE_EXTRA_FIELDS_COUNT(3) + + + + + + + + +
ZIP_FILE_EXTRA_FIELDS_COUNT(3)Library Functions ManualZIP_FILE_EXTRA_FIELDS_COUNT(3)
+
+
+

+zip_file_extra_fields_count, + zip_file_extra_fields_count_by_id — +
count extra fields for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int16_t +
+ zip_file_extra_fields_count(zip_t + *archive, zip_uint64_t + index, zip_flags_t + flags);

+

zip_int16_t +
+ zip_file_extra_fields_count_by_id(zip_t + *archive, zip_uint64_t + index, zip_uint16_t + extra_field_id, + zip_flags_t flags);

+
+
+

+The zip_file_extra_fields_count() function counts the + extra fields for the file at position index in the zip + archive. +

The following flags are supported:

+
+
+
+
Count extra fields from the archive's central directory.
+
+
Count extra fields from the local file headers.
+
+
Count the original unchanged extra fields, ignoring any changes made.
+
+
+

The zip_file_extra_fields_count_by_id() + function counts the extra fields with ID (two-byte signature) + extra_field_id. The other arguments are the same as + for zip_file_extra_fields_count().

+

Extra fields that are the same in the central directory and the + local file header are merged into one. Therefore, the counts with + ZIP_FL_CENTRAL and + ZIP_FL_LOCAL do not need to add up to the same value + as when given ZIP_FL_CENTRAL|ZIP_FL_LOCAL at the + same time.

+
+
+

+Upon successful completion, the requested number of extra fields is returned. + Otherwise, -1 is returned and the error code in archive + is set to indicate the error. +
+
+

+zip_file_extra_fields_count() and + zip_file_extra_fields_count_by_id() fail if: +
+
[]
+
index is not a valid file index in + archive.
+
+
+
+

+libzip(3), + zip_file_extra_field_delete(3), + zip_file_extra_field_get(3), + zip_file_extra_field_set(3) +
+
+

+zip_file_extra_fields_count() and + zip_file_extra_fields_count_by_id() were added in + libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.man new file mode 100644 index 000000000..35a85e147 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.man @@ -0,0 +1,124 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_extra_fields_count.mdoc -- count extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_EXTRA_FIELDS_COUNT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_extra_fields_count\fR, +\fBzip_file_extra_fields_count_by_id\fR +\- count extra fields for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int16_t\fR +.br +.PD 0 +.HP 4n +\fBzip_file_extra_fields_count\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_flags_t\ flags\fR); +.PD +.PP +\fIzip_int16_t\fR +.br +.PD 0 +.HP 4n +\fBzip_file_extra_fields_count_by_id\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint16_t\ extra_field_id\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_extra_fields_count\fR() +function counts the extra fields for the file at position +\fIindex\fR +in the zip archive. +.PP +The following +\fIflags\fR +are supported: +.RS 6n +.TP 18n +\fRZIP_FL_CENTRAL\fR +Count extra fields from the archive's central directory. +.TP 18n +\fRZIP_FL_LOCAL\fR +Count extra fields from the local file headers. +.TP 18n +\fRZIP_FL_UNCHANGED\fR +Count the original unchanged extra fields, ignoring any changes made. +.RE +.PP +The +\fBzip_file_extra_fields_count_by_id\fR() +function counts the extra fields with ID (two-byte signature) +\fIextra_field_id\fR. +The other arguments are the same as for +\fBzip_file_extra_fields_count\fR(). +.PP +Extra fields that are the same in the central directory and the local file +header are merged into one. +Therefore, the counts with +\fRZIP_FL_CENTRAL\fR +and +\fRZIP_FL_LOCAL\fR +do not need to add up to the same value as when given +\fRZIP_FL_CENTRAL|ZIP_FL_LOCAL\fR +at the same time. +.SH "RETURN VALUES" +Upon successful completion, the requested number of extra fields is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_extra_fields_count\fR() +and +\fBzip_file_extra_fields_count_by_id\fR() +fail if: +.TP 19n +[\fRZIP_ER_NOENT\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.SH "SEE ALSO" +libzip(3), +zip_file_extra_field_delete(3), +zip_file_extra_field_get(3), +zip_file_extra_field_set(3) +.SH "HISTORY" +\fBzip_file_extra_fields_count\fR() +and +\fBzip_file_extra_fields_count_by_id\fR() +were added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.mdoc new file mode 100644 index 000000000..47bb9a3f0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_extra_fields_count.mdoc @@ -0,0 +1,113 @@ +.\" zip_file_extra_fields_count.mdoc -- count extra field for file in zip +.\" Copyright (C) 2012-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_EXTRA_FIELDS_COUNT 3 +.Os +.Sh NAME +.Nm zip_file_extra_fields_count , +.Nm zip_file_extra_fields_count_by_id +.Nd count extra fields for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int16_t +.Fn zip_file_extra_fields_count "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" +.Ft zip_int16_t +.Fn zip_file_extra_fields_count_by_id "zip_t *archive" "zip_uint64_t index" "zip_uint16_t extra_field_id" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_extra_fields_count +function counts the extra fields for the file at position +.Ar index +in the zip archive. +.Pp +The following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_CENTRALXX -offset indent +.It Dv ZIP_FL_CENTRAL +Count extra fields from the archive's central directory. +.It Dv ZIP_FL_LOCAL +Count extra fields from the local file headers. +.It Dv ZIP_FL_UNCHANGED +Count the original unchanged extra fields, ignoring any changes made. +.El +.Pp +The +.Fn zip_file_extra_fields_count_by_id +function counts the extra fields with ID (two-byte signature) +.Ar extra_field_id . +The other arguments are the same as for +.Fn zip_file_extra_fields_count . +.Pp +Extra fields that are the same in the central directory and the local file +header are merged into one. +Therefore, the counts with +.Dv ZIP_FL_CENTRAL +and +.Dv ZIP_FL_LOCAL +do not need to add up to the same value as when given +.Dv ZIP_FL_CENTRAL|ZIP_FL_LOCAL +at the same time. +.Sh RETURN VALUES +Upon successful completion, the requested number of extra fields is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_extra_fields_count +and +.Fn zip_file_extra_fields_count_by_id +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_NOENT +.Ar index +is not a valid file index in +.Ar archive . +.\" TODO: _zip_read_local_ef errors +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_extra_field_delete 3 , +.Xr zip_file_extra_field_get 3 , +.Xr zip_file_extra_field_set 3 +.Sh HISTORY +.Fn zip_file_extra_fields_count +and +.Fn zip_file_extra_fields_count_by_id +were added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.html new file mode 100644 index 000000000..3471489d6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.html @@ -0,0 +1,142 @@ + + + + + + + ZIP_FILE_GET_COMMENT(3) + + + + + + + + +
ZIP_FILE_GET_COMMENT(3)Library Functions ManualZIP_FILE_GET_COMMENT(3)
+
+
+

+zip_file_get_comment — +
get comment for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

const char * +
+ zip_file_get_comment(zip_t + *archive, zip_uint64_t + index, zip_uint32_t + *lenp, zip_flags_t + flags);

+
+
+

+The zip_file_get_comment() function returns the comment + for the file at position index in the zip archive. The + name is in UTF-8 encoding unless ZIP_FL_ENC_RAW was + specified (see below). This pointer should not be modified or + free(3)'d, and becomes invalid when + archive is closed. If lenp is not + NULL, the integer to which it points will be set to + the length of the comment. If flags is set to + ZIP_FL_UNCHANGED, the original unchanged comment is + returned. +

Additionally, the following flags are + supported:

+
+
+
+
Return the unmodified comment as it is in the ZIP archive.
+
+
(Default.) Guess the encoding of the comment in the ZIP archive and + convert it to UTF-8, if necessary.
+
+
Follow the ZIP specification for file names and extend it to file + comments, expecting them to be encoded in CP-437 in the ZIP archive + (except if it is a UTF-8 comment from the special extra field). Convert it + to UTF-8.
+
+
+Note: ASCII is a subset of both CP-437 and UTF-8. +
+
+

+Upon successful completion, a pointer to the comment is returned, or + NULL if there is no comment. In case of an error, + NULL is returned and the error code in + archive is set to indicate the error. +
+
+

+zip_file_get_comment() fails if: +
+
[]
+
index is not a valid file index in + archive.
+
+
+
+

+libzip(3), + zip_file_set_comment(3), + zip_get_archive_comment(3) +
+
+

+zip_file_get_comment() was added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.man new file mode 100644 index 000000000..248f4f6e9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.man @@ -0,0 +1,125 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_get_comment.mdoc -- get comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_GET_COMMENT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_get_comment\fR +\- get comment for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_file_get_comment\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint32_t\ *lenp\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_get_comment\fR() +function returns the comment for the file at position +\fIindex\fR +in the zip archive. +The name is in UTF-8 encoding unless +\fRZIP_FL_ENC_RAW\fR +was specified (see below). +This pointer should not be modified or +free(3)'d, +and becomes invalid when +\fIarchive\fR +is closed. +If +\fIlenp\fR +is not +\fRNULL\fR, +the integer to which it points will be set to the length of the +comment. +If +\fIflags\fR +is set to +\fRZIP_FL_UNCHANGED\fR, +the original unchanged comment is returned. +.PP +Additionally, the following +\fIflags\fR +are supported: +.RS 6n +.TP 21n +\fRZIP_FL_ENC_RAW\fR +Return the unmodified comment as it is in the ZIP archive. +.TP 21n +\fRZIP_FL_ENC_GUESS\fR +(Default.) +Guess the encoding of the comment in the ZIP archive and convert it +to UTF-8, if necessary. +.TP 21n +\fRZIP_FL_ENC_STRICT\fR +Follow the ZIP specification for file names and extend it to file +comments, expecting them to be encoded in CP-437 in the ZIP archive +(except if it is a UTF-8 comment from the special extra field). +Convert it to UTF-8. +.RE +\fINote\fR: +ASCII is a subset of both CP-437 and UTF-8. +.SH "RETURN VALUES" +Upon successful completion, a pointer to the comment is returned, +or +\fRNULL\fR +if there is no comment. +In case of an error, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_get_comment\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.SH "SEE ALSO" +libzip(3), +zip_file_set_comment(3), +zip_get_archive_comment(3) +.SH "HISTORY" +\fBzip_file_get_comment\fR() +was added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.mdoc new file mode 100644 index 000000000..724328223 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_comment.mdoc @@ -0,0 +1,118 @@ +.\" zip_file_get_comment.mdoc -- get comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_GET_COMMENT 3 +.Os +.Sh NAME +.Nm zip_file_get_comment +.Nd get comment for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_file_get_comment "zip_t *archive" "zip_uint64_t index" "zip_uint32_t *lenp" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_get_comment +function returns the comment for the file at position +.Ar index +in the zip archive. +The name is in UTF-8 encoding unless +.Dv ZIP_FL_ENC_RAW +was specified (see below). +This pointer should not be modified or +.Xr free 3 Ap d , +and becomes invalid when +.Ar archive +is closed. +If +.Ar lenp +is not +.Dv NULL , +the integer to which it points will be set to the length of the +comment. +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged comment is returned. +.Pp +Additionally, the following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_ENC_STRICTXX -offset indent +.It Dv ZIP_FL_ENC_RAW +Return the unmodified comment as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the comment in the ZIP archive and convert it +to UTF-8, if necessary. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification for file names and extend it to file +comments, expecting them to be encoded in CP-437 in the ZIP archive +(except if it is a UTF-8 comment from the special extra field). +Convert it to UTF-8. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +Upon successful completion, a pointer to the comment is returned, +or +.Dv NULL +if there is no comment. +In case of an error, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_get_comment +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_set_comment 3 , +.Xr zip_get_archive_comment 3 +.Sh HISTORY +.Fn zip_file_get_comment +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.html new file mode 100644 index 000000000..0f89e3955 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.html @@ -0,0 +1,95 @@ + + + + + + + ZIP_FILE_GET_ERROR(3) + + + + + + + + +
ZIP_FILE_GET_ERROR(3)Library Functions ManualZIP_FILE_GET_ERROR(3)
+
+
+

+zip_file_get_error — +
extract zip_error from zip_file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_error_t * +
+ zip_file_get_error(zip_file_t + *zf);

+
+
+

+zip_file_get_error() function returns the zip_error + associated with the zip_file zf. +
+
+

+libzip(3) +
+
+

+zip_file_get_error() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.man new file mode 100644 index 000000000..d364ac08f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.man @@ -0,0 +1,62 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_get_error.mdoc -- extract zip_error from zip_file +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_GET_ERROR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_get_error\fR +\- extract zip_error from zip_file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_error_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_file_get_error\fR(\fIzip_file_t\ *zf\fR); +.PD +.SH "DESCRIPTION" +\fBzip_file_get_error\fR() +function returns the zip_error associated with the zip_file +\fIzf\fR. +.SH "SEE ALSO" +libzip(3) +.SH "HISTORY" +\fBzip_file_get_error\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.mdoc new file mode 100644 index 000000000..56628a1c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_error.mdoc @@ -0,0 +1,57 @@ +.\" zip_file_get_error.mdoc -- extract zip_error from zip_file +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_GET_ERROR 3 +.Os +.Sh NAME +.Nm zip_file_get_error +.Nd extract zip_error from zip_file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_error_t * +.Fn zip_file_get_error "zip_file_t *zf" +.Sh DESCRIPTION +.Fn zip_file_get_error +function returns the zip_error associated with the zip_file +.Ar zf . +.Sh SEE ALSO +.Xr libzip 3 +.Sh HISTORY +.Fn zip_file_get_error +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.html new file mode 100644 index 000000000..937b0d053 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.html @@ -0,0 +1,176 @@ + + + + + + + ZIP_FILE_GET_EXTERNAL_ATTRIBUTES(3) + + + + + + + + +
ZIP_FILE_GET_EXTERNAL_ATTRIBUTES(3)Library Functions ManualZIP_FILE_GET_EXTERNAL_ATTRIBUTES(3)
+
+
+

+zip_file_get_external_attributes — +
get external attributes for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_get_external_attributes(zip_t + *archive, zip_uint64_t + index, zip_flags_t + flags, zip_uint8_t + *opsys, zip_uint32_t + *attributes);

+
+
+

+The zip_file_get_external_attributes() function returns + the operating system and external attributes for the file at position + index in the zip archive. The external attributes + usually contain the operating system-specific file permissions. If + flags is set to + ZIP_FL_UNCHANGED, the original unchanged values are + returned. If opsys or attributes + are NULL, they are not filled in. +

The following operating systems are defined by the zip + specification:

+ +

The defines above follow the PKWARE Inc. Appnote; please note that + the InfoZIP Appnote has a slightly different mapping.

+
+
+

+Upon successful completion, 0 is returned. In case of an error, + -1 is returned and the error code in + archive is set to indicate the error. +
+
+

+The following code can be used to expand attributes if the + operating system is ZIP_OPSYS_DOS. +
+
+#include <sys/stat.h>
+
+#define FA_RDONLY       0x01            // FILE_ATTRIBUTE_READONLY
+#define FA_DIREC        0x10            // FILE_ATTRIBUTE_DIRECTORY
+
+static mode_t
+_zip_dos_attr2mode(zip_uint32_t attr)
+{
+   mode_t m = S_IRUSR | S_IRGRP | S_IROTH;
+   if (0 == (attr & FA_RDONLY))
+      m |= S_IWUSR | S_IWGRP | S_IWOTH;
+
+   if (attr & FA_DIREC)
+      m = (S_IFDIR | (m & ~S_IFMT)) | S_IXUSR | S_IXGRP | S_IXOTH;
+
+   return m;
+}
+
+
+
+
+

+zip_file_get_external_attributes() fails if: +
+
[]
+
index is not a valid file index in + archive.
+
+
+
+

+libzip(3), + zip_file_set_external_attributes(3) +
+
+

+zip_file_get_external_attributes() was added in libzip + 0.11.2. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.man new file mode 100644 index 000000000..acd3fbb49 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.man @@ -0,0 +1,174 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_get_external_attributes.mdoc -- get external attributes for file in zip +.\" Copyright (C) 2013-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_GET_EXTERNAL_ATTRIBUTES" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_get_external_attributes\fR +\- get external attributes for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_get_external_attributes\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_flags_t\ flags\fR, \fIzip_uint8_t\ *opsys\fR, \fIzip_uint32_t\ *attributes\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_get_external_attributes\fR() +function returns the operating system and external attributes for the +file at position +\fIindex\fR +in the zip archive. +The external attributes usually contain the operating system-specific +file permissions. +If +\fIflags\fR +is set to +\fRZIP_FL_UNCHANGED\fR, +the original unchanged values are returned. +If +\fIopsys\fR +or +\fIattributes\fR +are +\fRNULL\fR, +they are not filled in. +.PP +The following operating systems are defined by the zip specification: +.RS 6n +.PD 0 +.PP +\fRZIP_OPSYS_ACORN_RISC\fR +.PP +\fRZIP_OPSYS_ALTERNATE_MVS\fR +.PP +\fRZIP_OPSYS_AMIGA\fR +.PP +\fRZIP_OPSYS_ATARI_ST\fR +.PP +\fRZIP_OPSYS_BEOS\fR +.PP +\fRZIP_OPSYS_CPM\fR +.PP +\fRZIP_OPSYS_DOS\fR +.PP +\fRZIP_OPSYS_MACINTOSH\fR +.PP +\fRZIP_OPSYS_MVS\fR +.PP +\fRZIP_OPSYS_OPENVMS\fR +.PP +\fRZIP_OPSYS_OS_2\fR +.PP +\fRZIP_OPSYS_OS_400\fR +.PP +\fRZIP_OPSYS_OS_X\fR +.PP +\fRZIP_OPSYS_TANDEM\fR +.PP +\fRZIP_OPSYS_UNIX\fR +.PP +\fRZIP_OPSYS_VFAT\fR +.PP +\fRZIP_OPSYS_VM_CMS\fR +.PP +\fRZIP_OPSYS_VSE\fR +.PP +\fRZIP_OPSYS_WINDOWS_NTFS\fR +(uncommon, use +\fRZIP_OPSYS_DOS\fR +instead) +.PP +\fRZIP_OPSYS_Z_SYSTEM\fR +.RE +.PD +.PP +The defines above follow the PKWARE Inc. Appnote; please note that +the InfoZIP Appnote has a slightly different mapping. +.SH "RETURN VALUES" +Upon successful completion, 0 is returned. +In case of an error, +\fR\-1\fR +is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "EXAMPLES" +The following code can be used to expand +\fIattributes\fR +if the operating system is +\fRZIP_OPSYS_DOS\fR. +.nf +.sp +.RS 0n +#include + +#define FA_RDONLY 0x01 // FILE_ATTRIBUTE_READONLY +#define FA_DIREC 0x10 // FILE_ATTRIBUTE_DIRECTORY + +static mode_t +_zip_dos_attr2mode(zip_uint32_t attr) +{ + mode_t m = S_IRUSR | S_IRGRP | S_IROTH; + if (0 == (attr & FA_RDONLY)) + m |= S_IWUSR | S_IWGRP | S_IWOTH; + + if (attr & FA_DIREC) + m = (S_IFDIR | (m & ~S_IFMT)) | S_IXUSR | S_IXGRP | S_IXOTH; + + return m; +} +.RE +.fi +.SH "ERRORS" +\fBzip_file_get_external_attributes\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.SH "SEE ALSO" +libzip(3), +zip_file_set_external_attributes(3) +.SH "HISTORY" +\fBzip_file_get_external_attributes\fR() +was added in libzip 0.11.2. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.mdoc new file mode 100644 index 000000000..5b3cdcc81 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_get_external_attributes.mdoc @@ -0,0 +1,165 @@ +.\" zip_file_get_external_attributes.mdoc -- get external attributes for file in zip +.\" Copyright (C) 2013-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_GET_EXTERNAL_ATTRIBUTES 3 +.Os +.Sh NAME +.Nm zip_file_get_external_attributes +.Nd get external attributes for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_get_external_attributes "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "zip_uint8_t *opsys" "zip_uint32_t *attributes" +.Sh DESCRIPTION +The +.Fn zip_file_get_external_attributes +function returns the operating system and external attributes for the +file at position +.Ar index +in the zip archive. +The external attributes usually contain the operating system-specific +file permissions. +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged values are returned. +If +.Ar opsys +or +.Ar attributes +are +.Dv NULL , +they are not filled in. +.Pp +The following operating systems are defined by the zip specification: +.Bl -item -compact -offset indent +.It +.Dv ZIP_OPSYS_ACORN_RISC +.It +.Dv ZIP_OPSYS_ALTERNATE_MVS +.It +.Dv ZIP_OPSYS_AMIGA +.It +.Dv ZIP_OPSYS_ATARI_ST +.It +.Dv ZIP_OPSYS_BEOS +.It +.Dv ZIP_OPSYS_CPM +.It +.Dv ZIP_OPSYS_DOS +.It +.Dv ZIP_OPSYS_MACINTOSH +.It +.Dv ZIP_OPSYS_MVS +.It +.Dv ZIP_OPSYS_OPENVMS +.It +.Dv ZIP_OPSYS_OS_2 +.It +.Dv ZIP_OPSYS_OS_400 +.It +.Dv ZIP_OPSYS_OS_X +.It +.Dv ZIP_OPSYS_TANDEM +.It +.Dv ZIP_OPSYS_UNIX +.It +.Dv ZIP_OPSYS_VFAT +.It +.Dv ZIP_OPSYS_VM_CMS +.It +.Dv ZIP_OPSYS_VSE +.It +.Dv ZIP_OPSYS_WINDOWS_NTFS +(uncommon, use +.Dv ZIP_OPSYS_DOS +instead) +.It +.Dv ZIP_OPSYS_Z_SYSTEM +.El +.Pp +The defines above follow the PKWARE Inc. Appnote; please note that +the InfoZIP Appnote has a slightly different mapping. +.Sh RETURN VALUES +Upon successful completion, 0 is returned. +In case of an error, +.Dv \-1 +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh EXAMPLES +The following code can be used to expand +.Ar attributes +if the operating system is +.Dv ZIP_OPSYS_DOS . +.Bd -literal +#include + +#define FA_RDONLY 0x01 // FILE_ATTRIBUTE_READONLY +#define FA_DIREC 0x10 // FILE_ATTRIBUTE_DIRECTORY + +static mode_t +_zip_dos_attr2mode(zip_uint32_t attr) +{ + mode_t m = S_IRUSR | S_IRGRP | S_IROTH; + if (0 == (attr & FA_RDONLY)) + m |= S_IWUSR | S_IWGRP | S_IWOTH; + + if (attr & FA_DIREC) + m = (S_IFDIR | (m & ~S_IFMT)) | S_IXUSR | S_IXGRP | S_IXOTH; + + return m; +} +.Ed +.Sh ERRORS +.Fn zip_file_get_external_attributes +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_set_external_attributes 3 +.Sh HISTORY +.Fn zip_file_get_external_attributes +was added in libzip 0.11.2. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.html new file mode 100644 index 000000000..b15e352a2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.html @@ -0,0 +1,131 @@ + + + + + + + ZIP_FILE_RENAME(3) + + + + + + + + +
ZIP_FILE_RENAME(3)Library Functions ManualZIP_FILE_RENAME(3)
+
+
+

+zip_file_rename — +
rename file in zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_rename(zip_t + *archive, zip_uint64_t + index, const char + *name, zip_flags_t + flags);

+
+
+

+The file at position index in the zip archive + archive is renamed to name. The + flags argument can be any of: +
+
+
Guess encoding of name (default).
+
+
Interpret name as UTF-8.
+
+
Interpret name as code page 437 (CP-437).
+
+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+zip_file_rename() fails if: +
+
[]
+
The file to be renamed has been deleted from the archive.
+
[]
+
There is already a file called name in the + archive.
+
[]
+
index is not a valid file index in + archive, name is + NULL, the empty string, or not a valid UTF-8 + encoded string. Also a file cannot be renamed to a directory or vice + versa. Directories are denoted by a trailing slash.
+
+
+
+

+libzip(3), + zip_unchange(3) +
+
+

+zip_file_rename() was added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.man new file mode 100644 index 000000000..45cee192d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.man @@ -0,0 +1,110 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_rename.mdoc -- rename file in zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_RENAME" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_rename\fR +\- rename file in zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_rename\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIconst\ char\ *name\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The file at position +\fIindex\fR +in the zip archive +\fIarchive\fR +is renamed to +\fIname\fR. +The +\fIflags\fR +argument can be any of: +.TP 22n +\fRZIP_FL_ENC_GUESS\fR +Guess encoding of +\fIname\fR +(default). +.TP 22n +\fRZIP_FL_ENC_UTF_8\fR +Interpret +\fIname\fR +as UTF-8. +.TP 22n +\fRZIP_FL_ENC_CP437\fR +Interpret +\fIname\fR +as code page 437 (CP-437). +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_rename\fR() +fails if: +.TP 19n +[\fRZIP_ER_DELETED\fR] +The file to be renamed has been deleted from the archive. +.TP 19n +[\fRZIP_ER_EXISTS\fR] +There is already a file called +\fIname\fR +in the archive. +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR, +\fIname is\fR +\fRNULL\fR, +the empty string, or not a valid UTF-8 encoded string. +Also a file cannot be renamed to a directory or vice versa. +Directories are denoted by a trailing slash. +.SH "SEE ALSO" +libzip(3), +zip_unchange(3) +.SH "HISTORY" +\fBzip_file_rename\fR() +was added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.mdoc new file mode 100644 index 000000000..017e26e17 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_rename.mdoc @@ -0,0 +1,103 @@ +.\" zip_file_rename.mdoc -- rename file in zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_RENAME 3 +.Os +.Sh NAME +.Nm zip_file_rename +.Nd rename file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_rename "zip_t *archive" "zip_uint64_t index" "const char *name" "zip_flags_t flags" +.Sh DESCRIPTION +The file at position +.Ar index +in the zip archive +.Ar archive +is renamed to +.Ar name . +The +.Ar flags +argument can be any of: +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar name +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar name +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar name +as code page 437 (CP-437). +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_rename +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_DELETED +The file to be renamed has been deleted from the archive. +.It Bq Er ZIP_ER_EXISTS +There is already a file called +.Ar name +in the archive. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +.Ar name is +.Dv NULL , +the empty string, or not a valid UTF-8 encoded string. +Also a file cannot be renamed to a directory or vice versa. +Directories are denoted by a trailing slash. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 +.Sh HISTORY +.Fn zip_file_rename +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.html new file mode 100644 index 000000000..e567e3be8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.html @@ -0,0 +1,136 @@ + + + + + + + ZIP_FILE_SET_COMMENT(3) + + + + + + + + +
ZIP_FILE_SET_COMMENT(3)Library Functions ManualZIP_FILE_SET_COMMENT(3)
+
+
+

+zip_file_set_comment — +
set comment for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_set_comment(zip_t + *archive, zip_uint64_t + index, const char + *comment, zip_uint16_t + len, zip_flags_t + flags);

+
+
+

+The zip_file_set_comment() function sets the comment for + the file at position index in the zip archive to + comment of length len. If + comment is NULL and + len is 0, the file comment will be removed. The + flags argument can be any of: +
+
+
Guess encoding of comment (default).
+
+
Interpret comment as UTF-8.
+
+
Interpret comment as code page 437 (CP-437).
+
+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+zip_file_set_comment() fails if: +
+
[]
+
index is not a valid file index in + archive, or len is less than 0 + or longer than the maximum comment length in a zip file (65535), or + comment is not a valid UTF-8 encoded string.
+
[]
+
Required memory could not be allocated.
+
[]
+
The archive was opened in read-only mode.
+
+
+
+

+libzip(3), + zip_file_get_comment(3), + zip_get_archive_comment(3), + zip_set_archive_comment(3) +
+
+

+zip_file_set_comment() was added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.man new file mode 100644 index 000000000..b1425caac --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.man @@ -0,0 +1,122 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_set_comment.mdoc -- set comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_SET_COMMENT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_set_comment\fR +\- set comment for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_set_comment\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIconst\ char\ *comment\fR, \fIzip_uint16_t\ len\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_set_comment\fR() +function sets the comment for the file at position +\fIindex\fR +in the zip archive to +\fIcomment\fR +of length +\fIlen\fR. +If +\fIcomment\fR +is +\fRNULL\fR +and +\fIlen\fR +is 0, the file comment will be removed. +The +\fIflags\fR +argument can be any of: +.TP 22n +\fRZIP_FL_ENC_GUESS\fR +Guess encoding of +\fIcomment\fR +(default). +.TP 22n +\fRZIP_FL_ENC_UTF_8\fR +Interpret +\fIcomment\fR +as UTF-8. +.TP 22n +\fRZIP_FL_ENC_CP437\fR +Interpret +\fIcomment\fR +as code page 437 (CP-437). +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_set_comment\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR, +or +\fIlen\fR +is less than 0 or longer than the maximum comment length in a zip file +(65535), or +\fIcomment\fR +is not a valid UTF-8 encoded string. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_RDONLY\fR] +The +\fIarchive\fR +was opened in read-only mode. +.SH "SEE ALSO" +libzip(3), +zip_file_get_comment(3), +zip_get_archive_comment(3), +zip_set_archive_comment(3) +.SH "HISTORY" +\fBzip_file_set_comment\fR() +was added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.mdoc new file mode 100644 index 000000000..1e596cfc0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_comment.mdoc @@ -0,0 +1,115 @@ +.\" zip_file_set_comment.mdoc -- set comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_COMMENT 3 +.Os +.Sh NAME +.Nm zip_file_set_comment +.Nd set comment for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_comment "zip_t *archive" "zip_uint64_t index" "const char *comment" "zip_uint16_t len" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_set_comment +function sets the comment for the file at position +.Ar index +in the zip archive to +.Ar comment +of length +.Ar len . +If +.Ar comment +is +.Dv NULL +and +.Ar len +is 0, the file comment will be removed. +The +.Ar flags +argument can be any of: +.Bl -tag -width XZIPXFLXENCXSTRICTXX +.It Dv ZIP_FL_ENC_GUESS +Guess encoding of +.Ar comment +(default). +.It Dv ZIP_FL_ENC_UTF_8 +Interpret +.Ar comment +as UTF-8. +.It Dv ZIP_FL_ENC_CP437 +Interpret +.Ar comment +as code page 437 (CP-437). +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_comment +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or +.Ar len +is less than 0 or longer than the maximum comment length in a zip file +(65535), or +.Ar comment +is not a valid UTF-8 encoded string. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +The +.Ar archive +was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 , +.Xr zip_get_archive_comment 3 , +.Xr zip_set_archive_comment 3 +.Sh HISTORY +.Fn zip_file_set_comment +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.html new file mode 100644 index 000000000..ea5c280d6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.html @@ -0,0 +1,144 @@ + + + + + + + ZIP_FILE_SET_ENCRYPTION(3) + + + + + + + + +
ZIP_FILE_SET_ENCRYPTION(3)Library Functions ManualZIP_FILE_SET_ENCRYPTION(3)
+
+
+

+zip_file_set_encryption — +
set encryption method for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_set_encryption(zip_t + *archive, zip_uint64_t + index, zip_uint16_t + method, const char + *password);

+
+
+

+The zip_file_set_encryption() function sets the + encryption method for the file at position index in the + zip archive to method using the password + password. The method is the same + as returned by zip_stat(3). For the + method argument, currently only the following values are + supported: +
+
+
No encryption.
+
+
Winzip AES-128 encryption.
+
+
Winzip AES-192 encryption.
+
+
Winzip AES-256 encryption.
+
+

If password is NULL, + the default password provided by + zip_set_default_password(3) + is used.

+

The current encryption method for a file in a zip archive can be + determined using zip_stat(3).

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+zip_file_set_encryption() fails if: +
+
[]
+
Unsupported compression method requested.
+
[]
+
index is not a valid file index in + archive, or the argument combination is + invalid.
+
[]
+
Required memory could not be allocated.
+
[]
+
Read-only zip file, no changes allowed.
+
+
+
+

+libzip(3), + zip_set_default_password(3), + zip_stat(3) +
+
+

+zip_file_set_encryption() was added in libzip 1.2.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.man new file mode 100644 index 000000000..d82e28eb9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.man @@ -0,0 +1,123 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_set_encryption.mdoc -- set encryption method for file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_SET_ENCRYPTION" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_set_encryption\fR +\- set encryption method for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_set_encryption\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_uint16_t\ method\fR, \fIconst\ char\ *password\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_set_encryption\fR() +function sets the encryption method for the file at position +\fIindex\fR +in the zip archive to +\fImethod\fR +using the password +\fIpassword\fR. +The +\fImethod\fR +is the same as returned by +zip_stat(3). +For the +\fImethod\fR +argument, currently only the following values are supported: +.TP 19n +\fRZIP_EM_NONE\fR +No encryption. +.TP 19n +\fRZIP_EM_AES_128\fR +Winzip AES-128 encryption. +.TP 19n +\fRZIP_EM_AES_192\fR +Winzip AES-192 encryption. +.TP 19n +\fRZIP_EM_AES_256\fR +Winzip AES-256 encryption. +.PP +If +\fIpassword\fR +is +\fRNULL\fR, +the default password provided by +zip_set_default_password(3) +is used. +.PP +The current encryption method for a file in a zip archive can be +determined using +zip_stat(3). +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_set_encryption\fR() +fails if: +.TP 19n +[\fRZIP_ER_ENCRNOTSUPP\fR] +Unsupported compression method requested. +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR, +or the argument combination is invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_RDONLY\fR] +Read-only zip file, no changes allowed. +.SH "SEE ALSO" +libzip(3), +zip_set_default_password(3), +zip_stat(3) +.SH "HISTORY" +\fBzip_file_set_encryption\fR() +was added in libzip 1.2.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.mdoc new file mode 100644 index 000000000..a09c42a95 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_encryption.mdoc @@ -0,0 +1,114 @@ +.\" zip_file_set_encryption.mdoc -- set encryption method for file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_ENCRYPTION 3 +.Os +.Sh NAME +.Nm zip_file_set_encryption +.Nd set encryption method for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_encryption "zip_t *archive" "zip_uint64_t index" "zip_uint16_t method" "const char *password" +.Sh DESCRIPTION +The +.Fn zip_file_set_encryption +function sets the encryption method for the file at position +.Ar index +in the zip archive to +.Ar method +using the password +.Ar password . +The +.Ar method +is the same as returned by +.Xr zip_stat 3 . +For the +.Ar method +argument, currently only the following values are supported: +.Bl -tag -width ZIP_CM_DEFLATE_XX +.It Dv ZIP_EM_NONE +No encryption. +.It Dv ZIP_EM_AES_128 +Winzip AES-128 encryption. +.It Dv ZIP_EM_AES_192 +Winzip AES-192 encryption. +.It Dv ZIP_EM_AES_256 +Winzip AES-256 encryption. +.El +.Pp +If +.Ar password +is +.Dv NULL , +the default password provided by +.Xr zip_set_default_password 3 +is used. +.Pp +The current encryption method for a file in a zip archive can be +determined using +.Xr zip_stat 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_encryption +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_ENCRNOTSUPP +Unsupported compression method requested. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or the argument combination is invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +Read-only zip file, no changes allowed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_set_default_password 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_file_set_encryption +was added in libzip 1.2.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.html new file mode 100644 index 000000000..5892f0a42 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.html @@ -0,0 +1,125 @@ + + + + + + + ZIP_FILE_SET_EXTERNAL_ATTRIBUTES(3) + + + + + + + + +
ZIP_FILE_SET_EXTERNAL_ATTRIBUTES(3)Library Functions ManualZIP_FILE_SET_EXTERNAL_ATTRIBUTES(3)
+
+
+

+zip_file_set_external_attributes — +
set external attributes for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_set_external_attributes(zip_t + *archive, zip_uint64_t + index, zip_flags_t + flags, zip_uint8_t + opsys, zip_uint32_t + attributes);

+
+
+

+The zip_file_set_external_attributes() function sets the + operating system and external attributes for the file at position + index in the zip archive. Currently, no + flags are supported. +

For a list of known opsys values, see + zip_file_get_external_attributes(3).

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+zip_file_set_external_attributes() fails if: +
+
[]
+
index is not a valid file index in + archive.
+
[]
+
Required memory could not be allocated.
+
[]
+
The archive was opened in read-only mode.
+
+
+
+

+libzip(3), + zip_file_get_external_attributes(3) +
+
+

+zip_file_set_external_attributes() was added in libzip + 0.11.2. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.man new file mode 100644 index 000000000..76c375ed8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.man @@ -0,0 +1,95 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_set_external_attributes.mdoc -- set external attributes for file in zip +.\" Copyright (C) 2013-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_SET_EXTERNAL_ATTRIBUTES" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_set_external_attributes\fR +\- set external attributes for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_set_external_attributes\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_flags_t\ flags\fR, \fIzip_uint8_t\ opsys\fR, \fIzip_uint32_t\ attributes\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_set_external_attributes\fR() +function sets the operating system and external attributes for the +file at position +\fIindex\fR +in the zip archive. +Currently, no +\fIflags\fR +are supported. +.PP +For a list of known +\fIopsys\fR +values, see +zip_file_get_external_attributes(3). +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_set_external_attributes\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_RDONLY\fR] +The +\fIarchive\fR +was opened in read-only mode. +.SH "SEE ALSO" +libzip(3), +zip_file_get_external_attributes(3) +.SH "HISTORY" +\fBzip_file_set_external_attributes\fR() +was added in libzip 0.11.2. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.mdoc new file mode 100644 index 000000000..d7fa08233 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_external_attributes.mdoc @@ -0,0 +1,89 @@ +.\" zip_file_set_external_attributes.mdoc -- set external attributes for file in zip +.\" Copyright (C) 2013-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_EXTERNAL_ATTRIBUTES 3 +.Os +.Sh NAME +.Nm zip_file_set_external_attributes +.Nd set external attributes for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_external_attributes "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "zip_uint8_t opsys" "zip_uint32_t attributes" +.Sh DESCRIPTION +The +.Fn zip_file_set_external_attributes +function sets the operating system and external attributes for the +file at position +.Ar index +in the zip archive. +Currently, no +.Ar flags +are supported. +.Pp +For a list of known +.Ar opsys +values, see +.Xr zip_file_get_external_attributes 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_external_attributes +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +The +.Ar archive +was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_external_attributes 3 +.Sh HISTORY +.Fn zip_file_set_external_attributes +was added in libzip 0.11.2. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.html new file mode 100644 index 000000000..e56948fba --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.html @@ -0,0 +1,121 @@ + + + + + + + ZIP_FILE_SET_MTIME(3) + + + + + + + + +
ZIP_FILE_SET_MTIME(3)Library Functions ManualZIP_FILE_SET_MTIME(3)
+
+
+

+zip_file_set_mtime — +
set last modification time (mtime) for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_file_set_mtime(zip_t + *archive, zip_uint64_t + index, time_t + mtime, zip_flags_t + flags);

+
+
+

+The zip_file_set_mtime() function sets the last + modification time (mtime) for the file at position index + in the zip archive to mtime. Currently, no support for + any flags is implemented. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+zip_file_set_mtime() fails if: +
+
[]
+
index is not a valid file index in + archive.
+
[]
+
Required memory could not be allocated.
+
[]
+
The archive was opened in read-only mode.
+
+
+
+

+libzip(3), + zip_stat(3) +
+
+

+zip_file_set_mtime() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.man new file mode 100644 index 000000000..aa2e52fc7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.man @@ -0,0 +1,91 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_set_mtime.mdoc -- set mtime for file in zip +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_SET_MTIME" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_set_mtime\fR +\- set last modification time (mtime) for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_file_set_mtime\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fItime_t\ mtime\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_file_set_mtime\fR() +function sets the last modification time (mtime) for the file at +position +\fIindex\fR +in the zip archive to +\fImtime\fR. +Currently, no support for any +\fIflags\fR +is implemented. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_file_set_mtime\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_RDONLY\fR] +The +\fIarchive\fR +was opened in read-only mode. +.SH "SEE ALSO" +libzip(3), +zip_stat(3) +.SH "HISTORY" +\fBzip_file_set_mtime\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.mdoc new file mode 100644 index 000000000..32057b57f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_set_mtime.mdoc @@ -0,0 +1,85 @@ +.\" zip_file_set_mtime.mdoc -- set mtime for file in zip +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_SET_MTIME 3 +.Os +.Sh NAME +.Nm zip_file_set_mtime +.Nd set last modification time (mtime) for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_file_set_mtime "zip_t *archive" "zip_uint64_t index" "time_t mtime" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_file_set_mtime +function sets the last modification time (mtime) for the file at +position +.Ar index +in the zip archive to +.Ar mtime . +Currently, no support for any +.Ar flags +is implemented. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_file_set_mtime +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_RDONLY +The +.Ar archive +was opened in read-only mode. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_file_set_mtime +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.html b/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.html new file mode 100644 index 000000000..8e196426f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.html @@ -0,0 +1,115 @@ + + + + + + + ZIP_FILE_STRERROR(3) + + + + + + + + +
ZIP_FILE_STRERROR(3)Library Functions ManualZIP_FILE_STRERROR(3)
+
+
+

+zip_file_strerror, zip_strerror + — +
get string representation for a zip error
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

const char * +
+ zip_file_strerror(zip_file_t + *file);

+

const char * +
+ zip_strerror(zip_t + *archive);

+
+
+

+The zip_strerror() function returns a string describing + the last error for the zip archive archive, while the + zip_file_strerror() function does the same for a zip + file file (one file in an archive). The returned string + must not be modified or freed, and becomes invalid when + archive or file, respectively, is + closed or on the next call to zip_strerror() or + zip_file_strerror(), respectively, for the same + archive. +
+
+

+zip_file_strerror() and + zip_strerror() return a pointer to the error string. +
+
+

+libzip(3), + zip_error_strerror(3) +
+
+

+zip_file_strerror() and + zip_strerror() were added in libzip 0.6. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.man b/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.man new file mode 100644 index 000000000..a8cee3a55 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.man @@ -0,0 +1,95 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_file_strerror.mdoc -- get string representation for a zip error +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FILE_STRERROR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_file_strerror\fR, +\fBzip_strerror\fR +\- get string representation for a zip error +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_file_strerror\fR(\fIzip_file_t\ *file\fR); +.PD +.PP +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_strerror\fR(\fIzip_t\ *archive\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_strerror\fR() +function returns a string describing the last error for the zip archive +\fIarchive\fR, +while the +\fBzip_file_strerror\fR() +function does the same for a zip file +\fIfile\fR +(one file in an archive). +The returned string must not be modified or freed, and becomes invalid when +\fIarchive\fR +or +\fIfile\fR, +respectively, +is closed or on the next call to +\fBzip_strerror\fR() +or +\fBzip_file_strerror\fR(), +respectively, +for the same archive. +.SH "RETURN VALUES" +\fBzip_file_strerror\fR() +and +\fBzip_strerror\fR() +return a pointer to the error string. +.SH "SEE ALSO" +libzip(3), +zip_error_strerror(3) +.SH "HISTORY" +\fBzip_file_strerror\fR() +and +\fBzip_strerror\fR() +were added in libzip 0.6. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.mdoc new file mode 100644 index 000000000..1f16b9b7f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_file_strerror.mdoc @@ -0,0 +1,85 @@ +.\" zip_file_strerror.mdoc -- get string representation for a zip error +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FILE_STRERROR 3 +.Os +.Sh NAME +.Nm zip_file_strerror , +.Nm zip_strerror +.Nd get string representation for a zip error +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_file_strerror "zip_file_t *file" +.Ft const char * +.Fn zip_strerror "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_strerror +function returns a string describing the last error for the zip archive +.Ar archive , +while the +.Fn zip_file_strerror +function does the same for a zip file +.Ar file +(one file in an archive). +The returned string must not be modified or freed, and becomes invalid when +.Ar archive +or +.Ar file , +respectively, +is closed or on the next call to +.Fn zip_strerror +or +.Fn zip_file_strerror , +respectively, +for the same archive. +.Sh RETURN VALUES +.Fn zip_file_strerror +and +.Fn zip_strerror +return a pointer to the error string. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_strerror 3 +.Sh HISTORY +.Fn zip_file_strerror +and +.Fn zip_strerror +were added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.html b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.html new file mode 100644 index 000000000..5367faefc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.html @@ -0,0 +1,171 @@ + + + + + + + ZIP_FOPEN(3) + + + + + + + + +
ZIP_FOPEN(3)Library Functions ManualZIP_FOPEN(3)
+
+
+

+zip_fopen, zip_fopen_index + — +
open file in zip archive for reading
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_file_t * +
+ zip_fopen(zip_t + *archive, const char + *fname, zip_flags_t + flags);

+

zip_file_t * +
+ zip_fopen_index(zip_t + *archive, zip_uint64_t + index, zip_flags_t + flags);

+
+
+

+The zip_fopen() function opens the file name + fname in archive. The + flags argument specifies how the name lookup should be + done, according to the values are described in + zip_name_locate(3). Also, the + following values may be or'ed to it. +
+
+
+
Read the compressed data. Otherwise the data is uncompressed by + zip_fread().
+
+
Read the original data from the zip archive, ignoring any changes made to + the file.
+
+
+

The zip_fopen_index() function opens the + file at position index.

+

If encrypted data is encountered, the functions call + zip_fopen_encrypted(3) or + zip_fopen_index_encrypted(3) + respectively, using the default password set with + zip_set_default_password(3).

+
+
+

+Upon successful completion, a struct zip_file pointer is + returned. Otherwise, NULL is returned and the error + code in archive is set to indicate the error. +
+
+

+
+
[]
+
The file data has been changed.
+
[]
+
The compression method used is not supported.
+
[]
+
The encryption method used is not supported.
+
[]
+
Required memory could not be allocated.
+
[]
+
The file is encrypted, but no password has been provided.
+
[]
+
A file read error occurred.
+
[]
+
A file seek error occurred.
+
[]
+
The provided password does not match the password used for encryption. + Note that some incorrect passwords are not detected by the check done by + zip_fopen().
+
[]
+
Initializing the zlib stream failed.
+
+

The function zip_fopen() may also fail and + set zip_err for any of the errors specified for the + routine + zip_name_locate(3).

+

The function zip_fopen_index() may also + fail with ZIP_ER_INVAL if + index is invalid.

+
+
+

+libzip(3), + zip_fclose(3), + zip_fread(3), + zip_fseek(3), + zip_get_num_entries(3), + zip_name_locate(3), + zip_set_default_password(3) +
+
+

+zip_fopen() and + zip_fopen_index() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.man b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.man new file mode 100644 index 000000000..95e010007 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.man @@ -0,0 +1,166 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_fopen.mdoc -- open file in zip archive for reading +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FOPEN" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_fopen\fR, +\fBzip_fopen_index\fR +\- open file in zip archive for reading +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_file_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_fopen\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *fname\fR, \fIzip_flags_t\ flags\fR); +.PD +.PP +\fIzip_file_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_fopen_index\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_fopen\fR() +function opens the file name +\fIfname\fR +in +\fIarchive\fR. +The +\fIflags\fR +argument specifies how the name lookup should be done, according to +the values are described in +zip_name_locate(3). +Also, the following values may be +\fIor\fR'ed +to it. +.RS 6n +.TP 19n +\fRZIP_FL_COMPRESSED\fR +Read the compressed data. +Otherwise the data is uncompressed by +\fBzip_fread\fR(). +.TP 19n +\fRZIP_FL_UNCHANGED\fR +Read the original data from the zip archive, ignoring any changes made +to the file. +.RE +.PP +The +\fBzip_fopen_index\fR() +function opens the file at position +\fIindex\fR. +.PP +If encrypted data is encountered, the functions call +zip_fopen_encrypted(3) +or +zip_fopen_index_encrypted(3) +respectively, using the default password set with +zip_set_default_password(3). +.SH "RETURN VALUES" +Upon successful completion, a +\fIstruct zip_file\fR +pointer is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +.TP 19n +[\fRZIP_ER_CHANGED\fR] +The file data has been changed. +.TP 19n +[\fRZIP_ER_COMPNOTSUPP\fR] +The compression method used is not supported. +.TP 19n +[\fRZIP_ER_ENCRNOTSUPP\fR] +The encryption method used is not supported. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_NOPASSWD\fR] +The file is encrypted, but no password has been provided. +.TP 19n +[\fRZIP_ER_READ\fR] +A file read error occurred. +.TP 19n +[\fRZIP_ER_SEEK\fR] +A file seek error occurred. +.TP 19n +[\fRZIP_ER_WRONGPASSWD\fR] +The provided password does not match the password used for encryption. +Note that some incorrect passwords are not detected by the check done by +\fBzip_fopen\fR(). +.TP 19n +[\fRZIP_ER_ZLIB\fR] +Initializing the zlib stream failed. +.PP +The function +\fBzip_fopen\fR() +may also fail and set +\fIzip_err\fR +for any of the errors specified for the routine +zip_name_locate(3). +.PP +The function +\fBzip_fopen_index\fR() +may also fail with +\fRZIP_ER_INVAL\fR +if +\fIindex\fR +is invalid. +.SH "SEE ALSO" +libzip(3), +zip_fclose(3), +zip_fread(3), +zip_fseek(3), +zip_get_num_entries(3), +zip_name_locate(3), +zip_set_default_password(3) +.SH "HISTORY" +\fBzip_fopen\fR() +and +\fBzip_fopen_index\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.mdoc new file mode 100644 index 000000000..fb54f87c6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen.mdoc @@ -0,0 +1,147 @@ +.\" zip_fopen.mdoc -- open file in zip archive for reading +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FOPEN 3 +.Os +.Sh NAME +.Nm zip_fopen , +.Nm zip_fopen_index +.Nd open file in zip archive for reading +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_file_t * +.Fn zip_fopen "zip_t *archive" "const char *fname" "zip_flags_t flags" +.Ft zip_file_t * +.Fn zip_fopen_index "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_fopen +function opens the file name +.Ar fname +in +.Ar archive . +The +.Ar flags +argument specifies how the name lookup should be done, according to +the values are described in +.Xr zip_name_locate 3 . +Also, the following values may be +.Em or Ns No 'ed +to it. +.Bl -tag -offset indent -width ZIP_FL_COMPRESSED +.It Dv ZIP_FL_COMPRESSED +Read the compressed data. +Otherwise the data is uncompressed by +.Fn zip_fread . +.It Dv ZIP_FL_UNCHANGED +Read the original data from the zip archive, ignoring any changes made +to the file. +.El +.Pp +The +.Fn zip_fopen_index +function opens the file at position +.Ar index . +.Pp +If encrypted data is encountered, the functions call +.Xr zip_fopen_encrypted 3 +or +.Xr zip_fopen_index_encrypted 3 +respectively, using the default password set with +.Xr zip_set_default_password 3 . +.Sh RETURN VALUES +Upon successful completion, a +.Ft struct zip_file +pointer is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Bl -tag -width Er +.It Bq Er ZIP_ER_CHANGED +The file data has been changed. +.It Bq Er ZIP_ER_COMPNOTSUPP +The compression method used is not supported. +.It Bq Er ZIP_ER_ENCRNOTSUPP +The encryption method used is not supported. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOPASSWD +The file is encrypted, but no password has been provided. +.It Bq Er ZIP_ER_READ +A file read error occurred. +.It Bq Er ZIP_ER_SEEK +A file seek error occurred. +.It Bq Er ZIP_ER_WRONGPASSWD +The provided password does not match the password used for encryption. +Note that some incorrect passwords are not detected by the check done by +.Fn zip_fopen . +.It Bq Er ZIP_ER_ZLIB +Initializing the zlib stream failed. +.El +.Pp +The function +.Fn zip_fopen +may also fail and set +.Va zip_err +for any of the errors specified for the routine +.Xr zip_name_locate 3 . +.Pp +The function +.Fn zip_fopen_index +may also fail with +.Er ZIP_ER_INVAL +if +.Ar index +is invalid. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fread 3 , +.Xr zip_fseek 3 , +.Xr zip_get_num_entries 3 , +.Xr zip_name_locate 3 , +.Xr zip_set_default_password 3 +.Sh HISTORY +.Fn zip_fopen +and +.Fn zip_fopen_index +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.html b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.html new file mode 100644 index 000000000..51af5a969 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.html @@ -0,0 +1,144 @@ + + + + + + + ZIP_FOPEN_ENCRYPTED(3) + + + + + + + + +
ZIP_FOPEN_ENCRYPTED(3)Library Functions ManualZIP_FOPEN_ENCRYPTED(3)
+
+
+

+zip_fopen_encrypted, + zip_fopen_index_encrypted — +
open encrypted file in zip archive for reading
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_file_t * +
+ zip_fopen_encrypted(zip_t + *archive, const char + *fname, zip_flags_t + flags, const char + *password);

+

zip_file_t * +
+ zip_fopen_index_encrypted(zip_t + *archive, zip_uint64_t + index, zip_flags_t + flags, const char + *password);

+
+
+

+The zip_fopen_encrypted() function opens the encrypted + file name fname in archive using + the password given in the password argument. The + flags argument are the same as for + zip_fopen(3). +

The zip_fopen_index_encrypted() function + opens the file at position index, see + zip_fopen_index(3). These + functions are called automatically by + zip_fopen(3); you only need to call + them if you want to specify a non-default password (see + zip_set_default_password(3)).

+
+
+

+Upon successful completion, a struct zip_file pointer is + returned. Otherwise, NULL is returned and the error + code in archive is set to indicate the error. +
+
+

+
+
[]
+
No password was provided.
+
+

The function zip_fopen_encrypted() may + also fail and set zip_err for any of the errors + specified for the routine + zip_fopen(3).

+

The function zip_fopen_index_encrypted() + may also fail and set zip_err for any of the errors + specified for the routine + zip_fopen_index(3).

+
+
+

+libzip(3), + zip_fclose(3), + zip_fopen(3), + zip_fread(3), + zip_get_num_entries(3), + zip_name_locate(3) +
+
+

+zip_fopen_encrypted() and + zip_fopen_index_encrypted() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.man b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.man new file mode 100644 index 000000000..872a3c8fe --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.man @@ -0,0 +1,126 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_fopen_encrypted.mdoc -- open encrypted file in zip archive for reading +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FOPEN_ENCRYPTED" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_fopen_encrypted\fR, +\fBzip_fopen_index_encrypted\fR +\- open encrypted file in zip archive for reading +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_file_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_fopen_encrypted\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *fname\fR, \fIzip_flags_t\ flags\fR, \fIconst\ char\ *password\fR); +.PD +.PP +\fIzip_file_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_fopen_index_encrypted\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_flags_t\ flags\fR, \fIconst\ char\ *password\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_fopen_encrypted\fR() +function opens the encrypted file name +\fIfname\fR +in +\fIarchive\fR +using the password given in the +\fIpassword\fR +argument. +The +\fIflags\fR +argument are the same as for +zip_fopen(3). +.PP +The +\fBzip_fopen_index_encrypted\fR() +function opens the file at position +\fIindex\fR, +see +zip_fopen_index(3). +These functions are called automatically by +zip_fopen(3); +you only need to call them if you want to specify a non-default password +(see +zip_set_default_password(3)). +.SH "RETURN VALUES" +Upon successful completion, a +\fIstruct zip_file\fR +pointer is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +.TP 22n +[\fRZIP_ER_NOPASSWD\fR] +No password was provided. +.PP +The function +\fBzip_fopen_encrypted\fR() +may also fail and set +\fIzip_err\fR +for any of the errors specified for the routine +zip_fopen(3). +.PP +The function +\fBzip_fopen_index_encrypted\fR() +may also fail and set +\fIzip_err\fR +for any of the errors specified for the routine +zip_fopen_index(3). +.SH "SEE ALSO" +libzip(3), +zip_fclose(3), +zip_fopen(3), +zip_fread(3), +zip_get_num_entries(3), +zip_name_locate(3) +.SH "HISTORY" +\fBzip_fopen_encrypted\fR() +and +\fBzip_fopen_index_encrypted\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.mdoc new file mode 100644 index 000000000..fb159ced0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fopen_encrypted.mdoc @@ -0,0 +1,117 @@ +.\" zip_fopen_encrypted.mdoc -- open encrypted file in zip archive for reading +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FOPEN_ENCRYPTED 3 +.Os +.Sh NAME +.Nm zip_fopen_encrypted , +.Nm zip_fopen_index_encrypted +.Nd open encrypted file in zip archive for reading +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_file_t * +.Fn zip_fopen_encrypted "zip_t *archive" "const char *fname" "zip_flags_t flags" "const char *password" +.Ft zip_file_t * +.Fn zip_fopen_index_encrypted "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "const char *password" +.Sh DESCRIPTION +The +.Fn zip_fopen_encrypted +function opens the encrypted file name +.Ar fname +in +.Ar archive +using the password given in the +.Ar password +argument. +The +.Ar flags +argument are the same as for +.Xr zip_fopen 3 . +.Pp +The +.Fn zip_fopen_index_encrypted +function opens the file at position +.Ar index , +see +.Xr zip_fopen_index 3 . +These functions are called automatically by +.Xr zip_fopen 3 ; +you only need to call them if you want to specify a non-default password +(see +.Xr zip_set_default_password 3 ) . +.Sh RETURN VALUES +Upon successful completion, a +.Ft struct zip_file +pointer is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Bl -tag -width ZIP_ER_ENCRNOTSUPPXX +.It Bq Er ZIP_ER_NOPASSWD +No password was provided. +.El +.Pp +The function +.Fn zip_fopen_encrypted +may also fail and set +.Va zip_err +for any of the errors specified for the routine +.Xr zip_fopen 3 . +.Pp +The function +.Fn zip_fopen_index_encrypted +may also fail and set +.Va zip_err +for any of the errors specified for the routine +.Xr zip_fopen_index 3 . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_get_num_entries 3 , +.Xr zip_name_locate 3 +.Sh HISTORY +.Fn zip_fopen_encrypted +and +.Fn zip_fopen_index_encrypted +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fread.html b/plugins/TKLiveSync/libzip_iOS/man/zip_fread.html new file mode 100644 index 000000000..d6f5b163b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fread.html @@ -0,0 +1,110 @@ + + + + + + + ZIP_FREAD(3) + + + + + + + + +
ZIP_FREAD(3)Library Functions ManualZIP_FREAD(3)
+
+
+

+zip_fread — +
read from file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_fread(zip_file_t + *file, void *buf, + zip_uint64_t nbytes);

+
+
+

+The zip_fread() function reads at most + nbytes bytes from file into + buf. +
+
+

+If successful, the number of bytes actually read is returned. Otherwise, -1 is + returned. +
+
+

+libzip(3), + zip_fclose(3), + zip_fopen(3), + zip_fseek(3) +
+
+

+zip_fread() was added in libzip 0.6. In libzip 0.10 the + return type was changed from ssize_t to + zip_int64_t. In libzip 0.10 the type of + nbytes was changed from size_t to + zip_uint64_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fread.man b/plugins/TKLiveSync/libzip_iOS/man/zip_fread.man new file mode 100644 index 000000000..d0eb517e9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fread.man @@ -0,0 +1,83 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_fread.mdoc -- read from file +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FREAD" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_fread\fR +\- read from file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_fread\fR(\fIzip_file_t\ *file\fR, \fIvoid\ *buf\fR, \fIzip_uint64_t\ nbytes\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_fread\fR() +function reads at most +\fInbytes\fR +bytes from +\fIfile\fR +into +\fIbuf\fR. +.SH "RETURN VALUES" +If successful, the number of bytes actually read is returned. +Otherwise, \-1 is returned. +.SH "SEE ALSO" +libzip(3), +zip_fclose(3), +zip_fopen(3), +zip_fseek(3) +.SH "HISTORY" +\fBzip_fread\fR() +was added in libzip 0.6. +In libzip 0.10 the return type was changed from +\fIssize_t\fR +to +\fIzip_int64_t\fR. +In libzip 0.10 the type of +\fInbytes\fR +was changed from +\fIsize_t\fR +to +\fIzip_uint64_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fread.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_fread.mdoc new file mode 100644 index 000000000..4d3e8d6c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fread.mdoc @@ -0,0 +1,78 @@ +.\" zip_fread.mdoc -- read from file +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FREAD 3 +.Os +.Sh NAME +.Nm zip_fread +.Nd read from file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_fread "zip_file_t *file" "void *buf" "zip_uint64_t nbytes" +.Sh DESCRIPTION +The +.Fn zip_fread +function reads at most +.Ar nbytes +bytes from +.Ar file +into +.Ar buf . +.Sh RETURN VALUES +If successful, the number of bytes actually read is returned. +Otherwise, \-1 is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fseek 3 +.Sh HISTORY +.Fn zip_fread +was added in libzip 0.6. +In libzip 0.10 the return type was changed from +.Vt ssize_t +to +.Vt zip_int64_t . +In libzip 0.10 the type of +.Ar nbytes +was changed from +.Vt size_t +to +.Vt zip_uint64_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.html b/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.html new file mode 100644 index 000000000..7fb7f20c5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.html @@ -0,0 +1,110 @@ + + + + + + + ZIP_FSEEK(3) + + + + + + + + +
ZIP_FSEEK(3)Library Functions ManualZIP_FSEEK(3)
+
+
+

+zip_fseek — +
seek in file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int8_t +
+ zip_fseek(zip_file_t + *file, zip_int64_t + offset, int + whence);

+
+
+

+The zip_fseek() function seeks to the specified + offset relative to whence, just + like fseek(3). +

zip_fseek only works on uncompressed + (stored) data. When called on compressed data it will return an error.

+
+
+

+If successful, zip_fseek returns 0. Otherwise, -1 is + returned. +
+
+

+libzip(3), + zip_fclose(3), + zip_fopen(3), + zip_fread(3), + zip_ftell(3) +
+
+

+zip_fseek() was added in libzip 1.2.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.man b/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.man new file mode 100644 index 000000000..d69e0e6f4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.man @@ -0,0 +1,80 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_fseek.mdoc -- seek in file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FSEEK" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_fseek\fR +\- seek in file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int8_t\fR +.br +.PD 0 +.HP 4n +\fBzip_fseek\fR(\fIzip_file_t\ *file\fR, \fIzip_int64_t\ offset\fR, \fIint\ whence\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_fseek\fR() +function seeks to the specified +\fIoffset\fR +relative to +\fIwhence\fR, +just like +fseek(3). +.PP +\fBzip_fseek\fR +only works on uncompressed (stored) data. +When called on compressed data it will return an error. +.SH "RETURN VALUES" +If successful, +\fBzip_fseek\fR +returns 0. +Otherwise, \-1 is returned. +.SH "SEE ALSO" +libzip(3), +zip_fclose(3), +zip_fopen(3), +zip_fread(3), +zip_ftell(3) +.SH "HISTORY" +\fBzip_fseek\fR() +was added in libzip 1.2.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.mdoc new file mode 100644 index 000000000..756ca2726 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_fseek.mdoc @@ -0,0 +1,75 @@ +.\" zip_fseek.mdoc -- seek in file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FSEEK 3 +.Os +.Sh NAME +.Nm zip_fseek +.Nd seek in file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int8_t +.Fn zip_fseek "zip_file_t *file" "zip_int64_t offset" "int whence" +.Sh DESCRIPTION +The +.Fn zip_fseek +function seeks to the specified +.Ar offset +relative to +.Ar whence , +just like +.Xr fseek 3 . +.Pp +.Nm +only works on uncompressed (stored) data. +When called on compressed data it will return an error. +.Sh RETURN VALUES +If successful, +.Nm +returns 0. +Otherwise, \-1 is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_ftell 3 +.Sh HISTORY +.Fn zip_fseek +was added in libzip 1.2.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.html b/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.html new file mode 100644 index 000000000..d38061a10 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.html @@ -0,0 +1,107 @@ + + + + + + + ZIP_FTELL(3) + + + + + + + + +
ZIP_FTELL(3)Library Functions ManualZIP_FTELL(3)
+
+
+

+zip_ftell — +
tell position in file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_ftell(zip_file_t + *file);

+
+
+

+The zip_ftell() function reports the current offset in + the file. +

zip_ftell only works on uncompressed + (stored) data. When called on compressed data it will return an error.

+
+
+

+If successful, zip_ftell returns the current file + position. Otherwise, -1 is returned. +
+
+

+libzip(3), + zip_fclose(3), + zip_fopen(3), + zip_fread(3), + zip_fseek(3) +
+
+

+zip_ftell() was added in libzip 1.2.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.man b/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.man new file mode 100644 index 000000000..9f87de86f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.man @@ -0,0 +1,75 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_ftell.mdoc -- tell position in file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_FTELL" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_ftell\fR +\- tell position in file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_ftell\fR(\fIzip_file_t\ *file\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_ftell\fR() +function reports the current offset in the file. +.PP +\fBzip_ftell\fR +only works on uncompressed (stored) data. +When called on compressed data it will return an error. +.SH "RETURN VALUES" +If successful, +\fBzip_ftell\fR +returns the current file position. +Otherwise, \-1 is returned. +.SH "SEE ALSO" +libzip(3), +zip_fclose(3), +zip_fopen(3), +zip_fread(3), +zip_fseek(3) +.SH "HISTORY" +\fBzip_ftell\fR() +was added in libzip 1.2.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.mdoc new file mode 100644 index 000000000..2638d5d11 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_ftell.mdoc @@ -0,0 +1,70 @@ +.\" zip_ftell.mdoc -- tell position in file +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_FTELL 3 +.Os +.Sh NAME +.Nm zip_ftell +.Nd tell position in file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_ftell "zip_file_t *file" +.Sh DESCRIPTION +The +.Fn zip_ftell +function reports the current offset in the file. +.Pp +.Nm +only works on uncompressed (stored) data. +When called on compressed data it will return an error. +.Sh RETURN VALUES +If successful, +.Nm +returns the current file position. +Otherwise, \-1 is returned. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fclose 3 , +.Xr zip_fopen 3 , +.Xr zip_fread 3 , +.Xr zip_fseek 3 +.Sh HISTORY +.Fn zip_ftell +was added in libzip 1.2.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.html b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.html new file mode 100644 index 000000000..e2b8e320b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.html @@ -0,0 +1,130 @@ + + + + + + + ZIP_GET_ARCHIVE_COMMENT(3) + + + + + + + + +
ZIP_GET_ARCHIVE_COMMENT(3)Library Functions ManualZIP_GET_ARCHIVE_COMMENT(3)
+
+
+

+zip_get_archive_comment — +
get zip archive comment
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

const char * +
+ zip_get_archive_comment(zip_t + *archive, int + *lenp, zip_flags_t + flags);

+
+
+

+The zip_get_archive_comment() function returns the + comment for the entire zip archive. The return value is in UTF-8 encoding + unless ZIP_FL_ENC_RAW was specified (see below). This + pointer should not be modified or + free(3)'d, and becomes invalid when + archive is closed. If lenp is not + NULL, the integer to which it points will be set to + the length of the comment. If flags is set to + ZIP_FL_UNCHANGED, the original unchanged comment is + returned. +

Additionally, the following flags are + supported:

+
+
+
+
Return the unmodified archive comment as it is in the ZIP archive.
+
+
(Default.) Guess the encoding of the archive comment in the ZIP archive + and convert it to UTF-8, if necessary.
+
+
Follow the ZIP specification for file names and extend it to the archive + comment, thus also expecting it in CP-437 encoding. Convert it to + UTF-8.
+
+
+Note: ASCII is a subset of both CP-437 and UTF-8. +
+
+

+Upon successful completion, a pointer to the comment is returned, or + NULL if there is no comment. +
+
+

+libzip(3), + zip_file_get_comment(3) +
+
+

+zip_get_archive_comment() was added in libzip 0.7. In + libzip 0.11 the type of flags was changed from + int to zip_flags_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
July 22, 2018NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.man b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.man new file mode 100644 index 000000000..8cdfa30df --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.man @@ -0,0 +1,114 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_get_archive_comment.mdoc -- get zip archive comment +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_GET_ARCHIVE_COMMENT" "3" "July 22, 2018" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_get_archive_comment\fR +\- get zip archive comment +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_get_archive_comment\fR(\fIzip_t\ *archive\fR, \fIint\ *lenp\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_get_archive_comment\fR() +function returns the comment for the entire zip archive. +The return value is in UTF-8 encoding unless +\fRZIP_FL_ENC_RAW\fR +was specified (see below). +This pointer should not be modified or +free(3)'d, +and becomes invalid when +\fIarchive\fR +is closed. +If +\fIlenp\fR +is not +\fRNULL\fR, +the integer to which it points will be set to the length of the +comment. +If +\fIflags\fR +is set to +\fRZIP_FL_UNCHANGED\fR, +the original unchanged comment is returned. +.PP +Additionally, the following +\fIflags\fR +are supported: +.RS 6n +.TP 21n +\fRZIP_FL_ENC_RAW\fR +Return the unmodified archive comment as it is in the ZIP archive. +.TP 21n +\fRZIP_FL_ENC_GUESS\fR +(Default.) +Guess the encoding of the archive comment in the ZIP archive and convert it +to UTF-8, if necessary. +.TP 21n +\fRZIP_FL_ENC_STRICT\fR +Follow the ZIP specification for file names and extend it to the +archive comment, thus also expecting it in CP-437 encoding. +Convert it to UTF-8. +.RE +\fINote\fR: +ASCII is a subset of both CP-437 and UTF-8. +.SH "RETURN VALUES" +Upon successful completion, a pointer to the comment is returned, +or +\fRNULL\fR +if there is no comment. +.SH "SEE ALSO" +libzip(3), +zip_file_get_comment(3) +.SH "HISTORY" +\fBzip_get_archive_comment\fR() +was added in libzip 0.7. +In libzip 0.11 the type of +\fIflags\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.mdoc new file mode 100644 index 000000000..ce9a01b2c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_comment.mdoc @@ -0,0 +1,111 @@ +.\" zip_get_archive_comment.mdoc -- get zip archive comment +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd July 22, 2018 +.Dt ZIP_GET_ARCHIVE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_get_archive_comment +.Nd get zip archive comment +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_get_archive_comment "zip_t *archive" "int *lenp" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_archive_comment +function returns the comment for the entire zip archive. +The return value is in UTF-8 encoding unless +.Dv ZIP_FL_ENC_RAW +was specified (see below). +This pointer should not be modified or +.Xr free 3 Ap d , +and becomes invalid when +.Ar archive +is closed. +If +.Ar lenp +is not +.Dv NULL , +the integer to which it points will be set to the length of the +comment. +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged comment is returned. +.Pp +Additionally, the following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_ENC_STRICTXX -offset indent +.It Dv ZIP_FL_ENC_RAW +Return the unmodified archive comment as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the archive comment in the ZIP archive and convert it +to UTF-8, if necessary. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification for file names and extend it to the +archive comment, thus also expecting it in CP-437 encoding. +Convert it to UTF-8. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +Upon successful completion, a pointer to the comment is returned, +or +.Dv NULL +if there is no comment. +.\" In case of an error, +.\" .Dv NULL +.\" is returned and the error code in +.\" .Ar archive +.\" is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 +.Sh HISTORY +.Fn zip_get_archive_comment +was added in libzip 0.7. +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.html b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.html new file mode 100644 index 000000000..1299aca5f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.html @@ -0,0 +1,118 @@ + + + + + + + ZIP_GET_ARCHIVE_FLAG(3) + + + + + + + + +
ZIP_GET_ARCHIVE_FLAG(3)Library Functions ManualZIP_GET_ARCHIVE_FLAG(3)
+
+
+

+zip_get_archive_flag — +
get status flags for zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_get_archive_flag(zip_t + *archive, zip_flags_t + flag, zip_flags_t + flags);

+
+
+

+The zip_get_archive_flag() function returns if the flag + flag is set for the archive + archive. The archive flags might have been changed with + zip_set_archive_flag(); if flags + is set to ZIP_FL_UNCHANGED, the original unchanged + flags are tested. +

Supported flags are:

+
+
+
The archive is read-only.
+
+
+
+

+zip_get_archive_flag() returns 1 if + flag is set for archive, 0 if not, + and -1 if an error occurred. +
+
+

+libzip(3), + zip_set_archive_flag(3) +
+
+

+zip_get_archive_flag() was added in libzip 0.9. In + libzip 0.11 the type of flag was changed from + int to zip_flags_t m and the type + of flags was changed from int to + zip_flags_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.man b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.man new file mode 100644 index 000000000..4f9d08b16 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.man @@ -0,0 +1,98 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_get_archive_flag.mdoc -- get comment for file in zip +.\" Copyright (C) 2008-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_GET_ARCHIVE_FLAG" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_get_archive_flag\fR +\- get status flags for zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_get_archive_flag\fR(\fIzip_t\ *archive\fR, \fIzip_flags_t\ flag\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_get_archive_flag\fR() +function returns if the flag +\fIflag\fR +is set for the archive +\fIarchive\fR. +The archive flags might have been changed with +\fBzip_set_archive_flag\fR(); +if +\fIflags\fR +is set to +\fRZIP_FL_UNCHANGED\fR, +the original unchanged flags are tested. +.PP +Supported flags are: +.TP 20n +\fRZIP_AFL_RDONLY\fR +The archive is read-only. +.SH "RETURN VALUES" +\fBzip_get_archive_flag\fR() +returns 1 if +\fIflag\fR +is set for +\fIarchive\fR, +0 if not, +and \-1 if an error occurred. +.SH "SEE ALSO" +libzip(3), +zip_set_archive_flag(3) +.SH "HISTORY" +\fBzip_get_archive_flag\fR() +was added in libzip 0.9. +In libzip 0.11 the type of +\fIflag\fR +was changed from +\fIint\fR +to +\fIzip_flags_t m\fR +and the type of +\fIflags\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.mdoc new file mode 100644 index 000000000..baf6b0596 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_archive_flag.mdoc @@ -0,0 +1,94 @@ +.\" zip_get_archive_flag.mdoc -- get comment for file in zip +.\" Copyright (C) 2008-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_ARCHIVE_FLAG 3 +.Os +.Sh NAME +.Nm zip_get_archive_flag +.Nd get status flags for zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_get_archive_flag "zip_t *archive" "zip_flags_t flag" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_archive_flag +function returns if the flag +.Ar flag +is set for the archive +.Ar archive . +The archive flags might have been changed with +.Fn zip_set_archive_flag ; +if +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged flags are tested. +.Pp +Supported flags are: +.Bl -tag -width XZIPXAFLXRDONLYXXX +.It Dv ZIP_AFL_RDONLY +The archive is read-only. +.El +.Sh RETURN VALUES +.Fn zip_get_archive_flag +returns 1 if +.Ar flag +is set for +.Ar archive , +0 if not, +and \-1 if an error occurred. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_set_archive_flag 3 +.Sh HISTORY +.Fn zip_get_archive_flag +was added in libzip 0.9. +In libzip 0.11 the type of +.Ar flag +was changed from +.Vt int +to +.Vt zip_flags_t m +and the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.html b/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.html new file mode 100644 index 000000000..f7f50e19d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.html @@ -0,0 +1,97 @@ + + + + + + + ZIP_GET_ERROR(3) + + + + + + + + +
ZIP_GET_ERROR(3)Library Functions ManualZIP_GET_ERROR(3)
+
+
+

+zip_get_error — +
get zip error for archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_error_t * +
+ zip_get_error(zip_t + *archive);

+
+
+

+The zip_get_error() function returns the zip error for + the zip archive archive. +
+
+

+libzip(3), + zip_error_code_system(3), + zip_error_code_zip(3) +
+
+

+zip_get_error() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.man b/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.man new file mode 100644 index 000000000..9cddbc2a3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.man @@ -0,0 +1,65 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_get_error.mdoc -- get zip_error for archive +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_GET_ERROR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_get_error\fR +\- get zip error for archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_error_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_get_error\fR(\fIzip_t\ *archive\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_get_error\fR() +function returns the zip error for the zip archive +\fIarchive\fR. +.SH "SEE ALSO" +libzip(3), +zip_error_code_system(3), +zip_error_code_zip(3) +.SH "HISTORY" +\fBzip_get_error\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.mdoc new file mode 100644 index 000000000..8ce2ea5e8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_error.mdoc @@ -0,0 +1,60 @@ +.\" zip_get_error.mdoc -- get zip_error for archive +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_ERROR 3 +.Os +.Sh NAME +.Nm zip_get_error +.Nd get zip error for archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_error_t * +.Fn zip_get_error "zip_t *archive" +.Sh DESCRIPTION +The +.Fn zip_get_error +function returns the zip error for the zip archive +.Ar archive . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 +.Sh HISTORY +.Fn zip_get_error +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.html b/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.html new file mode 100644 index 000000000..7242ee481 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.html @@ -0,0 +1,105 @@ + + + + + + + ZIP_GET_FILE_COMMENT(3) + + + + + + + + +
ZIP_GET_FILE_COMMENT(3)Library Functions ManualZIP_GET_FILE_COMMENT(3)
+
+
+

+zip_get_file_comment — +
get comment for file in zip (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

const char * +
+ zip_get_file_comment(zip_t + *archive, zip_uint64_t + index, int *lenp, + int flags);

+
+
+

+The zip_get_file_comment() function is the obsolete + version of + zip_file_get_comment(3). + The only differences are the types of the lenp and + flags arguments. +
+
+

+libzip(3), + zip_file_get_comment(3) +
+
+

+zip_get_file_comment() was added in libzip 0.7. In + libzip 0.10 the type of index was changed from + int to zip_uint64_t. It was + deprecated in libzip 0.11, use zip_file_get_comment() + instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.man b/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.man new file mode 100644 index 000000000..011871daa --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.man @@ -0,0 +1,78 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_get_file_comment.mdoc -- get comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_GET_FILE_COMMENT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_get_file_comment\fR +\- get comment for file in zip (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_get_file_comment\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIint\ *lenp\fR, \fIint\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_get_file_comment\fR() +function is the obsolete version of +zip_file_get_comment(3). +The only differences are the types of the +\fIlenp\fR +and +\fIflags\fR +arguments. +.SH "SEE ALSO" +libzip(3), +zip_file_get_comment(3) +.SH "HISTORY" +\fBzip_get_file_comment\fR() +was added in libzip 0.7. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +It was deprecated in libzip 0.11, use +\fBzip_file_get_comment\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.mdoc new file mode 100644 index 000000000..a22159e52 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_file_comment.mdoc @@ -0,0 +1,73 @@ +.\" zip_get_file_comment.mdoc -- get comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_FILE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_get_file_comment +.Nd get comment for file in zip (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_get_file_comment "zip_t *archive" "zip_uint64_t index" "int *lenp" "int flags" +.Sh DESCRIPTION +The +.Fn zip_get_file_comment +function is the obsolete version of +.Xr zip_file_get_comment 3 . +The only differences are the types of the +.Ar lenp +and +.Ar flags +arguments. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 +.Sh HISTORY +.Fn zip_get_file_comment +was added in libzip 0.7. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_get_comment +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.html b/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.html new file mode 100644 index 000000000..e68dbbc0e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.html @@ -0,0 +1,146 @@ + + + + + + + ZIP_GET_NAME(3) + + + + + + + + +
ZIP_GET_NAME(3)Library Functions ManualZIP_GET_NAME(3)
+
+
+

+zip_get_name — +
get name of file by index
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

const char * +
+ zip_get_name(zip_t + *archive, zip_uint64_t + index, zip_flags_t + flags);

+
+
+

+The zip_get_name() function returns the name of the file + at position index in archive. The + name is in UTF-8 encoding unless ZIP_FL_ENC_RAW was + specified (see below). +

If flags is set to + ZIP_FL_UNCHANGED, the original unchanged filename is + returned. The returned string must not be modified or freed, and becomes + invalid when archive is closed.

+

Additionally, the following flags are + supported:

+
+
+
+
Return the unmodified names as it is in the ZIP archive.
+
+
(Default.) Guess the encoding of the name in the ZIP archive and convert + it to UTF-8, if necessary.
+
+
Follow the ZIP specification and expect CP-437 encoded names in the ZIP + archive (except if they are explicitly marked as UTF-8). Convert it to + UTF-8.
+
+
+Note: ASCII is a subset of both CP-437 and UTF-8. +
+
+

+Upon successful completion, a pointer to the name is returned. Otherwise, + NULL and the error code in + archive is set to indicate the error. +
+
+

+zip_get_name() fails if: +
+
[]
+
index refers to a file that has been deleted (see + zip_delete(3)).
+
[]
+
index is not a valid file index in + archive, or index points to an + added file and ZIP_FL_UNCHANGED is set.
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_name_locate(3) +
+
+

+zip_get_name() was added in libzip 0.6. In libzip 0.10 + the type of index was changed from + int to zip_uint64_t. In libzip + 0.11 the type of flags was changed from + int to zip_flags_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.man b/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.man new file mode 100644 index 000000000..a83ca8e3f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.man @@ -0,0 +1,140 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_get_name.mdoc -- get name of file by index +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_GET_NAME" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_get_name\fR +\- get name of file by index +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_get_name\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_get_name\fR() +function returns the name of the file at position +\fIindex\fR +in +\fIarchive\fR. +The name is in UTF-8 encoding unless +\fRZIP_FL_ENC_RAW\fR +was specified (see below). +.PP +If +\fIflags\fR +is set to +\fRZIP_FL_UNCHANGED\fR, +the original unchanged filename is returned. +The returned string must not be modified or freed, and becomes invalid when +\fIarchive\fR +is closed. +.PP +Additionally, the following +\fIflags\fR +are supported: +.RS 6n +.TP 21n +\fRZIP_FL_ENC_RAW\fR +Return the unmodified names as it is in the ZIP archive. +.TP 21n +\fRZIP_FL_ENC_GUESS\fR +(Default.) +Guess the encoding of the name in the ZIP archive and convert it +to UTF-8, if necessary. +.TP 21n +\fRZIP_FL_ENC_STRICT\fR +Follow the ZIP specification and expect CP-437 encoded names in +the ZIP archive (except if they are explicitly marked as UTF-8). +Convert it to UTF-8. +.RE +\fINote\fR: +ASCII is a subset of both CP-437 and UTF-8. +.SH "RETURN VALUES" +Upon successful completion, a pointer to the name is returned. +Otherwise, +\fRNULL\fR +and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_get_name\fR() +fails if: +.TP 19n +[\fRZIP_ER_DELETED\fR] +\fIindex\fR +refers to a file that has been deleted +(see +zip_delete(3)). +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR, +or +\fIindex\fR +points to an added file and +\fRZIP_FL_UNCHANGED\fR +is set. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_name_locate(3) +.SH "HISTORY" +\fBzip_get_name\fR() +was added in libzip 0.6. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +In libzip 0.11 the type of +\fIflags\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.mdoc new file mode 100644 index 000000000..27084f413 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_name.mdoc @@ -0,0 +1,131 @@ +.\" zip_get_name.mdoc -- get name of file by index +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_NAME 3 +.Os +.Sh NAME +.Nm zip_get_name +.Nd get name of file by index +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_get_name "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_name +function returns the name of the file at position +.Ar index +in +.Ar archive . +The name is in UTF-8 encoding unless +.Dv ZIP_FL_ENC_RAW +was specified (see below). +.Pp +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original unchanged filename is returned. +The returned string must not be modified or freed, and becomes invalid when +.Ar archive +is closed. +.Pp +Additionally, the following +.Ar flags +are supported: +.Bl -tag -width ZIP_FL_ENC_STRICTXX -offset indent +.It Dv ZIP_FL_ENC_RAW +Return the unmodified names as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the name in the ZIP archive and convert it +to UTF-8, if necessary. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification and expect CP-437 encoded names in +the ZIP archive (except if they are explicitly marked as UTF-8). +Convert it to UTF-8. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +Upon successful completion, a pointer to the name is returned. +Otherwise, +.Dv NULL +and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_get_name +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_DELETED +.Ar index +refers to a file that has been deleted +(see +.Xr zip_delete 3 ) . +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or +.Ar index +points to an added file and +.Dv ZIP_FL_UNCHANGED +is set. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_name_locate 3 +.Sh HISTORY +.Fn zip_get_name +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.html b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.html new file mode 100644 index 000000000..a81a1ab8b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.html @@ -0,0 +1,111 @@ + + + + + + + ZIP_GET_NUM_ENTRIES(3) + + + + + + + + +
ZIP_GET_NUM_ENTRIES(3)Library Functions ManualZIP_GET_NUM_ENTRIES(3)
+
+
+

+zip_get_num_entries — +
get number of files in archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_get_num_entries(zip_t + *archive, zip_flags_t + flags);

+
+
+

+The zip_get_num_entries() function returns the number of + files in archive. If flags is set + to ZIP_FL_UNCHANGED, the original number of entries is + returned. +
+
+

+zip_get_num_entries() returns the number of files in the + zip archive, or -1 if archive is + NULL. +
+
+

+libzip(3), + zip_fopen_index(3), + zip_stat_index(3) +
+
+

+zip_get_num_entries() was added in libzip 0.10. In + libzip 0.11 the return type was changed from + zip_uint64_t to zip_int64_t. In + libzip 0.11 the type of flags was changed from + int to zip_flags_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.man b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.man new file mode 100644 index 000000000..f33f6ecf4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.man @@ -0,0 +1,87 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_get_num_entries.mdoc -- get number of files in archive +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_GET_NUM_ENTRIES" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_get_num_entries\fR +\- get number of files in archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_get_num_entries\fR(\fIzip_t\ *archive\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_get_num_entries\fR() +function returns the number of files in +\fIarchive\fR. +If +\fIflags\fR +is set to +\fRZIP_FL_UNCHANGED\fR, +the original number of entries is returned. +.SH "RETURN VALUES" +\fBzip_get_num_entries\fR() +returns the number of files in the zip archive, +or \-1 if +\fIarchive\fR +is +\fRNULL\fR. +.SH "SEE ALSO" +libzip(3), +zip_fopen_index(3), +zip_stat_index(3) +.SH "HISTORY" +\fBzip_get_num_entries\fR() +was added in libzip 0.10. +In libzip 0.11 the return type was changed from +\fIzip_uint64_t\fR +to +\fIzip_int64_t\fR. +In libzip 0.11 the type of +\fIflags\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.mdoc new file mode 100644 index 000000000..bfc70050f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_entries.mdoc @@ -0,0 +1,82 @@ +.\" zip_get_num_entries.mdoc -- get number of files in archive +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_NUM_ENTRIES 3 +.Os +.Sh NAME +.Nm zip_get_num_entries +.Nd get number of files in archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_get_num_entries "zip_t *archive" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_get_num_entries +function returns the number of files in +.Ar archive . +If +.Ar flags +is set to +.Dv ZIP_FL_UNCHANGED , +the original number of entries is returned. +.Sh RETURN VALUES +.Fn zip_get_num_entries +returns the number of files in the zip archive, +or \-1 if +.Ar archive +is +.Dv NULL . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen_index 3 , +.Xr zip_stat_index 3 +.Sh HISTORY +.Fn zip_get_num_entries +was added in libzip 0.10. +In libzip 0.11 the return type was changed from +.Vt zip_uint64_t +to +.Vt zip_int64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.html b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.html new file mode 100644 index 000000000..82b8a85c5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.html @@ -0,0 +1,110 @@ + + + + + + + ZIP_GET_NUM_FILES(3) + + + + + + + + +
ZIP_GET_NUM_FILES(3)Library Functions ManualZIP_GET_NUM_FILES(3)
+
+
+

+zip_get_num_files — +
get number of files in archive (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_get_num_files(zip_t + *archive);

+
+
+

+This function is deprecated. Use + zip_get_num_entries(3) + instead. +

The zip_get_num_files() function returns + the number of files in archive.

+
+
+

+zip_get_num_files() returns the number of files in the + zip archive, or -1 if archive is + NULL. +
+
+

+libzip(3), + zip_fopen_index(3), + zip_stat_index(3) +
+
+

+zip_get_num_files() was added in libzip 0.6. It was + deprecated in libzip 0.11, use + zip_get_num_entries(instead) + instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.man b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.man new file mode 100644 index 000000000..0760eeda5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.man @@ -0,0 +1,80 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_get_num_files.mdoc -- get number of files in archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_GET_NUM_FILES" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_get_num_files\fR +\- get number of files in archive (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_get_num_files\fR(\fIzip_t\ *archive\fR); +.PD +.SH "DESCRIPTION" +\fIThis function is deprecated\fR. +\fIUse\fR +zip_get_num_entries(3) +\fIinstead\fR. +.PP +The +\fBzip_get_num_files\fR() +function returns the number of files in +\fIarchive\fR. +.SH "RETURN VALUES" +\fBzip_get_num_files\fR() +returns the number of files in the zip archive, +or \-1 if +\fIarchive\fR +is +\fRNULL\fR. +.SH "SEE ALSO" +libzip(3), +zip_fopen_index(3), +zip_stat_index(3) +.SH "HISTORY" +\fBzip_get_num_files\fR() +was added in libzip 0.6. +It was deprecated in libzip 0.11, use +\fBzip_get_num_entries\fR(\fIinstead\fR) +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.mdoc new file mode 100644 index 000000000..30ebbc38c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_get_num_files.mdoc @@ -0,0 +1,75 @@ +.\" zip_get_num_files.mdoc -- get number of files in archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_GET_NUM_FILES 3 +.Os +.Sh NAME +.Nm zip_get_num_files +.Nd get number of files in archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_get_num_files "zip_t *archive" +.Sh DESCRIPTION +.Em This function is deprecated . +.Em Use +.Xr zip_get_num_entries 3 +.Em instead . +.Pp +The +.Fn zip_get_num_files +function returns the number of files in +.Ar archive . +.Sh RETURN VALUES +.Fn zip_get_num_files +returns the number of files in the zip archive, +or \-1 if +.Ar archive +is +.Dv NULL . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen_index 3 , +.Xr zip_stat_index 3 +.Sh HISTORY +.Fn zip_get_num_files +was added in libzip 0.6. +It was deprecated in libzip 0.11, use +.Fn zip_get_num_entries instead +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.html b/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.html new file mode 100644 index 000000000..ed1b79414 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.html @@ -0,0 +1,88 @@ + + + + + + + ZIP_LIBZIP_VERSION(3) + + + + + + + + +
ZIP_LIBZIP_VERSION(3)Library Functions ManualZIP_LIBZIP_VERSION(3)
+
+

+zip_libzip_version — +
return run-time version of library
+

+libzip (-lzip) +

+#include + <zip.h> +
+const char * +
+zip_libzip_version(void); +

+zip_libzip_version returns the version number + of the library as string in the format + “$MAJOR.$MINOR.$MICRO$SUFFIX” where + $MAJOR is the major version, + $MINOR the minor, + $MICRO the micro, and + $SUFFIX a suffix that's only set for + development versions. +

+libzip(3) +

+zip_libzip_version() was added in libzip + 1.3.1. +

+Dieter Baron + <dillo@nih.at> + and Thomas Klausner + <tk@giga.or.at>
+ + + + + +
December 18, 2017NetBSD 8.99.27
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.man b/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.man new file mode 100644 index 000000000..3b2bcee86 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.man @@ -0,0 +1,71 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_libzip_version.mdoc -- return run-time version of library +.\" Copyright (C) 2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_LIBZIP_VERSION" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_libzip_version\fR +\- return run-time version of library +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIconst char *\fR +.br +.PD 0 +.HP 4n +\fBzip_libzip_version\fR(\fIvoid\fR); +.PD +.SH "DESCRIPTION" +\fBzip_libzip_version\fR +returns the version number of the library as string in the format +\(lq$MAJOR.$MINOR.$MICRO$SUFFIX\(rq +where +\fI$MAJOR\fR +is the major version, +\fI$MINOR\fR +the minor, +\fI$MICRO\fR +the micro, and +\fI$SUFFIX\fR +a suffix that's only set for development versions. +.SH "SEE ALSO" +libzip(3) +.SH "HISTORY" +\fBzip_libzip_version\fR() +was added in libzip 1.3.1. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.mdoc new file mode 100644 index 000000000..89737368c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_libzip_version.mdoc @@ -0,0 +1,66 @@ +.\" zip_libzip_version.mdoc -- return run-time version of library +.\" Copyright (C) 2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_LIBZIP_VERSION 3 +.Os +.Sh NAME +.Nm zip_libzip_version +.Nd return run-time version of library +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft const char * +.Fn zip_libzip_version void +.Sh DESCRIPTION +.Nm +returns the version number of the library as string in the format +.Dq $MAJOR.$MINOR.$MICRO$SUFFIX +where +.Ar $MAJOR +is the major version, +.Ar $MINOR +the minor, +.Ar $MICRO +the micro, and +.Ar $SUFFIX +a suffix that's only set for development versions. +.Sh SEE ALSO +.Xr libzip 3 +.Sh HISTORY +.Fn zip_libzip_version +was added in libzip 1.3.1. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.html b/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.html new file mode 100644 index 000000000..664872494 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.html @@ -0,0 +1,148 @@ + + + + + + + ZIP_NAME_LOCATE(3) + + + + + + + + +
ZIP_NAME_LOCATE(3)Library Functions ManualZIP_NAME_LOCATE(3)
+
+
+

+zip_name_locate — +
get index of file by name
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_name_locate(zip_t + *archive, const char + *fname, zip_flags_t + flags);

+
+
+

+The zip_name_locate() function returns the index of the + file named fname in archive. If + archive does not contain a file with that name, -1 is + returned. The flags are specified by + or'ing the following values, or 0 + for none of them. +
+
+
+
Ignore case distinctions. (Will only work well if the file names are + ASCII.) With this flag, zip_name_locate() will be + slow for archives with many files.
+
+
Ignore directory part of file name in archive. With this flag, + zip_name_locate() will be slow for archives with + many files.
+
+
Compare against the unmodified names as it is in the ZIP archive.
+
+
(Default.) Guess the encoding of the name in the ZIP archive and convert + it to UTF-8, if necessary, before comparing.
+
+
Follow the ZIP specification and expect CP-437 encoded names in the ZIP + archive (except if they are explicitly marked as UTF-8). Convert it to + UTF-8 before comparing.
+
+
+Note: ASCII is a subset of both CP-437 and UTF-8. +
+
+

+zip_name_locate() returns the index of the file named + fname or -1, if archive does not + contain an entry of that name. +
+
+

+zip_name_locate() fails if: +
+
[]
+
One of the arguments is invalid.
+
[]
+
Required memory could not be allocated.
+
[]
+
No entry of the name fname is found in the + archive.
+
+
+
+

+libzip(3), + zip_get_name(3) +
+
+

+zip_name_locate() was added in libzip 0.6. In libzip + 0.11 the return type was changed from int to + zip_int64_t. In libzip 0.11 the type of + flags was changed from int to + zip_flags_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.man b/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.man new file mode 100644 index 000000000..c8acfae17 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.man @@ -0,0 +1,136 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_name_locate.mdoc -- get index of file by name +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_NAME_LOCATE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_name_locate\fR +\- get index of file by name +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_name_locate\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *fname\fR, \fIzip_flags_t\ flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_name_locate\fR() +function returns the index of the file named +\fIfname\fR +in +\fIarchive\fR. +If +\fIarchive\fR +does not contain a file with that name, \-1 is returned. +The +\fIflags\fR +are specified by +\fIor\fR'ing +the following values, or 0 for none of them. +.RS 6n +.TP 15n +\fRZIP_FL_NOCASE\fR +Ignore case distinctions. +(Will only work well if the file names are ASCII.) +With this flag, +\fBzip_name_locate\fR() +will be slow for archives with many files. +.TP 15n +\fRZIP_FL_NODIR\fR +Ignore directory part of file name in archive. +With this flag, +\fBzip_name_locate\fR() +will be slow for archives with many files. +.TP 15n +\fRZIP_FL_ENC_RAW\fR +.br +Compare against the unmodified names as it is in the ZIP archive. +.TP 15n +\fRZIP_FL_ENC_GUESS\fR +(Default.) +Guess the encoding of the name in the ZIP archive and convert it +to UTF-8, if necessary, before comparing. +.TP 15n +\fRZIP_FL_ENC_STRICT\fR +Follow the ZIP specification and expect CP-437 encoded names in +the ZIP archive (except if they are explicitly marked as UTF-8). +Convert it to UTF-8 before comparing. +.RE +\fINote\fR: +ASCII is a subset of both CP-437 and UTF-8. +.SH "RETURN VALUES" +\fBzip_name_locate\fR() +returns the index of the file named +\fIfname\fR +or \-1, if +\fIarchive\fR +does not contain an entry of that name. +.SH "ERRORS" +\fBzip_name_locate\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +One of the arguments is invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_NOENT\fR] +No entry of the name +\fIfname\fR +is found in the archive. +.SH "SEE ALSO" +libzip(3), +zip_get_name(3) +.SH "HISTORY" +\fBzip_name_locate\fR() +was added in libzip 0.6. +In libzip 0.11 the return type was changed from +\fIint\fR +to +\fIzip_int64_t\fR. +In libzip 0.11 the type of +\fIflags\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.mdoc new file mode 100644 index 000000000..d16402da6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_name_locate.mdoc @@ -0,0 +1,124 @@ +.\" zip_name_locate.mdoc -- get index of file by name +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_NAME_LOCATE 3 +.Os +.Sh NAME +.Nm zip_name_locate +.Nd get index of file by name +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_name_locate "zip_t *archive" "const char *fname" "zip_flags_t flags" +.Sh DESCRIPTION +The +.Fn zip_name_locate +function returns the index of the file named +.Ar fname +in +.Ar archive . +If +.Ar archive +does not contain a file with that name, \-1 is returned. +The +.Fa flags +are specified by +.Em or Ns No 'ing +the following values, or 0 for none of them. +.Bl -tag -offset indent -width ZIP_FL_NOCASE +.It Dv ZIP_FL_NOCASE +Ignore case distinctions. +(Will only work well if the file names are ASCII.) +With this flag, +.Fn zip_name_locate +will be slow for archives with many files. +.It Dv ZIP_FL_NODIR +Ignore directory part of file name in archive. +With this flag, +.Fn zip_name_locate +will be slow for archives with many files. +.It Dv ZIP_FL_ENC_RAW +Compare against the unmodified names as it is in the ZIP archive. +.It Dv ZIP_FL_ENC_GUESS +(Default.) +Guess the encoding of the name in the ZIP archive and convert it +to UTF-8, if necessary, before comparing. +.It Dv ZIP_FL_ENC_STRICT +Follow the ZIP specification and expect CP-437 encoded names in +the ZIP archive (except if they are explicitly marked as UTF-8). +Convert it to UTF-8 before comparing. +.El +.Em Note : +ASCII is a subset of both CP-437 and UTF-8. +.Sh RETURN VALUES +.Fn zip_name_locate +returns the index of the file named +.Ar fname +or \-1, if +.Ar archive +does not contain an entry of that name. +.Sh ERRORS +.Fn zip_name_locate +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +One of the arguments is invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOENT +No entry of the name +.Ar fname +is found in the archive. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_name 3 +.Sh HISTORY +.Fn zip_name_locate +was added in libzip 0.6. +In libzip 0.11 the return type was changed from +.Vt int +to +.Vt zip_int64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_open.html b/plugins/TKLiveSync/libzip_iOS/man/zip_open.html new file mode 100644 index 000000000..6be3f0510 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_open.html @@ -0,0 +1,176 @@ + + + + + + + ZIP_OPEN(3) + + + + + + + + +
ZIP_OPEN(3)Library Functions ManualZIP_OPEN(3)
+
+
+

+zip_open, zip_open_from_source + — +
open zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_t * +
+ zip_open(const + char *path, int + flags, int + *errorp);

+

zip_t * +
+ zip_open_from_source(zip_source_t + *zs, int flags, + zip_error_t *ze);

+
+
+

+The zip_open() function opens the zip archive specified + by path and returns a pointer to a + struct zip, used to manipulate the archive. The + flags are specified by + or'ing the following values, or 0 + for none of them. +
+
+
+
Perform additional stricter consistency checks on the archive, and error + if they fail.
+
+
Create the archive if it does not exist.
+
+
Error if archive already exists.
+
+
If archive exists, ignore its current contents. In other words, handle it + the same way as an empty archive.
+
+
Open archive in read-only mode.
+
+
+

If an error occurs and errorp is + non-NULL, it will be set to the corresponding error + code.

+

The zip_open_from_source() function opens + a zip archive encapsulated by the zip_source zs using + the provided flags. In case of error, the zip_error + ze is filled in.

+
+
+

+Upon successful completion zip_open() and + zip_open_from_source() return a struct + zip pointer. Otherwise, NULL is returned and + zip_open() sets *errorp to + indicate the error, while + zip_open_from(source) sets + ze to indicate the error. +
+
+

+The archive specified by path is opened unless: +
+
[]
+
The file specified by path exists and + ZIP_EXCL is set.
+
[]
+
Inconsistencies were found in the file specified by + path. This error is often caused by specifying + ZIP_CHECKCONS but can also happen without it.
+
[]
+
The path argument is + NULL.
+
[]
+
Required memory could not be allocated.
+
[]
+
The file specified by path does not exist and + ZIP_CREATE is not set.
+
[]
+
The file specified by path is not a zip + archive.
+
[]
+
The file specified by path could not be opened.
+
[]
+
A read error occurred; see errno for details.
+
[]
+
The file specified by path does not allow + seeks.
+
+
+
+

+libzip(3), + zip_close(3), + zip_error_strerror(3), + zip_fdopen(3) +
+
+

+zip_open() and + zip_open_from_source() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_open.man b/plugins/TKLiveSync/libzip_iOS/man/zip_open.man new file mode 100644 index 000000000..c822395a9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_open.man @@ -0,0 +1,192 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_open.mdoc -- open zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_OPEN" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_open\fR, +\fBzip_open_from_source\fR +\- open zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_open\fR(\fIconst\ char\ *path\fR, \fIint\ flags\fR, \fIint\ *errorp\fR); +.PD +.PP +\fIzip_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_open_from_source\fR(\fIzip_source_t\ *zs\fR, \fIint\ flags\fR, \fIzip_error_t\ *ze\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_open\fR() +function opens the zip archive specified by +\fIpath\fR +and returns a pointer to a +\fIstruct zip\fR, +used to manipulate the archive. +The +\fIflags\fR +are specified by +\fIor\fR'ing +the following values, or 0 for none of them. +.RS 6n +.TP 15n +\fRZIP_CHECKCONS\fR +Perform additional stricter consistency checks on the archive, and +error if they fail. +.TP 15n +\fRZIP_CREATE\fR +Create the archive if it does not exist. +.TP 15n +\fRZIP_EXCL\fR +Error if archive already exists. +.TP 15n +\fRZIP_TRUNCATE\fR +If archive exists, ignore its current contents. +In other words, handle it the same way as an empty archive. +.TP 15n +\fRZIP_RDONLY\fR +Open archive in read-only mode. +.RE +.PP +If an error occurs and +\fIerrorp\fR +is +non-\fRNULL\fR, +it will be set to the corresponding error code. +.PP +The +\fBzip_open_from_source\fR() +function opens a zip archive encapsulated by the zip_source +\fIzs\fR +using the provided +\fIflags\fR. +In case of error, the zip_error +\fIze\fR +is filled in. +.SH "RETURN VALUES" +Upon successful completion +\fBzip_open\fR() +and +\fBzip_open_from_source\fR() +return a +\fIstruct zip\fR +pointer. +Otherwise, +\fRNULL\fR +is returned and +\fBzip_open\fR() +sets +\fI*errorp\fR +to indicate the error, while +\fBzip_open_from\fR(\fIsource\fR) +sets +\fIze\fR +to indicate the error. +.SH "ERRORS" +The archive specified by +\fIpath\fR +is opened unless: +.TP 19n +[\fRZIP_ER_EXISTS\fR] +The file specified by +\fIpath\fR +exists and +\fRZIP_EXCL\fR +is set. +.TP 19n +[\fRZIP_ER_INCONS\fR] +Inconsistencies were found in the file specified by +\fIpath\fR. +This error is often caused by specifying +\fRZIP_CHECKCONS\fR +but can also happen without it. +.TP 19n +[\fRZIP_ER_INVAL\fR] +The +\fIpath\fR +argument is +\fRNULL\fR. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_NOENT\fR] +The file specified by +\fIpath\fR +does not exist and +\fRZIP_CREATE\fR +is not set. +.TP 19n +[\fRZIP_ER_NOZIP\fR] +The file specified by +\fIpath\fR +is not a zip archive. +.TP 19n +[\fRZIP_ER_OPEN\fR] +The file specified by +\fIpath\fR +could not be opened. +.TP 19n +[\fRZIP_ER_READ\fR] +A read error occurred; see +\fIerrno\fR +for details. +.TP 19n +[\fRZIP_ER_SEEK\fR] +The file specified by +\fIpath\fR +does not allow seeks. +.SH "SEE ALSO" +libzip(3), +zip_close(3), +zip_error_strerror(3), +zip_fdopen(3) +.SH "HISTORY" +\fBzip_open\fR() +and +\fBzip_open_from_source\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_open.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_open.mdoc new file mode 100644 index 000000000..49d036c69 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_open.mdoc @@ -0,0 +1,170 @@ +.\" zip_open.mdoc -- open zip archive +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_OPEN 3 +.Os +.Sh NAME +.Nm zip_open , +.Nm zip_open_from_source +.Nd open zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_t * +.Fn zip_open "const char *path" "int flags" "int *errorp" +.Ft zip_t * +.Fn zip_open_from_source "zip_source_t *zs" "int flags" "zip_error_t *ze" +.Sh DESCRIPTION +The +.Fn zip_open +function opens the zip archive specified by +.Ar path +and returns a pointer to a +.Ft struct zip , +used to manipulate the archive. +The +.Fa flags +are specified by +.Em or Ns No 'ing +the following values, or 0 for none of them. +.Bl -tag -offset indent -width ZIP_CHECKCONS +.It Dv ZIP_CHECKCONS +Perform additional stricter consistency checks on the archive, and +error if they fail. +.It Dv ZIP_CREATE +Create the archive if it does not exist. +.It Dv ZIP_EXCL +Error if archive already exists. +.It Dv ZIP_TRUNCATE +If archive exists, ignore its current contents. +In other words, handle it the same way as an empty archive. +.It Dv ZIP_RDONLY +Open archive in read-only mode. +.El +.Pp +If an error occurs and +.Ar errorp +is +.Pf non- Dv NULL , +it will be set to the corresponding error code. +.Pp +The +.Fn zip_open_from_source +function opens a zip archive encapsulated by the zip_source +.Fa zs +using the provided +.Fa flags . +In case of error, the zip_error +.Fa ze +is filled in. +.Sh RETURN VALUES +Upon successful completion +.Fn zip_open +and +.Fn zip_open_from_source +return a +.Ft struct zip +pointer. +Otherwise, +.Dv NULL +is returned and +.Fn zip_open +sets +.Ar *errorp +to indicate the error, while +.Fn zip_open_from source +sets +.Ar ze +to indicate the error. +.Sh ERRORS +The archive specified by +.Ar path +is opened unless: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +The file specified by +.Ar path +exists and +.Dv ZIP_EXCL +is set. +.It Bq Er ZIP_ER_INCONS +Inconsistencies were found in the file specified by +.Ar path . +This error is often caused by specifying +.Dv ZIP_CHECKCONS +but can also happen without it. +.It Bq Er ZIP_ER_INVAL +The +.Ar path +argument is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_NOENT +The file specified by +.Ar path +does not exist and +.Dv ZIP_CREATE +is not set. +.It Bq Er ZIP_ER_NOZIP +The file specified by +.Ar path +is not a zip archive. +.It Bq Er ZIP_ER_OPEN +The file specified by +.Ar path +could not be opened. +.It Bq Er ZIP_ER_READ +A read error occurred; see +.Va errno +for details. +.It Bq Er ZIP_ER_SEEK +The file specified by +.Ar path +does not allow seeks. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 , +.Xr zip_error_strerror 3 , +.Xr zip_fdopen 3 +.Sh HISTORY +.Fn zip_open +and +.Fn zip_open_from_source +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.html b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.html new file mode 100644 index 000000000..59ce4a256 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.html @@ -0,0 +1,111 @@ + + + + + + + ZIP_REGISTER_PROGRESS_CALLBACK(3) + + + + + + + + +
ZIP_REGISTER_PROGRESS_CALLBACK(3)Library Functions ManualZIP_REGISTER_PROGRESS_CALLBACK(3)
+
+
+

+zip_register_progress_callback — +
provide updates during zip_close (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

typedef void + (*zip_progress_callback_t)(double);

+

void +
+ zip_register_progress_callback(zip_t + *archive, + zip_progress_callback_t + progress_callback);

+
+
+

+The function zip_register_progress_callback() is the + obsolete version of + zip_register_progress_callback_with_state(3). +

The zip_register_progress_callback() + function registers a callback function + progress_callback for the zip archive + archive. This function is called during + zip_close(3) after every zip archive + entry that's completely written to disk. The value is a + double in the range from 0.0 to 1.0. This can be used + to provide progress indicators for user interfaces.

+
+
+

+libzip(3), + zip_close(3) +
+
+

+zip_register_progress_callback() was added in libzip + 1.2.0. It was deprecated in libzip 1.3.0, use + zip_register_progress_callback_with_state() instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.man b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.man new file mode 100644 index 000000000..3d0e5b94d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.man @@ -0,0 +1,83 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_register_progress_callback.mdoc -- provide updates during zip_close +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_REGISTER_PROGRESS_CALLBACK" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_register_progress_callback\fR +\- provide updates during zip_close (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fItypedef void (*zip_progress_callback_t)(double);\fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_register_progress_callback\fR(\fIzip_t\ *archive\fR, \fIzip_progress_callback_t\ progress_callback\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_register_progress_callback\fR() +is the obsolete version of +zip_register_progress_callback_with_state(3). +.PP +The +\fBzip_register_progress_callback\fR() +function registers a callback function +\fIprogress_callback\fR +for the zip archive +\fIarchive\fR. +This function is called during +zip_close(3) +after every zip archive entry that's completely written to disk. +The value is a +\fIdouble\fR +in the range from 0.0 to 1.0. +This can be used to provide progress indicators for user interfaces. +.SH "SEE ALSO" +libzip(3), +zip_close(3) +.SH "HISTORY" +\fBzip_register_progress_callback\fR() +was added in libzip 1.2.0. +It was deprecated in libzip 1.3.0, use +\fBzip_register_progress_callback_with_state\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.mdoc new file mode 100644 index 000000000..9fd0cd0d7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback.mdoc @@ -0,0 +1,77 @@ +.\" zip_register_progress_callback.mdoc -- provide updates during zip_close +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_REGISTER_PROGRESS_CALLBACK 3 +.Os +.Sh NAME +.Nm zip_register_progress_callback +.Nd provide updates during zip_close (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Vt typedef void (*zip_progress_callback_t)(double); +.Ft void +.Fn zip_register_progress_callback "zip_t *archive" "zip_progress_callback_t progress_callback" +.Sh DESCRIPTION +The function +.Fn zip_register_progress_callback +is the obsolete version of +.Xr zip_register_progress_callback_with_state 3 . +.Pp +The +.Fn zip_register_progress_callback +function registers a callback function +.Ar progress_callback +for the zip archive +.Ar archive . +This function is called during +.Xr zip_close 3 +after every zip archive entry that's completely written to disk. +The value is a +.Vt double +in the range from 0.0 to 1.0. +This can be used to provide progress indicators for user interfaces. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 +.Sh HISTORY +.Fn zip_register_progress_callback +was added in libzip 1.2.0. +It was deprecated in libzip 1.3.0, use +.Fn zip_register_progress_callback_with_state +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.html b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.html new file mode 100644 index 000000000..f6a0932d6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.html @@ -0,0 +1,111 @@ + + + + + + + ZIP_REGISTER_PROGRESS_CALLBACK_WITH_STATE(3) + + + + + + + + +
ZIP_REGISTER_PROGRESS_CALLBACK_WITH_STATE(3)Library Functions ManualZIP_REGISTER_PROGRESS_CALLBACK_WITH_STATE(3)
+
+

+zip_register_progress_callback_with_state + — +
provide updates during zip_close
+

+libzip (-lzip) +

+#include + <zip.h> +
+typedef void (*zip_progress_callback)(zip_t *, + double, void *); +
+void +
+zip_register_progress_callback_with_state(zip_t + *archive, double + precision, + zip_progress_callback + callback, void + (*ud_free)(void *), + void *ud); +

+The + zip_register_progress_callback_with_state() + function registers a callback function + callback for the zip archive + archive. The + precision argument is a double in the range + from 0.00 to 1.0 that defines the smallest change for which the callback + should be called (to avoid too frequent calls). The + ud_free function is called during cleanup for + deleting the userdata supplied in ud. +
+The callback function is called during + zip_close(3) in regular + intervals (after every zip archive entry that's completely written to disk, + and while writing data for entries) with zip archive + archive, the current progression state as a + double, and the user-provided user-data + ud as arguments. The progression state is a + double in the range from 0.0 to 1.0. This can + be used to provide progress indicators for user interfaces. +

+libzip(3), + zip_close(3) +

+zip_register_progress_callback_with_state() + was added in libzip 1.3.0. +

+Dieter Baron + <dillo@nih.at> + and Thomas Klausner + <tk@giga.or.at>
+ + + + + +
December 18, 2017NetBSD 8.99.27
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.man b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.man new file mode 100644 index 000000000..f24905bab --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.man @@ -0,0 +1,92 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_register_progress_callback_with_state.mdoc -- provide updates during zip_close +.\" Copyright (C) 2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_REGISTER_PROGRESS_CALLBACK_WITH_STATE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_register_progress_callback_with_state\fR +\- provide updates during zip_close +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fItypedef void (*zip_progress_callback)(zip_t *, double, void *);\fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_register_progress_callback_with_state\fR(\fIzip_t\ *archive\fR, \fIdouble\ precision\fR, \fIzip_progress_callback\ callback\fR, \fIvoid\ (*ud_free)(void\ *)\fR, \fIvoid\ *ud\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_register_progress_callback_with_state\fR() +function registers a callback function +\fIcallback\fR +for the zip archive +\fIarchive\fR. +The +\fIprecision\fR +argument is a double in the range from 0.00 to 1.0 that defines the +smallest change for which the callback should be called (to avoid too +frequent calls). +The +\fIud_free\fR +function is called during cleanup for deleting the userdata supplied in +\fIud\fR. +.PP +The callback function is called during +zip_close(3) +in regular intervals (after every zip archive entry that's completely +written to disk, and while writing data for entries) with zip archive +\fIarchive\fR, +the current progression state as a +\fIdouble\fR, +and the user-provided user-data +\fIud\fR +as arguments. +The progression state is a +\fIdouble\fR +in the range from 0.0 to 1.0. +This can be used to provide progress indicators for user interfaces. +.SH "SEE ALSO" +libzip(3), +zip_close(3) +.SH "HISTORY" +\fBzip_register_progress_callback_with_state\fR() +was added in libzip 1.3.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.mdoc new file mode 100644 index 000000000..7eea3d669 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_register_progress_callback_with_state.mdoc @@ -0,0 +1,86 @@ +.\" zip_register_progress_callback_with_state.mdoc -- provide updates during zip_close +.\" Copyright (C) 2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_REGISTER_PROGRESS_CALLBACK_WITH_STATE 3 +.Os +.Sh NAME +.Nm zip_register_progress_callback_with_state +.Nd provide updates during zip_close +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Vt typedef void (*zip_progress_callback)(zip_t *, double, void *); +.Ft void +.Fn zip_register_progress_callback_with_state "zip_t *archive" "double precision" "zip_progress_callback callback" "void (*ud_free)(void *)" "void *ud" +.Sh DESCRIPTION +The +.Fn zip_register_progress_callback_with_state +function registers a callback function +.Ar callback +for the zip archive +.Ar archive . +The +.Ar precision +argument is a double in the range from 0.00 to 1.0 that defines the +smallest change for which the callback should be called (to avoid too +frequent calls). +The +.Ar ud_free +function is called during cleanup for deleting the userdata supplied in +.Ar ud . +.Pp +The callback function is called during +.Xr zip_close 3 +in regular intervals (after every zip archive entry that's completely +written to disk, and while writing data for entries) with zip archive +.Ar archive , +the current progression state as a +.Vt double , +and the user-provided user-data +.Ar ud +as arguments. +The progression state is a +.Vt double +in the range from 0.0 to 1.0. +This can be used to provide progress indicators for user interfaces. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_close 3 +.Sh HISTORY +.Fn zip_register_progress_callback_with_state +was added in libzip 1.3.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_rename.html b/plugins/TKLiveSync/libzip_iOS/man/zip_rename.html new file mode 100644 index 000000000..6d4d2f6f8 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_rename.html @@ -0,0 +1,104 @@ + + + + + + + ZIP_RENAME(3) + + + + + + + + +
ZIP_RENAME(3)Library Functions ManualZIP_RENAME(3)
+
+
+

+zip_rename — +
rename file in zip archive (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_rename(zip_t + *archive, zip_uint64_t + index, const char + *name);

+
+
+

+zip_rename() is the obsolete version of + zip_file_rename(3). It is the + same as calling + zip_file_rename(3) with an empty + flags argument. +
+
+

+libzip(3), + zip_file_rename(3) +
+
+

+zip_rename() was added in libzip 0.6. In libzip 0.10 the + type of index was changed from int + to zip_uint64_t. It was deprecated in libzip 0.11, use + zip_file_rename() instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_rename.man b/plugins/TKLiveSync/libzip_iOS/man/zip_rename.man new file mode 100644 index 000000000..ea8b8c08b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_rename.man @@ -0,0 +1,75 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_rename.mdoc -- rename file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_RENAME" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_rename\fR +\- rename file in zip archive (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_rename\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIconst\ char\ *name\fR); +.PD +.SH "DESCRIPTION" +\fBzip_rename\fR() +is the obsolete version of +zip_file_rename(3). +It is the same as calling +zip_file_rename(3) +with an empty flags argument. +.SH "SEE ALSO" +libzip(3), +zip_file_rename(3) +.SH "HISTORY" +\fBzip_rename\fR() +was added in libzip 0.6. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +It was deprecated in libzip 0.11, use +\fBzip_file_rename\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_rename.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_rename.mdoc new file mode 100644 index 000000000..ce3a748cf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_rename.mdoc @@ -0,0 +1,70 @@ +.\" zip_rename.mdoc -- rename file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_RENAME 3 +.Os +.Sh NAME +.Nm zip_rename +.Nd rename file in zip archive (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_rename "zip_t *archive" "zip_uint64_t index" "const char *name" +.Sh DESCRIPTION +.Fn zip_rename +is the obsolete version of +.Xr zip_file_rename 3 . +It is the same as calling +.Xr zip_file_rename 3 +with an empty flags argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_rename 3 +.Sh HISTORY +.Fn zip_rename +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_rename +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.html b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.html new file mode 100644 index 000000000..13c92cf81 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.html @@ -0,0 +1,124 @@ + + + + + + + ZIP_SET_ARCHIVE_COMMENT(3) + + + + + + + + +
ZIP_SET_ARCHIVE_COMMENT(3)Library Functions ManualZIP_SET_ARCHIVE_COMMENT(3)
+
+
+

+zip_set_archive_comment — +
set zip archive comment
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_set_archive_comment(zip_t + *archive, const char + *comment, zip_uint16_t + len);

+
+
+

+The zip_set_archive_comment() function sets the comment + for the entire zip archive. If comment is + NULL and len is 0, the archive + comment will be removed. comment must be encoded in + ASCII or UTF-8. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+zip_set_archive_comment() fails if: +
+
[]
+
len is less than 0 or longer than the maximum + comment length in a zip file (65535), or comment is + not a valid UTF-8 encoded string.
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_file_get_comment(3), + zip_file_set_comment(3), + zip_get_archive_comment(3) +
+
+

+zip_set_archive_comment() was added in libzip 0.7. In + libzip 0.11 the type of len was changed from + int to zip_uint16_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.man b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.man new file mode 100644 index 000000000..d50ec7106 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.man @@ -0,0 +1,98 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_set_archive_comment.mdoc -- set zip archive comment +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SET_ARCHIVE_COMMENT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_set_archive_comment\fR +\- set zip archive comment +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_set_archive_comment\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *comment\fR, \fIzip_uint16_t\ len\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_set_archive_comment\fR() +function sets the comment for the entire zip archive. +If +\fIcomment\fR +is +\fRNULL\fR +and +\fIlen\fR +is 0, the archive comment will be removed. +\fIcomment\fR +must be encoded in ASCII or UTF-8. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_set_archive_comment\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIlen\fR +is less than 0 or longer than the maximum comment length in a zip file +(65535), or +\fIcomment\fR +is not a valid UTF-8 encoded string. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_file_get_comment(3), +zip_file_set_comment(3), +zip_get_archive_comment(3) +.SH "HISTORY" +\fBzip_set_archive_comment\fR() +was added in libzip 0.7. +In libzip 0.11 the type of +\fIlen\fR +was changed from +\fIint\fR +to +\fIzip_uint16_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.mdoc new file mode 100644 index 000000000..3d90b0b0e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_comment.mdoc @@ -0,0 +1,93 @@ +.\" zip_set_archive_comment.mdoc -- set zip archive comment +.\" Copyright (C) 2006-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_ARCHIVE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_set_archive_comment +.Nd set zip archive comment +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_archive_comment "zip_t *archive" "const char *comment" "zip_uint16_t len" +.Sh DESCRIPTION +The +.Fn zip_set_archive_comment +function sets the comment for the entire zip archive. +If +.Ar comment +is +.Dv NULL +and +.Ar len +is 0, the archive comment will be removed. +.Ar comment +must be encoded in ASCII or UTF-8. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_set_archive_comment +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar len +is less than 0 or longer than the maximum comment length in a zip file +(65535), or +.Ar comment +is not a valid UTF-8 encoded string. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_get_comment 3 , +.Xr zip_file_set_comment 3 , +.Xr zip_get_archive_comment 3 +.Sh HISTORY +.Fn zip_set_archive_comment +was added in libzip 0.7. +In libzip 0.11 the type of +.Ar len +was changed from +.Vt int +to +.Vt zip_uint16_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.html b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.html new file mode 100644 index 000000000..0de64b6e0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.html @@ -0,0 +1,107 @@ + + + + + + + ZIP_SET_ARCHIVE_FLAG(3) + + + + + + + + +
ZIP_SET_ARCHIVE_FLAG(3)Library Functions ManualZIP_SET_ARCHIVE_FLAG(3)
+
+
+

+zip_set_archive_flag — +
set zip archive flag
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_set_archive_flag(zip_t + *archive, zip_flags_t + flag, int + value);

+
+
+

+The zip_set_archive_flag() function sets the flag + flag for the archive archive to + the value value. +

Currently there are no supported flags.

+
+
+

+Upon successful completion 0 is returned, and -1 if an error occurred. +
+
+

+libzip(3), + zip_get_archive_flag(3) +
+
+

+zip_set_archive_flag() was added in libzip 0.9. In + libzip 0.11 the type of flag was changed from + int to zip_flags_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.man b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.man new file mode 100644 index 000000000..0cacf4c94 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.man @@ -0,0 +1,79 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_set_archive_flag.mdoc -- set zip archive flag +.\" Copyright (C) 2008-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SET_ARCHIVE_FLAG" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_set_archive_flag\fR +\- set zip archive flag +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_set_archive_flag\fR(\fIzip_t\ *archive\fR, \fIzip_flags_t\ flag\fR, \fIint\ value\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_set_archive_flag\fR() +function sets the flag +\fIflag\fR +for the archive +\fIarchive\fR +to the value +\fIvalue\fR. +.PP +Currently there are no supported flags. +.SH "RETURN VALUES" +Upon successful completion 0 is returned, and \-1 if an error +occurred. +.SH "SEE ALSO" +libzip(3), +zip_get_archive_flag(3) +.SH "HISTORY" +\fBzip_set_archive_flag\fR() +was added in libzip 0.9. +In libzip 0.11 the type of +\fIflag\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.mdoc new file mode 100644 index 000000000..116a340ff --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_archive_flag.mdoc @@ -0,0 +1,74 @@ +.\" zip_set_archive_flag.mdoc -- set zip archive flag +.\" Copyright (C) 2008-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_ARCHIVE_FLAG 3 +.Os +.Sh NAME +.Nm zip_set_archive_flag +.Nd set zip archive flag +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_archive_flag "zip_t *archive" "zip_flags_t flag" "int value" +.Sh DESCRIPTION +The +.Fn zip_set_archive_flag +function sets the flag +.Ar flag +for the archive +.Ar archive +to the value +.Ar value . +.Pp +Currently there are no supported flags. +.Sh RETURN VALUES +Upon successful completion 0 is returned, and \-1 if an error +occurred. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_archive_flag 3 +.Sh HISTORY +.Fn zip_set_archive_flag +was added in libzip 0.9. +In libzip 0.11 the type of +.Ar flag +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.html b/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.html new file mode 100644 index 000000000..ff4135aa0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.html @@ -0,0 +1,119 @@ + + + + + + + ZIP_SET_DEFAULT_PASSWORD(3) + + + + + + + + +
ZIP_SET_DEFAULT_PASSWORD(3)Library Functions ManualZIP_SET_DEFAULT_PASSWORD(3)
+
+
+

+zip_set_default_password — +
set default password for encrypted files in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_set_default_password(zip_t + *archive, const char + *password);

+
+
+

+The zip_set_default_password() function sets the default + password used when accessing encrypted files. If + password is NULL, the default + password is unset. +

If you prefer a different password for single files, use + zip_fopen_encrypted(3) + instead of zip_fopen(3). Usually, + however, the same password is used for every file in an zip archive.

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+zip_set_default_password() fails if: +
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_fopen(3), + zip_fopen_encrypted(3) +
+
+

+zip_set_default_password() was added in libzip 0.10. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.man b/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.man new file mode 100644 index 000000000..7104bb34d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.man @@ -0,0 +1,87 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_set_default_password.mdoc -- set default password for zip +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SET_DEFAULT_PASSWORD" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_set_default_password\fR +\- set default password for encrypted files in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_set_default_password\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *password\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_set_default_password\fR() +function sets the default password used when accessing encrypted files. +If +\fIpassword\fR +is +\fRNULL\fR, +the default password is unset. +.PP +If you prefer a different password for single files, use +zip_fopen_encrypted(3) +instead of +zip_fopen(3). +Usually, however, the same password is used for every file in an +zip archive. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_set_default_password\fR() +fails if: +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_fopen(3), +zip_fopen_encrypted(3) +.SH "HISTORY" +\fBzip_set_default_password\fR() +was added in libzip 0.10. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.mdoc new file mode 100644 index 000000000..792176c7d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_default_password.mdoc @@ -0,0 +1,83 @@ +.\" zip_set_default_password.mdoc -- set default password for zip +.\" Copyright (C) 2011-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_DEFAULT_PASSWORD 3 +.Os +.Sh NAME +.Nm zip_set_default_password +.Nd set default password for encrypted files in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_default_password "zip_t *archive" "const char *password" +.Sh DESCRIPTION +The +.Fn zip_set_default_password +function sets the default password used when accessing encrypted files. +If +.Ar password +is +.Dv NULL , +the default password is unset. +.Pp +If you prefer a different password for single files, use +.Xr zip_fopen_encrypted 3 +instead of +.Xr zip_fopen 3 . +Usually, however, the same password is used for every file in an +zip archive. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_set_default_password +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_fopen 3 , +.Xr zip_fopen_encrypted 3 +.Sh HISTORY +.Fn zip_set_default_password +was added in libzip 0.10. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.html b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.html new file mode 100644 index 000000000..ee7591a6b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.html @@ -0,0 +1,109 @@ + + + + + + + ZIP_SET_FILE_COMMENT(3) + + + + + + + + +
ZIP_SET_FILE_COMMENT(3)Library Functions ManualZIP_SET_FILE_COMMENT(3)
+
+
+

+zip_set_file_comment — +
set comment for file in zip (obsolete interface)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_set_file_comment(zip_t + *archive, zip_uint64_t + index, const char + *comment, int + len);

+
+
+

+The zip_set_file_comment() function is the obsolete + version of + zip_file_set_comment(3). + The only differences are the type of the len argument + and the additional flags argument. + zip_set_file_comment() is the same as calling + zip_file_set_comment(3) + with an empty flags argument. +
+
+

+libzip(3), + zip_file_set_comment(3) +
+
+

+zip_set_file_comment() was added in libzip 0.7. In + libzip 0.10 the type of index was changed from + int to zip_uint64_t. It was + deprecated in libzip 0.11, use zip_file_set_comment() + instead. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.man b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.man new file mode 100644 index 000000000..2ba8a7c9f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.man @@ -0,0 +1,84 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_set_file_comment.mdoc -- set comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SET_FILE_COMMENT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_set_file_comment\fR +\- set comment for file in zip (obsolete interface) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_set_file_comment\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIconst\ char\ *comment\fR, \fIint\ len\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_set_file_comment\fR() +function is the obsolete version of +zip_file_set_comment(3). +The only differences are the type of the +\fIlen\fR +argument and the additional +\fIflags\fR +argument. +\fBzip_set_file_comment\fR() +is the same as calling +zip_file_set_comment(3) +with an empty +\fIflags\fR +argument. +.SH "SEE ALSO" +libzip(3), +zip_file_set_comment(3) +.SH "HISTORY" +\fBzip_set_file_comment\fR() +was added in libzip 0.7. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +It was deprecated in libzip 0.11, use +\fBzip_file_set_comment\fR() +instead. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.mdoc new file mode 100644 index 000000000..f6e2b378a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_comment.mdoc @@ -0,0 +1,79 @@ +.\" zip_set_file_comment.mdoc -- set comment for file in zip +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_FILE_COMMENT 3 +.Os +.Sh NAME +.Nm zip_set_file_comment +.Nd set comment for file in zip (obsolete interface) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_file_comment "zip_t *archive" "zip_uint64_t index" "const char *comment" "int len" +.Sh DESCRIPTION +The +.Fn zip_set_file_comment +function is the obsolete version of +.Xr zip_file_set_comment 3 . +The only differences are the type of the +.Ar len +argument and the additional +.Ar flags +argument. +.Fn zip_set_file_comment +is the same as calling +.Xr zip_file_set_comment 3 +with an empty +.Ar flags +argument. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_set_comment 3 +.Sh HISTORY +.Fn zip_set_file_comment +was added in libzip 0.7. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +It was deprecated in libzip 0.11, use +.Fn zip_file_set_comment +instead. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.html b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.html new file mode 100644 index 000000000..07d8e03e7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.html @@ -0,0 +1,148 @@ + + + + + + + ZIP_SET_FILE_COMPRESSION(3) + + + + + + + + +
ZIP_SET_FILE_COMPRESSION(3)Library Functions ManualZIP_SET_FILE_COMPRESSION(3)
+
+
+

+zip_set_file_compression — +
set compression method for file in zip
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_set_file_compression(zip_t + *archive, zip_uint64_t + index, zip_int32_t + comp, zip_uint32_t + comp_flags);

+
+
+

+The zip_set_file_compression() function sets the + compression method for the file at position index in the + zip archive to comp with the compression method specific + comp_flags. The comp is the same + as returned by zip_stat(3). For the + comp argument, currently only the following values are + supported: +
+
+
default compression; currently the same as + ZIP_CM_DEFLATE, but flags + are ignored.
+
+
Store the file uncompressed.
+
+
Compress the file using the bzip2(1) + algorithm.
+
+
Deflate the file with the zlib(3) + algorithm and default options.
+
+

NOTE: Only the deflate and store methods can be + assumed to be universally supported.

+

The comp_flags argument defines the + compression level, 1 being fastest compression and 9 highest. Allowed values + are 0 (which uses the default compression for the algorithm) and 1-9, other + values are undefined. Further compression method specific flags might be + added over time.

+

The current compression method for a file in a zip archive can be + determined using zip_stat(3).

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+zip_set_file_compression() fails if: +
+
[]
+
Unsupported compression method requested.
+
[]
+
index is not a valid file index in + archive, or the argument combination is + invalid.
+
[]
+
Read-only zip file, no changes allowed.
+
+
+
+

+libzip(3), + zip_stat(3) +
+
+

+zip_set_file_compression() was added in libzip 0.11. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.man b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.man new file mode 100644 index 000000000..759309b67 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.man @@ -0,0 +1,131 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_set_file_compression.mdoc -- set compression method and its flags +.\" Copyright (C) 2012-2019 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SET_FILE_COMPRESSION" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_set_file_compression\fR +\- set compression method for file in zip +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_set_file_compression\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_int32_t\ comp\fR, \fIzip_uint32_t\ comp_flags\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_set_file_compression\fR() +function sets the compression method for the file at position +\fIindex\fR +in the zip archive to +\fIcomp\fR +with the compression method specific +\fIcomp_flags\fR. +The +\fIcomp\fR +is the same as returned by +zip_stat(3). +For the +\fIcomp\fR +argument, currently only the following values are supported: +.TP 19n +\fRZIP_CM_DEFAULT\fR +default compression; currently the same as +\fRZIP_CM_DEFLATE\fR, +but +\fIflags\fR +are ignored. +.TP 19n +\fRZIP_CM_STORE\fR +Store the file uncompressed. +.TP 19n +\fRZIP_CM_BZIP2\fR +Compress the file using the +bzip2(1) +algorithm. +.TP 19n +\fRZIP_CM_DEFLATE\fR +Deflate the file with the +zlib(3) +algorithm and default options. +.PP +\fINOTE\fR: +Only the deflate and store methods can be assumed to be universally +supported. +.PP +The +\fIcomp_flags\fR +argument defines the compression level, 1 being fastest compression +and 9 highest. +Allowed values are 0 (which uses the default compression for the +algorithm) and 1-9, other values are undefined. +Further compression method specific flags might be added over time. +.PP +The current compression method for a file in a zip archive can be +determined using +zip_stat(3). +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_set_file_compression\fR() +fails if: +.TP 19n +[\fRZIP_ER_COMPNOTSUPP\fR] +Unsupported compression method requested. +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIarchive\fR, +or the argument combination is invalid. +.TP 19n +[\fRZIP_ER_RDONLY\fR] +Read-only zip file, no changes allowed. +.SH "SEE ALSO" +libzip(3), +zip_stat(3) +.SH "HISTORY" +\fBzip_set_file_compression\fR() +was added in libzip 0.11. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.mdoc new file mode 100644 index 000000000..3d3b5f488 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_set_file_compression.mdoc @@ -0,0 +1,123 @@ +.\" zip_set_file_compression.mdoc -- set compression method and its flags +.\" Copyright (C) 2012-2019 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP files. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SET_FILE_COMPRESSION 3 +.Os +.Sh NAME +.Nm zip_set_file_compression +.Nd set compression method for file in zip +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_set_file_compression "zip_t *archive" "zip_uint64_t index" "zip_int32_t comp" "zip_uint32_t comp_flags" +.Sh DESCRIPTION +The +.Fn zip_set_file_compression +function sets the compression method for the file at position +.Ar index +in the zip archive to +.Ar comp +with the compression method specific +.Ar comp_flags . +The +.Ar comp +is the same as returned by +.Xr zip_stat 3 . +For the +.Ar comp +argument, currently only the following values are supported: +.Bl -tag -width ZIP_CM_DEFLATE_XX +.It Dv ZIP_CM_DEFAULT +default compression; currently the same as +.Dv ZIP_CM_DEFLATE , +but +.Ar flags +are ignored. +.It Dv ZIP_CM_STORE +Store the file uncompressed. +.It Dv ZIP_CM_BZIP2 +Compress the file using the +.Xr bzip2 1 +algorithm. +.It Dv ZIP_CM_DEFLATE +Deflate the file with the +.Xr zlib 3 +algorithm and default options. +.El +.Pp +.Em NOTE : +Only the deflate and store methods can be assumed to be universally +supported. +.Pp +The +.Ar comp_flags +argument defines the compression level, 1 being fastest compression +and 9 highest. +Allowed values are 0 (which uses the default compression for the +algorithm) and 1-9, other values are undefined. +Further compression method specific flags might be added over time. +.Pp +The current compression method for a file in a zip archive can be +determined using +.Xr zip_stat 3 . +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_set_file_compression +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_COMPNOTSUPP +Unsupported compression method requested. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar archive , +or the argument combination is invalid. +.It Bq Er ZIP_ER_RDONLY +Read-only zip file, no changes allowed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_set_file_compression +was added in libzip 0.11. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source.html new file mode 100644 index 000000000..762d8929c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source.html @@ -0,0 +1,117 @@ + + + + + + + ZIP_SOURCE(3) + + + + + + + + +
ZIP_SOURCE(3)Library Functions ManualZIP_SOURCE(3)
+
+
+

+zip_source — +
zip data source structure
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t *zs;

+
+
+

+A struct zip_source is a data source used by + libzip(3) for adding or replacing file + contents for a file in a zip archive. If the source supports seeking, it can + also be used to open zip archives from. It is created by calling one of + zip_source_buffer(3), + zip_source_buffer_create(3), + zip_source_file(3), + zip_source_file_create(3), + zip_source_filep(3), + zip_source_filep_create(3), + zip_source_function(3), + zip_source_function_create(3), + or zip_source_zip(3). + zip_source_t is reference counted, and created with a + reference count of 1. + zip_open_from_source(3), + zip_file_add(3), and + zip_file_replace(3) will + decrement the reference count of the zip_source_t when + they are done using it, so + zip_source_free(3) only needs to + be called when these functions return an error. Use + zip_source_keep(3) to increase + the reference count, for example if you need the source after + zip_close(3). +
+
+

+libzip(3), + zip_source_buffer(3), + zip_source_file(3), + zip_source_filep(3), + zip_source_free(3), + zip_source_function(3), + zip_source_zip(3) +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source.man new file mode 100644 index 000000000..856401ecf --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source.man @@ -0,0 +1,89 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source.mdoc -- description of zip data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source\fR +\- zip data source structure +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *zs\fR; +.SH "DESCRIPTION" +A +\fIstruct zip_source\fR +is a data source used by +libzip(3) +for adding or replacing file contents for a file in a zip archive. +If the source supports seeking, it can also be used to open zip archives from. +It is created by calling one of +zip_source_buffer(3), +zip_source_buffer_create(3), +zip_source_file(3), +zip_source_file_create(3), +zip_source_filep(3), +zip_source_filep_create(3), +zip_source_function(3), +zip_source_function_create(3), +or +zip_source_zip(3). +\fIzip_source_t\fR +is reference counted, and created with a reference count of 1. +zip_open_from_source(3), +zip_file_add(3), +and +zip_file_replace(3) +will decrement the reference count of the +\fIzip_source_t\fR +when they are done using it, so +zip_source_free(3) +only needs to be called when these functions return an error. +Use +zip_source_keep(3) +to increase the reference count, for example if you need the source after +zip_close(3). +.SH "SEE ALSO" +libzip(3), +zip_source_buffer(3), +zip_source_file(3), +zip_source_filep(3), +zip_source_free(3), +zip_source_function(3), +zip_source_zip(3) +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source.mdoc new file mode 100644 index 000000000..0795bd846 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source.mdoc @@ -0,0 +1,88 @@ +.\" zip_source.mdoc -- description of zip data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE 3 +.Os +.Sh NAME +.Nm zip_source +.Nd zip data source structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Vt zip_source_t *zs ; +.Sh DESCRIPTION +A +.Vt struct zip_source +is a data source used by +.Xr libzip 3 +for adding or replacing file contents for a file in a zip archive. +If the source supports seeking, it can also be used to open zip archives from. +It is created by calling one of +.Xr zip_source_buffer 3 , +.Xr zip_source_buffer_create 3 , +.Xr zip_source_file 3 , +.Xr zip_source_file_create 3 , +.Xr zip_source_filep 3 , +.Xr zip_source_filep_create 3 , +.Xr zip_source_function 3 , +.Xr zip_source_function_create 3 , +or +.Xr zip_source_zip 3 . +.Vt zip_source_t +is reference counted, and created with a reference count of 1. +.Xr zip_open_from_source 3 , +.Xr zip_file_add 3 , +and +.Xr zip_file_replace 3 +will decrement the reference count of the +.Vt zip_source_t +when they are done using it, so +.Xr zip_source_free 3 +only needs to be called when these functions return an error. +Use +.Xr zip_source_keep 3 +to increase the reference count, for example if you need the source after +.Xr zip_close 3 . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_buffer 3 , +.Xr zip_source_file 3 , +.Xr zip_source_filep 3 , +.Xr zip_source_free 3 , +.Xr zip_source_function 3 , +.Xr zip_source_zip 3 +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.html new file mode 100644 index 000000000..a5d1d9cc0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.html @@ -0,0 +1,123 @@ + + + + + + + ZIP_SOURCE_BEGIN_WRITE(3) + + + + + + + + +
ZIP_SOURCE_BEGIN_WRITE(3)Library Functions ManualZIP_SOURCE_BEGIN_WRITE(3)
+
+
+

+zip_source_begin_write, + zip_source_begin_write_cloning — +
prepare zip source for writing
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_begin_write(zip_source_t + *source);

+

int +
+ zip_source_begin_write_cloning(zip_source_t + *source, zip_uint64_t + offset);

+
+
+

+The functions zip_source_begin_write() and + zip_source_begin_write_cloning() prepare + source for writing. Usually this involves creating + temporary files or allocating buffers. +

zip_source_begin_write_cloning() preserves + the first offset bytes of the original file. This is + done efficiently, and writes to source won't overwrite + the original data until zip_commit_write() is + called.

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3), + zip_source_commit_write(3), + zip_source_rollback_write(3), + zip_source_seek_write(3), + zip_source_tell_write(3), + zip_source_write(3) +
+
+

+zip_source_begin_write() was added in libzip 1.0. +

zip_source_begin_write_cloning() was added + in libzip 1.4.0.

+
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.man new file mode 100644 index 000000000..a0a21c521 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.man @@ -0,0 +1,99 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_begin_write.mdoc -- prepare zip source for writing +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_BEGIN_WRITE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_begin_write\fR, +\fBzip_source_begin_write_cloning\fR +\- prepare zip source for writing +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_begin_write\fR(\fIzip_source_t\ *source\fR); +.PD +.PP +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_begin_write_cloning\fR(\fIzip_source_t\ *source\fR, \fIzip_uint64_t\ offset\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_begin_write\fR() +and +\fBzip_source_begin_write_cloning\fR() +prepare +\fIsource\fR +for writing. +Usually this involves creating temporary files or allocating buffers. +.PP +\fBzip_source_begin_write_cloning\fR() +preserves the first +\fIoffset\fR +bytes of the original file. +This is done efficiently, and writes to +\fIsource\fR +won't overwrite the original data until +\fBzip_commit_write\fR() +is called. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_commit_write(3), +zip_source_rollback_write(3), +zip_source_seek_write(3), +zip_source_tell_write(3), +zip_source_write(3) +.SH "HISTORY" +\fBzip_source_begin_write\fR() +was added in libzip 1.0. +.PP +\fBzip_source_begin_write_cloning\fR() +was added in libzip 1.4.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.mdoc new file mode 100644 index 000000000..bef77e262 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_begin_write.mdoc @@ -0,0 +1,89 @@ +.\" zip_source_begin_write.mdoc -- prepare zip source for writing +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_BEGIN_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_begin_write , +.Nm zip_source_begin_write_cloning +.Nd prepare zip source for writing +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_begin_write "zip_source_t *source" +.Ft int +.Fn zip_source_begin_write_cloning "zip_source_t *source" "zip_uint64_t offset" +.Sh DESCRIPTION +The functions +.Fn zip_source_begin_write +and +.Fn zip_source_begin_write_cloning +prepare +.Fa source +for writing. +Usually this involves creating temporary files or allocating buffers. +.Pp +.Fn zip_source_begin_write_cloning +preserves the first +.Ar offset +bytes of the original file. +This is done efficiently, and writes to +.Ar source +won't overwrite the original data until +.Fn zip_commit_write +is called. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_begin_write +was added in libzip 1.0. +.Pp +.Fn zip_source_begin_write_cloning +was added in libzip 1.4.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.html new file mode 100644 index 000000000..4e8a3a6fc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.html @@ -0,0 +1,135 @@ + + + + + + + ZIP_SOURCE_BUFFER(3) + + + + + + + + +
ZIP_SOURCE_BUFFER(3)Library Functions ManualZIP_SOURCE_BUFFER(3)
+
+
+

+zip_source_buffer, + zip_source_buffer_create — +
create zip data source from buffer
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_buffer(zip_t + *archive, const void + *data, zip_uint64_t + len, int + freep);

+

zip_source_t * +
+ zip_source_buffer_create(const + void *data, zip_uint64_t + len, int freep, + zip_error_t *error);

+
+
+

+The functions zip_source_buffer() and + zip_source_buffer_create() create a zip source from + the buffer data of size len. If + freep is non-zero, the buffer will be freed when it is + no longer needed. data must remain valid for the + lifetime of the created source. +

The source can be used to open a zip archive from.

+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error. +
+
+

+zip_source_buffer() and + zip_source_buffer_create() fail if: +
+
[]
+
len is greater than zero and + data is NULL.
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_open_from_source(3), + zip_source(3) +
+
+

+zip_source_buffer() and + zip_source_buffer_create() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.man new file mode 100644 index 000000000..5e290967f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.man @@ -0,0 +1,112 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_buffer.mdoc -- create zip data source from buffer +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_BUFFER" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_buffer\fR, +\fBzip_source_buffer_create\fR +\- create zip data source from buffer +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_buffer\fR(\fIzip_t\ *archive\fR, \fIconst\ void\ *data\fR, \fIzip_uint64_t\ len\fR, \fIint\ freep\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_buffer_create\fR(\fIconst\ void\ *data\fR, \fIzip_uint64_t\ len\fR, \fIint\ freep\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_buffer\fR() +and +\fBzip_source_buffer_create\fR() +create a zip source from the buffer +\fIdata\fR +of size +\fIlen\fR. +If +\fIfreep\fR +is non-zero, the buffer will be freed when it is no longer needed. +\fIdata\fR +must remain valid for the lifetime of the created source. +.PP +The source can be used to open a zip archive from. +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_buffer\fR() +and +\fBzip_source_buffer_create\fR() +fail if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIlen\fR +is greater than zero and +\fIdata\fR +is +\fRNULL\fR. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_open_from_source(3), +zip_source(3) +.SH "HISTORY" +\fBzip_source_buffer\fR() +and +\fBzip_source_buffer_create\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.mdoc new file mode 100644 index 000000000..a08927e40 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer.mdoc @@ -0,0 +1,102 @@ +.\" zip_source_buffer.mdoc -- create zip data source from buffer +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_BUFFER 3 +.Os +.Sh NAME +.Nm zip_source_buffer , +.Nm zip_source_buffer_create +.Nd create zip data source from buffer +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_buffer "zip_t *archive" "const void *data" "zip_uint64_t len" "int freep" +.Ft zip_source_t * +.Fn zip_source_buffer_create "const void *data" "zip_uint64_t len" "int freep" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +create a zip source from the buffer +.Ar data +of size +.Ar len . +If +.Ar freep +is non-zero, the buffer will be freed when it is no longer needed. +.Ar data +must remain valid for the lifetime of the created source. +.Pp +The source can be used to open a zip archive from. +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar len +is greater than zero and +.Ar data +is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_open_from_source 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.html new file mode 100644 index 000000000..0c3a670a7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.html @@ -0,0 +1,150 @@ + + + + + + + ZIP_SOURCE_BUFFER_FRAGMENT(3) + + + + + + + + +
ZIP_SOURCE_BUFFER_FRAGMENT(3)Library Functions ManualZIP_SOURCE_BUFFER_FRAGMENT(3)
+
+
+

+zip_source_buffer_fragment, + zip_source_buffer_fragment_create — +
create zip data source from multiple buffer
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_buffer_fragment(zip_t + *archive, + zip_buffer_fragment_t + *fragments, zip_uint64_t + nfragments, int + freep);

+

zip_source_t * +
+ zip_source_buffer_fragment_create(zip_buffer_fragment_t + *fragments, zip_uint64_t + nfragments, int + freep, zip_error_t + *error);

+
+
+

+The functions zip_source_buffer_fragment() and + zip_source_buffer_fragment_create() create a zip + source from the data in fragments. + nfragments specifies the number of fragments. If + freep is non-zero, the data will be freed when it is no + longer needed. +
+
+struct zip_stat {
+    zip_uint8_t *data;    /* pointer to the actual data */
+    zip_uint64_t length;  /* length of this fragment */
+};
+
+
+

The data fragments point to must remain + valid for the lifetime of the created source. + fragments itself can be discarded once the source is + created.

+

The source can be used to open a zip archive from.

+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error. +
+
+

+zip_source_buffer() and + zip_source_buffer_create() fail if: +
+
[]
+
nfragments is greater than zero and + fragments is NULL.
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_open_from_source(3), + zip_source(3) +
+
+

+zip_source_buffer_fragment() and + zip_source_buffer_fragment_create() were added in + libzip 1.4.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.man new file mode 100644 index 000000000..7c8ebbcc7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.man @@ -0,0 +1,125 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_buffer_fragment.mdoc -- create zip data source from multiple buffers +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_BUFFER_FRAGMENT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_buffer_fragment\fR, +\fBzip_source_buffer_fragment_create\fR +\- create zip data source from multiple buffer +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_buffer_fragment\fR(\fIzip_t\ *archive\fR, \fIzip_buffer_fragment_t\ *fragments\fR, \fIzip_uint64_t\ nfragments\fR, \fIint\ freep\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_buffer_fragment_create\fR(\fIzip_buffer_fragment_t\ *fragments\fR, \fIzip_uint64_t\ nfragments\fR, \fIint\ freep\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_buffer_fragment\fR() +and +\fBzip_source_buffer_fragment_create\fR() +create a zip source from the data in +\fIfragments\fR. +\fInfragments\fR +specifies the number of fragments. +If +\fIfreep\fR +is non-zero, the data will be freed when it is no longer needed. +.nf +.sp +.RS 0n +struct zip_stat { + zip_uint8_t *data; /* pointer to the actual data */ + zip_uint64_t length; /* length of this fragment */ +}; +.RE +.fi +.PP +The data +\fIfragments\fR +point to must remain valid for the lifetime of the created source. +\fIfragments\fR +itself can be discarded once the source is created. +.PP +The source can be used to open a zip archive from. +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_buffer\fR() +and +\fBzip_source_buffer_create\fR() +fail if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fInfragments\fR +is greater than zero and +\fIfragments\fR +is +\fRNULL\fR. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_open_from_source(3), +zip_source(3) +.SH "HISTORY" +\fBzip_source_buffer_fragment\fR() +and +\fBzip_source_buffer_fragment_create\fR() +were added in libzip 1.4.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.mdoc new file mode 100644 index 000000000..e39eba05e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_buffer_fragment.mdoc @@ -0,0 +1,112 @@ +.\" zip_source_buffer_fragment.mdoc -- create zip data source from multiple buffers +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_BUFFER_FRAGMENT 3 +.Os +.Sh NAME +.Nm zip_source_buffer_fragment , +.Nm zip_source_buffer_fragment_create +.Nd create zip data source from multiple buffer +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_buffer_fragment "zip_t *archive" "zip_buffer_fragment_t *fragments" "zip_uint64_t nfragments" "int freep" +.Ft zip_source_t * +.Fn zip_source_buffer_fragment_create "zip_buffer_fragment_t *fragments" "zip_uint64_t nfragments" "int freep" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_buffer_fragment +and +.Fn zip_source_buffer_fragment_create +create a zip source from the data in +.Ar fragments . +.Ar nfragments +specifies the number of fragments. +If +.Ar freep +is non-zero, the data will be freed when it is no longer needed. +.Bd -literal +struct zip_stat { + zip_uint8_t *data; /* pointer to the actual data */ + zip_uint64_t length; /* length of this fragment */ +}; +.Ed +.Pp +The data +.Ar fragments +point to must remain valid for the lifetime of the created source. +.Ar fragments +itself can be discarded once the source is created. +.Pp +The source can be used to open a zip archive from. +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_buffer +and +.Fn zip_source_buffer_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar nfragments +is greater than zero and +.Ar fragments +is +.Dv NULL . +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_open_from_source 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_buffer_fragment +and +.Fn zip_source_buffer_fragment_create +were added in libzip 1.4.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.html new file mode 100644 index 000000000..c3bf7bfb7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.html @@ -0,0 +1,105 @@ + + + + + + + ZIP_SOURCE_CLOSE(3) + + + + + + + + +
ZIP_SOURCE_CLOSE(3)Library Functions ManualZIP_SOURCE_CLOSE(3)
+
+
+

+zip_source_close — +
open zip_source (which was open for reading)
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_close(zip_source_t + *source);

+
+
+

+The function zip_source_close() closes + source, indicating that no more data will be read. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3), + zip_source_free(3), + zip_source_open(3) +
+
+

+zip_source_close() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.man new file mode 100644 index 000000000..283e93b61 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.man @@ -0,0 +1,72 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_close.mdoc -- close zip source (open for reading) +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_CLOSE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_close\fR +\- open zip_source (which was open for reading) +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_close\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_close\fR() +closes +\fIsource\fR, +indicating that no more data will be read. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_free(3), +zip_source_open(3) +.SH "HISTORY" +\fBzip_source_close\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.mdoc new file mode 100644 index 000000000..4220861dd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_close.mdoc @@ -0,0 +1,67 @@ +.\" zip_source_close.mdoc -- close zip source (open for reading) +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_CLOSE 3 +.Os +.Sh NAME +.Nm zip_source_close +.Nd open zip_source (which was open for reading) +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_close "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_close +closes +.Fa source , +indicating that no more data will be read. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_free 3 , +.Xr zip_source_open 3 +.Sh HISTORY +.Fn zip_source_close +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.html new file mode 100644 index 000000000..2c3ebb1b3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.html @@ -0,0 +1,109 @@ + + + + + + + ZIP_SOURCE_COMMIT_WRITE(3) + + + + + + + + +
ZIP_SOURCE_COMMIT_WRITE(3)Library Functions ManualZIP_SOURCE_COMMIT_WRITE(3)
+
+
+

+zip_source_commit_write — +
finalize changes to zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_commit_write(zip_source_t + *source);

+
+
+

+The function zip_source_commit_write() finishes writing + data to source and replaces the original with the newly + written data. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3), + zip_source_begin_write(3), + zip_source_rollback_write(3), + zip_source_seek_write(3), + zip_source_tell_write(3), + zip_source_write(3) +
+
+

+zip_source_commit_write() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.man new file mode 100644 index 000000000..2df6abb57 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.man @@ -0,0 +1,75 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_commit_write.mdoc -- finalize changes to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_COMMIT_WRITE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_commit_write\fR +\- finalize changes to zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_commit_write\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_commit_write\fR() +finishes writing data to +\fIsource\fR +and replaces the original with the newly written data. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_begin_write(3), +zip_source_rollback_write(3), +zip_source_seek_write(3), +zip_source_tell_write(3), +zip_source_write(3) +.SH "HISTORY" +\fBzip_source_commit_write\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.mdoc new file mode 100644 index 000000000..69c4f1b35 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_commit_write.mdoc @@ -0,0 +1,70 @@ +.\" zip_source_commit_write.mdoc -- finalize changes to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_COMMIT_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_commit_write +.Nd finalize changes to zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_commit_write "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_commit_write +finishes writing data to +.Fa source +and replaces the original with the newly written data. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_commit_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.html new file mode 100644 index 000000000..16b982a78 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.html @@ -0,0 +1,97 @@ + + + + + + + ZIP_SOURCE_ERROR(3) + + + + + + + + +
ZIP_SOURCE_ERROR(3)Library Functions ManualZIP_SOURCE_ERROR(3)
+
+
+

+zip_source_error — +
get zip error for data source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_error_t * +
+ zip_source_error(zip_source_t + *source);

+
+
+

+The zip_source_error() function returns the zip error + for the data source source. +
+
+

+libzip(3), + zip_error_code_system(3), + zip_error_code_zip(3) +
+
+

+zip_source_error() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.man new file mode 100644 index 000000000..62e7544b7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.man @@ -0,0 +1,65 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_error.mdoc -- get zip_error for data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_ERROR" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_error\fR +\- get zip error for data source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_error_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_error\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_source_error\fR() +function returns the zip error for the data source +\fIsource\fR. +.SH "SEE ALSO" +libzip(3), +zip_error_code_system(3), +zip_error_code_zip(3) +.SH "HISTORY" +\fBzip_source_error\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.mdoc new file mode 100644 index 000000000..af098d1bc --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_error.mdoc @@ -0,0 +1,60 @@ +.\" zip_source_error.mdoc -- get zip_error for data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_ERROR 3 +.Os +.Sh NAME +.Nm zip_source_error +.Nd get zip error for data source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_error_t * +.Fn zip_source_error "zip_source_t *source" +.Sh DESCRIPTION +The +.Fn zip_source_error +function returns the zip error for the data source +.Ar source . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_error_code_system 3 , +.Xr zip_error_code_zip 3 +.Sh HISTORY +.Fn zip_source_error +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.html new file mode 100644 index 000000000..11ec0da47 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.html @@ -0,0 +1,141 @@ + + + + + + + ZIP_SOURCE_FILE(3) + + + + + + + + +
ZIP_SOURCE_FILE(3)Library Functions ManualZIP_SOURCE_FILE(3)
+
+
+

+zip_source_file, + zip_source_file_create — +
create data source from a file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_file(zip_t + *archive, const char + *fname, zip_uint64_t + start, zip_int64_t + len);

+

zip_source_t * +
+ zip_source_file_create(const + char *fname, zip_uint64_t + start, zip_int64_t + len, zip_error_t + *error);

+
+
+

+The functions zip_source_file() and + zip_source_file_create() create a zip source from a + file. They open fname and read len + bytes from offset start from it. If + len is 0 or -1, the whole file (starting from + start) is used. +

If the file supports seek, the source can be used to open a zip + archive from.

+

The file is opened and read when the data from the source is used, + usually by zip_close() or + zip_open_from_source().

+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error. +
+
+

+zip_source_file() and + zip_source_file_create() fail if: +
+
[]
+
fname, start, or + len are invalid.
+
[]
+
Required memory could not be allocated.
+
[]
+
Opening fname failed.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_source(3) +
+
+

+zip_source_file() and + zip_source_file_create() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.man new file mode 100644 index 000000000..ab719a11a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.man @@ -0,0 +1,125 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_file.mdoc -- create data source from a file +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_FILE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_file\fR, +\fBzip_source_file_create\fR +\- create data source from a file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_file\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *fname\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_file_create\fR(\fIconst\ char\ *fname\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_file\fR() +and +\fBzip_source_file_create\fR() +create a zip source from a file. +They open +\fIfname\fR +and read +\fIlen\fR +bytes from offset +\fIstart\fR +from it. +If +\fIlen\fR +is 0 or \-1, the whole file (starting from +\fIstart\fR) +is used. +.PP +If the file supports seek, the source can be used to open a zip archive from. +.PP +The file is opened and read when the data from the source is used, usually by +\fBzip_close\fR() +or +\fBzip_open_from_source\fR(). +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_file\fR() +and +\fBzip_source_file_create\fR() +fail if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIfname\fR, +\fIstart\fR, +or +\fIlen\fR +are invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_OPEN\fR] +Opening +\fIfname\fR +failed. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_source(3) +.SH "HISTORY" +\fBzip_source_file\fR() +and +\fBzip_source_file_create\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.mdoc new file mode 100644 index 000000000..90304dd25 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_file.mdoc @@ -0,0 +1,114 @@ +.\" zip_source_file.mdoc -- create data source from a file +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FILE 3 +.Os +.Sh NAME +.Nm zip_source_file , +.Nm zip_source_file_create +.Nd create data source from a file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_file "zip_t *archive" "const char *fname" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_file_create "const char *fname" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_file +and +.Fn zip_source_file_create +create a zip source from a file. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_file +and +.Fn zip_source_file_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_file +and +.Fn zip_source_file_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.html new file mode 100644 index 000000000..423ac21fa --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.html @@ -0,0 +1,137 @@ + + + + + + + ZIP_SOURCE_FILEP(3) + + + + + + + + +
ZIP_SOURCE_FILEP(3)Library Functions ManualZIP_SOURCE_FILEP(3)
+
+
+

+zip_source_filep, + zip_source_filep_create — +
create data source from FILE *
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_filep(zip_t + *archive, FILE + *file, zip_uint64_t + start, zip_int64_t + len);

+

zip_source_t * +
+ zip_source_filep_create(FILE + *file, zip_uint64_t + start, zip_int64_t + len, zip_error_t + *error);

+
+
+

+The functions zip_source_filep() and + zip_source_filep_create() create a zip source from a + file stream. They read len bytes from offset + start from the open file stream + file. If len is 0 or -1, the whole + file (starting from start) is used. +

If the file stream supports seeking, the source can be used to + open a read-only zip archive from.

+

The file stream is closed when the source is being freed, usually + by zip_close(3).

+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error. +
+
+

+zip_source_filep() fails if: +
+
[]
+
file, start, or + len are invalid.
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_source(3) +
+
+

+zip_source_filep() and + zip_source_filep_create() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.man new file mode 100644 index 000000000..803726227 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.man @@ -0,0 +1,117 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_filep.mdoc -- create data source from a file stream +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_FILEP" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_filep\fR, +\fBzip_source_filep_create\fR +\- create data source from FILE * +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_filep\fR(\fIzip_t\ *archive\fR, \fIFILE\ *file\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_filep_create\fR(\fIFILE\ *file\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_filep\fR() +and +\fBzip_source_filep_create\fR() +create a zip source from a file stream. +They read +\fIlen\fR +bytes from offset +\fIstart\fR +from the open file stream +\fIfile\fR. +If +\fIlen\fR +is 0 or \-1, the whole file (starting from +\fIstart\fR) +is used. +.PP +If the file stream supports seeking, the source can be used to open +a read-only zip archive from. +.PP +The file stream is closed when the source is being freed, usually +by +zip_close(3). +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_filep\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIfile\fR, +\fIstart\fR, +or +\fIlen\fR +are invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_source(3) +.SH "HISTORY" +\fBzip_source_filep\fR() +and +\fBzip_source_filep_create\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.mdoc new file mode 100644 index 000000000..848ba7625 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_filep.mdoc @@ -0,0 +1,107 @@ +.\" zip_source_filep.mdoc -- create data source from a file stream +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FILEP 3 +.Os +.Sh NAME +.Nm zip_source_filep , +.Nm zip_source_filep_create +.Nd create data source from FILE * +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_filep "zip_t *archive" "FILE *file" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_filep_create "FILE *file" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_filep +and +.Fn zip_source_filep_create +create a zip source from a file stream. +They read +.Ar len +bytes from offset +.Ar start +from the open file stream +.Ar file . +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file stream supports seeking, the source can be used to open +a read-only zip archive from. +.Pp +The file stream is closed when the source is being freed, usually +by +.Xr zip_close 3 . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_filep +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar file , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_filep +and +.Fn zip_source_filep_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.html new file mode 100644 index 000000000..8c7538558 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.html @@ -0,0 +1,104 @@ + + + + + + + ZIP_SOURCE_FREE(3) + + + + + + + + +
ZIP_SOURCE_FREE(3)Library Functions ManualZIP_SOURCE_FREE(3)
+
+
+

+zip_source_free — +
free zip data source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_source_free(zip_source_t + *source);

+
+
+

+The function zip_source_free() decrements the reference + count of source and frees it if the reference count + drops to 0. If source is NULL, + it does nothing. +

NOTE: This function should not be called on a + source after it was used successfully in a + zip_open_from_source(3), + zip_file_add(3), or + zip_file_replace(3) call.

+
+
+

+libzip(3), + zip_source(3), + zip_source_keep(3) +
+
+

+zip_source_free() was added in libzip 0.6. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.man new file mode 100644 index 000000000..5f7967188 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.man @@ -0,0 +1,81 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_free.mdoc -- free zip data source +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_FREE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_free\fR +\- free zip data source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_source_free\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_free\fR() +decrements the reference count of +\fIsource\fR +and frees it if the reference count drops to 0. +If +\fIsource\fR +is +\fRNULL\fR, +it does nothing. +.PP +\fINOTE\fR: +This function should not be called on a +\fIsource\fR +after it was used successfully in a +zip_open_from_source(3), +zip_file_add(3), +or +zip_file_replace(3) +call. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_keep(3) +.SH "HISTORY" +\fBzip_source_free\fR() +was added in libzip 0.6. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.mdoc new file mode 100644 index 000000000..816f7a1e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_free.mdoc @@ -0,0 +1,76 @@ +.\" zip_source_free.mdoc -- free zip data source +.\" Copyright (C) 2004-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FREE 3 +.Os +.Sh NAME +.Nm zip_source_free +.Nd free zip data source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_source_free "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_free +decrements the reference count of +.Ar source +and frees it if the reference count drops to 0. +If +.Ar source +is +.Dv NULL , +it does nothing. +.Pp +.Em NOTE : +This function should not be called on a +.Ar source +after it was used successfully in a +.Xr zip_open_from_source 3 , +.Xr zip_file_add 3 , +or +.Xr zip_file_replace 3 +call. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_keep 3 +.Sh HISTORY +.Fn zip_source_free +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.html new file mode 100644 index 000000000..cc24448b9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.html @@ -0,0 +1,333 @@ + + + + + + + ZIP_SOURCE_FUNCTION(3) + + + + + + + + +
ZIP_SOURCE_FUNCTION(3)Library Functions ManualZIP_SOURCE_FUNCTION(3)
+
+
+

+zip_source_function, + zip_source_function_create — +
create data source from function
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_function(zip_t + *archive, + zip_source_callback fn, + void *userdata);

+

zip_source_t * +
+ zip_source_function_create(zip_source_callback + fn, void *userdata, + zip_error_t *error);

+
+
+

+The functions zip_source_function() and + zip_source_function_create() creates a zip source from + the user-provided function fn, which must be of the + following type: +

typedef zip_int64_t + (*zip_source_callback)(void + *userdata, void *data, + zip_uint64_t len, zip_source_cmd_t + cmd);

+

archive or error are + used for reporting errors and can be NULL.

+

When called by the library, the first argument is the + userdata argument supplied to the function. The next + two arguments are a buffer data of size + len when data is passed in or expected to be returned, + or else NULL and 0. The last argument, + cmd, specifies which action the function should + perform.

+

Depending on the uses, there are three useful sets of commands to + be supported by a zip_source_callback():

+
+
read source
+
Providing streamed data (for file data added to archives). Must support + ZIP_SOURCE_OPEN, + ZIP_SOURCE_READ, + ZIP_SOURCE_CLOSE, + ZIP_SOURCE_STAT, and + ZIP_SOURCE_ERROR.
+
seekable read source
+
Same as previous, but from a source allowing reading from arbitrary + offsets (also for read-only zip archive). Must additionally support + ZIP_SOURCE_SEEK, + ZIP_SOURCE_TELL, and + ZIP_SOURCE_SUPPORTS.
+
read/write source
+
Same as previous, but additionally allowing writing (also for writable zip + archives). Must additionally support + ZIP_SOURCE_BEGIN_WRITE, + ZIP_SOURCE_COMMIT_WRITE, + ZIP_SOURCE_ROLLBACK_WRITE, + ZIP_SOURCE_SEEK_WRITE, + ZIP_SOURCE_TELL_WRITE, and + ZIP_SOURCE_REMOVE.
+
+
+

ZIP_SOURCE_BEGIN_WRITE

+Prepare the source for writing. Use this to create any temporary file(s). +
+
+

ZIP_SOURCE_BEGIN_WRITE_CLONING

+Prepare the source for writing, keeping the first len + bytes of the original file. Only implement this command if it is more + efficient than copying the data, and if it does not destructively overwrite + the original file (you still have to be able to execute + ZIP_SOURCE_ROLLBACK_WRITE). +

The next write should happen at byte + offset.

+
+
+

ZIP_SOURCE_CLOSE

+Reading is done. +
+
+

ZIP_SOURCE_COMMIT_WRITE

+Finish writing to the source. Replace the original data with the newly written + data. Clean up temporary files or internal buffers. Subsequently opening and + reading from the source should return the newly written data. +
+
+

ZIP_SOURCE_ERROR

+Get error information. data points to an array of two + ints, which should be filled with the libzip error code and the corresponding + system error code for the error that occurred. See + zip_errors(3) for details on the + error codes. If the source stores error information in a zip_error_t, use + zip_error_to_data(3) and + return its return value. Otherwise, return 2 * sizeof(int). +
+
+

ZIP_SOURCE_FREE

+Clean up and free all resources, including userdata. The + callback function will not be called again. +
+
+

ZIP_SOURCE_OPEN

+Prepare for reading. +
+
+

ZIP_SOURCE_READ

+Read data into the buffer data of size + len. Return the number of bytes placed into + data on success, and zero for end-of-file. +
+
+

ZIP_SOURCE_REMOVE

+Remove the underlying file. This is called if a zip archive is empty when + closed. +
+
+

ZIP_SOURCE_ROLLBACK_WRITE

+Abort writing to the source. Discard written data. Clean up temporary files or + internal buffers. Subsequently opening and reading from the source should + return the original data. +
+
+

ZIP_SOURCE_SEEK

+Specify position to read next byte from, like + fseek(3). Use + ZIP_SOURCE_GET_ARGS(3) to + decode the arguments into the following struct: +
+
+struct zip_source_args_seek {
+    zip_int64_t offset;
+    int whence;
+};
+
+
+

If the size of the source's data is known, use + zip_source_seek_compute_offset(3) + to validate the arguments and compute the new offset.

+
+
+

ZIP_SOURCE_SEEK_WRITE

+Specify position to write next byte to, like + fseek(3). See + ZIP_SOURCE_SEEK for details. +
+
+

ZIP_SOURCE_STAT

+Get meta information for the input data. data points to an + allocated struct zip_stat, which should be initialized + using zip_stat_init(3) and then + filled in. +

For uncompressed, unencrypted data, all information is optional. + However, fill in as much information as is readily available.

+

If the data is compressed, + ZIP_STAT_COMP_METHOD, + ZIP_STAT_SIZE, and + ZIP_STAT_CRC must be filled in.

+

If the data is encrypted, + ZIP_STAT_ENCRYPTION_METHOD, + ZIP_STAT_COMP_METHOD, + ZIP_STAT_SIZE, and + ZIP_STAT_CRC must be filled in.

+

Information only available after the source has been read (e.g., + size) can be omitted in an earlier call. NOTE: + zip_source_function() may be called with this + argument even after being called with + ZIP_SOURCE_CLOSE.

+

Return sizeof(struct zip_stat) on success.

+
+
+

ZIP_SOURCE_SUPPORTS

+Return bitmap specifying which commands are supported. Use + zip_source_make_command_bitmap(3). + If this command is not implemented, the source is assumed to be a read source + without seek support. +
+
+

ZIP_SOURCE_TELL

+Return the current read offset in the source, like + ftell(3). +
+
+

ZIP_SOURCE_TELL_WRITE

+Return the current write offset in the source, like + ftell(3). +
+
+

ZIP_SOURCE_WRITE

+Write data to the source. Return number of bytes written. +
+
+

+Commands should return -1 on error. ZIP_SOURCE_ERROR + will be called to retrieve the error code. On success, commands return 0, + unless specified otherwise in the description above. +
+
+

+The library will always issue ZIP_SOURCE_OPEN before + issuing ZIP_SOURCE_READ, + ZIP_SOURCE_SEEK, or + ZIP_SOURCE_TELL. When it no longer wishes to read from + this source, it will issue ZIP_SOURCE_CLOSE. If the + library wishes to read the data again, it will issue + ZIP_SOURCE_OPEN a second time. If the function is + unable to provide the data again, it should return -1. +

ZIP_SOURCE_BEGIN_WRITE or + ZIP_SOURCE_BEGIN_WRITE_CLONING will be called before + ZIP_SOURCE_WRITE, + ZIP_SOURCE_SEEK_WRITE, or + ZIP_SOURCE_TELL_WRITE. When writing is complete, + either ZIP_SOURCE_COMMIT_WRITE or + ZIP_SOURCE_ROLLBACK_WRITE will be called.

+

ZIP_SOURCE_STAT can be issued at any + time.

+

ZIP_SOURCE_ERROR will only be issued in + response to the function returning -1.

+

ZIP_SOURCE_FREE will be the last command + issued; if ZIP_SOURCE_OPEN was called and succeeded, + ZIP_SOURCE_CLOSE will be called before + ZIP_SOURCE_FREE, and similarly for + ZIP_SOURCE_BEGIN_WRITE or + ZIP_SOURCE_BEGIN_WRITE_CLONING and + ZIP_SOURCE_COMMIT_WRITE or + ZIP_SOURCE_ROLLBACK_WRITE.

+
+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error (unless it is NULL). +
+
+

+zip_source_function() fails if: +
+
[]
+
Required memory could not be allocated.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_source(3), + zip_stat_init(3) +
+
+

+zip_source_function() and + zip_source_function_create() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.man new file mode 100644 index 000000000..073f56c62 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.man @@ -0,0 +1,346 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_function.mdoc -- create data source from function +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_FUNCTION" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_function\fR, +\fBzip_source_function_create\fR +\- create data source from function +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_function\fR(\fIzip_t\ *archive\fR, \fIzip_source_callback\ fn\fR, \fIvoid\ *userdata\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_function_create\fR(\fIzip_source_callback\ fn\fR, \fIvoid\ *userdata\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_function\fR() +and +\fBzip_source_function_create\fR() +creates a zip source from the user-provided function +\fIfn\fR, +which must be of the following type: +.PP +\fItypedef zip_int64_t\fR +\fB\fR(*\fPzip_source_callback\fR)\fP\fR(\fIvoid\ *userdata\fR, \fIvoid\ *data\fR, \fIzip_uint64_t\ len\fR, \fIzip_source_cmd_t\ cmd\fR) +.PP +\fIarchive\fR +or +\fIerror\fR +are used for reporting errors and can be +\fRNULL\fR. +.PP +When called by the library, the first argument is the +\fIuserdata\fR +argument supplied to the function. +The next two arguments are a buffer +\fIdata\fR +of size +\fIlen\fR +when data is passed in or expected to be returned, or else +\fRNULL\fR +and 0. +The last argument, +\fIcmd\fR, +specifies which action the function should perform. +.PP +Depending on the uses, there are three useful sets of commands to be supported by a +\fBzip_source_callback\fR(): +.TP 24n +read source +Providing streamed data (for file data added to archives). +Must support +\fRZIP_SOURCE_OPEN\fR, +\fRZIP_SOURCE_READ\fR, +\fRZIP_SOURCE_CLOSE\fR, +\fRZIP_SOURCE_STAT\fR, +and +\fRZIP_SOURCE_ERROR\fR. +.TP 24n +seekable read source +Same as previous, but from a source allowing reading from arbitrary +offsets (also for read-only zip archive). +Must additionally support +\fRZIP_SOURCE_SEEK\fR, +\fRZIP_SOURCE_TELL\fR, +and +\fRZIP_SOURCE_SUPPORTS\fR. +.TP 24n +read/write source +Same as previous, but additionally allowing writing (also for writable +zip archives). +Must additionally support +\fRZIP_SOURCE_BEGIN_WRITE\fR, +\fRZIP_SOURCE_COMMIT_WRITE\fR, +\fRZIP_SOURCE_ROLLBACK_WRITE\fR, +\fRZIP_SOURCE_SEEK_WRITE\fR, +\fRZIP_SOURCE_TELL_WRITE\fR, +and +\fRZIP_SOURCE_REMOVE\fR. +.SS "\fRZIP_SOURCE_BEGIN_WRITE\fR" +Prepare the source for writing. +Use this to create any temporary file(s). +.SS "\fRZIP_SOURCE_BEGIN_WRITE_CLONING\fR" +Prepare the source for writing, keeping the first +\fIlen\fR +bytes of the original file. +Only implement this command if it is more efficient than copying the +data, and if it does not destructively overwrite the original file +(you still have to be able to execute +\fRZIP_SOURCE_ROLLBACK_WRITE\fR). +.PP +The next write should happen at byte +\fIoffset\fR. +.SS "\fRZIP_SOURCE_CLOSE\fR" +Reading is done. +.SS "\fRZIP_SOURCE_COMMIT_WRITE\fR" +Finish writing to the source. +Replace the original data with the newly written data. +Clean up temporary files or internal buffers. +Subsequently opening and reading from the source should return the +newly written data. +.SS "\fRZIP_SOURCE_ERROR\fR" +Get error information. +\fIdata\fR +points to an array of two ints, which should be filled with the libzip +error code and the corresponding system error code for the error that +occurred. +See +zip_errors(3) +for details on the error codes. +If the source stores error information in a zip_error_t, use +zip_error_to_data(3) +and return its return value. +Otherwise, return 2 * sizeof(int). +.SS "\fRZIP_SOURCE_FREE\fR" +Clean up and free all resources, including +\fIuserdata\fR. +The callback function will not be called again. +.SS "\fRZIP_SOURCE_OPEN\fR" +Prepare for reading. +.SS "\fRZIP_SOURCE_READ\fR" +Read data into the buffer +\fIdata\fR +of size +\fIlen\fR. +Return the number of bytes placed into +\fIdata\fR +on success, and zero for end-of-file. +.SS "\fRZIP_SOURCE_REMOVE\fR" +Remove the underlying file. +This is called if a zip archive is empty when closed. +.SS "\fRZIP_SOURCE_ROLLBACK_WRITE\fR" +Abort writing to the source. +Discard written data. +Clean up temporary files or internal buffers. +Subsequently opening and reading from the source should return the +original data. +.SS "\fRZIP_SOURCE_SEEK\fR" +Specify position to read next byte from, like +fseek(3). +Use +ZIP_SOURCE_GET_ARGS(3) +to decode the arguments into the following struct: +.nf +.sp +.RS 0n +struct zip_source_args_seek { + zip_int64_t offset; + int whence; +}; +.RE +.fi +.PP +If the size of the source's data is known, use +zip_source_seek_compute_offset(3) +to validate the arguments and compute the new offset. +.SS "\fRZIP_SOURCE_SEEK_WRITE\fR" +Specify position to write next byte to, like +fseek(3). +See +\fRZIP_SOURCE_SEEK\fR +for details. +.SS "\fRZIP_SOURCE_STAT\fR" +Get meta information for the input data. +\fIdata\fR +points to an allocated +\fIstruct zip_stat\fR, +which should be initialized using +zip_stat_init(3) +and then filled in. +.PP +For uncompressed, unencrypted data, all information is optional. +However, fill in as much information as is readily available. +.PP +If the data is compressed, +\fRZIP_STAT_COMP_METHOD\fR, +\fRZIP_STAT_SIZE\fR, +and +\fRZIP_STAT_CRC\fR +must be filled in. +.PP +If the data is encrypted, +\fRZIP_STAT_ENCRYPTION_METHOD\fR, +\fRZIP_STAT_COMP_METHOD\fR, +\fRZIP_STAT_SIZE\fR, +and +\fRZIP_STAT_CRC\fR +must be filled in. +.PP +Information only available after the source has been read (e.g., size) +can be omitted in an earlier call. +\fINOTE\fR: +\fBzip_source_function\fR() +may be called with this argument even after being called with +\fRZIP_SOURCE_CLOSE\fR. +.PP +Return sizeof(struct zip_stat) on success. +.SS "\fRZIP_SOURCE_SUPPORTS\fR" +Return bitmap specifying which commands are supported. +Use +zip_source_make_command_bitmap(3). +If this command is not implemented, the source is assumed to be a +read source without seek support. +.SS "\fRZIP_SOURCE_TELL\fR" +Return the current read offset in the source, like +ftell(3). +.SS "\fRZIP_SOURCE_TELL_WRITE\fR" +Return the current write offset in the source, like +ftell(3). +.SS "\fRZIP_SOURCE_WRITE\fR" +Write data to the source. +Return number of bytes written. +.SS "Return Values" +Commands should return \-1 on error. +\fRZIP_SOURCE_ERROR\fR +will be called to retrieve the error code. +On success, commands return 0, unless specified otherwise in the +description above. +.SS "Calling Conventions" +The library will always issue +\fRZIP_SOURCE_OPEN\fR +before issuing +\fRZIP_SOURCE_READ\fR, +\fRZIP_SOURCE_SEEK\fR, +or +\fRZIP_SOURCE_TELL\fR. +When it no longer wishes to read from this source, it will issue +\fRZIP_SOURCE_CLOSE\fR. +If the library wishes to read the data again, it will issue +\fRZIP_SOURCE_OPEN\fR +a second time. +If the function is unable to provide the data again, it should +return \-1. +.PP +\fRZIP_SOURCE_BEGIN_WRITE\fR +or +\fRZIP_SOURCE_BEGIN_WRITE_CLONING\fR +will be called before +\fRZIP_SOURCE_WRITE\fR, +\fRZIP_SOURCE_SEEK_WRITE\fR, +or +\fRZIP_SOURCE_TELL_WRITE\fR. +When writing is complete, either +\fRZIP_SOURCE_COMMIT_WRITE\fR +or +\fRZIP_SOURCE_ROLLBACK_WRITE\fR +will be called. +.PP +\fRZIP_SOURCE_STAT\fR +can be issued at any time. +.PP +\fRZIP_SOURCE_ERROR\fR +will only be issued in response to the function +returning \-1. +.PP +\fRZIP_SOURCE_FREE\fR +will be the last command issued; +if +\fRZIP_SOURCE_OPEN\fR +was called and succeeded, +\fRZIP_SOURCE_CLOSE\fR +will be called before +\fRZIP_SOURCE_FREE\fR, +and similarly for +\fRZIP_SOURCE_BEGIN_WRITE\fR +or +\fRZIP_SOURCE_BEGIN_WRITE_CLONING\fR +and +\fRZIP_SOURCE_COMMIT_WRITE\fR +or +\fRZIP_SOURCE_ROLLBACK_WRITE\fR. +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error (unless +it is +\fRNULL\fR). +.SH "ERRORS" +\fBzip_source_function\fR() +fails if: +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_source(3), +zip_stat_init(3) +.SH "HISTORY" +\fBzip_source_function\fR() +and +\fBzip_source_function_create\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.mdoc new file mode 100644 index 000000000..a433b3782 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_function.mdoc @@ -0,0 +1,335 @@ +.\" zip_source_function.mdoc -- create data source from function +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_FUNCTION 3 +.Os +.Sh NAME +.Nm zip_source_function , +.Nm zip_source_function_create +.Nd create data source from function +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_function "zip_t *archive" "zip_source_callback fn" "void *userdata" +.Ft zip_source_t * +.Fn zip_source_function_create "zip_source_callback fn" "void *userdata" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_function +and +.Fn zip_source_function_create +creates a zip source from the user-provided function +.Ar fn , +which must be of the following type: +.Pp +.Ft typedef zip_int64_t +.Fo \fR(*\fPzip_source_callback\fR)\fP +.Fa "void *userdata" "void *data" "zip_uint64_t len" "zip_source_cmd_t cmd" +.Fc +.Pp +.Ar archive +or +.Ar error +are used for reporting errors and can be +.Dv NULL . +.Pp +When called by the library, the first argument is the +.Ar userdata +argument supplied to the function. +The next two arguments are a buffer +.Ar data +of size +.Ar len +when data is passed in or expected to be returned, or else +.Dv NULL +and 0. +The last argument, +.Ar cmd , +specifies which action the function should perform. +.Pp +Depending on the uses, there are three useful sets of commands to be supported by a +.Fn zip_source_callback : +.Bl -tag -width seekable-read-sourceXX +.It read source +Providing streamed data (for file data added to archives). +Must support +.Dv ZIP_SOURCE_OPEN , +.Dv ZIP_SOURCE_READ , +.Dv ZIP_SOURCE_CLOSE , +.Dv ZIP_SOURCE_STAT , +and +.Dv ZIP_SOURCE_ERROR . +.It seekable read source +Same as previous, but from a source allowing reading from arbitrary +offsets (also for read-only zip archive). +Must additionally support +.Dv ZIP_SOURCE_SEEK , +.Dv ZIP_SOURCE_TELL , +and +.Dv ZIP_SOURCE_SUPPORTS . +.It read/write source +Same as previous, but additionally allowing writing (also for writable +zip archives). +Must additionally support +.Dv ZIP_SOURCE_BEGIN_WRITE , +.Dv ZIP_SOURCE_COMMIT_WRITE , +.Dv ZIP_SOURCE_ROLLBACK_WRITE , +.Dv ZIP_SOURCE_SEEK_WRITE , +.Dv ZIP_SOURCE_TELL_WRITE , +and +.Dv ZIP_SOURCE_REMOVE . +.El +.Ss Dv ZIP_SOURCE_BEGIN_WRITE +Prepare the source for writing. +Use this to create any temporary file(s). +.Ss Dv ZIP_SOURCE_BEGIN_WRITE_CLONING +Prepare the source for writing, keeping the first +.Ar len +bytes of the original file. +Only implement this command if it is more efficient than copying the +data, and if it does not destructively overwrite the original file +(you still have to be able to execute +.Dv ZIP_SOURCE_ROLLBACK_WRITE ) . +.Pp +The next write should happen at byte +.Ar offset . +.Ss Dv ZIP_SOURCE_CLOSE +Reading is done. +.Ss Dv ZIP_SOURCE_COMMIT_WRITE +Finish writing to the source. +Replace the original data with the newly written data. +Clean up temporary files or internal buffers. +Subsequently opening and reading from the source should return the +newly written data. +.Ss Dv ZIP_SOURCE_ERROR +Get error information. +.Ar data +points to an array of two ints, which should be filled with the libzip +error code and the corresponding system error code for the error that +occurred. +See +.Xr zip_errors 3 +for details on the error codes. +If the source stores error information in a zip_error_t, use +.Xr zip_error_to_data 3 +and return its return value. +Otherwise, return 2 * sizeof(int). +.Ss Dv ZIP_SOURCE_FREE +Clean up and free all resources, including +.Ar userdata . +The callback function will not be called again. +.Ss Dv ZIP_SOURCE_OPEN +Prepare for reading. +.Ss Dv ZIP_SOURCE_READ +Read data into the buffer +.Ar data +of size +.Ar len . +Return the number of bytes placed into +.Ar data +on success, and zero for end-of-file. +.Ss Dv ZIP_SOURCE_REMOVE +Remove the underlying file. +This is called if a zip archive is empty when closed. +.Ss Dv ZIP_SOURCE_ROLLBACK_WRITE +Abort writing to the source. +Discard written data. +Clean up temporary files or internal buffers. +Subsequently opening and reading from the source should return the +original data. +.Ss Dv ZIP_SOURCE_SEEK +Specify position to read next byte from, like +.Xr fseek 3 . +Use +.Xr ZIP_SOURCE_GET_ARGS 3 +to decode the arguments into the following struct: +.Bd -literal +struct zip_source_args_seek { + zip_int64_t offset; + int whence; +}; +.Ed +.Pp +If the size of the source's data is known, use +.Xr zip_source_seek_compute_offset 3 +to validate the arguments and compute the new offset. +.Ss Dv ZIP_SOURCE_SEEK_WRITE +Specify position to write next byte to, like +.Xr fseek 3 . +See +.Dv ZIP_SOURCE_SEEK +for details. +.Ss Dv ZIP_SOURCE_STAT +Get meta information for the input data. +.Ar data +points to an allocated +.Vt struct zip_stat , +which should be initialized using +.Xr zip_stat_init 3 +and then filled in. +.Pp +For uncompressed, unencrypted data, all information is optional. +However, fill in as much information as is readily available. +.Pp +If the data is compressed, +.Dv ZIP_STAT_COMP_METHOD , +.Dv ZIP_STAT_SIZE , +and +.Dv ZIP_STAT_CRC +must be filled in. +.Pp +If the data is encrypted, +.Dv ZIP_STAT_ENCRYPTION_METHOD , +.Dv ZIP_STAT_COMP_METHOD , +.Dv ZIP_STAT_SIZE , +and +.Dv ZIP_STAT_CRC +must be filled in. +.Pp +Information only available after the source has been read (e.g., size) +can be omitted in an earlier call. +.Em NOTE : +.Fn zip_source_function +may be called with this argument even after being called with +.Dv ZIP_SOURCE_CLOSE . +.Pp +Return sizeof(struct zip_stat) on success. +.Ss Dv ZIP_SOURCE_SUPPORTS +Return bitmap specifying which commands are supported. +Use +.Xr zip_source_make_command_bitmap 3 . +If this command is not implemented, the source is assumed to be a +read source without seek support. +.Ss Dv ZIP_SOURCE_TELL +Return the current read offset in the source, like +.Xr ftell 3 . +.Ss Dv ZIP_SOURCE_TELL_WRITE +Return the current write offset in the source, like +.Xr ftell 3 . +.Ss Dv ZIP_SOURCE_WRITE +Write data to the source. +Return number of bytes written. +.Ss Return Values +Commands should return \-1 on error. +.Dv ZIP_SOURCE_ERROR +will be called to retrieve the error code. +On success, commands return 0, unless specified otherwise in the +description above. +.Ss Calling Conventions +The library will always issue +.Dv ZIP_SOURCE_OPEN +before issuing +.Dv ZIP_SOURCE_READ , +.Dv ZIP_SOURCE_SEEK , +or +.Dv ZIP_SOURCE_TELL . +When it no longer wishes to read from this source, it will issue +.Dv ZIP_SOURCE_CLOSE . +If the library wishes to read the data again, it will issue +.Dv ZIP_SOURCE_OPEN +a second time. +If the function is unable to provide the data again, it should +return \-1. +.Pp +.Dv ZIP_SOURCE_BEGIN_WRITE +or +.Dv ZIP_SOURCE_BEGIN_WRITE_CLONING +will be called before +.Dv ZIP_SOURCE_WRITE , +.Dv ZIP_SOURCE_SEEK_WRITE , +or +.Dv ZIP_SOURCE_TELL_WRITE . +When writing is complete, either +.Dv ZIP_SOURCE_COMMIT_WRITE +or +.Dv ZIP_SOURCE_ROLLBACK_WRITE +will be called. +.Pp +.Dv ZIP_SOURCE_STAT +can be issued at any time. +.Pp +.Dv ZIP_SOURCE_ERROR +will only be issued in response to the function +returning \-1. +.Pp +.Dv ZIP_SOURCE_FREE +will be the last command issued; +if +.Dv ZIP_SOURCE_OPEN +was called and succeeded, +.Dv ZIP_SOURCE_CLOSE +will be called before +.Dv ZIP_SOURCE_FREE , +and similarly for +.Dv ZIP_SOURCE_BEGIN_WRITE +or +.Dv ZIP_SOURCE_BEGIN_WRITE_CLONING +and +.Dv ZIP_SOURCE_COMMIT_WRITE +or +.Dv ZIP_SOURCE_ROLLBACK_WRITE . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error (unless +it is +.Dv NULL ) . +.Sh ERRORS +.Fn zip_source_function +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_stat_init 3 +.Sh HISTORY +.Fn zip_source_function +and +.Fn zip_source_function_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.html new file mode 100644 index 000000000..54e360241 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.html @@ -0,0 +1,103 @@ + + + + + + + ZIP_SOURCE_IS_DELETED(3) + + + + + + + + +
ZIP_SOURCE_IS_DELETED(3)Library Functions ManualZIP_SOURCE_IS_DELETED(3)
+
+
+

+zip_source_is_deleted — +
check if zip_source is deleted
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_is_deleted(zip_source_t + *source);

+
+
+

+The function zip_source_is_deleted() returns whether the + zip_source was deleted. This can for example happen when all entries are + removed from a zip archive. +
+
+

+zip_source_is_deleted() returns 1 if the zip_source is + deleted and 0 otherwise. +
+
+

+libzip(3), + zip_source(3) +
+
+

+zip_source_is_deleted() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.man new file mode 100644 index 000000000..89dab743b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.man @@ -0,0 +1,67 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_is_deleted.mdoc -- check if zip source is deleted +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_IS_DELETED" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_is_deleted\fR +\- check if zip_source is deleted +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_is_deleted\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_is_deleted\fR() +returns whether the zip_source was deleted. +This can for example happen when all entries are removed from a zip archive. +.SH "RETURN VALUES" +\fBzip_source_is_deleted\fR() +returns 1 if the zip_source is deleted and 0 otherwise. +.SH "SEE ALSO" +libzip(3), +zip_source(3) +.SH "HISTORY" +\fBzip_source_is_deleted\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.mdoc new file mode 100644 index 000000000..9903058f7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_is_deleted.mdoc @@ -0,0 +1,62 @@ +.\" zip_source_is_deleted.mdoc -- check if zip source is deleted +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_IS_DELETED 3 +.Os +.Sh NAME +.Nm zip_source_is_deleted +.Nd check if zip_source is deleted +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_is_deleted "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_is_deleted +returns whether the zip_source was deleted. +This can for example happen when all entries are removed from a zip archive. +.Sh RETURN VALUES +.Fn zip_source_is_deleted +returns 1 if the zip_source is deleted and 0 otherwise. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_is_deleted +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.html new file mode 100644 index 000000000..392b82a5f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.html @@ -0,0 +1,97 @@ + + + + + + + ZIP_SOURCE_KEEP(3) + + + + + + + + +
ZIP_SOURCE_KEEP(3)Library Functions ManualZIP_SOURCE_KEEP(3)
+
+
+

+zip_source_keep — +
increment reference count of zip data source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_source_keep(zip_source_t + *source);

+
+
+

+The function zip_source_keep() increments the reference + count of source. +
+
+

+libzip(3), + zip_source(3), + zip_source_free(3) +
+
+

+zip_source_keep() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.man new file mode 100644 index 000000000..488673cbe --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.man @@ -0,0 +1,65 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_keep.mdoc -- increment reference count of zip data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_KEEP" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_keep\fR +\- increment reference count of zip data source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_source_keep\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_keep\fR() +increments the reference count of +\fIsource\fR. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_free(3) +.SH "HISTORY" +\fBzip_source_keep\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.mdoc new file mode 100644 index 000000000..122c4f84a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_keep.mdoc @@ -0,0 +1,60 @@ +.\" zip_source_keep.mdoc -- increment reference count of zip data source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_KEEP 3 +.Os +.Sh NAME +.Nm zip_source_keep +.Nd increment reference count of zip data source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_source_keep "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_keep +increments the reference count of +.Ar source . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_free 3 +.Sh HISTORY +.Fn zip_source_keep +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.html new file mode 100644 index 000000000..a836bad61 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.html @@ -0,0 +1,99 @@ + + + + + + + ZIP_SOURCE_MAKE_COMMAND_BITMAP(3) + + + + + + + + +
ZIP_SOURCE_MAKE_COMMAND_BITMAP(3)Library Functions ManualZIP_SOURCE_MAKE_COMMAND_BITMAP(3)
+
+
+

+zip_source_make_command_bitmap — +
create bitmap of supported source operations
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_source_make_command_bitmap(zip_source_cmd_t + command, ...);

+
+
+

+The zip_source_make_command_bitmap() function returns a + bitmap of source commands suitable as return value for + ZIP_SOURCE_SUPPORTS. It includes all the commands from + the argument list, which must be terminated by -1. +
+
+

+libzip(3), + zip_source_function(3) +
+
+

+zip_source_make_command_bitmap() was added in libzip + 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.man new file mode 100644 index 000000000..3dc3ed5d0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.man @@ -0,0 +1,67 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_make_command_bitmap -- create bitmap of supported source operations +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_MAKE_COMMAND_BITMAP" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_make_command_bitmap\fR +\- create bitmap of supported source operations +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_source_make_command_bitmap\fR(\fIzip_source_cmd_t\ command\fR, \fI...\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_source_make_command_bitmap\fR() +function returns a bitmap of source commands suitable as return value +for +\fRZIP_SOURCE_SUPPORTS\fR. +It includes all the commands from the argument list, which must be +terminated by \-1. +.SH "SEE ALSO" +libzip(3), +zip_source_function(3) +.SH "HISTORY" +\fBzip_source_make_command_bitmap\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.mdoc new file mode 100644 index 000000000..28d296f2f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_make_command_bitmap.mdoc @@ -0,0 +1,62 @@ +.\" zip_source_make_command_bitmap -- create bitmap of supported source operations +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_MAKE_COMMAND_BITMAP 3 +.Os +.Sh NAME +.Nm zip_source_make_command_bitmap +.Nd create bitmap of supported source operations +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_make_command_bitmap "zip_source_cmd_t command" "..." +.Sh DESCRIPTION +The +.Fn zip_source_make_command_bitmap +function returns a bitmap of source commands suitable as return value +for +.Dv ZIP_SOURCE_SUPPORTS . +It includes all the commands from the argument list, which must be +terminated by \-1. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source_function 3 +.Sh HISTORY +.Fn zip_source_make_command_bitmap +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.html new file mode 100644 index 000000000..01fecc6ef --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.html @@ -0,0 +1,108 @@ + + + + + + + ZIP_SOURCE_OPEN(3) + + + + + + + + +
ZIP_SOURCE_OPEN(3)Library Functions ManualZIP_SOURCE_OPEN(3)
+
+
+

+zip_source_open — +
open zip_source for reading
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_open(zip_source_t + *source);

+
+
+

+The function zip_source_open() opens + source for reading. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3), + zip_source_begin_write(3), + zip_source_close(3), + zip_source_read(3), + zip_source_seek(3), + zip_source_tell(3) +
+
+

+zip_source_open() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.man new file mode 100644 index 000000000..dc337baf6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.man @@ -0,0 +1,75 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_open.mdoc -- open zip source for reading +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_OPEN" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_open\fR +\- open zip_source for reading +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_open\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_open\fR() +opens +\fIsource\fR +for reading. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_begin_write(3), +zip_source_close(3), +zip_source_read(3), +zip_source_seek(3), +zip_source_tell(3) +.SH "HISTORY" +\fBzip_source_open\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.mdoc new file mode 100644 index 000000000..00371f64f --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_open.mdoc @@ -0,0 +1,70 @@ +.\" zip_source_open.mdoc -- open zip source for reading +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_OPEN 3 +.Os +.Sh NAME +.Nm zip_source_open +.Nd open zip_source for reading +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_open "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_open +opens +.Fa source +for reading. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_close 3 , +.Xr zip_source_read 3 , +.Xr zip_source_seek 3 , +.Xr zip_source_tell 3 +.Sh HISTORY +.Fn zip_source_open +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.html new file mode 100644 index 000000000..9a898ba01 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.html @@ -0,0 +1,112 @@ + + + + + + + ZIP_SOURCE_READ(3) + + + + + + + + +
ZIP_SOURCE_READ(3)Library Functions ManualZIP_SOURCE_READ(3)
+
+
+

+zip_source_read — +
read data from zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_source_read(zip_source_t + *source, void + *data, zip_uint64_t + len);

+
+
+

+The function zip_source_read() reads up to + len bytes of data from source at + the current read offset into the buffer data. +

The zip source source has to be opened for + reading by calling + zip_source_open(3) first.

+
+
+

+Upon successful completion the number of bytes read is returned. Upon reading + end-of-file, zero is returned. Otherwise, -1 is returned and the error + information in source is set to indicate the error. +
+
+

+libzip(3), + zip_source(3), + zip_source_seek(3), + zip_source_tell(3), + zip_source_write(3) +
+
+

+zip_source_read() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.man new file mode 100644 index 000000000..78ea1bf33 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.man @@ -0,0 +1,83 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_read.mdoc -- read data from zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_READ" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_read\fR +\- read data from zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_source_read\fR(\fIzip_source_t\ *source\fR, \fIvoid\ *data\fR, \fIzip_uint64_t\ len\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_read\fR() +reads up to +\fIlen\fR +bytes of data from +\fIsource\fR +at the current read offset into the buffer +\fIdata\fR. +.PP +The zip source +\fIsource\fR +has to be opened for reading by calling +zip_source_open(3) +first. +.SH "RETURN VALUES" +Upon successful completion the number of bytes read is returned. +Upon reading end-of-file, zero is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_seek(3), +zip_source_tell(3), +zip_source_write(3) +.SH "HISTORY" +\fBzip_source_read\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.mdoc new file mode 100644 index 000000000..1e7bc02d0 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_read.mdoc @@ -0,0 +1,78 @@ +.\" zip_source_read.mdoc -- read data from zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_READ 3 +.Os +.Sh NAME +.Nm zip_source_read +.Nd read data from zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_read "zip_source_t *source" "void *data" "zip_uint64_t len" +.Sh DESCRIPTION +The function +.Fn zip_source_read +reads up to +.Ar len +bytes of data from +.Ar source +at the current read offset into the buffer +.Ar data . +.Pp +The zip source +.Ar source +has to be opened for reading by calling +.Xr zip_source_open 3 +first. +.Sh RETURN VALUES +Upon successful completion the number of bytes read is returned. +Upon reading end-of-file, zero is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_seek 3 , +.Xr zip_source_tell 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_read +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.html new file mode 100644 index 000000000..b655ba0d5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.html @@ -0,0 +1,110 @@ + + + + + + + ZIP_SOURCE_ROLLBACK_WRITE(3) + + + + + + + + +
ZIP_SOURCE_ROLLBACK_WRITE(3)Library Functions ManualZIP_SOURCE_ROLLBACK_WRITE(3)
+
+
+

+zip_source_rollback_write — +
undo changes to zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_source_rollback_write(zip_source_t + *source);

+
+
+

+The function zip_source_rollback_write() reverts changes + written to source, restoring the data before + zip_source_begin_write(3) + was called. Usually this removes temporary files or frees buffers. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3), + zip_source_begin_write(3), + zip_source_commit_write(3), + zip_source_seek_write(3), + zip_source_tell_write(3), + zip_source_write(3) +
+
+

+zip_source_rollback_write() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.man new file mode 100644 index 000000000..1665dbe96 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.man @@ -0,0 +1,78 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_rollback_write.mdoc -- undo changes to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_ROLLBACK_WRITE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_rollback_write\fR +\- undo changes to zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_source_rollback_write\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_rollback_write\fR() +reverts changes written to +\fIsource\fR, +restoring the data before +zip_source_begin_write(3) +was called. +Usually this removes temporary files or frees buffers. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_begin_write(3), +zip_source_commit_write(3), +zip_source_seek_write(3), +zip_source_tell_write(3), +zip_source_write(3) +.SH "HISTORY" +\fBzip_source_rollback_write\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.mdoc new file mode 100644 index 000000000..50a2a603b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_rollback_write.mdoc @@ -0,0 +1,73 @@ +.\" zip_source_rollback_write.mdoc -- undo changes to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_ROLLBACK_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_rollback_write +.Nd undo changes to zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_source_rollback_write "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_rollback_write +reverts changes written to +.Fa source , +restoring the data before +.Xr zip_source_begin_write 3 +was called. +Usually this removes temporary files or frees buffers. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_rollback_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.html new file mode 100644 index 000000000..4063eb8b6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.html @@ -0,0 +1,120 @@ + + + + + + + ZIP_SOURCE_SEEK(3) + + + + + + + + +
ZIP_SOURCE_SEEK(3)Library Functions ManualZIP_SOURCE_SEEK(3)
+
+
+

+zip_source_seek — +
set read offset in zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_seek(zip_source_t + *source, zip_int64_t + offset, int + whence);

+
+
+

+The function zip_source_seek() sets the current read + offset for source. Just like in + fseek(3), depending on the + whence argument, the offset is + counted relative from: +
+
+
+
start of file
+
+
current read offset in file
+
+
end of file
+
+
+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3), + zip_source_read(3), + zip_source_tell(3) +
+
+

+zip_source_seek() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.man new file mode 100644 index 000000000..399597ed9 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.man @@ -0,0 +1,89 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_seek.mdoc -- set read offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_SEEK" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_seek\fR +\- set read offset in zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_seek\fR(\fIzip_source_t\ *source\fR, \fIzip_int64_t\ offset\fR, \fIint\ whence\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_seek\fR() +sets the current read offset for +\fIsource\fR. +Just like in +fseek(3), +depending on the +\fIwhence\fR +argument, the +\fIoffset\fR +is counted relative from: +.RS 6n +.TP 12n +\fRSEEK_SET\fR +start of file +.TP 12n +\fRSEEK_CUR\fR +current read offset in file +.TP 12n +\fRSEEK_END\fR +end of file +.RE +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_read(3), +zip_source_tell(3) +.SH "HISTORY" +\fBzip_source_seek\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.mdoc new file mode 100644 index 000000000..6518ba700 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek.mdoc @@ -0,0 +1,81 @@ +.\" zip_source_seek.mdoc -- set read offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_SEEK 3 +.Os +.Sh NAME +.Nm zip_source_seek +.Nd set read offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_seek "zip_source_t *source" "zip_int64_t offset" "int whence" +.Sh DESCRIPTION +The function +.Fn zip_source_seek +sets the current read offset for +.Fa source . +Just like in +.Xr fseek 3 , +depending on the +.Ar whence +argument, the +.Ar offset +is counted relative from: +.Bl -tag -width SEEK_CURXX -offset indent +.It Dv SEEK_SET +start of file +.It Dv SEEK_CUR +current read offset in file +.It Dv SEEK_END +end of file +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_read 3 , +.Xr zip_source_tell 3 +.Sh HISTORY +.Fn zip_source_seek +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.html new file mode 100644 index 000000000..c6dfa9543 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.html @@ -0,0 +1,119 @@ + + + + + + + ZIP_SOURCE_SEEK_COMPUTE_OFFSET(3) + + + + + + + + +
ZIP_SOURCE_SEEK_COMPUTE_OFFSET(3)Library Functions ManualZIP_SOURCE_SEEK_COMPUTE_OFFSET(3)
+
+
+

+zip_source_seek_compute_offset — +
validate arguments and compute offset
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_source_seek_compute_offset(zip_uint64_t + offset, zip_uint64_t + length, void *data, + zip_uint64_t data_length, + zip_error_t *error);

+
+
+

+Use this function to compute the offset for a + ZIP_SOURCE_SEEK or + ZIP_SOURCE_SEEK_WRITE command. + data and data_length are the + arguments to the source callback, offset is the current + offset and length is the length of the source data or, + for ZIP_SOURCE_SEEK_WRITE, the amount of data written. +
+
+

+On success, it returns the new offset, on error it returns -1 and sets + error. +
+
+

+zip_source_seek_compute_offset() fails if: +
+
[]
+
One of the arguments is invalid or the seek would place the offset outside + the data.
+
+
+
+

+zip_source_function(3) +
+
+

+zip_source_seek_compute_offset() was added in libzip + 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.man new file mode 100644 index 000000000..a1b1cc13d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.man @@ -0,0 +1,85 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_seek_compute_offset.mdoc - validate arguments and compute offset +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_SEEK_COMPUTE_OFFSET" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_seek_compute_offset\fR +\- validate arguments and compute offset +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_source_seek_compute_offset\fR(\fIzip_uint64_t\ offset\fR, \fIzip_uint64_t\ length\fR, \fIvoid\ *data\fR, \fIzip_uint64_t\ data_length\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +Use this function to compute the offset for a +\fRZIP_SOURCE_SEEK\fR +or +\fRZIP_SOURCE_SEEK_WRITE\fR +command. +\fIdata\fR +and +\fIdata_length\fR +are the arguments to the source callback, +\fIoffset\fR +is the current offset and +\fIlength\fR +is the length of the source data or, for +\fRZIP_SOURCE_SEEK_WRITE\fR, +the amount of data written. +.SH "RETURN VALUES" +On success, it returns the new offset, on error it returns \-1 and +sets +\fIerror\fR. +.SH "ERRORS" +\fBzip_source_seek_compute_offset\fR() +fails if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +One of the arguments is invalid or the seek would place the offset +outside the data. +.SH "SEE ALSO" +zip_source_function(3) +.SH "HISTORY" +\fBzip_source_seek_compute_offset\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.mdoc new file mode 100644 index 000000000..bcf159a83 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_compute_offset.mdoc @@ -0,0 +1,81 @@ +.\" zip_source_seek_compute_offset.mdoc - validate arguments and compute offset +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_SEEK_COMPUTE_OFFSET 3 +.Os +.Sh NAME +.Nm zip_source_seek_compute_offset +.Nd validate arguments and compute offset +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_seek_compute_offset "zip_uint64_t offset" "zip_uint64_t length" "void *data" "zip_uint64_t data_length" "zip_error_t *error" +.Sh DESCRIPTION +Use this function to compute the offset for a +.Dv ZIP_SOURCE_SEEK +or +.Dv ZIP_SOURCE_SEEK_WRITE +command. +.Ar data +and +.Ar data_length +are the arguments to the source callback, +.Ar offset +is the current offset and +.Ar length +is the length of the source data or, for +.Dv ZIP_SOURCE_SEEK_WRITE , +the amount of data written. +.Sh RETURN VALUES +On success, it returns the new offset, on error it returns \-1 and +sets +.Ar error . +.Sh ERRORS +.Fn zip_source_seek_compute_offset +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +One of the arguments is invalid or the seek would place the offset +outside the data. +.El +.Sh SEE ALSO +.Xr zip_source_function 3 +.Sh HISTORY +.Fn zip_source_seek_compute_offset +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.html new file mode 100644 index 000000000..baedea3b4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.html @@ -0,0 +1,123 @@ + + + + + + + ZIP_SOURCE_SEEK_WRITE(3) + + + + + + + + +
ZIP_SOURCE_SEEK_WRITE(3)Library Functions ManualZIP_SOURCE_SEEK_WRITE(3)
+
+
+

+zip_source_seek_write — +
set write offset in zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_seek_write(zip_source_t + *source, zip_int64_t + offset, int + whence);

+
+
+

+The function zip_source_seek_write() sets the current + write offset for source. Just like in + fseek(3), depending on the + whence argument, the offset is + counted relative from: +
+
+
+
start of file
+
+
current write offset in file
+
+
end of file
+
+
+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3), + zip_source_begin_write(3), + zip_source_commit_write(3), + zip_source_rollback_write(3), + zip_source_tell_write(3), + zip_source_write(3) +
+
+

+zip_source_seek_write() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.man new file mode 100644 index 000000000..567588d42 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.man @@ -0,0 +1,92 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_seek_write.mdoc -- set write offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_SEEK_WRITE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_seek_write\fR +\- set write offset in zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_seek_write\fR(\fIzip_source_t\ *source\fR, \fIzip_int64_t\ offset\fR, \fIint\ whence\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_seek_write\fR() +sets the current write offset for +\fIsource\fR. +Just like in +fseek(3), +depending on the +\fIwhence\fR +argument, the +\fIoffset\fR +is counted relative from: +.RS 6n +.TP 12n +\fRSEEK_SET\fR +start of file +.TP 12n +\fRSEEK_CUR\fR +current write offset in file +.TP 12n +\fRSEEK_END\fR +end of file +.RE +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_begin_write(3), +zip_source_commit_write(3), +zip_source_rollback_write(3), +zip_source_tell_write(3), +zip_source_write(3) +.SH "HISTORY" +\fBzip_source_seek_write\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.mdoc new file mode 100644 index 000000000..fac015939 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_seek_write.mdoc @@ -0,0 +1,84 @@ +.\" zip_source_seek_write.mdoc -- set write offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_SEEK_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_seek_write +.Nd set write offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_seek_write "zip_source_t *source" "zip_int64_t offset" "int whence" +.Sh DESCRIPTION +The function +.Fn zip_source_seek_write +sets the current write offset for +.Fa source . +Just like in +.Xr fseek 3 , +depending on the +.Ar whence +argument, the +.Ar offset +is counted relative from: +.Bl -tag -width SEEK_CURXX -offset indent +.It Dv SEEK_SET +start of file +.It Dv SEEK_CUR +current write offset in file +.It Dv SEEK_END +end of file +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_tell_write 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_seek_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.html new file mode 100644 index 000000000..8b911d267 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.html @@ -0,0 +1,154 @@ + + + + + + + ZIP_SOURCE_STAT(3) + + + + + + + + +
ZIP_SOURCE_STAT(3)Library Functions ManualZIP_SOURCE_STAT(3)
+
+
+

+zip_source_stat — +
get information about zip_source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_source_stat(zip_source_t + *source, zip_stat_t + *sb);

+
+
+

+The zip_source_stat() function obtains information about + the zip source source +

The sb argument is a pointer to a + struct zip_source_stat (shown below), into which + information about the zip source is placed.

+
+
+struct zip_source_stat {
+    zip_uint64_t valid;                 /* which fields have valid values */
+    const char *name;                   /* name of the file */
+    zip_uint64_t index;                 /* index within archive */
+    zip_uint64_t size;                  /* size of file (uncompressed) */
+    zip_uint64_t comp_size;             /* size of file (compressed) */
+    time_t mtime;                       /* modification time */
+    zip_uint32_t crc;                   /* crc of file data */
+    zip_uint16_t comp_method;           /* compression method used */
+    zip_uint16_t encryption_method;     /* encryption method used */
+    zip_uint32_t flags;                 /* reserved for future use */
+};
+
+
+The structure pointed to by sb must be initialized with + zip_stat_init(3) before calling + zip_source_stat(). +

The valid field of the structure specifies + which other fields are valid. Check if the flag defined by the following + defines are in valid before accessing the fields:

+ +

NOTE: Some fields may only be filled out after + all data has been read from the source, for example the + crc or size fields.

+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in source is set to indicate the + error. +
+
+

+libzip(3), + zip_source(3) +
+
+

+zip_source_stat() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.man new file mode 100644 index 000000000..cbc12ffc2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.man @@ -0,0 +1,144 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_stat.mdoc -- get information about zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_STAT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_stat\fR +\- get information about zip_source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_source_stat\fR(\fIzip_source_t\ *source\fR, \fIzip_stat_t\ *sb\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_source_stat\fR() +function obtains information about the zip source +\fIsource\fR +.PP +The +\fIsb\fR +argument is a pointer to a +\fIstruct zip_source_stat\fR +(shown below), into which information about the zip source is placed. +.nf +.sp +.RS 0n +struct zip_source_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char *name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; +.RE +.fi +The structure pointed to by +\fIsb\fR +must be initialized with +\fBzip_stat_init\fR(\fI3\fR) +before calling +\fBzip_source_stat\fR(). +.PP +The +\fIvalid\fR +field of the structure specifies which other fields are valid. +Check if the flag defined by the following defines are in +\fIvalid\fR +before accessing the fields: +.RS 6n +.PD 0 +.TP 37n +\fRZIP_SOURCE_STAT_NAME\fR +\fIname\fR +.TP 37n +\fRZIP_SOURCE_STAT_INDEX\fR +\fIindex\fR +.TP 37n +\fRZIP_SOURCE_STAT_SIZE\fR +\fIsize\fR +.TP 37n +\fRZIP_SOURCE_STAT_COMP_SIZE\fR +\fIcomp_size\fR +.TP 37n +\fRZIP_SOURCE_STAT_MTIME\fR +\fImtime\fR +.TP 37n +\fRZIP_SOURCE_STAT_CRC\fR +\fIcrc\fR +.TP 37n +\fRZIP_SOURCE_STAT_COMP_METHOD\fR +\fIcomp_method\fR +.TP 37n +\fRZIP_SOURCE_STAT_ENCRYPTION_METHOD\fR +\fIencryption_method\fR +.TP 37n +\fRZIP_SOURCE_STAT_FLAGS\fR +\fIflags\fR +.RE +.PD +.PP +\fINOTE\fR: +Some fields may only be filled out after all data has been read from +the source, for example the +\fIcrc\fR +or +\fIsize\fR +fields. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3) +.SH "HISTORY" +\fBzip_source_stat\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.mdoc new file mode 100644 index 000000000..69f451673 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_stat.mdoc @@ -0,0 +1,125 @@ +.\" zip_source_stat.mdoc -- get information about zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_STAT 3 +.Os +.Sh NAME +.Nm zip_source_stat +.Nd get information about zip_source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_source_stat "zip_source_t *source" "zip_stat_t *sb" +.Sh DESCRIPTION +The +.Fn zip_source_stat +function obtains information about the zip source +.Ar source +.Pp +The +.Ar sb +argument is a pointer to a +.Ft struct zip_source_stat +(shown below), into which information about the zip source is placed. +.Bd -literal +struct zip_source_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char *name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; +.Ed +The structure pointed to by +.Ar sb +must be initialized with +.Fn zip_stat_init 3 +before calling +.Fn zip_source_stat . +.Pp +The +.Ar valid +field of the structure specifies which other fields are valid. +Check if the flag defined by the following defines are in +.Ar valid +before accessing the fields: +.Bl -tag -width ZIP_SOURCE_STAT_ENCRYPTION_METHODXX -compact -offset indent +.It Dv ZIP_SOURCE_STAT_NAME +.Ar name +.It Dv ZIP_SOURCE_STAT_INDEX +.Ar index +.It Dv ZIP_SOURCE_STAT_SIZE +.Ar size +.It Dv ZIP_SOURCE_STAT_COMP_SIZE +.Ar comp_size +.It Dv ZIP_SOURCE_STAT_MTIME +.Ar mtime +.It Dv ZIP_SOURCE_STAT_CRC +.Ar crc +.It Dv ZIP_SOURCE_STAT_COMP_METHOD +.Ar comp_method +.It Dv ZIP_SOURCE_STAT_ENCRYPTION_METHOD +.Ar encryption_method +.It Dv ZIP_SOURCE_STAT_FLAGS +.Ar flags +.El +.Pp +.Em NOTE : +Some fields may only be filled out after all data has been read from +the source, for example the +.Ar crc +or +.Ar size +fields. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_stat +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.html new file mode 100644 index 000000000..6fda2b430 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.html @@ -0,0 +1,108 @@ + + + + + + + ZIP_SOURCE_TELL(3) + + + + + + + + +
ZIP_SOURCE_TELL(3)Library Functions ManualZIP_SOURCE_TELL(3)
+
+
+

+zip_source_tell — +
report current read offset in zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_source_tell(zip_source_t + *source);

+
+
+

+The function zip_source_tell() returns the current read + offset for source. The return value can be passed to + zip_source_seek(3) with + whence set to SEEK_SET to return + to the same location in the source. +
+
+

+Upon successful completion the current read offset is returned. Otherwise, -1 is + returned and the error information in source is set to + indicate the error. +
+
+

+libzip(3), + zip_source(3), + zip_source_read(3), + zip_source_tell_write(3) +
+
+

+zip_source_tell() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.man new file mode 100644 index 000000000..088ec861d --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.man @@ -0,0 +1,79 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_tell.mdoc -- report current read offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_TELL" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_tell\fR +\- report current read offset in zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_source_tell\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_tell\fR() +returns the current read offset +for +\fIsource\fR. +The return value can be passed to +zip_source_seek(3) +with +\fIwhence\fR +set to +\fRSEEK_SET\fR +to return to the same location in the source. +.SH "RETURN VALUES" +Upon successful completion the current read offset is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_read(3), +zip_source_tell_write(3) +.SH "HISTORY" +\fBzip_source_tell\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.mdoc new file mode 100644 index 000000000..e8249184b --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell.mdoc @@ -0,0 +1,74 @@ +.\" zip_source_tell.mdoc -- report current read offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_TELL 3 +.Os +.Sh NAME +.Nm zip_source_tell +.Nd report current read offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_tell "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_tell +returns the current read offset +for +.Fa source . +The return value can be passed to +.Xr zip_source_seek 3 +with +.Ar whence +set to +.Dv SEEK_SET +to return to the same location in the source. +.Sh RETURN VALUES +Upon successful completion the current read offset is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_read 3 , +.Xr zip_source_tell_write 3 +.Sh HISTORY +.Fn zip_source_tell +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.html new file mode 100644 index 000000000..778896dd2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.html @@ -0,0 +1,112 @@ + + + + + + + ZIP_SOURCE_TELL_WRITE(3) + + + + + + + + +
ZIP_SOURCE_TELL_WRITE(3)Library Functions ManualZIP_SOURCE_TELL_WRITE(3)
+
+
+

+zip_source_tell_write — +
report current write offset in zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_source_tell_write(zip_source_t + *source);

+
+
+

+The function zip_source_tell_write() returns the current + write offset for source. The return value can be passed + to + zip_source_seek_write(3) + with whence set to SEEK_SET to + return to the same location in the source. +
+
+

+Upon successful completion the current write offset is returned. Otherwise, -1 + is returned and the error information in source is set + to indicate the error. +
+
+

+libzip(3), + zip_source(3), + zip_source_begin_write(3), + zip_source_commit_write(3), + zip_source_rollback_write(3), + zip_source_tell(3), + zip_source_write(3) +
+
+

+zip_source_tell_write() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.man new file mode 100644 index 000000000..4208e5cc5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.man @@ -0,0 +1,82 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_tell_write.mdoc -- report current write offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_TELL_WRITE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_tell_write\fR +\- report current write offset in zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_source_tell_write\fR(\fIzip_source_t\ *source\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_tell_write\fR() +returns the current write offset +for +\fIsource\fR. +The return value can be passed to +zip_source_seek_write(3) +with +\fIwhence\fR +set to +\fRSEEK_SET\fR +to return to the same location in the source. +.SH "RETURN VALUES" +Upon successful completion the current write offset is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_begin_write(3), +zip_source_commit_write(3), +zip_source_rollback_write(3), +zip_source_tell(3), +zip_source_write(3) +.SH "HISTORY" +\fBzip_source_tell_write\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.mdoc new file mode 100644 index 000000000..00fc3b1c7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_tell_write.mdoc @@ -0,0 +1,77 @@ +.\" zip_source_tell_write.mdoc -- report current write offset in source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_TELL_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_tell_write +.Nd report current write offset in zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_tell_write "zip_source_t *source" +.Sh DESCRIPTION +The function +.Fn zip_source_tell_write +returns the current write offset +for +.Fa source . +The return value can be passed to +.Xr zip_source_seek_write 3 +with +.Ar whence +set to +.Dv SEEK_SET +to return to the same location in the source. +.Sh RETURN VALUES +Upon successful completion the current write offset is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_tell 3 , +.Xr zip_source_write 3 +.Sh HISTORY +.Fn zip_source_tell_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.html new file mode 100644 index 000000000..a528c946a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.html @@ -0,0 +1,143 @@ + + + + + + + ZIP_SOURCE_WIN32A(3) + + + + + + + + +
ZIP_SOURCE_WIN32A(3)Library Functions ManualZIP_SOURCE_WIN32A(3)
+
+
+

+zip_source_win32a, + zip_source_win32a_create — +
create data source from a Windows ANSI file name
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_win32a(zip_t + *archive, const char + *fname, zip_uint64_t + start, zip_int64_t + len);

+

zip_source_t * +
+ zip_source_win32a_create(const + char *fname, zip_uint64_t + start, zip_int64_t + len, zip_error_t + *error);

+
+
+

+The functions zip_source_win32a() and + zip_source_win32a_create() create a zip source on + Windows using a Windows ANSI name. They open fname and + read len bytes from offset start + from it. If len is 0 or -1, the whole file (starting + from start) is used. +

If the file supports seek, the source can be used to open a zip + archive from.

+

The file is opened and read when the data from the source is used, + usually by zip_close() or + zip_open_from_source().

+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error. +
+
+

+zip_source_win32a() and + zip_source_win32a_create() fail if: +
+
[]
+
fname, start, or + len are invalid.
+
[]
+
Required memory could not be allocated.
+
[]
+
Opening fname failed.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_source(3), + zip_source_win32handle(3), + zip_source_win32w(3) +
+
+

+zip_source_win32a() and + zip_source_win32a_create() were added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.man new file mode 100644 index 000000000..1001b5d35 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.man @@ -0,0 +1,127 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_win32a.mdoc -- create data source using a win32 ANSI name +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_WIN32A" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_win32a\fR, +\fBzip_source_win32a_create\fR +\- create data source from a Windows ANSI file name +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_win32a\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *fname\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_win32a_create\fR(\fIconst\ char\ *fname\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_win32a\fR() +and +\fBzip_source_win32a_create\fR() +create a zip source on Windows using a Windows ANSI name. +They open +\fIfname\fR +and read +\fIlen\fR +bytes from offset +\fIstart\fR +from it. +If +\fIlen\fR +is 0 or \-1, the whole file (starting from +\fIstart\fR) +is used. +.PP +If the file supports seek, the source can be used to open a zip archive from. +.PP +The file is opened and read when the data from the source is used, usually by +\fBzip_close\fR() +or +\fBzip_open_from_source\fR(). +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_win32a\fR() +and +\fBzip_source_win32a_create\fR() +fail if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIfname\fR, +\fIstart\fR, +or +\fIlen\fR +are invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_OPEN\fR] +Opening +\fIfname\fR +failed. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_source(3), +zip_source_win32handle(3), +zip_source_win32w(3) +.SH "HISTORY" +\fBzip_source_win32a\fR() +and +\fBzip_source_win32a_create\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.mdoc new file mode 100644 index 000000000..9b6d762e1 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32a.mdoc @@ -0,0 +1,116 @@ +.\" zip_source_win32a.mdoc -- create data source using a win32 ANSI name +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_WIN32A 3 +.Os +.Sh NAME +.Nm zip_source_win32a , +.Nm zip_source_win32a_create +.Nd create data source from a Windows ANSI file name +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_win32a "zip_t *archive" "const char *fname" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_win32a_create "const char *fname" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_win32a +and +.Fn zip_source_win32a_create +create a zip source on Windows using a Windows ANSI name. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_win32a +and +.Fn zip_source_win32a_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_source_win32handle 3 , +.Xr zip_source_win32w 3 +.Sh HISTORY +.Fn zip_source_win32a +and +.Fn zip_source_win32a_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.html new file mode 100644 index 000000000..f186f688a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.html @@ -0,0 +1,143 @@ + + + + + + + ZIP_SOURCE_WIN32HANDLE(3) + + + + + + + + +
ZIP_SOURCE_WIN32HANDLE(3)Library Functions ManualZIP_SOURCE_WIN32HANDLE(3)
+
+
+

+zip_source_win32handle, + zip_source_win32handle_create — +
create data source from a Windows file handle
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_win32handle(zip_t + *archive, HANDLE h, + zip_uint64_t start, + zip_int64_t len);

+

zip_source_t * +
+ zip_source_win32handle_create(HANDLE + h, zip_uint64_t + start, zip_int64_t + len, zip_error_t + *error);

+
+
+

+The functions zip_source_win32handle() and + zip_source_win32handle_create() create a zip source + from a Windows file handle. They open fname and read + len bytes from offset start from + it. If len is 0 or -1, the whole file (starting from + start) is used. +

If the file supports seek, the source can be used to open a zip + archive from.

+

The file is opened and read when the data from the source is used, + usually by zip_close() or + zip_open_from_source().

+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error. +
+
+

+zip_source_w32handle() and + zip_source_w32handle_create() fail if: +
+
[]
+
fname, start, or + len are invalid.
+
[]
+
Required memory could not be allocated.
+
[]
+
Opening fname failed.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_source(3), + zip_source_win32a(3), + zip_source_win32w(3) +
+
+

+zip_source_win32handle() and + zip_source_win32handle_create() were added in libzip + 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.man new file mode 100644 index 000000000..f06a1e891 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.man @@ -0,0 +1,127 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_handle.mdoc -- create data source from a Windows file handle +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_WIN32HANDLE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_win32handle\fR, +\fBzip_source_win32handle_create\fR +\- create data source from a Windows file handle +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_win32handle\fR(\fIzip_t\ *archive\fR, \fIHANDLE\ h\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_win32handle_create\fR(\fIHANDLE\ h\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_win32handle\fR() +and +\fBzip_source_win32handle_create\fR() +create a zip source from a Windows file handle. +They open +\fIfname\fR +and read +\fIlen\fR +bytes from offset +\fIstart\fR +from it. +If +\fIlen\fR +is 0 or \-1, the whole file (starting from +\fIstart\fR) +is used. +.PP +If the file supports seek, the source can be used to open a zip archive from. +.PP +The file is opened and read when the data from the source is used, usually by +\fBzip_close\fR() +or +\fBzip_open_from_source\fR(). +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_w32handle\fR() +and +\fBzip_source_w32handle_create\fR() +fail if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIfname\fR, +\fIstart\fR, +or +\fIlen\fR +are invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_OPEN\fR] +Opening +\fIfname\fR +failed. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_source(3), +zip_source_win32a(3), +zip_source_win32w(3) +.SH "HISTORY" +\fBzip_source_win32handle\fR() +and +\fBzip_source_win32handle_create\fR() +were added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.mdoc new file mode 100644 index 000000000..920fcb5cd --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32handle.mdoc @@ -0,0 +1,116 @@ +.\" zip_source_handle.mdoc -- create data source from a Windows file handle +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_WIN32HANDLE 3 +.Os +.Sh NAME +.Nm zip_source_win32handle , +.Nm zip_source_win32handle_create +.Nd create data source from a Windows file handle +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_win32handle "zip_t *archive" "HANDLE h" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_win32handle_create "HANDLE h" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_win32handle +and +.Fn zip_source_win32handle_create +create a zip source from a Windows file handle. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_w32handle +and +.Fn zip_source_w32handle_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_source_win32a 3 , +.Xr zip_source_win32w 3 +.Sh HISTORY +.Fn zip_source_win32handle +and +.Fn zip_source_win32handle_create +were added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.html new file mode 100644 index 000000000..595898488 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.html @@ -0,0 +1,142 @@ + + + + + + + ZIP_SOURCE_WIN32W(3) + + + + + + + + +
ZIP_SOURCE_WIN32W(3)Library Functions ManualZIP_SOURCE_WIN32W(3)
+
+
+

+zip_source_win32w, + zip_source_win32w_create — +
create data source from a Windows Unicode file name
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_win32w(zip_t + *archive, const wchar_t + *fname, zip_uint64_t + start, zip_int64_t + len);

+

zip_source_t * +
+ zip_source_win32w_create(const + wchar_t *fname, + zip_uint64_t start, + zip_int64_t len, + zip_error_t *error);

+
+
+

+The functions zip_source_win32w() and + zip_source_win32w_create() create a zip source on + Windows using a Windows Unicode name. They open fname + and read len bytes from offset + start from it. If len is 0 or -1, + the whole file (starting from start) is used. +

If the file supports seek, the source can be used to open a zip + archive from.

+

The file is opened and read when the data from the source is used, + usually by zip_close() or + zip_open_from_source().

+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive or error is set to + indicate the error. +
+
+

+zip_source_win32w() and + zip_source_win32w_create() fail if: +
+
[]
+
fname, start, or + len are invalid.
+
[]
+
Required memory could not be allocated.
+
[]
+
Opening fname failed.
+
+
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_source(3), + zip_source_win32a(3), + zip_source_win32handle(3) +
+
+

+zip_source_win32w() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
June 22, 2018NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.man new file mode 100644 index 000000000..6e18d592c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.man @@ -0,0 +1,125 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_win32w.mdoc -- create data source using a win32 Unicode name +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_WIN32W" "3" "June 22, 2018" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_win32w\fR, +\fBzip_source_win32w_create\fR +\- create data source from a Windows Unicode file name +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_win32w\fR(\fIzip_t\ *archive\fR, \fIconst\ wchar_t\ *fname\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR); +.PD +.PP +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_win32w_create\fR(\fIconst\ wchar_t\ *fname\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR, \fIzip_error_t\ *error\fR); +.PD +.SH "DESCRIPTION" +The functions +\fBzip_source_win32w\fR() +and +\fBzip_source_win32w_create\fR() +create a zip source on Windows using a Windows Unicode name. +They open +\fIfname\fR +and read +\fIlen\fR +bytes from offset +\fIstart\fR +from it. +If +\fIlen\fR +is 0 or \-1, the whole file (starting from +\fIstart\fR) +is used. +.PP +If the file supports seek, the source can be used to open a zip archive from. +.PP +The file is opened and read when the data from the source is used, usually by +\fBzip_close\fR() +or +\fBzip_open_from_source\fR(). +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +or +\fIerror\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_win32w\fR() +and +\fBzip_source_win32w_create\fR() +fail if: +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIfname\fR, +\fIstart\fR, +or +\fIlen\fR +are invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.TP 19n +[\fRZIP_ER_OPEN\fR] +Opening +\fIfname\fR +failed. +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_source(3), +zip_source_win32a(3), +zip_source_win32handle(3) +.SH "HISTORY" +\fBzip_source_win32w\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.mdoc new file mode 100644 index 000000000..75d30f430 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_win32w.mdoc @@ -0,0 +1,114 @@ +.\" zip_source_win32w.mdoc -- create data source using a win32 Unicode name +.\" Copyright (C) 2015-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd June 22, 2018 +.Dt ZIP_SOURCE_WIN32W 3 +.Os +.Sh NAME +.Nm zip_source_win32w , +.Nm zip_source_win32w_create +.Nd create data source from a Windows Unicode file name +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_win32w "zip_t *archive" "const wchar_t *fname" "zip_uint64_t start" "zip_int64_t len" +.Ft zip_source_t * +.Fn zip_source_win32w_create "const wchar_t *fname" "zip_uint64_t start" "zip_int64_t len" "zip_error_t *error" +.Sh DESCRIPTION +The functions +.Fn zip_source_win32w +and +.Fn zip_source_win32w_create +create a zip source on Windows using a Windows Unicode name. +They open +.Ar fname +and read +.Ar len +bytes from offset +.Ar start +from it. +If +.Ar len +is 0 or \-1, the whole file (starting from +.Ar start ) +is used. +.Pp +If the file supports seek, the source can be used to open a zip archive from. +.Pp +The file is opened and read when the data from the source is used, usually by +.Fn zip_close +or +.Fn zip_open_from_source . +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +or +.Ar error +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_win32w +and +.Fn zip_source_win32w_create +fail if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_INVAL +.Ar fname , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.It Bq Er ZIP_ER_OPEN +Opening +.Ar fname +failed. +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 , +.Xr zip_source_win32a 3 , +.Xr zip_source_win32handle 3 +.Sh HISTORY +.Fn zip_source_win32w +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.html new file mode 100644 index 000000000..70e5c87b3 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.html @@ -0,0 +1,115 @@ + + + + + + + ZIP_SOURCE_WRITE(3) + + + + + + + + +
ZIP_SOURCE_WRITE(3)Library Functions ManualZIP_SOURCE_WRITE(3)
+
+
+

+zip_source_write — +
write data to zip source
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_int64_t +
+ zip_source_write(zip_source_t + *source, const void + *data, zip_uint64_t + len);

+
+
+

+The function zip_source_write() writes + len bytes from the buffer data to + the zip source source at the current write offset. +

The zip source source has to be prepared for + writing by calling + zip_source_begin_write(3) + first.

+
+
+

+Upon successful completion the number of bytes written is returned. Otherwise, + -1 is returned and the error information in source is + set to indicate the error. +
+
+

+libzip(3), + zip_source(3), + zip_source_begin_write(3), + zip_source_commit_write(3), + zip_source_rollback_write(3), + zip_source_seek_write(3), + zip_source_tell_write(3) +
+
+

+zip_source_write() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.man new file mode 100644 index 000000000..58d808ee2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.man @@ -0,0 +1,85 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_write.mdoc -- write data to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_WRITE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_write\fR +\- write data to zip source +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_int64_t\fR +.br +.PD 0 +.HP 4n +\fBzip_source_write\fR(\fIzip_source_t\ *source\fR, \fIconst\ void\ *data\fR, \fIzip_uint64_t\ len\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_write\fR() +writes +\fIlen\fR +bytes from the buffer +\fIdata\fR +to the zip source +\fIsource\fR +at the current write offset. +.PP +The zip source +\fIsource\fR +has to be prepared for writing by calling +zip_source_begin_write(3) +first. +.SH "RETURN VALUES" +Upon successful completion the number of bytes written is returned. +Otherwise, \-1 is returned and the error information in +\fIsource\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_source(3), +zip_source_begin_write(3), +zip_source_commit_write(3), +zip_source_rollback_write(3), +zip_source_seek_write(3), +zip_source_tell_write(3) +.SH "HISTORY" +\fBzip_source_write\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.mdoc new file mode 100644 index 000000000..00836b034 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_write.mdoc @@ -0,0 +1,80 @@ +.\" zip_source_write.mdoc -- write data to zip source +.\" Copyright (C) 2014-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_WRITE 3 +.Os +.Sh NAME +.Nm zip_source_write +.Nd write data to zip source +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_int64_t +.Fn zip_source_write "zip_source_t *source" "const void *data" "zip_uint64_t len" +.Sh DESCRIPTION +The function +.Fn zip_source_write +writes +.Ar len +bytes from the buffer +.Ar data +to the zip source +.Ar source +at the current write offset. +.Pp +The zip source +.Ar source +has to be prepared for writing by calling +.Xr zip_source_begin_write 3 +first. +.Sh RETURN VALUES +Upon successful completion the number of bytes written is returned. +Otherwise, \-1 is returned and the error information in +.Ar source +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_source 3 , +.Xr zip_source_begin_write 3 , +.Xr zip_source_commit_write 3 , +.Xr zip_source_rollback_write 3 , +.Xr zip_source_seek_write 3 , +.Xr zip_source_tell_write 3 +.Sh HISTORY +.Fn zip_source_write +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.html b/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.html new file mode 100644 index 000000000..cb79b0868 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.html @@ -0,0 +1,143 @@ + + + + + + + ZIP_SOURCE_ZIP(3) + + + + + + + + +
ZIP_SOURCE_ZIP(3)Library Functions ManualZIP_SOURCE_ZIP(3)
+
+
+

+zip_source_zip — +
create data source from zip file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

zip_source_t * +
+ zip_source_zip(zip_t + *archive, zip_t + *srcarchive, zip_uint64_t + srcidx, zip_flags_t + flags, zip_uint64_t + start, zip_int64_t + len);

+
+
+

+The function zip_source_zip() creates a zip source from + a file in a zip archive. The srcarchive argument is the + (open) zip archive containing the source zip file at index + srcidx. len bytes from offset + start will be used in the zip_source. If + len is 0 or -1, the rest of the file, starting from + start, is used. If start is zero + and len is -1, the whole file will be copied without + decompressing it. +

Supported flags are:

+
+
+
Try to get the original data without any changes that may have been made + to srcarchive after opening it.
+
+
When adding the data from srcarchive, re-compress it + using the current settings instead of copying the compressed data.
+
+
+
+

+Upon successful completion, the created source is returned. Otherwise, + NULL is returned and the error code in + archive is set to indicate the error. +
+
+

+zip_source_zip() fails if: +
+
[]
+
Unchanged data was requested, but it is not available.
+
[]
+
srcarchive, srcidx, + start, or len are + invalid.
+
[]
+
Required memory could not be allocated.
+
+Additionally, it can return all error codes from + zip_stat_index() and + zip_fopen_index(). +
+
+

+libzip(3), + zip_file_add(3), + zip_file_replace(3), + zip_source(3) +
+
+

+zip_source_zip() was added in libzip 1.0. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.man b/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.man new file mode 100644 index 000000000..efbcf0a63 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.man @@ -0,0 +1,129 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_source_zip.mdoc -- create data source from zip file +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_SOURCE_ZIP" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_source_zip\fR +\- create data source from zip file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIzip_source_t *\fR +.br +.PD 0 +.HP 4n +\fBzip_source_zip\fR(\fIzip_t\ *archive\fR, \fIzip_t\ *srcarchive\fR, \fIzip_uint64_t\ srcidx\fR, \fIzip_flags_t\ flags\fR, \fIzip_uint64_t\ start\fR, \fIzip_int64_t\ len\fR); +.PD +.SH "DESCRIPTION" +The function +\fBzip_source_zip\fR() +creates a zip source from a file in a zip archive. +The +\fIsrcarchive\fR +argument is the (open) zip archive containing the source zip file +at index +\fIsrcidx\fR. +\fIlen\fR +bytes from offset +\fIstart\fR +will be used in the zip_source. +If +\fIlen\fR +is 0 or \-1, the rest of the file, starting from +\fIstart\fR, +is used. +If +\fIstart\fR +is zero and +\fIlen\fR +is \-1, the whole file will be copied without decompressing it. +.PP +Supported flags are: +.TP 23n +\fRZIP_FL_UNCHANGED\fR +Try to get the original data without any changes that may have been +made to +\fIsrcarchive\fR +after opening it. +.TP 23n +\fRZIP_FL_RECOMPRESS\fR +When adding the data from +\fIsrcarchive\fR, +re-compress it using the current settings instead of copying the +compressed data. +.SH "RETURN VALUES" +Upon successful completion, the created source is returned. +Otherwise, +\fRNULL\fR +is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_source_zip\fR() +fails if: +.TP 19n +[\fRZIP_ER_CHANGED\fR] +Unchanged data was requested, but it is not available. +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIsrcarchive\fR, +\fIsrcidx\fR, +\fIstart\fR, +or +\fIlen\fR +are invalid. +.TP 19n +[\fRZIP_ER_MEMORY\fR] +Required memory could not be allocated. +.PD 0 +.PP +Additionally, it can return all error codes from +\fBzip_stat_index\fR() +and +\fBzip_fopen_index\fR(). +.PD +.SH "SEE ALSO" +libzip(3), +zip_file_add(3), +zip_file_replace(3), +zip_source(3) +.SH "HISTORY" +\fBzip_source_zip\fR() +was added in libzip 1.0. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.mdoc new file mode 100644 index 000000000..4da7da4d5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_source_zip.mdoc @@ -0,0 +1,120 @@ +.\" zip_source_zip.mdoc -- create data source from zip file +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_SOURCE_ZIP 3 +.Os +.Sh NAME +.Nm zip_source_zip +.Nd create data source from zip file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft zip_source_t * +.Fn zip_source_zip "zip_t *archive" "zip_t *srcarchive" "zip_uint64_t srcidx" "zip_flags_t flags" "zip_uint64_t start" "zip_int64_t len" +.Sh DESCRIPTION +The function +.Fn zip_source_zip +creates a zip source from a file in a zip archive. +The +.Ar srcarchive +argument is the (open) zip archive containing the source zip file +at index +.Ar srcidx . +.Ar len +bytes from offset +.Ar start +will be used in the zip_source. +If +.Ar len +is 0 or \-1, the rest of the file, starting from +.Ar start , +is used. +If +.Ar start +is zero and +.Ar len +is \-1, the whole file will be copied without decompressing it. +.Pp +Supported flags are: +.Bl -tag -width XZIPXFLXRECOMPRESSXXX +.It Dv ZIP_FL_UNCHANGED +Try to get the original data without any changes that may have been +made to +.Ar srcarchive +after opening it. +.It Dv ZIP_FL_RECOMPRESS +When adding the data from +.Ar srcarchive , +re-compress it using the current settings instead of copying the +compressed data. +.El +.Sh RETURN VALUES +Upon successful completion, the created source is returned. +Otherwise, +.Dv NULL +is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_source_zip +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_CHANGED +Unchanged data was requested, but it is not available. +.It Bq Er ZIP_ER_INVAL +.Ar srcarchive , +.Ar srcidx , +.Ar start , +or +.Ar len +are invalid. +.It Bq Er ZIP_ER_MEMORY +Required memory could not be allocated. +.El +Additionally, it can return all error codes from +.Fn zip_stat_index +and +.Fn zip_fopen_index . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_file_add 3 , +.Xr zip_file_replace 3 , +.Xr zip_source 3 +.Sh HISTORY +.Fn zip_source_zip +was added in libzip 1.0. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_stat.html b/plugins/TKLiveSync/libzip_iOS/man/zip_stat.html new file mode 100644 index 000000000..246adb7b5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_stat.html @@ -0,0 +1,190 @@ + + + + + + + ZIP_STAT(3) + + + + + + + + +
ZIP_STAT(3)Library Functions ManualZIP_STAT(3)
+
+
+

+zip_stat, zip_stat_index + — +
get information about file
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_stat(zip_t + *archive, const char + *fname, zip_flags_t + flags, zip_stat_t + *sb);

+

int +
+ zip_stat_index(zip_t + *archive, zip_uint64_t + index, zip_flags_t + flags, zip_stat_t + *sb);

+
+
+

+The zip_stat() function obtains information about the + file named fname in archive. The + flags argument specifies how the name lookup should be + done. Its values are described in + zip_name_locate(3). Also, + ZIP_FL_UNCHANGED may be + or'ed to it to request information + about the original file in the archive, ignoring any changes made. +

The zip_stat_index() function obtains + information about the file at position index.

+

The sb argument is a pointer to a + struct zip_stat (shown below), into which information + about the file is placed.

+
+
+struct zip_stat {
+    zip_uint64_t valid;                 /* which fields have valid values */
+    const char *name;                   /* name of the file */
+    zip_uint64_t index;                 /* index within archive */
+    zip_uint64_t size;                  /* size of file (uncompressed) */
+    zip_uint64_t comp_size;             /* size of file (compressed) */
+    time_t mtime;                       /* modification time */
+    zip_uint32_t crc;                   /* crc of file data */
+    zip_uint16_t comp_method;           /* compression method used */
+    zip_uint16_t encryption_method;     /* encryption method used */
+    zip_uint32_t flags;                 /* reserved for future use */
+};
+
+
+The structure pointed to by sb must be allocated before + calling zip_stat() or + zip_stat_index(). +

The valid field of the structure specifies + which other fields are valid. Check if the flag defined by the following + defines are in valid before accessing the fields:

+
+
+
+
name
+
+
index
+
+
size
+
+
comp_size
+
+
mtime
+
+
crc
+
+
comp_method
+
+
encryption_method
+
+
flags
+
+
+
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error information in archive is set to indicate the + error. +
+
+

+The function zip_stat() can fail for any of the errors + specified for the routine + zip_name_locate(3). +

The function zip_stat_index() fails and + sets the error information to ZIP_ER_INVAL if + index is invalid. If + ZIP_FL_UNCHANGED is not set and no information can + be obtained from the source callback, the error information is set to + ZIP_ER_CHANGED.

+
+
+

+libzip(3), + zip_get_num_entries(3), + zip_name_locate(3), + zip_stat_init(3) +
+
+

+zip_stat() was added in libzip 0.6. In libzip 0.11 the + type of flags was changed from int + to zip_flags_t. +

zip_stat_index() was added in libzip 0.6. + In libzip 0.10 the type of index was changed from + int to zip_uint64_t. In libzip + 0.11 the type of flags was changed from + int to zip_flags_t.

+
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_stat.man b/plugins/TKLiveSync/libzip_iOS/man/zip_stat.man new file mode 100644 index 000000000..93b6fdd5c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_stat.man @@ -0,0 +1,203 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_stat.mdoc -- get information about file +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_STAT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_stat\fR, +\fBzip_stat_index\fR +\- get information about file +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_stat\fR(\fIzip_t\ *archive\fR, \fIconst\ char\ *fname\fR, \fIzip_flags_t\ flags\fR, \fIzip_stat_t\ *sb\fR); +.PD +.PP +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_stat_index\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR, \fIzip_flags_t\ flags\fR, \fIzip_stat_t\ *sb\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_stat\fR() +function obtains information about the file named +\fIfname\fR +in +\fIarchive\fR. +The +\fIflags\fR +argument specifies how the name lookup should be done. +Its values are described in +zip_name_locate(3). +Also, +\fRZIP_FL_UNCHANGED\fR +may be +\fIor\fR'ed +to it to request information about the original file in the archive, +ignoring any changes made. +.PP +The +\fBzip_stat_index\fR() +function obtains information about the file at position +\fIindex\fR. +.PP +The +\fIsb\fR +argument is a pointer to a +\fIstruct zip_stat\fR +(shown below), into which information about the file is placed. +.nf +.sp +.RS 0n +struct zip_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char *name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; +.RE +.fi +The structure pointed to by +\fIsb\fR +must be allocated before calling +\fBzip_stat\fR() +or +\fBzip_stat_index\fR(). +.PP +The +\fIvalid\fR +field of the structure specifies which other fields are valid. +Check if the flag defined by the following defines are in +\fIvalid\fR +before accessing the fields: +.RS 6n +.PD 0 +.TP 30n +\fRZIP_STAT_NAME\fR +\fIname\fR +.TP 30n +\fRZIP_STAT_INDEX\fR +\fIindex\fR +.TP 30n +\fRZIP_STAT_SIZE\fR +\fIsize\fR +.TP 30n +\fRZIP_STAT_COMP_SIZE\fR +\fIcomp_size\fR +.TP 30n +\fRZIP_STAT_MTIME\fR +\fImtime\fR +.TP 30n +\fRZIP_STAT_CRC\fR +\fIcrc\fR +.TP 30n +\fRZIP_STAT_COMP_METHOD\fR +\fIcomp_method\fR +.TP 30n +\fRZIP_STAT_ENCRYPTION_METHOD\fR +\fIencryption_method\fR +.TP 30n +\fRZIP_STAT_FLAGS\fR +\fIflags\fR +.RE +.PD +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +The function +\fBzip_stat\fR() +can fail for any of the errors specified for the routine +zip_name_locate(3). +.PP +The function +\fBzip_stat_index\fR() +fails and sets the error information to +\fRZIP_ER_INVAL\fR +if +\fIindex\fR +is invalid. +If +\fRZIP_FL_UNCHANGED\fR +is not set and no information can be obtained from the source +callback, the error information is set to +\fRZIP_ER_CHANGED\fR. +.SH "SEE ALSO" +libzip(3), +zip_get_num_entries(3), +zip_name_locate(3), +zip_stat_init(3) +.SH "HISTORY" +\fBzip_stat\fR() +was added in libzip 0.6. +In libzip 0.11 the type of +\fIflags\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.PP +\fBzip_stat_index\fR() +was added in libzip 0.6. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +In libzip 0.11 the type of +\fIflags\fR +was changed from +\fIint\fR +to +\fIzip_flags_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_stat.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_stat.mdoc new file mode 100644 index 000000000..4d5661ef4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_stat.mdoc @@ -0,0 +1,179 @@ +.\" zip_stat.mdoc -- get information about file +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_STAT 3 +.Os +.Sh NAME +.Nm zip_stat , +.Nm zip_stat_index +.Nd get information about file +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_stat "zip_t *archive" "const char *fname" "zip_flags_t flags" "zip_stat_t *sb" +.Ft int +.Fn zip_stat_index "zip_t *archive" "zip_uint64_t index" "zip_flags_t flags" "zip_stat_t *sb" +.Sh DESCRIPTION +The +.Fn zip_stat +function obtains information about the file named +.Ar fname +in +.Ar archive . +The +.Ar flags +argument specifies how the name lookup should be done. +Its values are described in +.Xr zip_name_locate 3 . +Also, +.Dv ZIP_FL_UNCHANGED +may be +.Em or Ns No 'ed +to it to request information about the original file in the archive, +ignoring any changes made. +.Pp +The +.Fn zip_stat_index +function obtains information about the file at position +.Ar index . +.Pp +The +.Ar sb +argument is a pointer to a +.Ft struct zip_stat +(shown below), into which information about the file is placed. +.Bd -literal +struct zip_stat { + zip_uint64_t valid; /* which fields have valid values */ + const char *name; /* name of the file */ + zip_uint64_t index; /* index within archive */ + zip_uint64_t size; /* size of file (uncompressed) */ + zip_uint64_t comp_size; /* size of file (compressed) */ + time_t mtime; /* modification time */ + zip_uint32_t crc; /* crc of file data */ + zip_uint16_t comp_method; /* compression method used */ + zip_uint16_t encryption_method; /* encryption method used */ + zip_uint32_t flags; /* reserved for future use */ +}; +.Ed +The structure pointed to by +.Ar sb +must be allocated before calling +.Fn zip_stat +or +.Fn zip_stat_index . +.Pp +The +.Ar valid +field of the structure specifies which other fields are valid. +Check if the flag defined by the following defines are in +.Ar valid +before accessing the fields: +.Bl -tag -width ZIP_STAT_ENCRYPTION_METHODXX -compact -offset indent +.It Dv ZIP_STAT_NAME +.Ar name +.It Dv ZIP_STAT_INDEX +.Ar index +.It Dv ZIP_STAT_SIZE +.Ar size +.It Dv ZIP_STAT_COMP_SIZE +.Ar comp_size +.It Dv ZIP_STAT_MTIME +.Ar mtime +.It Dv ZIP_STAT_CRC +.Ar crc +.It Dv ZIP_STAT_COMP_METHOD +.Ar comp_method +.It Dv ZIP_STAT_ENCRYPTION_METHOD +.Ar encryption_method +.It Dv ZIP_STAT_FLAGS +.Ar flags +.El +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error information in +.Ar archive +is set to indicate the error. +.Sh ERRORS +The function +.Fn zip_stat +can fail for any of the errors specified for the routine +.Xr zip_name_locate 3 . +.Pp +The function +.Fn zip_stat_index +fails and sets the error information to +.Er ZIP_ER_INVAL +if +.Ar index +is invalid. +If +.Dv ZIP_FL_UNCHANGED +is not set and no information can be obtained from the source +callback, the error information is set to +.Er ZIP_ER_CHANGED . +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_get_num_entries 3 , +.Xr zip_name_locate 3 , +.Xr zip_stat_init 3 +.Sh HISTORY +.Fn zip_stat +was added in libzip 0.6. +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Pp +.Fn zip_stat_index +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +In libzip 0.11 the type of +.Ar flags +was changed from +.Vt int +to +.Vt zip_flags_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.html b/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.html new file mode 100644 index 000000000..d274b74db --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.html @@ -0,0 +1,109 @@ + + + + + + + ZIP_STAT_INIT(3) + + + + + + + + +
ZIP_STAT_INIT(3)Library Functions ManualZIP_STAT_INIT(3)
+
+
+

+zip_stat_init — +
initialize zip_stat structure
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

void +
+ zip_stat_init(zip_stat_t + *sb);

+
+
+

+The zip_stat_init() function initializes the members of + a struct zip_stat. The current members are described in + zip_stat(3), but this function should + be used to initialize it to make sure none are missed. The structure pointed + to by sb must be allocated before calling + zip_stat_init(). +

This function should be used by functions provided to + zip_source_function(3) + when returning ZIP_SOURCE_STAT information to make + sure all fields are initialized.

+
+
+

+If sb is valid, the function is always successful. +
+
+

+libzip(3), + zip_stat(3) +
+
+

+zip_stat_init() was added in libzip 0.8. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.man b/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.man new file mode 100644 index 000000000..75f3ea9b4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.man @@ -0,0 +1,81 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_stat_init.mdoc -- init zip_stat structure +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_STAT_INIT" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_stat_init\fR +\- initialize zip_stat structure +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIvoid\fR +.br +.PD 0 +.HP 4n +\fBzip_stat_init\fR(\fIzip_stat_t\ *sb\fR); +.PD +.SH "DESCRIPTION" +The +\fBzip_stat_init\fR() +function initializes the members of a struct zip_stat. +The current members are described in +zip_stat(3), +but this function should be used to initialize it to +make sure none are missed. +The structure pointed to by +\fIsb\fR +must be allocated before calling +\fBzip_stat_init\fR(). +.PP +This function should be used by functions provided to +zip_source_function(3) +when returning +\fRZIP_SOURCE_STAT\fR +information to make sure all fields are initialized. +.SH "RETURN VALUES" +If +\fIsb\fR +is valid, the function is always successful. +.SH "SEE ALSO" +libzip(3), +zip_stat(3) +.SH "HISTORY" +\fBzip_stat_init\fR() +was added in libzip 0.8. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.mdoc new file mode 100644 index 000000000..0d464a614 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_stat_init.mdoc @@ -0,0 +1,76 @@ +.\" zip_stat_init.mdoc -- init zip_stat structure +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_STAT_INIT 3 +.Os +.Sh NAME +.Nm zip_stat_init +.Nd initialize zip_stat structure +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft void +.Fn zip_stat_init "zip_stat_t *sb" +.Sh DESCRIPTION +The +.Fn zip_stat_init +function initializes the members of a struct zip_stat. +The current members are described in +.Xr zip_stat 3 , +but this function should be used to initialize it to +make sure none are missed. +The structure pointed to by +.Ar sb +must be allocated before calling +.Fn zip_stat_init . +.Pp +This function should be used by functions provided to +.Xr zip_source_function 3 +when returning +.Dv ZIP_SOURCE_STAT +information to make sure all fields are initialized. +.Sh RETURN VALUES +If +.Ar sb +is valid, the function is always successful. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_stat 3 +.Sh HISTORY +.Fn zip_stat_init +was added in libzip 0.8. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.html b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.html new file mode 100644 index 000000000..20ea1fd4c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.html @@ -0,0 +1,116 @@ + + + + + + + ZIP_UNCHANGE(3) + + + + + + + + +
ZIP_UNCHANGE(3)Library Functions ManualZIP_UNCHANGE(3)
+
+
+

+zip_unchange — +
undo changes to file in zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_unchange(zip_t + *archive, zip_uint64_t + index);

+
+
+

+Changes to the file at position index are reverted. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+zip_unchange() fails if: +
+
[]
+
Unchanging the name would result in a duplicate name in the archive.
+
[]
+
index is not a valid file index in + zip.
+
+
+
+

+libzip(3), + zip_unchange_all(3), + zip_unchange_archive(3) +
+
+

+zip_unchange() was added in libzip 0.6. In libzip 0.10 + the type of index was changed from + int to zip_uint64_t. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.man b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.man new file mode 100644 index 000000000..c7ec25f55 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.man @@ -0,0 +1,86 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_unchange.mdoc -- undo changes to file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_UNCHANGE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_unchange\fR +\- undo changes to file in zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_unchange\fR(\fIzip_t\ *archive\fR, \fIzip_uint64_t\ index\fR); +.PD +.SH "DESCRIPTION" +Changes to the file at position +\fIindex\fR +are reverted. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "ERRORS" +\fBzip_unchange\fR() +fails if: +.TP 19n +[\fRZIP_ER_EXISTS\fR] +Unchanging the name would result in a duplicate name in the archive. +.TP 19n +[\fRZIP_ER_INVAL\fR] +\fIindex\fR +is not a valid file index in +\fIzip\fR. +.SH "SEE ALSO" +libzip(3), +zip_unchange_all(3), +zip_unchange_archive(3) +.SH "HISTORY" +\fBzip_unchange\fR() +was added in libzip 0.6. +In libzip 0.10 the type of +\fIindex\fR +was changed from +\fIint\fR +to +\fIzip_uint64_t\fR. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.mdoc new file mode 100644 index 000000000..6bde36bb5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange.mdoc @@ -0,0 +1,81 @@ +.\" zip_unchange.mdoc -- undo changes to file in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_UNCHANGE 3 +.Os +.Sh NAME +.Nm zip_unchange +.Nd undo changes to file in zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_unchange "zip_t *archive" "zip_uint64_t index" +.Sh DESCRIPTION +Changes to the file at position +.Ar index +are reverted. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh ERRORS +.Fn zip_unchange +fails if: +.Bl -tag -width Er +.It Bq Er ZIP_ER_EXISTS +Unchanging the name would result in a duplicate name in the archive. +.It Bq Er ZIP_ER_INVAL +.Ar index +is not a valid file index in +.Ar zip . +.El +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange_all 3 , +.Xr zip_unchange_archive 3 +.Sh HISTORY +.Fn zip_unchange +was added in libzip 0.6. +In libzip 0.10 the type of +.Ar index +was changed from +.Vt int +to +.Vt zip_uint64_t . +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.html b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.html new file mode 100644 index 000000000..27f56909e --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.html @@ -0,0 +1,103 @@ + + + + + + + ZIP_UNCHANGE_ALL(3) + + + + + + + + +
ZIP_UNCHANGE_ALL(3)Library Functions ManualZIP_UNCHANGE_ALL(3)
+
+
+

+zip_unchange_all — +
undo all changes in a zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_unchange_all(zip_t + *archive);

+
+
+

+All changes to files and global information in archive are + reverted. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+libzip(3), + zip_unchange(3), + zip_unchange_archive(3) +
+
+

+zip_unchange_all() was added in libzip 0.6. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.man b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.man new file mode 100644 index 000000000..4fcbee320 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.man @@ -0,0 +1,69 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_unchange_all.mdoc -- undo changes to all files in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_UNCHANGE_ALL" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_unchange_all\fR +\- undo all changes in a zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_unchange_all\fR(\fIzip_t\ *archive\fR); +.PD +.SH "DESCRIPTION" +All changes to files and global information in +\fIarchive\fR +are reverted. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_unchange(3), +zip_unchange_archive(3) +.SH "HISTORY" +\fBzip_unchange_all\fR() +was added in libzip 0.6. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.mdoc new file mode 100644 index 000000000..b676eb557 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_all.mdoc @@ -0,0 +1,64 @@ +.\" zip_unchange_all.mdoc -- undo changes to all files in zip archive +.\" Copyright (C) 2003-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_UNCHANGE_ALL 3 +.Os +.Sh NAME +.Nm zip_unchange_all +.Nd undo all changes in a zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_unchange_all "zip_t *archive" +.Sh DESCRIPTION +All changes to files and global information in +.Ar archive +are reverted. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 , +.Xr zip_unchange_archive 3 +.Sh HISTORY +.Fn zip_unchange_all +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.html b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.html new file mode 100644 index 000000000..770709c4c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.html @@ -0,0 +1,103 @@ + + + + + + + ZIP_UNCHANGE_ARCHIVE(3) + + + + + + + + +
ZIP_UNCHANGE_ARCHIVE(3)Library Functions ManualZIP_UNCHANGE_ARCHIVE(3)
+
+
+

+zip_unchange_archive — +
undo global changes to zip archive
+
+
+

+libzip (-lzip) +
+
+

+#include <zip.h> +

int +
+ zip_unchange_archive(zip_t + *archive);

+
+
+

+Revert all global changes to the archive archive. This + reverts changes to the archive comment and global flags. +
+
+

+Upon successful completion 0 is returned. Otherwise, -1 is returned and the + error code in archive is set to indicate the error. +
+
+

+libzip(3), + zip_unchange(3), + zip_unchange_all(3) +
+
+

+zip_unchange_archive() was added in libzip 0.7. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.man b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.man new file mode 100644 index 000000000..430eafc00 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.man @@ -0,0 +1,69 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zip_unchange_archive.mdoc -- undo changes to all files in zip archive +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIP_UNCHANGE_ARCHIVE" "3" "December 18, 2017" "NiH" "Library Functions Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzip_unchange_archive\fR +\- undo global changes to zip archive +.SH "LIBRARY" +libzip (-lzip) +.SH "SYNOPSIS" +\fB#include \fR +.sp +\fIint\fR +.br +.PD 0 +.HP 4n +\fBzip_unchange_archive\fR(\fIzip_t\ *archive\fR); +.PD +.SH "DESCRIPTION" +Revert all global changes to the archive +\fIarchive\fR. +This reverts changes to the archive comment and global flags. +.SH "RETURN VALUES" +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +\fIarchive\fR +is set to indicate the error. +.SH "SEE ALSO" +libzip(3), +zip_unchange(3), +zip_unchange_all(3) +.SH "HISTORY" +\fBzip_unchange_archive\fR() +was added in libzip 0.7. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.mdoc new file mode 100644 index 000000000..b3b3d3f1a --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zip_unchange_archive.mdoc @@ -0,0 +1,64 @@ +.\" zip_unchange_archive.mdoc -- undo changes to all files in zip archive +.\" Copyright (C) 2006-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIP_UNCHANGE_ARCHIVE 3 +.Os +.Sh NAME +.Nm zip_unchange_archive +.Nd undo global changes to zip archive +.Sh LIBRARY +libzip (-lzip) +.Sh SYNOPSIS +.In zip.h +.Ft int +.Fn zip_unchange_archive "zip_t *archive" +.Sh DESCRIPTION +Revert all global changes to the archive +.Ar archive . +This reverts changes to the archive comment and global flags. +.Sh RETURN VALUES +Upon successful completion 0 is returned. +Otherwise, \-1 is returned and the error code in +.Ar archive +is set to indicate the error. +.Sh SEE ALSO +.Xr libzip 3 , +.Xr zip_unchange 3 , +.Xr zip_unchange_all 3 +.Sh HISTORY +.Fn zip_unchange_archive +was added in libzip 0.7. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zipcmp.html b/plugins/TKLiveSync/libzip_iOS/man/zipcmp.html new file mode 100644 index 000000000..0cfdeee1c --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zipcmp.html @@ -0,0 +1,122 @@ + + + + + + + ZIPCMP(1) + + + + + + + + +
ZIPCMP(1)General Commands ManualZIPCMP(1)
+
+
+

+zipcmp — +
compare contents of zip archives
+
+
+

+ + + + + +
zipcmp[-hipqtVv] archive1 + archive2
+
+
+

+zipcmp compares the zip archives or directories + archive1 and archive2 and checks + if they contain the same files, comparing their names, uncompressed sizes, and + CRCs. File order and compressed size differences are ignored. +

Supported options:

+
+
+
Display a short help message and exit.
+
+
Compare names ignoring case distinctions.
+
+
Enable paranoid checks. Compares extra fields and other meta data. + (Automatically disabled if one of the archives is a directory.)
+
+
Quiet mode. Compare -v.
+
+
Test zip files by comparing the contents to their checksums.
+
+
Display version information and exit.
+
+
Verbose mode. Print details about differences to stdout. (This is the + default.)
+
+
+
+

+zipcmp exits 0 if the two archives contain the same + files, 1 if they differ, and >1 if an error occurred. +
+
+

+zipmerge(1), + ziptool(1), + libzip(3) +
+
+

+zipcmp was added in libzip 0.6. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zipcmp.man b/plugins/TKLiveSync/libzip_iOS/man/zipcmp.man new file mode 100644 index 000000000..58cf20539 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zipcmp.man @@ -0,0 +1,96 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zipcmp.mdoc -- compare zip archives +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIPCMP" "1" "December 18, 2017" "NiH" "General Commands Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzipcmp\fR +\- compare contents of zip archives +.SH "SYNOPSIS" +.HP 7n +\fBzipcmp\fR +[\fB\-hipqtVv\fR] +\fIarchive1\ archive2\fR +.SH "DESCRIPTION" +\fBzipcmp\fR +compares the zip archives or directories +\fIarchive1\fR +and +\fIarchive2\fR +and checks if they contain the same files, comparing their names, +uncompressed sizes, and CRCs. +File order and compressed size differences are ignored. +.PP +Supported options: +.TP 5n +\fB\-h\fR +Display a short help message and exit. +.TP 5n +\fB\-i\fR +Compare names ignoring case distinctions. +.TP 5n +\fB\-p\fR +Enable paranoid checks. +Compares extra fields and other meta data. +(Automatically disabled if one of the archives is a directory.) +.TP 5n +\fB\-q\fR +Quiet mode. +Compare +\fB\-v\fR. +.TP 5n +\fB\-t\fR +Test zip files by comparing the contents to their checksums. +.TP 5n +\fB\-V\fR +Display version information and exit. +.TP 5n +\fB\-v\fR +Verbose mode. +Print details about differences to stdout. +(This is the default.) +.SH "EXIT STATUS" +\fBzipcmp\fR +exits 0 if the two archives contain the same files, 1 if they differ, +and >1 if an error occurred. +.SH "SEE ALSO" +zipmerge(1), +ziptool(1), +libzip(3) +.SH "HISTORY" +\fBzipcmp\fR +was added in libzip 0.6. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zipcmp.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zipcmp.mdoc new file mode 100644 index 000000000..a3bc50860 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zipcmp.mdoc @@ -0,0 +1,90 @@ +.\" zipcmp.mdoc -- compare zip archives +.\" Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIPCMP 1 +.Os +.Sh NAME +.Nm zipcmp +.Nd compare contents of zip archives +.Sh SYNOPSIS +.Nm +.Op Fl hipqtVv +.Ar archive1 archive2 +.Sh DESCRIPTION +.Nm +compares the zip archives or directories +.Ar archive1 +and +.Ar archive2 +and checks if they contain the same files, comparing their names, +uncompressed sizes, and CRCs. +File order and compressed size differences are ignored. +.Pp +Supported options: +.Bl -tag -width MMM +.It Fl h +Display a short help message and exit. +.It Fl i +Compare names ignoring case distinctions. +.It Fl p +Enable paranoid checks. +Compares extra fields and other meta data. +(Automatically disabled if one of the archives is a directory.) +.It Fl q +Quiet mode. +Compare +.Fl v . +.It Fl t +Test zip files by comparing the contents to their checksums. +.It Fl V +Display version information and exit. +.It Fl v +Verbose mode. +Print details about differences to stdout. +(This is the default.) +.El +.Sh EXIT STATUS +.Nm +exits 0 if the two archives contain the same files, 1 if they differ, +and >1 if an error occurred. +.Sh SEE ALSO +.Xr zipmerge 1 , +.Xr ziptool 1 , +.Xr libzip 3 +.Sh HISTORY +.Nm +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/zipmerge.html b/plugins/TKLiveSync/libzip_iOS/man/zipmerge.html new file mode 100644 index 000000000..ce2d81921 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zipmerge.html @@ -0,0 +1,125 @@ + + + + + + + ZIPMERGE(1) + + + + + + + + +
ZIPMERGE(1)General Commands ManualZIPMERGE(1)
+
+
+

+zipmerge — +
merge zip archives
+
+
+

+ + + + + +
zipmerge[-DhIiSsV] target-zip + source-zip [source-zip + ...]
+
+
+

+zipmerge merges the source zip archives + source-zip into the target zip archive + target-zip. By default, files in the source zip archives + overwrite existing files of the same name in the target zip archive. +

Supported options:

+
+
+
Ignore directory components in file name comparisons. This option is slow + for archives with many files.
+
+
Display a short help message and exit.
+
+
Ignore case in file name comparisons This option is slow for archives with + many files.
+
+
Ask before overwriting files. See also -s.
+
+
Do not overwrite files that have the same size and CRC32 in both the + source and target archives.
+
+
When -i is given, do not before overwriting files + that have the same size and CRC32.
+
+
Display version information and exit.
+
+
+
+

+zipmerge exits 0 on success and >1 if an error + occurred. +
+
+

+zipcmp(1), + ziptool(1), + libzip(3) +
+
+

+zipmerge was added in libzip 0.6. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/zipmerge.man b/plugins/TKLiveSync/libzip_iOS/man/zipmerge.man new file mode 100644 index 000000000..5ea5ef641 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zipmerge.man @@ -0,0 +1,97 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" zipmerge.mdoc -- merge zip archives +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIPMERGE" "1" "December 18, 2017" "NiH" "General Commands Manual" +.nh +.if n .ad l +.SH "NAME" +\fBzipmerge\fR +\- merge zip archives +.SH "SYNOPSIS" +.HP 9n +\fBzipmerge\fR +[\fB\-DhIiSsV\fR] +\fItarget-zip\fR +\fIsource-zip\fR\ [\fIsource-zip\ ...\fR] +.SH "DESCRIPTION" +\fBzipmerge\fR +merges the source zip archives +\fIsource-zip\fR +into the target zip archive +\fItarget-zip\fR. +By default, files in the source zip archives overwrite +existing files of the same name in the target zip archive. +.PP +Supported options: +.TP 5n +\fB\-D\fR +Ignore directory components in file name comparisons. +This option is slow for archives with many files. +.TP 5n +\fB\-h\fR +Display a short help message and exit. +.TP 5n +\fB\-I\fR +Ignore case in file name comparisons +This option is slow for archives with many files. +.TP 5n +\fB\-i\fR +Ask before overwriting files. +See also +\fB\-s\fR. +.TP 5n +\fB\-S\fR +Do not overwrite files that have the same size and +CRC32 in both the source and target archives. +.TP 5n +\fB\-s\fR +When +\fB\-i\fR +is given, do not before overwriting files that have the same size +and CRC32. +.TP 5n +\fB\-V\fR +Display version information and exit. +.SH "EXIT STATUS" +\fBzipmerge\fR +exits 0 on success and >1 if an error occurred. +.SH "SEE ALSO" +zipcmp(1), +ziptool(1), +libzip(3) +.SH "HISTORY" +\fBzipmerge\fR +was added in libzip 0.6. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/zipmerge.mdoc b/plugins/TKLiveSync/libzip_iOS/man/zipmerge.mdoc new file mode 100644 index 000000000..9c99514e2 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/zipmerge.mdoc @@ -0,0 +1,91 @@ +.\" zipmerge.mdoc -- merge zip archives +.\" Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIPMERGE 1 +.Os +.Sh NAME +.Nm zipmerge +.Nd merge zip archives +.Sh SYNOPSIS +.Nm +.Op Fl DhIiSsV +.Ar target-zip +.Ar source-zip Op Ar source-zip ... +.Sh DESCRIPTION +.Nm +merges the source zip archives +.Ar source-zip +into the target zip archive +.Ar target-zip . +By default, files in the source zip archives overwrite +existing files of the same name in the target zip archive. +.Pp +Supported options: +.Bl -tag -width MMM +.It Fl D +Ignore directory components in file name comparisons. +This option is slow for archives with many files. +.It Fl h +Display a short help message and exit. +.It Fl I +Ignore case in file name comparisons +This option is slow for archives with many files. +.It Fl i +Ask before overwriting files. +See also +.Fl s . +.It Fl S +Do not overwrite files that have the same size and +CRC32 in both the source and target archives. +.It Fl s +When +.Fl i +is given, do not before overwriting files that have the same size +and CRC32. +.It Fl V +Display version information and exit. +.El +.Sh EXIT STATUS +.Nm +exits 0 on success and >1 if an error occurred. +.Sh SEE ALSO +.Xr zipcmp 1 , +.Xr ziptool 1 , +.Xr libzip 3 +.Sh HISTORY +.Nm +was added in libzip 0.6. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/man/ziptool.html b/plugins/TKLiveSync/libzip_iOS/man/ziptool.html new file mode 100644 index 000000000..ea9f406df --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/ziptool.html @@ -0,0 +1,315 @@ + + + + + + + ZIPTOOL(1) + + + + + + + + +
ZIPTOOL(1)General Commands ManualZIPTOOL(1)
+
+
+

+ziptool — +
modify zip archives
+
+
+

+ + + + + +
ziptool[-ceghnrst] [-l + length] [-o + offset] zip-archive + command [command-args ...] + [command [command-args ...] + ...]
+
+
+

+ziptool modifies the zip archive + zip-archive according to the + commands given. +

Supported options:

+
+
+
Check zip archive consistency when opening it.
+
+
Error if archive already exists (only useful with + -n).
+
+
Guess file name encoding (for stat command).
+
+
Display help.
+
+ length
+
Only read length bytes of archive. See also + -o.
+
+
Create archive if it doesn't exist. See also + -e.
+
+ offset
+
Start reading input archive from offset. See also + -l.
+
+
Print raw file name encoding without translation (for + stat command).
+
+
Follow file name convention strictly (for stat + command).
+
+
Disregard current file contents, if any. Note: use this + with care, it deletes all existing file contents when you modify the + archive.
+
+
+

+For all commands below, the index is zero-based. In other words, the first entry + in the zip archive has index 0. +

Supported commands and arguments are:

+
+
+ name content
+
Add file called name using the string + content from the command line as data.
+
+ name
+
Add directory name.
+
+ name file_to_add offset len
+
Add file name to archive, using + len bytes from the file + file_to_add as input data, starting at + offset.
+
+ name archivename index offset len
+
Add file called name to archive using data from + another zip archive archivename using the entry with + index index and reading len + bytes from offset.
+
+ index
+
Output file contents for entry index to stdout.
+
+ index flags
+
Print the number of extra fields for archive entry + index using flags.
+
+ index extra_id flags
+
Print number of extra fields of type extra_id for + archive entry index using + flags.
+
+ index
+
Remove entry at index from zip archive.
+
+ index extra_idx flags
+
Remove extra field number extra_idx from archive + entry index using flags.
+
+ index extra_id extra_index flags
+
Remove extra field number extra_index of type + extra_id from archive entry + index using flags.
+
+
Print archive comment.
+
+ index extra_index flags
+
Print extra field extra_index for archive entry + index using flags.
+
+ index extra_id extra_index flags
+
Print extra field extra_index of type + extra_id for archive entry + index using flags.
+
+ index
+
Get file comment for archive entry index.
+
+ flags
+
Print number of entries in archive using flags.
+
+ name flags
+
Find entry in archive with the filename name using + flags and print its index.
+
+ index name
+
Rename archive entry index to + name.
+
+ index data
+
Replace file contents for archive entry index with + the string data.
+
+ comment
+
Set archive comment to comment.
+
+ index extra_id extra_index flags value
+
Set extra field number extra_index of type + extra_id for archive entry + index using flags to + value.
+
+ index comment
+
Set file comment for archive entry index to string + comment.
+
+ index method compression_flags
+
Set file compression method for archive entry index + to method using + compression_flags. Note: + Currently, compression_flags are ignored.
+
+ index method password
+
Set file encryption method for archive entry index + to method with password + password.
+
+ index timestamp
+
Set file modification time for archive entry index + to UNIX mtime timestamp.
+
+ timestamp
+
Set file modification time for all archive entries to UNIX mtime + timestamp.
+
+ password
+
Set default password for encryption/decryption to + password.
+
+ index
+
Print information about archive entry index.
+
+
+
+

+Some commands take flag arguments. Supported flags are: + +
+
+

+Some commands take compression method arguments. Supported methods are: + +
+
+

+Some commands take encryption method arguments. Supported methods are: + +
+
+
+

+The ziptool utility exits 0 on success, + and >0 if an error occurs. +
+
+

+Add a file called teststring.txt to the zip archive + testbuffer.zip with data “This is a + test.\n” where “\n” is replaced with a newline character: +
+
+ziptool testbuffer.zip add teststring.txt \"This is a test.\n\"
+
+
+

Delete the first file from the zip archive + testfile.zip:

+
+
+ziptool testfile.zip delete 0
+
+
+
+
+

+zipcmp(1), + zipmerge(1), + libzip(3) +
+
+

+ziptool was added in libzip 1.1. +
+
+

+Dieter Baron + <dillo@nih.at> and + Thomas Klausner + <tk@giga.or.at> +
+
+ + + + + +
December 18, 2017NetBSD 8.99.35
+ + diff --git a/plugins/TKLiveSync/libzip_iOS/man/ziptool.man b/plugins/TKLiveSync/libzip_iOS/man/ziptool.man new file mode 100644 index 000000000..da9829aa7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/ziptool.man @@ -0,0 +1,389 @@ +.\" Automatically generated from an mdoc input file. Do not edit. +.\" ziptool.mdoc -- modify zip archives in multiple ways +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.TH "ZIPTOOL" "1" "December 18, 2017" "NiH" "General Commands Manual" +.nh +.if n .ad l +.SH "NAME" +\fBziptool\fR +\- modify zip archives +.SH "SYNOPSIS" +.HP 8n +\fBziptool\fR +[\fB\-ceghnrst\fR] +[\fB\-l\fR\ \fIlength\fR] +[\fB\-o\fR\ \fIoffset\fR] +\fIzip-archive\fR +\fBcommand\fR\ [\fIcommand-args\ ...\fR] +[\fBcommand\fR\ [\fIcommand-args\ ...\fR]\ ...] +.SH "DESCRIPTION" +\fBziptool\fR +modifies the zip archive +\fIzip-archive\fR +according to the +\fIcommands\fR +given. +.PP +Supported options: +.TP 13n +\fB\-c\fR +Check zip archive consistency when opening it. +.TP 13n +\fB\-e\fR +Error if archive already exists (only useful with +\fB\-n\fR). +.TP 13n +\fB\-g\fR +Guess file name encoding (for +\fBstat\fR +command). +.TP 13n +\fB\-h\fR +Display help. +.TP 13n +\fB\-l\fR \fIlength\fR +Only read +\fIlength\fR +bytes of archive. +See also +\fB\-o\fR. +.TP 13n +\fB\-n\fR +Create archive if it doesn't exist. +See also +\fB\-e\fR. +.TP 13n +\fB\-o\fR \fIoffset\fR +Start reading input archive from +\fIoffset\fR. +See also +\fB\-l\fR. +.TP 13n +\fB\-r\fR +Print raw file name encoding without translation (for +\fBstat\fR +command). +.TP 13n +\fB\-s\fR +Follow file name convention strictly (for +\fBstat\fR +command). +.TP 13n +\fB\-t\fR +Disregard current file contents, if any. +\fINote\fR: +use this with care, it deletes all existing file contents when +you modify the archive. +.SS "Commands" +For all commands below, the index is zero-based. +In other words, the first entry in the zip archive has index 0. +.PP +Supported commands and arguments are: +.TP 12n +\fBadd\fR \fIname content\fR +Add file called +\fIname\fR +using the string +\fIcontent\fR +from the command line as data. +.TP 12n +\fBadd_dir\fR \fIname\fR +Add directory +\fIname\fR. +.TP 12n +\fBadd_file\fR \fIname file_to_add offset len\fR +Add file +\fIname\fR +to archive, using +\fIlen\fR +bytes from the file +\fIfile_to_add\fR +as input data, starting at +\fIoffset\fR. +.TP 12n +\fBadd_from_zip\fR \fIname archivename index offset len\fR +Add file called +\fIname\fR +to archive using data from another zip archive +\fIarchivename\fR +using the entry with index +\fIindex\fR +and reading +\fIlen\fR +bytes from +\fIoffset\fR. +.TP 12n +\fBcat\fR \fIindex\fR +Output file contents for entry +\fIindex\fR +to stdout. +.TP 12n +\fBcount_extra\fR \fIindex flags\fR +Print the number of extra fields for archive entry +\fIindex\fR +using +\fIflags\fR. +.TP 12n +\fBcount_extra_by_id\fR \fIindex extra_id flags\fR +Print number of extra fields of type +\fIextra_id\fR +for archive entry +\fIindex\fR +using +\fIflags\fR. +.TP 12n +\fBdelete\fR \fIindex\fR +Remove entry at +\fIindex\fR +from zip archive. +.TP 12n +\fBdelete_extra\fR \fIindex extra_idx flags\fR +Remove extra field number +\fIextra_idx\fR +from archive entry +\fIindex\fR +using +\fIflags\fR. +.TP 12n +\fBdelete_extra_by_id\fR \fIindex extra_id extra_index flags\fR +Remove extra field number +\fIextra_index\fR +of type +\fIextra_id\fR +from archive entry +\fIindex\fR +using +\fIflags\fR. +.TP 12n +\fBget_archive_comment\fR +Print archive comment. +.TP 12n +\fBget_extra\fR \fIindex extra_index flags\fR +Print extra field +\fIextra_index\fR +for archive entry +\fIindex\fR +using +\fIflags\fR. +.TP 12n +\fBget_extra_by_id\fR \fIindex extra_id extra_index flags\fR +Print extra field +\fIextra_index\fR +of type +\fIextra_id\fR +for archive entry +\fIindex\fR +using +\fIflags\fR. +.TP 12n +\fBget_file_comment\fR \fIindex\fR +Get file comment for archive entry +\fIindex\fR. +.TP 12n +\fBget_num_entries\fR \fIflags\fR +Print number of entries in archive using +\fIflags\fR. +.TP 12n +\fBname_locate\fR \fIname flags\fR +Find entry in archive with the filename +\fIname\fR +using +\fIflags\fR +and print its index. +.TP 12n +\fBrename\fR \fIindex name\fR +Rename archive entry +\fIindex\fR +to +\fIname\fR. +.TP 12n +\fBreplace_file_contents\fR \fIindex data\fR +Replace file contents for archive entry +\fIindex\fR +with the string +\fIdata\fR. +.TP 12n +\fBset_archive_comment\fR \fIcomment\fR +Set archive comment to +\fIcomment\fR. +.TP 12n +\fBset_extra\fR \fIindex extra_id extra_index flags value\fR +Set extra field number +\fIextra_index\fR +of type +\fIextra_id\fR +for archive entry +\fIindex\fR +using +\fIflags\fR +to +\fIvalue\fR. +.TP 12n +\fBset_file_comment\fR \fIindex comment\fR +Set file comment for archive entry +\fIindex\fR +to string +\fIcomment\fR. +.TP 12n +\fBset_file_compression\fR \fIindex method compression_flags\fR +Set file compression method for archive entry +\fIindex\fR +to +\fImethod\fR +using +\fIcompression_flags\fR. +\fINote\fR: +Currently, +\fIcompression_flags\fR +are ignored. +.TP 12n +\fBset_file_encryption\fR \fIindex method password\fR +Set file encryption method for archive entry +\fIindex\fR +to +\fImethod\fR +with password +\fIpassword\fR. +.TP 12n +\fBset_file_mtime\fR \fIindex timestamp\fR +Set file modification time for archive entry +\fIindex\fR +to UNIX mtime +\fItimestamp\fR. +.TP 12n +\fBset_file_mtime_all\fR \fItimestamp\fR +Set file modification time for all archive entries to UNIX mtime +\fItimestamp\fR. +.TP 12n +\fBset_password\fR \fIpassword\fR +Set default password for encryption/decryption to +\fIpassword\fR. +.TP 12n +\fBstat\fR \fIindex\fR +Print information about archive entry +\fIindex\fR. +.SS "Flags" +Some commands take flag arguments. +Supported flags are: +.RS 6n +.PD 0 +.TP 5n +\fIC\fR +\fRZIP_FL_NOCASE\fR +.TP 5n +\fIc\fR +\fRZIP_FL_CENTRAL\fR +.TP 5n +\fId\fR +\fRZIP_FL_NODIR\fR +.TP 5n +\fIl\fR +\fRZIP_FL_LOCAL\fR +.TP 5n +\fIu\fR +\fRZIP_FL_UNCHANGED\fR +.RE +.PD +.SS "Compression Methods" +Some commands take compression method arguments. +Supported methods are: +.RS 6n +.PD 0 +.TP 4n +\fB\(bu\fR +\fRdefault\fR +.TP 4n +\fB\(bu\fR +\fRdeflate\fR +.TP 4n +\fB\(bu\fR +\fRstore\fR +.RE +.PD +.SS "Encryption Methods" +Some commands take encryption method arguments. +Supported methods are: +.RS 6n +.PD 0 +.TP 4n +\fB\(bu\fR +\fRnone\fR +.TP 4n +\fB\(bu\fR +\fRAES-128\fR +.TP 4n +\fB\(bu\fR +\fRAES-192\fR +.TP 4n +\fB\(bu\fR +\fRAES-256\fR +.RE +.PD +.SH "EXIT STATUS" +.br +The \fBziptool\fR utility exits\~0 on success, and\~>0 if an error occurs. +.SH "EXAMPLES" +Add a file called +\fIteststring.txt\fR +to the zip archive +\fItestbuffer.zip\fR +with data +\(lqThis is a test.\en\(rq +where +\(lq\en\(rq +is replaced with a newline character: +.nf +.sp +.RS 6n +ziptool testbuffer.zip add teststring.txt \\"This is a test.\en\\" +.RE +.fi +.PP +Delete the first file from the zip archive +\fItestfile.zip\fR: +.nf +.sp +.RS 6n +ziptool testfile.zip delete 0 +.RE +.fi +.SH "SEE ALSO" +zipcmp(1), +zipmerge(1), +libzip(3) +.SH "HISTORY" +\fBziptool\fR +was added in libzip 1.1. +.SH "AUTHORS" +Dieter Baron <\fIdillo@nih.at\fR> +and +Thomas Klausner <\fItk@giga.or.at\fR> diff --git a/plugins/TKLiveSync/libzip_iOS/man/ziptool.mdoc b/plugins/TKLiveSync/libzip_iOS/man/ziptool.mdoc new file mode 100644 index 000000000..751eeb0c4 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/man/ziptool.mdoc @@ -0,0 +1,330 @@ +.\" ziptool.mdoc -- modify zip archives in multiple ways +.\" Copyright (C) 2016-2017 Dieter Baron and Thomas Klausner +.\" +.\" This file is part of libzip, a library to manipulate ZIP archives. +.\" The authors can be contacted at +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in +.\" the documentation and/or other materials provided with the +.\" distribution. +.\" 3. The names of the authors may not be used to endorse or promote +.\" products derived from this software without specific prior +.\" written permission. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS +.\" OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +.\" GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER +.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN +.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.Dd December 18, 2017 +.Dt ZIPTOOL 1 +.Os +.Sh NAME +.Nm ziptool +.Nd modify zip archives +.Sh SYNOPSIS +.Nm +.Op Fl ceghnrst +.Op Fl l Ar length +.Op Fl o Ar offset +.Ar zip-archive +.Cm command Op Ar command-args ... +.Op Cm command Oo Ar command-args ... Oc ... +.Sh DESCRIPTION +.Nm +modifies the zip archive +.Ar zip-archive +according to the +.Ar commands +given. +.Pp +Supported options: +.Bl -tag -width MoMoffsetMM +.It Fl c +Check zip archive consistency when opening it. +.It Fl e +Error if archive already exists (only useful with +.Fl n ) . +.It Fl g +Guess file name encoding (for +.Cm stat +command). +.It Fl h +Display help. +.It Fl l Ar length +Only read +.Ar length +bytes of archive. +See also +.Fl o . +.It Fl n +Create archive if it doesn't exist. +See also +.Fl e . +.It Fl o Ar offset +Start reading input archive from +.Ar offset . +See also +.Fl l . +.It Fl r +Print raw file name encoding without translation (for +.Cm stat +command). +.It Fl s +Follow file name convention strictly (for +.Cm stat +command). +.It Fl t +Disregard current file contents, if any. +.Em Note : +use this with care, it deletes all existing file contents when +you modify the archive. +.El +.Ss Commands +For all commands below, the index is zero-based. +In other words, the first entry in the zip archive has index 0. +.Pp +Supported commands and arguments are: +.Bl -tag -width 10n +.It Cm add Ar name content +Add file called +.Ar name +using the string +.Ar content +from the command line as data. +.It Cm add_dir Ar name +Add directory +.Ar name . +.It Cm add_file Ar name file_to_add offset len +Add file +.Ar name +to archive, using +.Ar len +bytes from the file +.Ar file_to_add +as input data, starting at +.Ar offset . +.It Cm add_from_zip Ar name archivename index offset len +Add file called +.Ar name +to archive using data from another zip archive +.Ar archivename +using the entry with index +.Ar index +and reading +.Ar len +bytes from +.Ar offset . +.It Cm cat Ar index +Output file contents for entry +.Ar index +to stdout. +.It Cm count_extra Ar index flags +Print the number of extra fields for archive entry +.Ar index +using +.Ar flags . +.It Cm count_extra_by_id Ar index extra_id flags +Print number of extra fields of type +.Ar extra_id +for archive entry +.Ar index +using +.Ar flags . +.It Cm delete Ar index +Remove entry at +.Ar index +from zip archive. +.It Cm delete_extra Ar index extra_idx flags +Remove extra field number +.Ar extra_idx +from archive entry +.Ar index +using +.Ar flags . +.It Cm delete_extra_by_id Ar index extra_id extra_index flags +Remove extra field number +.Ar extra_index +of type +.Ar extra_id +from archive entry +.Ar index +using +.Ar flags . +.It Cm get_archive_comment +Print archive comment. +.It Cm get_extra Ar index extra_index flags +Print extra field +.Ar extra_index +for archive entry +.Ar index +using +.Ar flags . +.It Cm get_extra_by_id Ar index extra_id extra_index flags +Print extra field +.Ar extra_index +of type +.Ar extra_id +for archive entry +.Ar index +using +.Ar flags . +.It Cm get_file_comment Ar index +Get file comment for archive entry +.Ar index . +.It Cm get_num_entries Ar flags +Print number of entries in archive using +.Ar flags . +.It Cm name_locate Ar name flags +Find entry in archive with the filename +.Ar name +using +.Ar flags +and print its index. +.It Cm rename Ar index name +Rename archive entry +.Ar index +to +.Ar name . +.It Cm replace_file_contents Ar index data +Replace file contents for archive entry +.Ar index +with the string +.Ar data . +.It Cm set_archive_comment Ar comment +Set archive comment to +.Ar comment . +.It Cm set_extra Ar index extra_id extra_index flags value +Set extra field number +.Ar extra_index +of type +.Ar extra_id +for archive entry +.Ar index +using +.Ar flags +to +.Ar value . +.It Cm set_file_comment Ar index comment +Set file comment for archive entry +.Ar index +to string +.Ar comment . +.It Cm set_file_compression Ar index method compression_flags +Set file compression method for archive entry +.Ar index +to +.Ar method +using +.Ar compression_flags . +.Em Note : +Currently, +.Ar compression_flags +are ignored. +.It Cm set_file_encryption Ar index method password +Set file encryption method for archive entry +.Ar index +to +.Ar method +with password +.Ar password . +.It Cm set_file_mtime Ar index timestamp +Set file modification time for archive entry +.Ar index +to UNIX mtime +.Ar timestamp . +.It Cm set_file_mtime_all Ar timestamp +Set file modification time for all archive entries to UNIX mtime +.Ar timestamp . +.It Cm set_password Ar password +Set default password for encryption/decryption to +.Ar password . +.It Cm stat Ar index +Print information about archive entry +.Ar index . +.El +.Ss Flags +Some commands take flag arguments. +Supported flags are: +.Bl -tag -width MMM -compact -offset indent +.It Ar C +.Dv ZIP_FL_NOCASE +.It Ar c +.Dv ZIP_FL_CENTRAL +.It Ar d +.Dv ZIP_FL_NODIR +.It Ar l +.Dv ZIP_FL_LOCAL +.It Ar u +.Dv ZIP_FL_UNCHANGED +.El +.Ss Compression Methods +Some commands take compression method arguments. +Supported methods are: +.Bl -bullet -compact -offset indent +.It +.Dv default +.It +.Dv deflate +.It +.Dv store +.El +.Ss Encryption Methods +Some commands take encryption method arguments. +Supported methods are: +.Bl -bullet -compact -offset indent +.It +.Dv none +.It +.Dv AES-128 +.It +.Dv AES-192 +.It +.Dv AES-256 +.El +.Sh EXIT STATUS +.Ex -std +.Sh EXAMPLES +Add a file called +.Pa teststring.txt +to the zip archive +.Pa testbuffer.zip +with data +.Dq This is a test.\en +where +.Dq \en +is replaced with a newline character: +.Bd -literal -offset indent +ziptool testbuffer.zip add teststring.txt \\"This is a test.\en\\" +.Ed +.Pp +Delete the first file from the zip archive +.Pa testfile.zip : +.Bd -literal -offset indent +ziptool testfile.zip delete 0 +.Ed +.Sh SEE ALSO +.Xr zipcmp 1 , +.Xr zipmerge 1 , +.Xr libzip 3 +.Sh HISTORY +.Nm +was added in libzip 1.1. +.Sh AUTHORS +.An -nosplit +.An Dieter Baron Aq Mt dillo@nih.at +and +.An Thomas Klausner Aq Mt tk@giga.or.at diff --git a/plugins/TKLiveSync/libzip_iOS/src/CMakeLists.txt b/plugins/TKLiveSync/libzip_iOS/src/CMakeLists.txt new file mode 100644 index 000000000..ad1f38cee --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/src/CMakeLists.txt @@ -0,0 +1,18 @@ +INCLUDE_DIRECTORIES(BEFORE ${CMAKE_CURRENT_SOURCE_DIR}/../lib ${CMAKE_CURRENT_BINARY_DIR}/..) + +CHECK_FUNCTION_EXISTS(getopt HAVE_GETOPT) +IF(NOT HAVE_GETOPT) + SET(SRC_EXTRA_FILES getopt.c) +ENDIF(NOT HAVE_GETOPT) + +ADD_EXECUTABLE(zipcmp zipcmp.c ${SRC_EXTRA_FILES}) +TARGET_LINK_LIBRARIES(zipcmp zip) +INSTALL(TARGETS zipcmp RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + +ADD_EXECUTABLE(zipmerge zipmerge.c ${SRC_EXTRA_FILES}) +TARGET_LINK_LIBRARIES(zipmerge zip) +INSTALL(TARGETS zipmerge RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) + +ADD_EXECUTABLE(ziptool ziptool.c ${SRC_EXTRA_FILES}) +TARGET_LINK_LIBRARIES(ziptool zip) +INSTALL(TARGETS ziptool RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/plugins/TKLiveSync/libzip_iOS/src/getopt.c b/plugins/TKLiveSync/libzip_iOS/src/getopt.c new file mode 100644 index 000000000..befd672e6 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/src/getopt.c @@ -0,0 +1,110 @@ +/* + * getopt.c -- + * + * Standard UNIX getopt function. Code is from BSD. + * + * Copyright (c) 1987-2002 The Regents of the University of California. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * A. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * B. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * C. Neither the names of the copyright holders nor the names of its + * contributors may be used to endorse or promote products derived from this + * software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS + * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + */ + +/* #if !defined(lint) + * static char sccsid[] = "@(#)getopt.c 8.2 (Berkeley) 4/2/94"; + * #endif + */ +#include +#include +#include + +#include "getopt.h" + +int opterr = 1, /* if error message should be printed */ + optind = 1, /* index into parent argv vector */ + optopt, /* character checked for validity */ + optreset; /* reset getopt */ +char *optarg; /* argument associated with option */ + +#define BADCH (int)'?' +#define BADARG (int)':' +#define EMSG "" + +/* + * getopt -- + * Parse argc/argv argument vector. + */ +int +getopt(int nargc, char *const *nargv, const char *ostr) { + static char *place = EMSG; /* option letter processing */ + char *oli; /* option letter list index */ + + if (optreset || !*place) { /* update scanning pointer */ + optreset = 0; + if (optind >= nargc || *(place = nargv[optind]) != '-') { + place = EMSG; + return (EOF); + } + if (place[1] && *++place == '-') { /* found "--" */ + ++optind; + place = EMSG; + return (EOF); + } + } /* option letter okay? */ + if ((optopt = (int)*place++) == (int)':' || !(oli = (char *)strchr(ostr, optopt))) { + /* + * if the user didn't specify '-' as an option, + * assume it means EOF. + */ + if (optopt == (int)'-') + return (EOF); + if (!*place) + ++optind; + if (opterr && *ostr != ':') + (void)fprintf(stderr, "illegal option -- %c\n", optopt); + return (BADCH); + } + if (*++oli != ':') { /* don't need argument */ + optarg = NULL; + if (!*place) + ++optind; + } + else { /* need an argument */ + if (*place) /* no white space */ + optarg = place; + else if (nargc <= ++optind) { /* no arg */ + place = EMSG; + if (*ostr == ':') + return (BADARG); + if (opterr) + (void)fprintf(stderr, "option requires an argument -- %c\n", optopt); + return (BADCH); + } + else /* white space */ + optarg = nargv[optind]; + place = EMSG; + ++optind; + } + return (optopt); /* dump back option letter */ +} diff --git a/plugins/TKLiveSync/libzip_iOS/src/getopt.h b/plugins/TKLiveSync/libzip_iOS/src/getopt.h new file mode 100644 index 000000000..01dcd93f5 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/src/getopt.h @@ -0,0 +1,51 @@ +#ifndef _HAD_GETOPT_H +#define _HAD_GETOPT_H + +/* + getopt.h -- header for getopt() replacement function + Copyright (C) 1999-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#ifdef __cplusplus +extern "C" { +#endif + +extern char *optarg; +extern int optind; +extern int opterr; + +extern int getopt(int, char *const *, const char *); + +#ifdef __cplusplus +} +#endif + +#endif /* _HAD_GETOPT_H */ diff --git a/plugins/TKLiveSync/libzip_iOS/src/zipcmp.c b/plugins/TKLiveSync/libzip_iOS/src/zipcmp.c new file mode 100644 index 000000000..c45268465 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/src/zipcmp.c @@ -0,0 +1,700 @@ +/* + zipcmp.c -- compare zip files + Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include "config.h" + +#include +#include +#include +#include +#include +#ifdef HAVE_STRINGS_H +#include +#endif +#ifdef HAVE_UNISTD_H +#include +#endif +#ifdef HAVE_FTS_H +#include +#endif +#include + +#ifndef HAVE_GETOPT +#include "getopt.h" +#endif + +#include "compat.h" +#include "zip.h" + +struct archive { + const char *name; + zip_t *za; + zip_uint64_t nentry; + struct entry *entry; + const char *comment; + size_t comment_length; +}; + +struct ef { + const char *name; + zip_uint16_t flags; + zip_uint16_t id; + zip_uint16_t size; + const zip_uint8_t *data; +}; + +struct entry { + char *name; + zip_uint64_t size; + zip_uint32_t crc; + zip_uint32_t comp_method; + struct ef *extra_fields; + zip_uint16_t n_extra_fields; + const char *comment; + zip_uint32_t comment_length; +}; + + +const char *progname; + +#define PROGRAM "zipcmp" + +#define USAGE "usage: %s [-hipqtVv] archive1 archive2\n" + +char help_head[] = PROGRAM " (" PACKAGE ") by Dieter Baron and Thomas Klausner\n\n"; + +char help[] = "\n\ + -h display this help message\n\ + -i compare names ignoring case distinctions\n\ + -p compare as many details as possible\n\ + -q be quiet\n\ + -t test zip files (compare file contents to checksum)\n\ + -V display version number\n\ + -v be verbose (print differences, default)\n\ +\n\ +Report bugs to .\n"; + +char version_string[] = PROGRAM " (" PACKAGE " " VERSION ")\n\ +Copyright (C) 2003-2018 Dieter Baron and Thomas Klausner\n\ +" PACKAGE " comes with ABSOLUTELY NO WARRANTY, to the extent permitted by law.\n"; + +#define OPTIONS "hVipqtv" + + +#define BOTH_ARE_ZIPS(a) (a[0].za && a[1].za) + +static int comment_compare(const char *c1, size_t l1, const char *c2, size_t l2); +static int compare_list(char *const name[], const void *l[], const zip_uint64_t n[], int size, int (*cmp)(const void *, const void *), int (*checks)(char *const name[2], const void *, const void *), void (*print)(const void *)); +static int compare_zip(char *const zn[]); +static int ef_compare(char *const name[2], const struct entry *e1, const struct entry *e2); +static int ef_order(const void *a, const void *b); +static void ef_print(const void *p); +static int ef_read(zip_t *za, zip_uint64_t idx, struct entry *e); +static int entry_cmp(const void *p1, const void *p2); +static int entry_paranoia_checks(char *const name[2], const void *p1, const void *p2); +static void entry_print(const void *p); +static int is_directory(const char *name); +#ifdef HAVE_FTS_H +static int list_directory(const char *name, struct archive *a); +#endif +static int list_zip(const char *name, struct archive *a); +static int test_file(zip_t *za, zip_uint64_t idx, zip_uint64_t size, zip_uint32_t crc); + +int ignore_case, test_files, paranoid, verbose; +int header_done; + + +int +main(int argc, char *const argv[]) { + int c; + + progname = argv[0]; + + ignore_case = 0; + test_files = 0; + paranoid = 0; + verbose = 1; + + while ((c = getopt(argc, argv, OPTIONS)) != -1) { + switch (c) { + case 'i': + ignore_case = 1; + break; + case 'p': + paranoid = 1; + break; + case 'q': + verbose = 0; + break; + case 't': + test_files = 1; + break; + case 'v': + verbose = 1; + break; + + case 'h': + fputs(help_head, stdout); + printf(USAGE, progname); + fputs(help, stdout); + exit(0); + case 'V': + fputs(version_string, stdout); + exit(0); + + default: + fprintf(stderr, USAGE, progname); + exit(2); + } + } + + if (argc != optind + 2) { + fprintf(stderr, USAGE, progname); + exit(2); + } + + exit((compare_zip(argv + optind) == 0) ? 0 : 1); +} + + +static int +compare_zip(char *const zn[]) { + struct archive a[2]; + struct entry *e[2]; + zip_uint64_t n[2]; + int i; + int res; + + for (i = 0; i < 2; i++) { + a[i].name = zn[i]; + a[i].entry = NULL; + a[i].nentry = 0; + a[i].za = NULL; + a[i].comment = NULL; + a[i].comment_length = 0; + + if (is_directory(zn[i])) { +#ifndef HAVE_FTS_H + fprintf(stderr, "%s: reading directories not supported\n", progname); + exit(2); +#else + if (list_directory(zn[i], a + i) < 0) + exit(2); + paranoid = 0; /* paranoid checks make no sense for directories, since they compare zip metadata */ +#endif + } + else { + if (list_zip(zn[i], a + i) < 0) + exit(2); + } + if (a[i].nentry > 0) + qsort(a[i].entry, a[i].nentry, sizeof(a[i].entry[0]), entry_cmp); + } + + header_done = 0; + + e[0] = a[0].entry; + e[1] = a[1].entry; + n[0] = a[0].nentry; + n[1] = a[1].nentry; + res = compare_list(zn, (const void **)e, n, sizeof(e[i][0]), entry_cmp, paranoid ? entry_paranoia_checks : NULL, entry_print); + + if (paranoid) { + if (comment_compare(a[0].comment, a[0].comment_length, a[1].comment, a[1].comment_length) != 0) { + if (verbose) { + printf("--- archive comment (%ld)\n", a[0].comment_length); + printf("+++ archive comment (%ld)\n", a[1].comment_length); + } + res = 1; + } + } + + for (i = 0; i < 2; i++) + if (a[i].za) + zip_close(a[i].za); + + switch (res) { + case 0: + exit(0); + + case 1: + exit(1); + + default: + exit(2); + } +} + +#ifdef HAVE_FTS_H +static zip_int64_t +compute_crc(const char *fname) { + FILE *f; + uLong crc = crc32(0L, Z_NULL, 0); + size_t n; + Bytef buffer[8192]; + + + if ((f = fopen(fname, "r")) == NULL) { + fprintf(stderr, "%s: can't open %s: %s\n", progname, fname, strerror(errno)); + return -1; + } + + while ((n = fread(buffer, 1, sizeof(buffer), f)) > 0) { + crc = crc32(crc, buffer, (unsigned int)n); + } + + if (ferror(f)) { + fprintf(stderr, "%s: read error on %s: %s\n", progname, fname, strerror(errno)); + fclose(f); + return -1; + } + + fclose(f); + + return (zip_int64_t)crc; +} +#endif + + +static int +is_directory(const char *name) { + struct stat st; + + if (stat(name, &st) < 0) + return 0; + + return S_ISDIR(st.st_mode); +} + + +#ifdef HAVE_FTS_H +static int +list_directory(const char *name, struct archive *a) { + FTS *fts; + FTSENT *ent; + zip_uint64_t nalloc; + size_t prefix_length; + + char *const names[2] = {(char *)name, NULL}; + + + if ((fts = fts_open(names, FTS_NOCHDIR | FTS_LOGICAL, NULL)) == NULL) { + fprintf(stderr, "%s: can't open directory '%s': %s\n", progname, name, strerror(errno)); + return -1; + } + prefix_length = strlen(name) + 1; + + nalloc = 0; + + while ((ent = fts_read(fts))) { + zip_int64_t crc; + + switch (ent->fts_info) { + case FTS_D: + case FTS_DOT: + case FTS_DP: + case FTS_DEFAULT: + case FTS_SL: + case FTS_NSOK: + break; + + case FTS_DC: + case FTS_DNR: + case FTS_ERR: + case FTS_NS: + case FTS_SLNONE: + /* TODO: error */ + fts_close(fts); + return -1; + + case FTS_F: + if (a->nentry >= nalloc) { + nalloc += 16; + if (nalloc > SIZE_MAX / sizeof(a->entry[0])) { + fprintf(stderr, "%s: malloc failure\n", progname); + exit(1); + } + a->entry = realloc(a->entry, sizeof(a->entry[0]) * nalloc); + if (a->entry == NULL) { + fprintf(stderr, "%s: malloc failure\n", progname); + exit(1); + } + } + + a->entry[a->nentry].name = strdup(ent->fts_path + prefix_length); + a->entry[a->nentry].size = (zip_uint64_t)ent->fts_statp->st_size; + if ((crc = compute_crc(ent->fts_accpath)) < 0) { + fts_close(fts); + return -1; + } + + a->entry[a->nentry].crc = (zip_uint32_t)crc; + a->nentry++; + break; + } + } + + if (fts_close(fts)) { + fprintf(stderr, "%s: error closing directory '%s': %s\n", progname, a->name, strerror(errno)); + return -1; + } + + return 0; +} +#endif + + +static int +list_zip(const char *name, struct archive *a) { + zip_t *za; + int err; + struct zip_stat st; + unsigned int i; + + if ((za = zip_open(name, paranoid ? ZIP_CHECKCONS : 0, &err)) == NULL) { + zip_error_t error; + zip_error_init_with_code(&error, err); + fprintf(stderr, "%s: cannot open zip archive '%s': %s\n", progname, name, zip_error_strerror(&error)); + zip_error_fini(&error); + return -1; + } + + a->za = za; + a->nentry = (zip_uint64_t)zip_get_num_entries(za, 0); + + if (a->nentry == 0) + a->entry = NULL; + else { + if ((a->nentry > SIZE_MAX / sizeof(a->entry[0])) || (a->entry = (struct entry *)malloc(sizeof(a->entry[0]) * a->nentry)) == NULL) { + fprintf(stderr, "%s: malloc failure\n", progname); + exit(1); + } + + for (i = 0; i < a->nentry; i++) { + zip_stat_index(za, i, 0, &st); + a->entry[i].name = strdup(st.name); + a->entry[i].size = st.size; + a->entry[i].crc = st.crc; + if (test_files) + test_file(za, i, st.size, st.crc); + if (paranoid) { + a->entry[i].comp_method = st.comp_method; + ef_read(za, i, a->entry + i); + a->entry[i].comment = zip_file_get_comment(za, i, &a->entry[i].comment_length, 0); + } + else { + a->entry[i].comp_method = 0; + a->entry[i].n_extra_fields = 0; + } + } + + if (paranoid) { + int length; + a->comment = zip_get_archive_comment(za, &length, 0); + a->comment_length = (size_t)length; + } + else { + a->comment = NULL; + a->comment_length = 0; + } + } + + return 0; +} + + +static int +comment_compare(const char *c1, size_t l1, const char *c2, size_t l2) { + if (l1 != l2) + return 1; + + if (l1 == 0) + return 0; + + if (c1 == NULL || c2 == NULL) + return c1 == c2; + + return memcmp(c1, c2, (size_t)l2); +} + + +static int +compare_list(char *const name[2], const void *l[2], const zip_uint64_t n[2], int size, int (*cmp)(const void *, const void *), int (*check)(char *const name[2], const void *, const void *), void (*print)(const void *)) { + unsigned int i[2]; + int j, c; + int diff; + +#define INC(k) (i[k]++, l[k] = ((const char *)l[k]) + size) +#define PRINT(k) \ + do { \ + if (header_done == 0 && verbose) { \ + printf("--- %s\n+++ %s\n", name[0], name[1]); \ + header_done = 1; \ + } \ + if (verbose) { \ + printf("%c ", (k) ? '+' : '-'); \ + print(l[k]); \ + } \ + diff = 1; \ + } while (0) + + i[0] = i[1] = 0; + diff = 0; + while (i[0] < n[0] && i[1] < n[1]) { + c = cmp(l[0], l[1]); + + if (c == 0) { + if (check) + diff |= check(name, l[0], l[1]); + INC(0); + INC(1); + } + else if (c < 0) { + PRINT(0); + INC(0); + } + else { + PRINT(1); + INC(1); + } + } + + for (j = 0; j < 2; j++) { + while (i[j] < n[j]) { + PRINT(j); + INC(j); + } + } + + return diff; +} + + +static int +ef_read(zip_t *za, zip_uint64_t idx, struct entry *e) { + zip_int16_t n_local, n_central; + zip_uint16_t i; + + if ((n_local = zip_file_extra_fields_count(za, idx, ZIP_FL_LOCAL)) < 0 || (n_central = zip_file_extra_fields_count(za, idx, ZIP_FL_CENTRAL)) < 0) { + return -1; + } + + e->n_extra_fields = (zip_uint16_t)(n_local + n_central); + + if ((e->extra_fields = (struct ef *)malloc(sizeof(e->extra_fields[0]) * e->n_extra_fields)) == NULL) + return -1; + + for (i = 0; i < n_local; i++) { + e->extra_fields[i].name = e->name; + e->extra_fields[i].data = zip_file_extra_field_get(za, idx, i, &e->extra_fields[i].id, &e->extra_fields[i].size, ZIP_FL_LOCAL); + if (e->extra_fields[i].data == NULL) + return -1; + e->extra_fields[i].flags = ZIP_FL_LOCAL; + } + for (; i < e->n_extra_fields; i++) { + e->extra_fields[i].name = e->name; + e->extra_fields[i].data = zip_file_extra_field_get(za, idx, (zip_uint16_t)(i - n_local), &e->extra_fields[i].id, &e->extra_fields[i].size, ZIP_FL_CENTRAL); + if (e->extra_fields[i].data == NULL) + return -1; + e->extra_fields[i].flags = ZIP_FL_CENTRAL; + } + + qsort(e->extra_fields, e->n_extra_fields, sizeof(e->extra_fields[0]), ef_order); + + return 0; +} + + +static int +ef_compare(char *const name[2], const struct entry *e1, const struct entry *e2) { + struct ef *ef[2]; + zip_uint64_t n[2]; + + ef[0] = e1->extra_fields; + ef[1] = e2->extra_fields; + n[0] = e1->n_extra_fields; + n[1] = e2->n_extra_fields; + + return compare_list(name, (const void **)ef, n, sizeof(struct ef), ef_order, NULL, ef_print); +} + + +static int +ef_order(const void *ap, const void *bp) { + const struct ef *a, *b; + + a = (struct ef *)ap; + b = (struct ef *)bp; + + if (a->flags != b->flags) + return a->flags - b->flags; + if (a->id != b->id) + return a->id - b->id; + if (a->size != b->size) + return a->size - b->size; + return memcmp(a->data, b->data, a->size); +} + + +static void +ef_print(const void *p) { + const struct ef *ef = (struct ef *)p; + int i; + + printf(" %s ", ef->name); + printf("%04x %c <", ef->id, ef->flags == ZIP_FL_LOCAL ? 'l' : 'c'); + for (i = 0; i < ef->size; i++) + printf("%s%02x", i ? " " : "", ef->data[i]); + printf(">\n"); +} + + +static int +entry_cmp(const void *p1, const void *p2) { + const struct entry *e1, *e2; + int c; + + e1 = (struct entry *)p1; + e2 = (struct entry *)p2; + + if ((c = (ignore_case ? strcasecmp : strcmp)(e1->name, e2->name)) != 0) + return c; + if (e1->size != e2->size) { + if (e1->size > e2->size) + return 1; + else + return -1; + } + if (e1->crc != e2->crc) + return (int)e1->crc - (int)e2->crc; + + return 0; +} + + +static int +entry_paranoia_checks(char *const name[2], const void *p1, const void *p2) { + const struct entry *e1, *e2; + int ret; + + e1 = (struct entry *)p1; + e2 = (struct entry *)p2; + + ret = 0; + + if (ef_compare(name, e1, e2) != 0) + ret = 1; + + if (e1->comp_method != e2->comp_method) { + if (verbose) { + if (header_done == 0) { + printf("--- %s\n+++ %s\n", name[0], name[1]); + header_done = 1; + } + printf("--- %s ", e1->name); + printf("method %u\n", e1->comp_method); + printf("+++ %s ", e1->name); + printf("method %u\n", e2->comp_method); + } + ret = 1; + } + if (comment_compare(e1->comment, e1->comment_length, e2->comment, e2->comment_length) != 0) { + if (verbose) { + if (header_done == 0) { + printf("--- %s\n+++ %s\n", name[0], name[1]); + header_done = 1; + } + printf("--- %s ", e1->name); + printf("comment %d\n", e1->comment_length); + printf("+++ %s ", e1->name); + printf("comment %d\n", e2->comment_length); + } + ret = 1; + } + + return ret; +} + + +static void +entry_print(const void *p) { + const struct entry *e; + + e = (struct entry *)p; + + /* TODO PRId64 */ + printf("%10lu %08x %s\n", (unsigned long)e->size, e->crc, e->name); +} + + +static int +test_file(zip_t *za, zip_uint64_t idx, zip_uint64_t size, zip_uint32_t crc) { + zip_file_t *zf; + char buf[8192]; + zip_uint64_t nsize; + zip_int64_t n; + zip_uint32_t ncrc; + + if ((zf = zip_fopen_index(za, idx, 0)) == NULL) { + fprintf(stderr, "%s: cannot open file %" PRIu64 " in archive: %s\n", progname, idx, zip_strerror(za)); + return -1; + } + + ncrc = (zip_uint32_t)crc32(0, NULL, 0); + nsize = 0; + + while ((n = zip_fread(zf, buf, sizeof(buf))) > 0) { + nsize += (zip_uint64_t)n; + ncrc = (zip_uint32_t)crc32(ncrc, (const Bytef *)buf, (unsigned int)n); + } + + if (n < 0) { + fprintf(stderr, "%s: error reading file %" PRIu64 " in archive: %s\n", progname, idx, zip_file_strerror(zf)); + zip_fclose(zf); + return -1; + } + + zip_fclose(zf); + + if (nsize != size) { + fprintf(stderr, "%s: file %" PRIu64 ": unexpected length %" PRId64 " (should be %" PRId64 ")\n", progname, idx, nsize, size); + return -2; + } + if (ncrc != crc) { + fprintf(stderr, "%s: file %" PRIu64 ": unexpected length %x (should be %x)\n", progname, idx, ncrc, crc); + return -2; + } + + return 0; +} diff --git a/plugins/TKLiveSync/libzip_iOS/src/zipmerge.c b/plugins/TKLiveSync/libzip_iOS/src/zipmerge.c new file mode 100644 index 000000000..3b26c95e7 --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/src/zipmerge.c @@ -0,0 +1,284 @@ +/* + zipmerge.c -- merge zip archives + Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + + +#include +#include +#include +#include +#include + +#include "config.h" + +#ifdef HAVE_UNISTD_H +#include +#endif + +#ifndef HAVE_GETOPT +#include "getopt.h" +#endif + +#include "compat.h" +#include "zip.h" + +char *progname; + +#define PROGRAM "zipmerge" + +#define USAGE "usage: %s [-DhIiSsV] target-zip zip...\n" + +char help_head[] = PROGRAM " (" PACKAGE ") by Dieter Baron and Thomas Klausner\n\n"; + +char help[] = "\n\ + -h display this help message\n\ + -V display version number\n\ + -D ignore directory component in file names\n\ + -I ignore case in file names\n\ + -i ask before overwriting files\n\ + -S don't overwrite identical files\n\ + -s overwrite identical files without asking\n\ +\n\ +Report bugs to .\n"; + +char version_string[] = PROGRAM " (" PACKAGE " " VERSION ")\n\ +Copyright (C) 2004-2018 Dieter Baron and Thomas Klausner\n\ +" PACKAGE " comes with ABSOLUTELY NO WARRANTY, to the extent permitted by law.\n"; + +#define OPTIONS "hVDiIsS" + +#define CONFIRM_ALL_YES 0x001 +#define CONFIRM_ALL_NO 0x002 +#define CONFIRM_SAME_YES 0x010 +#define CONFIRM_SAME_NO 0x020 + +int confirm; +zip_flags_t name_flags; + +static int confirm_replace(zip_t *, const char *, zip_uint64_t, zip_t *, const char *, zip_uint64_t); +static zip_t *merge_zip(zip_t *, const char *, const char *); + + +int +main(int argc, char *argv[]) { + zip_t *za; + zip_t **zs; + int c, err; + unsigned int i, n; + char *tname; + + progname = argv[0]; + + confirm = CONFIRM_ALL_YES; + name_flags = 0; + + while ((c = getopt(argc, argv, OPTIONS)) != -1) { + switch (c) { + case 'D': + name_flags |= ZIP_FL_NODIR; + break; + case 'i': + confirm &= ~CONFIRM_ALL_YES; + break; + case 'I': + name_flags |= ZIP_FL_NOCASE; + break; + case 's': + confirm &= ~CONFIRM_SAME_NO; + confirm |= CONFIRM_SAME_YES; + break; + case 'S': + confirm &= ~CONFIRM_SAME_YES; + confirm |= CONFIRM_SAME_NO; + break; + + case 'h': + fputs(help_head, stdout); + printf(USAGE, progname); + fputs(help, stdout); + exit(0); + case 'V': + fputs(version_string, stdout); + exit(0); + + default: + fprintf(stderr, USAGE, progname); + exit(2); + } + } + + if (argc < optind + 2) { + fprintf(stderr, USAGE, progname); + exit(2); + } + + tname = argv[optind++]; + argv += optind; + + n = (unsigned int)(argc - optind); + if ((zs = (zip_t **)malloc(sizeof(zs[0]) * n)) == NULL) { + fprintf(stderr, "%s: out of memory\n", progname); + exit(1); + } + + if ((za = zip_open(tname, ZIP_CREATE, &err)) == NULL) { + zip_error_t error; + zip_error_init_with_code(&error, err); + fprintf(stderr, "%s: can't open zip archive '%s': %s\n", progname, tname, zip_error_strerror(&error)); + zip_error_fini(&error); + exit(1); + } + + for (i = 0; i < n; i++) { + if ((zs[i] = merge_zip(za, tname, argv[i])) == NULL) + exit(1); + } + + if (zip_close(za) < 0) { + fprintf(stderr, "%s: cannot write zip archive '%s': %s\n", progname, tname, zip_strerror(za)); + exit(1); + } + + for (i = 0; i < n; i++) + zip_close(zs[i]); + + exit(0); +} + + +static int +confirm_replace(zip_t *za, const char *tname, zip_uint64_t it, zip_t *zs, const char *sname, zip_uint64_t is) { + char line[1024]; + struct zip_stat st, ss; + + if (confirm & CONFIRM_ALL_YES) + return 1; + else if (confirm & CONFIRM_ALL_NO) + return 0; + + if (zip_stat_index(za, it, ZIP_FL_UNCHANGED, &st) < 0) { + fprintf(stderr, "%s: cannot stat file %" PRIu64 " in '%s': %s\n", progname, it, tname, zip_strerror(za)); + return -1; + } + if (zip_stat_index(zs, is, 0, &ss) < 0) { + fprintf(stderr, "%s: cannot stat file %" PRIu64 " in '%s': %s\n", progname, is, sname, zip_strerror(zs)); + return -1; + } + + if (st.size == ss.size && st.crc == ss.crc) { + if (confirm & CONFIRM_SAME_YES) + return 1; + else if (confirm & CONFIRM_SAME_NO) + return 0; + } + + printf("replace '%s' (%" PRIu64 " / %08x) in `%s'\n" + " with '%s' (%" PRIu64 " / %08x) from `%s'? ", + st.name, st.size, st.crc, tname, ss.name, ss.size, ss.crc, sname); + fflush(stdout); + + if (fgets(line, sizeof(line), stdin) == NULL) { + fprintf(stderr, "%s: read error from stdin: %s\n", progname, strerror(errno)); + return -1; + } + + if (tolower((unsigned char)line[0]) == 'y') + return 1; + + return 0; +} + + +static zip_t * +merge_zip(zip_t *za, const char *tname, const char *sname) { + zip_t *zs; + zip_source_t *source; + zip_int64_t ret, idx; + zip_uint64_t i; + int err; + const char *fname; + + if ((zs = zip_open(sname, 0, &err)) == NULL) { + zip_error_t error; + zip_error_init_with_code(&error, err); + fprintf(stderr, "%s: can't open zip archive '%s': %s\n", progname, sname, zip_error_strerror(&error)); + zip_error_fini(&error); + return NULL; + } + + ret = zip_get_num_entries(zs, 0); + if (ret < 0) { + fprintf(stderr, "%s: cannot get number of entries for '%s': %s\n", progname, sname, zip_strerror(za)); + return NULL; + } + for (i = 0; i < (zip_uint64_t)ret; i++) { + fname = zip_get_name(zs, i, 0); + + if ((idx = zip_name_locate(za, fname, name_flags)) >= 0) { + switch (confirm_replace(za, tname, (zip_uint64_t)idx, zs, sname, i)) { + case 0: + break; + + case 1: + if ((source = zip_source_zip(za, zs, i, 0, 0, 0)) == NULL || zip_replace(za, (zip_uint64_t)idx, source) < 0) { + zip_source_free(source); + fprintf(stderr, "%s: cannot replace '%s' in `%s': %s\n", progname, fname, tname, zip_strerror(za)); + zip_close(zs); + return NULL; + } + break; + + case -1: + zip_close(zs); + return NULL; + + default: + fprintf(stderr, + "%s: internal error: " + "unexpected return code from confirm (%d)\n", + progname, err); + zip_close(zs); + return NULL; + } + } + else { + if ((source = zip_source_zip(za, zs, i, 0, 0, 0)) == NULL || zip_add(za, fname, source) < 0) { + zip_source_free(source); + fprintf(stderr, "%s: cannot add '%s' to `%s': %s\n", progname, fname, tname, zip_strerror(za)); + zip_close(zs); + return NULL; + } + } + } + + return zs; +} diff --git a/plugins/TKLiveSync/libzip_iOS/src/ziptool.c b/plugins/TKLiveSync/libzip_iOS/src/ziptool.c new file mode 100644 index 000000000..fc7f886fb --- /dev/null +++ b/plugins/TKLiveSync/libzip_iOS/src/ziptool.c @@ -0,0 +1,912 @@ +/* + ziptool.c -- tool for modifying zip archive in multiple ways + Copyright (C) 2012-2019 Dieter Baron and Thomas Klausner + + This file is part of libzip, a library to manipulate ZIP archives. + The authors can be contacted at + + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + 1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in + the documentation and/or other materials provided with the + distribution. + 3. The names of the authors may not be used to endorse or promote + products derived from this software without specific prior + written permission. + + THIS SOFTWARE IS PROVIDED BY THE AUTHORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN + IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +*/ + +#include "config.h" + +#include +#include +#include +#include +#ifdef HAVE_UNISTD_H +#include +#endif +#ifdef _WIN32 +/* WIN32 needs for _O_BINARY */ +#include +#ifndef STDIN_FILENO +#define STDIN_FILENO _fileno(stdin) +#endif +#endif + +#ifndef HAVE_GETOPT +#include "getopt.h" +#endif +extern int optopt; + +#include "compat.h" +#include "zip.h" + +typedef struct dispatch_table_s { + const char *cmdline_name; + int argument_count; + const char *arg_names; + const char *description; + int (*function)(int argc, char *argv[]); +} dispatch_table_t; + +static zip_flags_t get_flags(const char *arg); +static zip_int32_t get_compression_method(const char *arg); +static zip_uint16_t get_encryption_method(const char *arg); +static void hexdump(const zip_uint8_t *data, zip_uint16_t len); +int ziptool_post_close(const char *archive); + +#ifndef FOR_REGRESS +#define OPTIONS_REGRESS "" +#define USAGE_REGRESS "" +#endif + +zip_t *za, *z_in[16]; +unsigned int z_in_count; +zip_flags_t stat_flags; + +static int +add(int argc, char *argv[]) { + zip_source_t *zs; + + if ((zs = zip_source_buffer(za, argv[1], strlen(argv[1]), 0)) == NULL) { + fprintf(stderr, "can't create zip_source from buffer: %s\n", zip_strerror(za)); + return -1; + } + + if (zip_add(za, argv[0], zs) == -1) { + zip_source_free(zs); + fprintf(stderr, "can't add file '%s': %s\n", argv[0], zip_strerror(za)); + return -1; + } + return 0; +} + +static int +add_dir(int argc, char *argv[]) { + /* add directory */ + if (zip_add_dir(za, argv[0]) < 0) { + fprintf(stderr, "can't add directory '%s': %s\n", argv[0], zip_strerror(za)); + return -1; + } + return 0; +} + +static int +add_file(int argc, char *argv[]) { + zip_source_t *zs; + zip_uint64_t start = strtoull(argv[2], NULL, 10); + zip_int64_t len = strtoll(argv[3], NULL, 10); + + if (strcmp(argv[1], "/dev/stdin") == 0) { + if ((zs = zip_source_filep(za, stdin, start, len)) == NULL) { + fprintf(stderr, "can't create zip_source from stdin: %s\n", zip_strerror(za)); + return -1; + } + } + else { + if ((zs = zip_source_file(za, argv[1], start, len)) == NULL) { + fprintf(stderr, "can't create zip_source from file: %s\n", zip_strerror(za)); + return -1; + } + } + + if (zip_add(za, argv[0], zs) == -1) { + zip_source_free(zs); + fprintf(stderr, "can't add file '%s': %s\n", argv[0], zip_strerror(za)); + return -1; + } + return 0; +} + +static int +add_from_zip(int argc, char *argv[]) { + zip_uint64_t idx, start; + zip_int64_t len; + int err; + zip_source_t *zs; + /* add from another zip file */ + idx = strtoull(argv[2], NULL, 10); + start = strtoull(argv[3], NULL, 10); + len = strtoll(argv[4], NULL, 10); + if ((z_in[z_in_count] = zip_open(argv[1], ZIP_CHECKCONS, &err)) == NULL) { + zip_error_t error; + zip_error_init_with_code(&error, err); + fprintf(stderr, "can't open zip archive '%s': %s\n", argv[1], zip_error_strerror(&error)); + zip_error_fini(&error); + return -1; + } + if ((zs = zip_source_zip(za, z_in[z_in_count], idx, 0, start, len)) == NULL) { + fprintf(stderr, "error creating file source from '%s' index '%" PRIu64 "': %s\n", argv[1], idx, zip_strerror(za)); + zip_close(z_in[z_in_count]); + return -1; + } + if (zip_add(za, argv[0], zs) == -1) { + fprintf(stderr, "can't add file '%s': %s\n", argv[0], zip_strerror(za)); + zip_source_free(zs); + zip_close(z_in[z_in_count]); + return -1; + } + z_in_count++; + return 0; +} + +static int +cat(int argc, char *argv[]) { + /* output file contents to stdout */ + zip_uint64_t idx; + zip_int64_t n; + zip_file_t *zf; + char buf[8192]; + int err; + idx = strtoull(argv[0], NULL, 10); + +#ifdef _WIN32 + /* Need to set stdout to binary mode for Windows */ + setmode(fileno(stdout), _O_BINARY); +#endif + if ((zf = zip_fopen_index(za, idx, 0)) == NULL) { + fprintf(stderr, "can't open file at index '%" PRIu64 "': %s\n", idx, zip_strerror(za)); + return -1; + } + while ((n = zip_fread(zf, buf, sizeof(buf))) > 0) { + if (fwrite(buf, (size_t)n, 1, stdout) != 1) { + zip_fclose(zf); + fprintf(stderr, "can't write file contents to stdout: %s\n", strerror(errno)); + return -1; + } + } + if (n == -1) { + fprintf(stderr, "can't read file at index '%" PRIu64 "': %s\n", idx, zip_file_strerror(zf)); + zip_fclose(zf); + return -1; + } + if ((err = zip_fclose(zf)) != 0) { + zip_error_t error; + + zip_error_init_with_code(&error, err); + fprintf(stderr, "can't close file at index '%" PRIu64 "': %s\n", idx, zip_error_strerror(&error)); + return -1; + } + + return 0; +} + +static int +count_extra(int argc, char *argv[]) { + zip_int16_t count; + zip_uint64_t idx; + zip_flags_t ceflags = 0; + idx = strtoull(argv[0], NULL, 10); + ceflags = get_flags(argv[1]); + if ((count = zip_file_extra_fields_count(za, idx, ceflags)) < 0) { + fprintf(stderr, "can't get extra field count for file at index '%" PRIu64 "': %s\n", idx, zip_strerror(za)); + return -1; + } + else { + printf("Extra field count: %d\n", count); + } + return 0; +} + +static int +count_extra_by_id(int argc, char *argv[]) { + zip_int16_t count; + zip_uint16_t eid; + zip_flags_t ceflags = 0; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + eid = (zip_uint16_t)strtoull(argv[1], NULL, 10); + ceflags = get_flags(argv[2]); + if ((count = zip_file_extra_fields_count_by_id(za, idx, eid, ceflags)) < 0) { + fprintf(stderr, "can't get extra field count for file at index '%" PRIu64 "' and for id '%d': %s\n", idx, eid, zip_strerror(za)); + return -1; + } + else { + printf("Extra field count: %d\n", count); + } + return 0; +} + +static int delete (int argc, char *argv[]) { + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + if (zip_delete(za, idx) < 0) { + fprintf(stderr, "can't delete file at index '%" PRIu64 "': %s\n", idx, zip_strerror(za)); + return -1; + } + return 0; +} + +static int +delete_extra(int argc, char *argv[]) { + zip_flags_t geflags; + zip_uint16_t eid; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + eid = (zip_uint16_t)strtoull(argv[1], NULL, 10); + geflags = get_flags(argv[2]); + if ((zip_file_extra_field_delete(za, idx, eid, geflags)) < 0) { + fprintf(stderr, "can't delete extra field data for file at index '%" PRIu64 "', extra field id '%d': %s\n", idx, eid, zip_strerror(za)); + return -1; + } + return 0; +} + +static int +delete_extra_by_id(int argc, char *argv[]) { + zip_flags_t geflags; + zip_uint16_t eid, eidx; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + eid = (zip_uint16_t)strtoull(argv[1], NULL, 10); + eidx = (zip_uint16_t)strtoull(argv[2], NULL, 10); + geflags = get_flags(argv[3]); + if ((zip_file_extra_field_delete_by_id(za, idx, eid, eidx, geflags)) < 0) { + fprintf(stderr, "can't delete extra field data for file at index '%" PRIu64 "', extra field id '%d', extra field idx '%d': %s\n", idx, eid, eidx, zip_strerror(za)); + return -1; + } + return 0; +} + +static int +get_archive_comment(int argc, char *argv[]) { + const char *comment; + int len; + /* get archive comment */ + if ((comment = zip_get_archive_comment(za, &len, 0)) == NULL) + printf("No archive comment\n"); + else + printf("Archive comment: %.*s\n", len, comment); + return 0; +} + +static int +get_extra(int argc, char *argv[]) { + zip_flags_t geflags; + zip_uint16_t id, eidx, eflen; + const zip_uint8_t *efdata; + zip_uint64_t idx; + /* get extra field data */ + idx = strtoull(argv[0], NULL, 10); + eidx = (zip_uint16_t)strtoull(argv[1], NULL, 10); + geflags = get_flags(argv[2]); + if ((efdata = zip_file_extra_field_get(za, idx, eidx, &id, &eflen, geflags)) == NULL) { + fprintf(stderr, "can't get extra field data for file at index %" PRIu64 ", extra field %d, flags %u: %s\n", idx, eidx, geflags, zip_strerror(za)); + return -1; + } + printf("Extra field 0x%04x: len %d", id, eflen); + if (eflen > 0) { + printf(", data "); + hexdump(efdata, eflen); + } + printf("\n"); + return 0; +} + +static int +get_extra_by_id(int argc, char *argv[]) { + zip_flags_t geflags; + zip_uint16_t eid, eidx, eflen; + const zip_uint8_t *efdata; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + eid = (zip_uint16_t)strtoull(argv[1], NULL, 10); + eidx = (zip_uint16_t)strtoull(argv[2], NULL, 10); + geflags = get_flags(argv[3]); + if ((efdata = zip_file_extra_field_get_by_id(za, idx, eid, eidx, &eflen, geflags)) == NULL) { + fprintf(stderr, "can't get extra field data for file at index %" PRIu64 ", extra field id %d, ef index %d, flags %u: %s\n", idx, eid, eidx, geflags, zip_strerror(za)); + return -1; + } + printf("Extra field 0x%04x: len %d", eid, eflen); + if (eflen > 0) { + printf(", data "); + hexdump(efdata, eflen); + } + printf("\n"); + return 0; +} + +static int +get_file_comment(int argc, char *argv[]) { + const char *comment; + int len; + zip_uint64_t idx; + /* get file comment */ + idx = strtoull(argv[0], NULL, 10); + if ((comment = zip_get_file_comment(za, idx, &len, 0)) == NULL) { + fprintf(stderr, "can't get comment for '%s': %s\n", zip_get_name(za, idx, 0), zip_strerror(za)); + return -1; + } + else if (len == 0) + printf("No comment for '%s'\n", zip_get_name(za, idx, 0)); + else + printf("File comment for '%s': %.*s\n", zip_get_name(za, idx, 0), len, comment); + return 0; +} + +static int +get_num_entries(int argc, char *argv[]) { + zip_int64_t count; + zip_flags_t flags; + /* get number of entries in archive */ + flags = get_flags(argv[0]); + count = zip_get_num_entries(za, flags); + printf("%" PRId64 " entr%s in archive\n", count, count == 1 ? "y" : "ies"); + return 0; +} + +static int +name_locate(int argc, char *argv[]) { + zip_flags_t flags; + zip_int64_t idx; + flags = get_flags(argv[1]); + + if ((idx = zip_name_locate(za, argv[0], flags)) < 0) { + fprintf(stderr, "can't find entry with name '%s' using flags '%s'\n", argv[0], argv[1]); + } + else { + printf("name '%s' using flags '%s' found at index %" PRId64 "\n", argv[0], argv[1], idx); + } + + return 0; +} + +static void +progress_callback(zip_t *archive, double percentage, void *ud) { + printf("%.1lf%% done\n", percentage * 100); +} + +static int +print_progress(int argc, char *argv[]) { + zip_register_progress_callback_with_state(za, 0.001, progress_callback, NULL, NULL); + return 0; +} + +static int +zrename(int argc, char *argv[]) { + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + if (zip_rename(za, idx, argv[1]) < 0) { + fprintf(stderr, "can't rename file at index '%" PRIu64 "' to '%s': %s\n", idx, argv[1], zip_strerror(za)); + return -1; + } + return 0; +} + +static int +replace_file_contents(int argc, char *argv[]) { + /* replace file contents with data from command line */ + const char *content; + zip_source_t *s; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + content = argv[1]; + if ((s = zip_source_buffer(za, content, strlen(content), 0)) == NULL || zip_file_replace(za, idx, s, 0) < 0) { + zip_source_free(s); + fprintf(stderr, "error replacing file data: %s\n", zip_strerror(za)); + return -1; + } + return 0; +} + +static int +set_extra(int argc, char *argv[]) { + zip_flags_t geflags; + zip_uint16_t eid, eidx; + const zip_uint8_t *efdata; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + eid = (zip_uint16_t)strtoull(argv[1], NULL, 10); + eidx = (zip_uint16_t)strtoull(argv[2], NULL, 10); + geflags = get_flags(argv[3]); + efdata = (zip_uint8_t *)argv[4]; + if ((zip_file_extra_field_set(za, idx, eid, eidx, efdata, (zip_uint16_t)strlen((const char *)efdata), geflags)) < 0) { + fprintf(stderr, "can't set extra field data for file at index '%" PRIu64 "', extra field id '%d', index '%d': %s\n", idx, eid, eidx, zip_strerror(za)); + return -1; + } + return 0; +} + +static int +set_archive_comment(int argc, char *argv[]) { + if (zip_set_archive_comment(za, argv[0], (zip_uint16_t)strlen(argv[0])) < 0) { + fprintf(stderr, "can't set archive comment to '%s': %s\n", argv[0], zip_strerror(za)); + return -1; + } + return 0; +} + +static int +set_file_comment(int argc, char *argv[]) { + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + if (zip_file_set_comment(za, idx, argv[1], (zip_uint16_t)strlen(argv[1]), 0) < 0) { + fprintf(stderr, "can't set file comment at index '%" PRIu64 "' to '%s': %s\n", idx, argv[1], zip_strerror(za)); + return -1; + } + return 0; +} + +static int +set_file_compression(int argc, char *argv[]) { + zip_int32_t method; + zip_uint32_t flags; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + method = get_compression_method(argv[1]); + flags = (zip_uint32_t)strtoull(argv[2], NULL, 10); + if (zip_set_file_compression(za, idx, method, flags) < 0) { + fprintf(stderr, "can't set file compression method at index '%" PRIu64 "' to '%s', flags '%d': %s\n", idx, argv[1], flags, zip_strerror(za)); + return -1; + } + return 0; +} + +static int +set_file_encryption(int argc, char *argv[]) { + zip_uint16_t method; + zip_uint64_t idx; + char *password; + idx = strtoull(argv[0], NULL, 10); + method = get_encryption_method(argv[1]); + password = argv[2]; + if (strlen(password) == 0) { + password = NULL; + } + if (zip_file_set_encryption(za, idx, method, password) < 0) { + fprintf(stderr, "can't set file encryption method at index '%" PRIu64 "' to '%s': %s\n", idx, argv[1], zip_strerror(za)); + return -1; + } + return 0; +} + +static int +set_file_mtime(int argc, char *argv[]) { + /* set file last modification time (mtime) */ + time_t mtime; + zip_uint64_t idx; + idx = strtoull(argv[0], NULL, 10); + mtime = (time_t)strtoull(argv[1], NULL, 10); + if (zip_file_set_mtime(za, idx, mtime, 0) < 0) { + fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%ld': %s\n", idx, mtime, zip_strerror(za)); + return -1; + } + return 0; +} + +static int +set_file_mtime_all(int argc, char *argv[]) { + /* set last modification time (mtime) for all files */ + time_t mtime; + zip_int64_t num_entries; + zip_uint64_t idx; + mtime = (time_t)strtoull(argv[0], NULL, 10); + + if ((num_entries = zip_get_num_entries(za, 0)) < 0) { + fprintf(stderr, "can't get number of entries: %s\n", zip_strerror(za)); + return -1; + } + for (idx = 0; idx < (zip_uint64_t)num_entries; idx++) { + if (zip_file_set_mtime(za, idx, mtime, 0) < 0) { + fprintf(stderr, "can't set file mtime at index '%" PRIu64 "' to '%ld': %s\n", idx, mtime, zip_strerror(za)); + return -1; + } + } + return 0; +} + +static int +set_password(int argc, char *argv[]) { + /* set default password */ + if (zip_set_default_password(za, argv[0]) < 0) { + fprintf(stderr, "can't set default password to '%s'\n", argv[0]); + return -1; + } + return 0; +} + +static int +zstat(int argc, char *argv[]) { + zip_uint64_t idx; + char buf[100]; + struct zip_stat sb; + idx = strtoull(argv[0], NULL, 10); + + if (zip_stat_index(za, idx, stat_flags, &sb) < 0) { + fprintf(stderr, "zip_stat_index failed on '%" PRIu64 "' failed: %s\n", idx, zip_strerror(za)); + return -1; + } + + if (sb.valid & ZIP_STAT_NAME) + printf("name: '%s'\n", sb.name); + if (sb.valid & ZIP_STAT_INDEX) + printf("index: '%" PRIu64 "'\n", sb.index); + if (sb.valid & ZIP_STAT_SIZE) + printf("size: '%" PRIu64 "'\n", sb.size); + if (sb.valid & ZIP_STAT_COMP_SIZE) + printf("compressed size: '%" PRIu64 "'\n", sb.comp_size); + if (sb.valid & ZIP_STAT_MTIME) { + struct tm *tpm; + tpm = localtime(&sb.mtime); + if (tpm == NULL) { + printf("mtime: \n"); + } + else { + strftime(buf, sizeof(buf), "%a %b %d %Y %H:%M:%S", tpm); + printf("mtime: '%s'\n", buf); + } + } + if (sb.valid & ZIP_STAT_CRC) + printf("crc: '%0x'\n", sb.crc); + if (sb.valid & ZIP_STAT_COMP_METHOD) + printf("compression method: '%d'\n", sb.comp_method); + if (sb.valid & ZIP_STAT_ENCRYPTION_METHOD) + printf("encryption method: '%d'\n", sb.encryption_method); + if (sb.valid & ZIP_STAT_FLAGS) + printf("flags: '%ld'\n", (long)sb.flags); + printf("\n"); + + return 0; +} + +static zip_flags_t +get_flags(const char *arg) { + zip_flags_t flags = 0; + if (strchr(arg, 'C') != NULL) + flags |= ZIP_FL_NOCASE; + if (strchr(arg, 'c') != NULL) + flags |= ZIP_FL_CENTRAL; + if (strchr(arg, 'd') != NULL) + flags |= ZIP_FL_NODIR; + if (strchr(arg, 'l') != NULL) + flags |= ZIP_FL_LOCAL; + if (strchr(arg, 'u') != NULL) + flags |= ZIP_FL_UNCHANGED; + return flags; +} + +static zip_int32_t +get_compression_method(const char *arg) { + if (strcmp(arg, "default") == 0) + return ZIP_CM_DEFAULT; + else if (strcmp(arg, "store") == 0) + return ZIP_CM_STORE; + else if (strcmp(arg, "deflate") == 0) + return ZIP_CM_DEFLATE; +#if defined(HAVE_LIBBZ2) + else if (strcmp(arg, "bzip2") == 0) + return ZIP_CM_BZIP2; +#endif + else if (strcmp(arg, "unknown") == 0) + return 100; + return 0; /* TODO: error handling */ +} + +static zip_uint16_t +get_encryption_method(const char *arg) { + if (strcmp(arg, "none") == 0) + return ZIP_EM_NONE; + else if (strcmp(arg, "AES-128") == 0) + return ZIP_EM_AES_128; + else if (strcmp(arg, "AES-192") == 0) + return ZIP_EM_AES_192; + else if (strcmp(arg, "AES-256") == 0) + return ZIP_EM_AES_256; + else if (strcmp(arg, "unknown") == 0) + return 100; + return (zip_uint16_t)-1; /* TODO: error handling */ +} + +static void +hexdump(const zip_uint8_t *data, zip_uint16_t len) { + zip_uint16_t i; + + if (len <= 0) + return; + + printf("0x"); + + for (i = 0; i < len; i++) + printf("%02x", data[i]); + + return; +} + + +static zip_t * +read_from_file(const char *archive, int flags, zip_error_t *error, zip_uint64_t offset, zip_uint64_t length) { + zip_t *zaa; + zip_source_t *source; + int err; + + if (offset == 0 && length == 0) { + if (strcmp(archive, "/dev/stdin") == 0) { + zaa = zip_fdopen(STDIN_FILENO, flags & ~ZIP_CREATE, &err); + } + else { + zaa = zip_open(archive, flags, &err); + } + if (zaa == NULL) { + zip_error_set(error, err, errno); + return NULL; + } + } + else { + if (length > ZIP_INT64_MAX) { + zip_error_set(error, ZIP_ER_INVAL, 0); + return NULL; + } + if ((source = zip_source_file_create(archive, offset, (zip_int64_t)length, error)) == NULL || (zaa = zip_open_from_source(source, flags, error)) == NULL) { + zip_source_free(source); + return NULL; + } + } + + return zaa; +} + +dispatch_table_t dispatch_table[] = {{"add", 2, "name content", "add file called name using content", add}, + {"add_dir", 1, "name", "add directory", add_dir}, + {"add_file", 4, "name file_to_add offset len", "add file to archive, len bytes starting from offset", add_file}, + {"add_from_zip", 5, "name archivename index offset len", "add file from another archive, len bytes starting from offset", add_from_zip}, + {"cat", 1, "index", "output file contents to stdout", cat}, + {"count_extra", 2, "index flags", "show number of extra fields for archive entry", count_extra}, + {"count_extra_by_id", 3, "index extra_id flags", "show number of extra fields of type extra_id for archive entry", count_extra_by_id}, + {"delete", 1, "index", "remove entry", delete}, + {"delete_extra", 3, "index extra_idx flags", "remove extra field", delete_extra}, + {"delete_extra_by_id", 4, "index extra_id extra_index flags", "remove extra field of type extra_id", delete_extra_by_id}, + {"get_archive_comment", 0, "", "show archive comment", get_archive_comment}, + {"get_extra", 3, "index extra_index flags", "show extra field", get_extra}, + {"get_extra_by_id", 4, "index extra_id extra_index flags", "show extra field of type extra_id", get_extra_by_id}, + {"get_file_comment", 1, "index", "get file comment", get_file_comment}, + {"get_num_entries", 1, "flags", "get number of entries in archive", get_num_entries}, + {"name_locate", 2, "name flags", "find entry in archive", name_locate}, + {"print_progress", 0, "", "print progress during zip_close()", print_progress}, + {"rename", 2, "index name", "rename entry", zrename}, + {"replace_file_contents", 2, "index data", "replace entry with data", replace_file_contents}, + {"set_archive_comment", 1, "comment", "set archive comment", set_archive_comment}, + {"set_extra", 5, "index extra_id extra_index flags value", "set extra field", set_extra}, + {"set_file_comment", 2, "index comment", "set file comment", set_file_comment}, + {"set_file_compression", 3, "index method compression_flags", "set file compression method", set_file_compression}, + {"set_file_encryption", 3, "index method password", "set file encryption method", set_file_encryption}, + {"set_file_mtime", 2, "index timestamp", "set file modification time", set_file_mtime}, + {"set_file_mtime_all", 1, "timestamp", "set file modification time for all files", set_file_mtime_all}, + {"set_password", 1, "password", "set default password for encryption", set_password}, + {"stat", 1, "index", "print information about entry", zstat} +#ifdef DISPATCH_REGRESS + , + DISPATCH_REGRESS +#endif +}; + +static int +dispatch(int argc, char *argv[]) { + unsigned int i; + for (i = 0; i < sizeof(dispatch_table) / sizeof(dispatch_table_t); i++) { + if (strcmp(dispatch_table[i].cmdline_name, argv[0]) == 0) { + argc--; + argv++; + /* 1 for the command, argument_count for the arguments */ + if (argc < dispatch_table[i].argument_count) { + fprintf(stderr, "not enough arguments for command '%s': %d available, %d needed\n", dispatch_table[i].cmdline_name, argc, dispatch_table[i].argument_count); + return -1; + } + if (dispatch_table[i].function(argc, argv) == 0) + return 1 + dispatch_table[i].argument_count; + return -1; + } + } + + fprintf(stderr, "unknown command '%s'\n", argv[0]); + return -1; +} + + +static void +usage(const char *progname, const char *reason) { + unsigned int i; + FILE *out; + if (reason == NULL) + out = stdout; + else + out = stderr; + fprintf(out, "usage: %s [-ceghnrst]" USAGE_REGRESS " [-l len] [-o offset] archive command1 [args] [command2 [args] ...]\n", progname); + if (reason != NULL) { + fprintf(out, "%s\n", reason); + exit(1); + } + + fprintf(out, "\nSupported options are:\n" + "\t-c\t\tcheck consistency\n" + "\t-e\t\terror if archive already exists (only useful with -n)\n" +#ifdef FOR_REGRESS + "\t-F size\t\tfragment size for in memory archive\n" +#endif + "\t-g\t\tguess file name encoding (for stat)\n" +#ifdef FOR_REGRESS + "\t-H\t\twrite files with holes compactly\n" +#endif + "\t-h\t\tdisplay this usage\n" + "\t-l len\t\tonly use len bytes of file\n" +#ifdef FOR_REGRESS + "\t-m\t\tread archive into memory, and modify there; write out at end\n" +#endif + "\t-n\t\tcreate archive if it doesn't exist\n" + "\t-o offset\tstart reading file at offset\n" + "\t-r\t\tprint raw file name encoding without translation (for stat)\n" + "\t-s\t\tfollow file name convention strictly (for stat)\n" + "\t-t\t\tdisregard current archive contents, if any\n"); + fprintf(out, "\nSupported commands and arguments are:\n"); + for (i = 0; i < sizeof(dispatch_table) / sizeof(dispatch_table_t); i++) { + fprintf(out, "\t%s %s\n\t %s\n\n", dispatch_table[i].cmdline_name, dispatch_table[i].arg_names, dispatch_table[i].description); + } + fprintf(out, "\nSupported flags are:\n" + "\t0\t(no flags)\n" + "\tC\tZIP_FL_NOCASE\n" + "\tc\tZIP_FL_CENTRAL\n" + "\td\tZIP_FL_NODIR\n" + "\tl\tZIP_FL_LOCAL\n" + "\tu\tZIP_FL_UNCHANGED\n"); + fprintf(out, "\nSupported compression methods are:\n" + "\tdefault\n" +#if defined(HAVE_LIBBZ2) + "\tbzip2\n" +#endif + "\tdeflate\n" + "\tstore\n"); + fprintf(out, "\nSupported compression methods are:\n" + "\tnone\n" + "\tAES-128\n" + "\tAES-192\n" + "\tAES-256\n"); + fprintf(out, "\nThe index is zero-based.\n"); + exit(0); +} + +#ifndef FOR_REGRESS +#define ziptool_open read_from_file +int +ziptool_post_close(const char *archive) { + return 0; +} +#endif + +int +main(int argc, char *argv[]) { + const char *archive; + unsigned int i; + int c, arg, err, flags; + const char *prg; + zip_uint64_t len = 0, offset = 0; + zip_error_t error; + + flags = 0; + prg = argv[0]; + + while ((c = getopt(argc, argv, "ceghl:no:rst" OPTIONS_REGRESS)) != -1) { + switch (c) { + case 'c': + flags |= ZIP_CHECKCONS; + break; + case 'e': + flags |= ZIP_EXCL; + break; + case 'g': + stat_flags = ZIP_FL_ENC_GUESS; + break; + case 'h': + usage(prg, NULL); + break; + case 'l': + len = strtoull(optarg, NULL, 10); + break; + case 'n': + flags |= ZIP_CREATE; + break; + case 'o': + offset = strtoull(optarg, NULL, 10); + break; + case 'r': + stat_flags = ZIP_FL_ENC_RAW; + break; + case 's': + stat_flags = ZIP_FL_ENC_STRICT; + break; + case 't': + flags |= ZIP_TRUNCATE; + break; +#ifdef GETOPT_REGRESS + GETOPT_REGRESS +#endif + + default: { + char reason[128]; + snprintf(reason, sizeof(reason), "invalid option -%c", optopt); + usage(prg, reason); + } + } + } + + if (optind >= argc - 1) + usage(prg, "too few arguments"); + + arg = optind; + + archive = argv[arg++]; + + if (flags == 0) + flags = ZIP_CREATE; + + zip_error_init(&error); + za = ziptool_open(archive, flags, &error, offset, len); + if (za == NULL) { + fprintf(stderr, "can't open zip archive '%s': %s\n", archive, zip_error_strerror(&error)); + zip_error_fini(&error); + return 1; + } + zip_error_fini(&error); + + err = 0; + while (arg < argc) { + int ret; + ret = dispatch(argc - arg, argv + arg); + if (ret > 0) { + arg += ret; + } + else { + err = 1; + break; + } + } + + if (zip_close(za) == -1) { + fprintf(stderr, "can't close zip archive '%s': %s\n", archive, zip_strerror(za)); + return 1; + } + if (ziptool_post_close(archive) < 0) { + err = 1; + } + + for (i = 0; i < z_in_count; i++) { + if (zip_close(z_in[i]) < 0) { + err = 1; + } + } + + return err; +} diff --git a/src/Entitlements.plist b/src/Entitlements.plist new file mode 100644 index 000000000..a1c430a57 --- /dev/null +++ b/src/Entitlements.plist @@ -0,0 +1,8 @@ + + + + + com.apple.security.cs.allow-unsigned-executable-memory + + + diff --git a/src/NativeScript/GlobalObject.mm b/src/NativeScript/GlobalObject.mm index 738f59e0c..3f4170dc4 100644 --- a/src/NativeScript/GlobalObject.mm +++ b/src/NativeScript/GlobalObject.mm @@ -232,6 +232,12 @@ static void runLoopBeforeWaitingPerformWork(CFRunLoopObserverRef observer, CFRun this->putDirectNativeFunction(vm, this, Identifier::fromString(globalExec, "__releaseNativeCounterpart"), 1, &releaseNativeCounterpart, NoIntrinsic, static_cast(PropertyAttribute::DontEnum)); this->_smartStringifyFunction.set(vm, this, jsCast(evaluate(this->globalExec(), makeSource(WTF::String(smartStringify_js, smartStringify_js_len), SourceOrigin()), JSValue()))); +#if TARGET_OS_UIKITFORMAC + bool uikitformac = true; +#else + bool uikitformac = false; +#endif + this->putDirect(vm, Identifier::fromString(globalExec, "__uikitformac"), JSValue(uikitformac)); #ifdef DEBUG SourceCode sourceCode = makeSource(WTF::String(__extends_js, __extends_js_len), SourceOrigin(), URL(URL(), "__extends.ts"_s)); @@ -314,7 +320,7 @@ static void runLoopBeforeWaitingPerformWork(CFRunLoopObserverRef observer, CFRun VM& vm = execState->vm(); if (propertyName == globalObject->_interopIdentifier) { - propertySlot.setValue(object, static_cast(PropertyAttribute::DontEnum | PropertyAttribute::DontDelete | PropertyAttribute::ReadOnly), globalObject->interop()); + propertySlot.setValue(globalObject, static_cast(PropertyAttribute::DontEnum | PropertyAttribute::DontDelete | PropertyAttribute::ReadOnly), globalObject->interop()); return true; } @@ -417,11 +423,12 @@ static void runLoopBeforeWaitingPerformWork(CFRunLoopObserverRef observer, CFRun auto scope = DECLARE_THROW_SCOPE(vm); throwVMError(execState, scope, createReferenceError(execState, errorMessage)); - propertySlot.setValue(object, static_cast(PropertyAttribute::None), jsUndefined()); + propertySlot.setValue(globalObject, static_cast(PropertyAttribute::None), jsUndefined()); return true; } - object->putDirectWithoutTransition(vm, propertyName, symbolWrapper); + globalObject->putDirect(vm, propertyName, symbolWrapper); + propertySlot.setValue(object, static_cast(PropertyAttribute::None), symbolWrapper); return true; } diff --git a/src/NativeScript/Metadata/Metadata.mm b/src/NativeScript/Metadata/Metadata.mm index c47af3f45..aa59af133 100644 --- a/src/NativeScript/Metadata/Metadata.mm +++ b/src/NativeScript/Metadata/Metadata.mm @@ -24,7 +24,12 @@ static UInt8 getSystemVersion() { return iosVersion; } +#if TARGET_OS_UIKITFORMAC + NSString* version = @"13.2"; +#else NSString* version = [[UIDevice currentDevice] systemVersion]; +#endif + NSArray* versionTokens = [version componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"."]]; UInt8 majorVersion = (UInt8)[versionTokens[0] intValue]; UInt8 minorVersion = (UInt8)[versionTokens[1] intValue]; diff --git a/src/NativeScript/ObjC/IsObjcObject.cpp b/src/NativeScript/ObjC/IsObjcObject.cpp index bf85027f3..98bf9a133 100644 --- a/src/NativeScript/ObjC/IsObjcObject.cpp +++ b/src/NativeScript/ObjC/IsObjcObject.cpp @@ -43,7 +43,11 @@ #define _OBJC_TAG_EXT_INDEX_MASK 0xff #if OBJC_MSB_TAGGED_POINTERS +#if TARGET_OS_UIKITFORMAC +#define _OBJC_TAG_MASK ~(-1ULL >> (64 - 53)) +#else #define _OBJC_TAG_MASK (1ULL << 63) +#endif // TARGET_OS_UIKITFORMAC #define _OBJC_TAG_INDEX_SHIFT 60 #define _OBJC_TAG_EXT_INDEX_SHIFT 52 #else @@ -90,7 +94,7 @@ typedef enum { } objc_tag_index_t; static inline bool _objc_isTaggedPointer(const void* ptr) { - return ((intptr_t)ptr & _OBJC_TAG_MASK) == _OBJC_TAG_MASK; + return ((intptr_t)ptr & _OBJC_TAG_MASK) != 0; } static inline objc_tag_index_t _objc_getTaggedPointerTag(const void* ptr) { @@ -303,10 +307,17 @@ bool IsObjcObject(const void* inPtr) { // https://twitter.com/gparker/status/801894068502433792 // You can filter out some false positives by checking malloc_size(obj) >= class_getInstanceSize(cls). // + +// TODO: Enable for Mac Catalyst after official release if it works. +// Right now the following check gives a false-negative result for instances of type NSCTFontDescriptor +// on Mac Catalyst. Treating them as non-ObjC objects, because class_getInstanceSize(ptrClass) returns 104 +// while mallocsize is smaller - 96. +#if !TARGET_OS_UIKITFORMAC size_t pointerSize = malloc_size(inPtr); if (pointerSize > 0 && pointerSize < class_getInstanceSize(ptrClass)) { return false; } +#endif // !TARGET_OS_UIKITFORMAC #endif // !defined SKIP_OBJECTIVE_C_CHECKS || !SKIP_OBJECTIVE_C_CHECKS return true; diff --git a/src/NativeScript/ObjC/ObjCPrototype.mm b/src/NativeScript/ObjC/ObjCPrototype.mm index c34a8e52b..8b7cf4708 100644 --- a/src/NativeScript/ObjC/ObjCPrototype.mm +++ b/src/NativeScript/ObjC/ObjCPrototype.mm @@ -116,10 +116,11 @@ static EncodedJSValue JSC_HOST_CALL getIterator(ExecState* execState) { JSObject* basePrototype = prototype->getPrototype(execState->vm(), execState).toObject(execState); PropertySlot tempPropSlot(JSValue(basePrototype), PropertySlot::InternalMethodType::GetOwnProperty); - if (basePrototype->methodTable(execState->vm())->getOwnPropertySlot(basePrototype, execState, propertyName, tempPropSlot)) { - // basePrototype has the property defined return false and let the prototype chain handle it - return false; - } + // + //if (basePrototype->methodTable(execState->vm())->getOwnPropertySlot(basePrototype, execState, propertyName, tempPropSlot)) { + // // basePrototype has the property defined return false and let the prototype chain handle it + // return false; + //} prototype->_definingPropertyName = propertyName; prototype->defineNativeProperty(execState->vm(), globalObject, propertyMeta); diff --git a/src/NativeScript/TypeFactory.mm b/src/NativeScript/TypeFactory.mm index 0c373cc98..5927ab0a4 100644 --- a/src/NativeScript/TypeFactory.mm +++ b/src/NativeScript/TypeFactory.mm @@ -330,7 +330,7 @@ : class_getSuperclass(dedupedKey.klasses.known); if (superClass) { - parentConstructor = getObjCNativeConstructorByNativeName(globalObject, superClass, ProtocolMetas()).get(); + parentConstructor = globalObject->constructorFor(superClass, ProtocolMetas()).get(); parentPrototype = parentConstructor.get(globalObject->globalExec(), vm.propertyNames->prototype); /// If we have a super class which somehow references us, our constructor will already have been cached diff --git a/src/WebKit.cmake b/src/WebKit.cmake index 0bf42f328..cd7a6ed85 100644 --- a/src/WebKit.cmake +++ b/src/WebKit.cmake @@ -57,6 +57,7 @@ get_property(WEBKIT_BINARY_DIR TARGET WebKit PROPERTY _EP_BINARY_DIR) set(WEBKIT_INCLUDE_DIRECTORIES "${WEBKIT_SOURCE_DIR}/Source" "${WTF_SOURCE_DIR}" + "${WTF_SOURCE_DIR}/icu" "${BMALLOC_SOURCE_DIR}" ${JavaScriptCore_INCLUDE_DIRECTORIES} "${WEBKIT_BINARY_DIR}" diff --git a/src/metadata-generator b/src/metadata-generator index e8ffc28e7..a79761506 160000 --- a/src/metadata-generator +++ b/src/metadata-generator @@ -1 +1 @@ -Subproject commit e8ffc28e7bb1276f94db77b081389d42a721e1f9 +Subproject commit a79761506e1cc102a6526bce882a690ff36bea0b diff --git a/src/webkit b/src/webkit index 34356a25e..26e1d9d2d 160000 --- a/src/webkit +++ b/src/webkit @@ -1 +1 @@ -Subproject commit 34356a25e0a70ae8bf69c04b4d7089e958e37847 +Subproject commit 26e1d9d2d7cd01af3a35a94ca72a5b6c5ba683aa diff --git a/tests/TestFixtures/Interfaces/TNSInheritance.h b/tests/TestFixtures/Interfaces/TNSInheritance.h index a0b492e74..0aba519c5 100644 --- a/tests/TestFixtures/Interfaces/TNSInheritance.h +++ b/tests/TestFixtures/Interfaces/TNSInheritance.h @@ -36,6 +36,7 @@ @end @interface TNSIBaseInterface : NSObject +- (TNSIBaseInterface*)baseHiddenMethod; @end @interface TNSIBaseInterface (TNSIBaseCategory) @@ -62,7 +63,15 @@ @property int derivedNotImplementedOptionalProperty; @end +#ifdef COMPILING_FOR_LINKING // for linking, i.e. inherit from private class +@interface TNSIDerivedInterfacePrivate : TNSIBaseInterface +@end +@interface TNSIDerivedInterface : TNSIDerivedInterfacePrivate +#else // not for linking, i.e. compiling for metadata -> inherit from real class @interface TNSIDerivedInterface : TNSIBaseInterface +#endif + +- (TNSIDerivedInterface*)baseHiddenMethod; @end @interface TNSIDerivedInterface (TNSIDerivedCategory) @@ -95,4 +104,6 @@ + (id)instanceFromPublicTypeImplementingProtocol; ++ (TNSIDerivedInterface*)instanceFromPublicTypeInheritingFromPrivate; + @end diff --git a/tests/TestFixtures/Interfaces/TNSInheritance.m b/tests/TestFixtures/Interfaces/TNSInheritance.m index a5218400b..2ee248ba6 100644 --- a/tests/TestFixtures/Interfaces/TNSInheritance.m +++ b/tests/TestFixtures/Interfaces/TNSInheritance.m @@ -45,6 +45,12 @@ + (void)staticBaseImplementedOptionalMethod { - (void)baseImplementedOptionalMethod { TNSLog([NSString stringWithFormat:@"%@ called", NSStringFromSelector(_cmd)]); } + +- (TNSIBaseInterface*)baseHiddenMethod { + TNSLog([NSString stringWithFormat:@"base %@ called", NSStringFromSelector(_cmd)]); + return self; +} + @end #pragma clang diagnostic push @@ -60,6 +66,12 @@ - (void)baseImplementedCategoryMethod { @end @implementation TNSIDerivedInterface + +- (TNSIDerivedInterface*)baseHiddenMethod { + TNSLog([NSString stringWithFormat:@"derived %@ called", NSStringFromSelector(_cmd)]); + return self; +} + + (int)staticDerivedImplementedOptionalProperty { return -1; } @@ -168,6 +180,12 @@ - (void)baseImplementedOptionalMethod { @end +///////////////////////////////////////////////////////////////////////// +/// TNSIDerivedInterfacePrivate + +@implementation TNSIDerivedInterfacePrivate : TNSIBaseInterface +@end + ///////////////////////////////////////////////////////////////////////// /// TNSPrivateInterfaceResults @@ -189,4 +207,8 @@ + (TNSIBaseInterface*)instanceFromUnrelatedPrivateType { return [TNSIBaseInterface new]; } ++ (TNSIDerivedInterface*)instanceFromPublicTypeInheritingFromPrivate { + return [TNSIDerivedInterface new]; +} + @end diff --git a/tests/TestRunner/app/ApiTests.js b/tests/TestRunner/app/ApiTests.js index d1837456b..4014e1734 100644 --- a/tests/TestRunner/app/ApiTests.js +++ b/tests/TestRunner/app/ApiTests.js @@ -773,21 +773,21 @@ describe(module.id, function () { if (TNSIsConfigurationDebug) { it("ApiIterator", function () { var counter = 0; - - Object.getOwnPropertyNames(global).forEach(function (name) { -// console.debug(`Symbol global.${name}`); - + Object.getOwnPropertyNames(global).forEach(function (globalName) { +// console.debug(`Symbol global.${globalName}`); + // according to SDK headers kCFAllocatorUseContext is of type id, but in fact it is not - if (name == "kCFAllocatorUseContext" || - name == "JSExport" || - name == "kSCNetworkInterfaceIPv4") { + if (globalName == "kCFAllocatorUseContext" + || globalName == "JSExport" + || globalName == "kSCNetworkInterfaceIPv4" + ) { return; } counter++; try { - var symbol = global[name]; + var symbol = global[globalName]; } catch (e) { if (e instanceof ReferenceError) { return; @@ -798,21 +798,24 @@ describe(module.id, function () { if (NSObject.isPrototypeOf(symbol) || symbol === NSObject) { var klass = symbol; - expect(klass).toBeDefined(`Class ${name} should be defined.`); + expect(klass).toBeDefined(`Class ${globalName} should be defined.`); // console.debug(`Entering class ${klass}`); Object.getOwnPropertyNames(klass).forEach(function (y) { if (klass.respondsToSelector(y)) { -// console.debug(`Checking class member ${name} . ${y}`); +// console.debug(`Checking class member ${globalName} . ${y}`); // supportedVideoFormats is a property and it's getter is being called the value is read below. // We skip it because it will throw "Supported video formats should be called on individual configuration class." - if (y == "supportedVideoFormats") { + if (y == "supportedVideoFormats" + || (globalName == "MPMusicPlayerController" && + (y == "applicationQueuePlayer") || (y == "applicationMusicPlayer")) // Blocking calls in Catalyst + ) { return; } var method = klass[y]; - expect(method).toBeDefined(`Static method ${name} . ${y} should be defined.`); + expect(method).toBeDefined(`Static method ${globalName} . ${y} should be defined.`); counter++; } @@ -820,13 +823,13 @@ describe(module.id, function () { Object.getOwnPropertyNames(klass.prototype).forEach(function (y) { if (klass.instancesRespondToSelector(y)) { -// console.debug(`Checking instance member ${name} . ${y}`); - +// console.debug(`Checking instance member ${globalName} . ${y}`); + var property = Object.getOwnPropertyDescriptor(klass.prototype, y); if (!property) { var method = klass.prototype[y]; - expect(method).toBeDefined(`Instance method -[${name} ${y}] should be defined.`); + expect(method).toBeDefined(`Instance method -[${globalName} ${y}] should be defined.`); } counter++; diff --git a/tests/TestRunner/app/Inheritance/InheritanceTests.js b/tests/TestRunner/app/Inheritance/InheritanceTests.js index 9c91bcab9..43444e846 100644 --- a/tests/TestRunner/app/Inheritance/InheritanceTests.js +++ b/tests/TestRunner/app/Inheritance/InheritanceTests.js @@ -2012,9 +2012,10 @@ describe(module.id, function () { const jsImplementedClassMembersContainer = isStatic ? TNSIDerivedInterfaceImpl /* static properties are provided by the constructor function (and it's prototype chain)*/ : TNSIDerivedInterfaceImpl.prototype /* instance properties are provided by the object's prototype and it's chain */; - const firstBase = Object.getPrototypeOf(jsImplementedClassMembersContainer); - const secondBase = Object.getPrototypeOf(firstBase); - const scopes = [firstBase, secondBase]; + const derivedInterface = Object.getPrototypeOf(jsImplementedClassMembersContainer); + const derivedInterfacePrivate = Object.getPrototypeOf(derivedInterface); + const baseInterface = Object.getPrototypeOf(derivedInterfacePrivate); + const scopes = [derivedInterface, baseInterface]; const prefixes = isStatic ? ["staticDerived", "staticBase"] : ["derived", "base"]; for (i in prefixes) { @@ -2049,6 +2050,21 @@ describe(module.id, function () { checkMethodsAvailability(TNSIDerivedInterfaceImpl, true); }); + it("Hidden base method", function() { + expect(Object.getOwnPropertyDescriptor(TNSIBaseInterface.prototype, "baseHiddenMethod")).toBeDefined(); + expect(Object.getOwnPropertyDescriptor(TNSIDerivedInterface.prototype, "baseHiddenMethod")).toBeDefined(); + + { + var base = new TNSIBaseInterface(); + expect(base.baseHiddenMethod()).toBe(base); + } + + { + var derived = new TNSIDerivedInterface(); + expect(derived.baseHiddenMethod()).toBe(derived); + } + }); + it('AddedNewProperty', function () { var MyObject = NSObject.extend({ property: 1, @@ -2247,6 +2263,16 @@ describe(module.id, function () { expect(inst.class()).toBe(TNSIBaseInterface, "Actual class is TNSIBaseInterface"); expect(inst.constructor).toBe(global.TNSIBaseInterface, "Constructor is global TNSIBaseInterface despite the protocol declaration because TNSIBaseInterface already conforms to it"); }); + + it("TNSIDerivedInterface which inherits from private class", function () { + var inst = TNSPrivateInterfaceResults.instanceFromPublicTypeInheritingFromPrivate(); + + expect(inst instanceof TNSIDerivedInterface).toBe(true, "Actual class inherits from TNSIDerivedInterface"); + expect(inst.class()).toBe(TNSIDerivedInterface, "Actual class is TNSIDerivedInterface"); + expect(inst.constructor).toBe(global.TNSIDerivedInterface, "Constructor is global TNSIDerivedInterface"); + expect(inst.constructor.__proto__).not.toBe(global.TNSIBaseInterface, "Base class is unknown private class TNSIDerivedInterfacePrivate"); + expect(inst.constructor.__proto__.__constructorDescription).toBe("Known class: TNSIBaseInterface Unknown class: TNSIDerivedInterfacePrivate"); + }); }); }); diff --git a/tests/TestRunner/app/MetadataTests.js b/tests/TestRunner/app/MetadataTests.js index e5e43ee82..8fc1c5006 100644 --- a/tests/TestRunner/app/MetadataTests.js +++ b/tests/TestRunner/app/MetadataTests.js @@ -9,7 +9,8 @@ describe("Metadata", function () { expect(global.TNSSwiftLikeFactory.name).toBe("TNSSwiftLikeFactory"); const swiftLikeObj = TNSSwiftLikeFactory.create(); expect(swiftLikeObj.constructor).toBe(global.TNSSwiftLike); - expect(swiftLikeObj.constructor.name).toBe("NativeScriptTests.TNSSwiftLike"); - expect(NSString.stringWithUTF8String(class_getName(swiftLikeObj.constructor)).toString()).toBe("NativeScriptTests.TNSSwiftLike"); + const constructorName = __uikitformac ? "_TtC17NativeScriptTests12TNSSwiftLike" : "NativeScriptTests.TNSSwiftLike"; + expect(swiftLikeObj.constructor.name).toBe(constructorName); + expect(NSString.stringWithUTF8String(class_getName(swiftLikeObj.constructor)).toString()).toBe(constructorName); }); }); diff --git a/tests/TestRunner/app/MethodCallsTests.js b/tests/TestRunner/app/MethodCallsTests.js index bf2aea662..6296829f6 100644 --- a/tests/TestRunner/app/MethodCallsTests.js +++ b/tests/TestRunner/app/MethodCallsTests.js @@ -1119,17 +1119,21 @@ describe(module.id, function () { expect(e.nativeException.toString()).toBe(e.nativeException.reason); expect(e.nativeException.reason).toContain("index 3 beyond bounds"); expect(e.nativeException.name).toBe("NSRangeException"); - expect(e.nativeException.callStackSymbols.count).toBeGreaterThan(5); - - var nativeCallstack = ""; - for (var i=0; i < e.nativeException.callStackSymbols.count; i++) { - nativeCallstack += e.nativeException.callStackSymbols[i] + '\n'; + + const checkNativeCallStack = !__uikitformac; // TODO: fix callstack unwinding under libffi calls on macOS + if (checkNativeCallStack) { + expect(e.nativeException.callStackSymbols.count).toBeGreaterThan(5); + + var nativeCallstack = ""; + for (var i=0; i < e.nativeException.callStackSymbols.count; i++) { + nativeCallstack += e.nativeException.callStackSymbols[i] + '\n'; + } + + expect(nativeCallstack).toContain("CoreFoundation"); + expect(nativeCallstack).toContain("TestRunner"); + expect(nativeCallstack).toContain("objc_exception_throw"); + expect(nativeCallstack).toContain("UIApplicationMain"); } - - expect(nativeCallstack).toContain("CoreFoundation"); - expect(nativeCallstack).toContain("TestRunner"); - expect(nativeCallstack).toContain("objc_exception_throw"); - expect(nativeCallstack).toContain("UIApplicationMain"); } }); } diff --git a/tests/TestRunner/app/VersionDiffTests.js b/tests/TestRunner/app/VersionDiffTests.js index 1207bbe72..8f43466b4 100644 --- a/tests/TestRunner/app/VersionDiffTests.js +++ b/tests/TestRunner/app/VersionDiffTests.js @@ -4,15 +4,15 @@ describe(module.id, function() { }); function SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(version) { - var systemVersion = NSString.stringWithString(UIDevice.currentDevice.systemVersion); + const systemVersion = __uikitformac ? NSString.stringWithString("13.2") : NSString.stringWithString(UIDevice.currentDevice.systemVersion); return systemVersion.compareOptions(version, NSStringCompareOptions.NSNumericSearch) !== NSComparisonResult.NSOrderedAscending; }; - function check(value, major, minor) { + function check(value, major, minor, valueDescription) { if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(`${major}.${minor}`)) { - expect(value).toBeDefined(`must be available after version ${major}.${minor}`); + expect(value).toBeDefined(`${valueDescription} must be available after version ${major}.${minor}`); } else { - expect(value).toBeUndefined(`must be unavailable before version ${major}.${minor}`); + expect(value).toBeUndefined(`${valueDescription} must be unavailable before version ${major}.${minor}`); } } @@ -24,52 +24,76 @@ describe(module.id, function() { } } + + it("UIDevice.systemVersion to return macOS Version", function() { + const macOSVersionRegEx = /^10\.1[\d]/; + if (__uikitformac) { + // If this version becomes the correct iOS version again, remove the hardcoded "13.2" values from Metadata.mm and SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO + expect(UIDevice.currentDevice.systemVersion).toMatch(macOSVersionRegEx); + } else { + // If this version becomes the correct iOS version again, remove the hardcoded "13.2" values from Metadata.mm and SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO + expect(UIDevice.currentDevice.systemVersion).not.toMatch(macOSVersionRegEx); + } + }); + + + it("SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO compares against iOS (not macOS!) version", function() { + expect(SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO("10.10") && !SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO("11.0")).toBe(false, `Invalid iOS version ${UIDevice.currentDevice.systemVersion} which is inside [10.10 and 11.0)`); + }); + it("Version interfaces", function() { forEachVersion((major, minor) => { - var value = global[`TNSInterface${major}_${minor}Plus`]; - check(value, major, minor); + const className = `TNSInterface${major}_${minor}Plus`; + var value = global[className]; + check(value, major, minor, className); }); }); it("Version function", function() { forEachVersion((major, minor) => { - var value = global[`TNSFunction${major}_${minor}Plus`]; - check(value, major, minor); + const functionName = `TNSFunction${major}_${minor}Plus`; + var value = global[functionName]; + check(value, major, minor, functionName); }); }); it("Version constant", function() { forEachVersion((major, minor) => { - var value = global[`TNSConstant${major}_${minor}Plus`]; - check(value, major, minor); + const constName = `TNSConstant${major}_${minor}Plus`; + var value = global[constName]; + check(value, major, minor, constName); }); }); it("Version enum", function() { forEachVersion((major, minor) => { - var value = global[`TNSEnum${major}_${minor}Plus`]; - check(value, major, minor); + const enumName = `TNSEnum${major}_${minor}Plus`; + var value = global[enumName]; + check(value, major, minor, enumName); }); }); it("Version static method", function() { forEachVersion((major, minor) => { - var value = global[`TNSInterfaceMembers${major}_${minor}`].staticMethod; - check(value, major, minor); + const className = `TNSInterfaceMembers${major}_${minor}`; + var value = global[className].staticMethod; + check(value, major, minor, `${className}.staticMethod`); }); }); it("Version instance method", function() { forEachVersion((major, minor) => { - var value = global[`TNSInterfaceMembers${major}_${minor}`].prototype.instanceMethod; - check(value, major, minor); + const className = `TNSInterfaceMembers${major}_${minor}`; + var value = global[className].prototype.instanceMethod; + check(value, major, minor, `${className}.instanceMethod`); }); }); it("Version property", function() { forEachVersion((major, minor) => { - var value = Object.getOwnPropertyDescriptor(global[`TNSInterfaceMembers${major}_${minor}`].prototype, 'property'); - check(value, major, minor); + const className = `TNSInterfaceMembers${major}_${minor}`; + var value = Object.getOwnPropertyDescriptor(global[className].prototype, 'property'); + check(value, major, minor, `${className}.property`); }); }); diff --git a/tests/TestRunner/app/index.js b/tests/TestRunner/app/index.js index 37d497305..12895fbeb 100644 --- a/tests/TestRunner/app/index.js +++ b/tests/TestRunner/app/index.js @@ -24,7 +24,7 @@ global.__JUnitSaveResults = function (text) { } }; -global.__approot = NSString.stringWithString(NSBundle.mainBundle.bundlePath).stringByResolvingSymlinksInPath; +global.__approot = NSString.alloc().initWithCString(NSBundle.mainBundle.resourceURL.fileSystemRepresentation).stringByResolvingSymlinksInPath; import "./Infrastructure/Jasmine/jasmine-2.0.1/boot";