freerasp-react-native 1.0.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -20
- package/README.md +423 -413
- package/android/build.gradle +90 -87
- package/android/gradle.properties +4 -4
- package/android/src/main/AndroidManifest.xml +4 -4
- package/android/src/main/java/com/freeraspreactnative/FreeraspDeviceStateListener.kt +25 -0
- package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativeModule.kt +125 -108
- package/android/src/main/java/com/freeraspreactnative/FreeraspReactNativePackage.kt +17 -17
- package/example/Gemfile +6 -6
- package/example/android/app/_BUCK +55 -55
- package/example/android/app/build.gradle +313 -313
- package/example/android/app/build_defs.bzl +19 -19
- package/example/android/app/proguard-rules.pro +10 -10
- package/example/android/app/src/debug/AndroidManifest.xml +13 -13
- package/example/android/app/src/debug/java/com/freeraspreactnativeexample/ReactNativeFlipper.java +73 -73
- package/example/android/app/src/main/AndroidManifest.xml +26 -26
- package/example/android/app/src/main/java/com/freeraspreactnativeexample/MainActivity.java +48 -48
- package/example/android/app/src/main/java/com/freeraspreactnativeexample/MainApplication.java +91 -91
- package/example/android/app/src/main/java/com/freeraspreactnativeexample/newarchitecture/MainApplicationReactNativeHost.java +116 -116
- package/example/android/app/src/main/java/com/freeraspreactnativeexample/newarchitecture/components/MainComponentsRegistry.java +36 -36
- package/example/android/app/src/main/java/com/freeraspreactnativeexample/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java +48 -48
- package/example/android/app/src/main/jni/CMakeLists.txt +7 -7
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.cpp +32 -32
- package/example/android/app/src/main/jni/MainApplicationModuleProvider.h +16 -16
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp +45 -45
- package/example/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h +38 -38
- package/example/android/app/src/main/jni/MainComponentsRegistry.cpp +65 -65
- package/example/android/app/src/main/jni/MainComponentsRegistry.h +32 -32
- package/example/android/app/src/main/jni/OnLoad.cpp +11 -11
- package/example/android/app/src/main/res/drawable/rn_edit_text_material.xml +36 -36
- package/example/android/app/src/main/res/values/strings.xml +3 -3
- package/example/android/app/src/main/res/values/styles.xml +9 -9
- package/example/android/build.gradle +50 -53
- package/example/android/gradle/wrapper/gradle-wrapper.properties +5 -5
- package/example/android/gradle.properties +40 -40
- package/example/android/gradlew +234 -234
- package/example/android/settings.gradle +11 -11
- package/example/app.json +3 -3
- package/example/assets/checkmark-circle-outline.png +0 -0
- package/example/assets/checkmark-circle-outline.svg +1 -0
- package/example/assets/close-circle-outline.png +0 -0
- package/example/assets/close-circle-outline.svg +1 -0
- package/example/assets/talsec-logo.png +0 -0
- package/example/babel.config.js +17 -17
- package/example/index.js +5 -5
- package/example/ios/File.swift +6 -6
- package/example/ios/FreeraspReactNativeExample/AppDelegate.h +8 -8
- package/example/ios/FreeraspReactNativeExample/AppDelegate.mm +133 -133
- package/example/ios/FreeraspReactNativeExample/Images.xcassets/AppIcon.appiconset/Contents.json +53 -53
- package/example/ios/FreeraspReactNativeExample/Images.xcassets/Contents.json +6 -6
- package/example/ios/FreeraspReactNativeExample/Info.plist +55 -55
- package/example/ios/FreeraspReactNativeExample/LaunchScreen.storyboard +47 -47
- package/example/ios/FreeraspReactNativeExample/main.m +10 -10
- package/example/ios/FreeraspReactNativeExample-Bridging-Header.h +3 -3
- package/example/ios/FreeraspReactNativeExample.xcodeproj/project.pbxproj +4 -2
- package/example/ios/FreeraspReactNativeExample.xcodeproj/xcshareddata/xcschemes/FreeraspReactNativeExample.xcscheme +88 -106
- package/example/ios/FreeraspReactNativeExample.xcworkspace/contents.xcworkspacedata +10 -10
- package/example/ios/FreeraspReactNativeExample.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/example/ios/FreeraspReactNativeExampleTests/FreeraspReactNativeExampleTests.m +66 -66
- package/example/ios/FreeraspReactNativeExampleTests/Info.plist +24 -24
- package/example/ios/Podfile +43 -43
- package/example/ios/Podfile.lock +590 -584
- package/example/metro.config.js +40 -40
- package/example/package.json +24 -21
- package/example/react-native.config.js +10 -10
- package/example/src/App.tsx +136 -89
- package/example/src/DemoApp.tsx +89 -0
- package/example/src/checks.ts +16 -0
- package/example/src/styles.ts +7 -0
- package/example/yarn.lock +4644 -4154
- package/freerasp-react-native.podspec +36 -36
- package/ios/FreeraspReactNative-Bridging-Header.h +3 -3
- package/ios/FreeraspReactNative.m +14 -14
- package/ios/FreeraspReactNative.swift +62 -53
- package/ios/FreeraspReactNative.xcodeproj/xcshareddata/xcschemes/FreeraspReactNative.xcscheme +67 -67
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/Info.plist +40 -40
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -14
- package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator → TalsecRuntime.xcframework/ios-arm64}/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -25
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +222 -222
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -23
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/curl.h +3029 -3029
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +77 -77
- package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator → TalsecRuntime.xcframework/ios-arm64}/TalsecRuntime.framework/Headers/easy.h +123 -123
- package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator → TalsecRuntime.xcframework/ios-arm64}/TalsecRuntime.framework/Headers/mprintf.h +50 -50
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/multi.h +456 -456
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/options.h +68 -68
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +33 -33
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/system.h +504 -504
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +125 -125
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +52 -51
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +17 -17
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/cacert.pem +3154 -3154
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/module.modulemap +12 -12
- package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +14 -14
- package/ios/{Release/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/CurlWrapper.h +25 -25
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +450 -450
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +23 -23
- package/ios/{Release/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/curl.h +3029 -3029
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +77 -77
- package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/easy.h +123 -123
- package/ios/{Release/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/mprintf.h +50 -50
- package/ios/{Release/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/multi.h +456 -456
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +68 -68
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +33 -33
- package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/Headers/system.h +504 -504
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +125 -125
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +52 -51
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +52 -51
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +17 -17
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +344 -344
- package/ios/{Debug/TalsecRuntime.xcframework/ios-arm64 → TalsecRuntime.xcframework/ios-arm64_x86_64-simulator}/TalsecRuntime.framework/cacert.pem +3154 -3154
- package/ios/{Release/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/module.modulemap +12 -12
- package/lib/commonjs/index.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/index.d.ts +36 -35
- package/lib/typescript/index.d.ts.map +1 -1
- package/package.json +161 -161
- package/src/index.tsx +91 -90
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h +0 -25
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +0 -222
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h +0 -50
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h +0 -68
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h +0 -33
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h +0 -125
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/module.modulemap +0 -17
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/module.modulemap +0 -12
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +0 -14
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime-Swift.h +0 -450
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +0 -3029
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +0 -456
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +0 -504
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Info.plist +0 -0
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftinterface +0 -51
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/TalsecRuntime +0 -0
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +0 -3154
- package/ios/Debug/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/module.modulemap +0 -12
- package/ios/Release/TalsecRuntime.xcframework/Info.plist +0 -40
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +0 -23
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/curlver.h +0 -77
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/easy.h +0 -123
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftinterface +0 -51
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CryptoBridgingHeader.h +0 -14
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/CurlWrapper.h +0 -25
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/TalsecRuntime_iOS.h +0 -23
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curl.h +0 -3029
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/curlver.h +0 -77
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/easy.h +0 -123
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/mprintf.h +0 -50
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/multi.h +0 -456
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/options.h +0 -68
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/stdcheaders.h +0 -33
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/system.h +0 -504
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Headers/urlapi.h +0 -125
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +0 -51
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/module.modulemap +0 -17
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/_CodeSignature/CodeResources +0 -344
- package/ios/Release/TalsecRuntime.xcframework/ios-arm64_x86_64-simulator/TalsecRuntime.framework/cacert.pem +0 -3154
- package/ios/TalsecRuntime.xcframework +0 -1
- /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
- /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
- /package/ios/{Debug/TalsecRuntime.xcframework → TalsecRuntime.xcframework}/ios-arm64_x86_64-simulator/TalsecRuntime.framework/Modules/TalsecRuntime.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/CurlWrapper.h
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// CurlWrapper.h
|
|
3
|
-
// Talsec
|
|
4
|
-
//
|
|
5
|
-
// Created by Jakub Mejtský on 23/07/2019.
|
|
6
|
-
// Copyright © 2019 AHEAD iTec, s.r.o. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#ifndef CurlWrapper_h
|
|
10
|
-
#define CurlWrapper_h
|
|
11
|
-
|
|
12
|
-
#include "curl.h"
|
|
13
|
-
#include <stdio.h>
|
|
14
|
-
#include <stdlib.h>
|
|
15
|
-
#include <sys/sysctl.h>
|
|
16
|
-
#include <unistd.h>
|
|
17
|
-
#include <string.h>
|
|
18
|
-
|
|
19
|
-
struct tKmUaogdBLYY {
|
|
20
|
-
char *memory;
|
|
21
|
-
size_t size;
|
|
22
|
-
CURLcode ret;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
#endif /* CurlWrapper_h */
|
|
@@ -1,222 +0,0 @@
|
|
|
1
|
-
// Generated by Apple Swift version 5.6.1 (swiftlang-5.6.0.323.66 clang-1316.0.20.12)
|
|
2
|
-
#ifndef TALSECRUNTIME_SWIFT_H
|
|
3
|
-
#define TALSECRUNTIME_SWIFT_H
|
|
4
|
-
#pragma clang diagnostic push
|
|
5
|
-
#pragma clang diagnostic ignored "-Wgcc-compat"
|
|
6
|
-
|
|
7
|
-
#if !defined(__has_include)
|
|
8
|
-
# define __has_include(x) 0
|
|
9
|
-
#endif
|
|
10
|
-
#if !defined(__has_attribute)
|
|
11
|
-
# define __has_attribute(x) 0
|
|
12
|
-
#endif
|
|
13
|
-
#if !defined(__has_feature)
|
|
14
|
-
# define __has_feature(x) 0
|
|
15
|
-
#endif
|
|
16
|
-
#if !defined(__has_warning)
|
|
17
|
-
# define __has_warning(x) 0
|
|
18
|
-
#endif
|
|
19
|
-
|
|
20
|
-
#if __has_include(<swift/objc-prologue.h>)
|
|
21
|
-
# include <swift/objc-prologue.h>
|
|
22
|
-
#endif
|
|
23
|
-
|
|
24
|
-
#pragma clang diagnostic ignored "-Wauto-import"
|
|
25
|
-
#include <Foundation/Foundation.h>
|
|
26
|
-
#include <stdint.h>
|
|
27
|
-
#include <stddef.h>
|
|
28
|
-
#include <stdbool.h>
|
|
29
|
-
|
|
30
|
-
#if !defined(SWIFT_TYPEDEFS)
|
|
31
|
-
# define SWIFT_TYPEDEFS 1
|
|
32
|
-
# if __has_include(<uchar.h>)
|
|
33
|
-
# include <uchar.h>
|
|
34
|
-
# elif !defined(__cplusplus)
|
|
35
|
-
typedef uint_least16_t char16_t;
|
|
36
|
-
typedef uint_least32_t char32_t;
|
|
37
|
-
# endif
|
|
38
|
-
typedef float swift_float2 __attribute__((__ext_vector_type__(2)));
|
|
39
|
-
typedef float swift_float3 __attribute__((__ext_vector_type__(3)));
|
|
40
|
-
typedef float swift_float4 __attribute__((__ext_vector_type__(4)));
|
|
41
|
-
typedef double swift_double2 __attribute__((__ext_vector_type__(2)));
|
|
42
|
-
typedef double swift_double3 __attribute__((__ext_vector_type__(3)));
|
|
43
|
-
typedef double swift_double4 __attribute__((__ext_vector_type__(4)));
|
|
44
|
-
typedef int swift_int2 __attribute__((__ext_vector_type__(2)));
|
|
45
|
-
typedef int swift_int3 __attribute__((__ext_vector_type__(3)));
|
|
46
|
-
typedef int swift_int4 __attribute__((__ext_vector_type__(4)));
|
|
47
|
-
typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2)));
|
|
48
|
-
typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3)));
|
|
49
|
-
typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4)));
|
|
50
|
-
#endif
|
|
51
|
-
|
|
52
|
-
#if !defined(SWIFT_PASTE)
|
|
53
|
-
# define SWIFT_PASTE_HELPER(x, y) x##y
|
|
54
|
-
# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y)
|
|
55
|
-
#endif
|
|
56
|
-
#if !defined(SWIFT_METATYPE)
|
|
57
|
-
# define SWIFT_METATYPE(X) Class
|
|
58
|
-
#endif
|
|
59
|
-
#if !defined(SWIFT_CLASS_PROPERTY)
|
|
60
|
-
# if __has_feature(objc_class_property)
|
|
61
|
-
# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__
|
|
62
|
-
# else
|
|
63
|
-
# define SWIFT_CLASS_PROPERTY(...)
|
|
64
|
-
# endif
|
|
65
|
-
#endif
|
|
66
|
-
|
|
67
|
-
#if __has_attribute(objc_runtime_name)
|
|
68
|
-
# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X)))
|
|
69
|
-
#else
|
|
70
|
-
# define SWIFT_RUNTIME_NAME(X)
|
|
71
|
-
#endif
|
|
72
|
-
#if __has_attribute(swift_name)
|
|
73
|
-
# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X)))
|
|
74
|
-
#else
|
|
75
|
-
# define SWIFT_COMPILE_NAME(X)
|
|
76
|
-
#endif
|
|
77
|
-
#if __has_attribute(objc_method_family)
|
|
78
|
-
# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X)))
|
|
79
|
-
#else
|
|
80
|
-
# define SWIFT_METHOD_FAMILY(X)
|
|
81
|
-
#endif
|
|
82
|
-
#if __has_attribute(noescape)
|
|
83
|
-
# define SWIFT_NOESCAPE __attribute__((noescape))
|
|
84
|
-
#else
|
|
85
|
-
# define SWIFT_NOESCAPE
|
|
86
|
-
#endif
|
|
87
|
-
#if __has_attribute(ns_consumed)
|
|
88
|
-
# define SWIFT_RELEASES_ARGUMENT __attribute__((ns_consumed))
|
|
89
|
-
#else
|
|
90
|
-
# define SWIFT_RELEASES_ARGUMENT
|
|
91
|
-
#endif
|
|
92
|
-
#if __has_attribute(warn_unused_result)
|
|
93
|
-
# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result))
|
|
94
|
-
#else
|
|
95
|
-
# define SWIFT_WARN_UNUSED_RESULT
|
|
96
|
-
#endif
|
|
97
|
-
#if __has_attribute(noreturn)
|
|
98
|
-
# define SWIFT_NORETURN __attribute__((noreturn))
|
|
99
|
-
#else
|
|
100
|
-
# define SWIFT_NORETURN
|
|
101
|
-
#endif
|
|
102
|
-
#if !defined(SWIFT_CLASS_EXTRA)
|
|
103
|
-
# define SWIFT_CLASS_EXTRA
|
|
104
|
-
#endif
|
|
105
|
-
#if !defined(SWIFT_PROTOCOL_EXTRA)
|
|
106
|
-
# define SWIFT_PROTOCOL_EXTRA
|
|
107
|
-
#endif
|
|
108
|
-
#if !defined(SWIFT_ENUM_EXTRA)
|
|
109
|
-
# define SWIFT_ENUM_EXTRA
|
|
110
|
-
#endif
|
|
111
|
-
#if !defined(SWIFT_CLASS)
|
|
112
|
-
# if __has_attribute(objc_subclassing_restricted)
|
|
113
|
-
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA
|
|
114
|
-
# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
115
|
-
# else
|
|
116
|
-
# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
117
|
-
# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA
|
|
118
|
-
# endif
|
|
119
|
-
#endif
|
|
120
|
-
#if !defined(SWIFT_RESILIENT_CLASS)
|
|
121
|
-
# if __has_attribute(objc_class_stub)
|
|
122
|
-
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME) __attribute__((objc_class_stub))
|
|
123
|
-
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_class_stub)) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
124
|
-
# else
|
|
125
|
-
# define SWIFT_RESILIENT_CLASS(SWIFT_NAME) SWIFT_CLASS(SWIFT_NAME)
|
|
126
|
-
# define SWIFT_RESILIENT_CLASS_NAMED(SWIFT_NAME) SWIFT_CLASS_NAMED(SWIFT_NAME)
|
|
127
|
-
# endif
|
|
128
|
-
#endif
|
|
129
|
-
|
|
130
|
-
#if !defined(SWIFT_PROTOCOL)
|
|
131
|
-
# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
132
|
-
# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA
|
|
133
|
-
#endif
|
|
134
|
-
|
|
135
|
-
#if !defined(SWIFT_EXTENSION)
|
|
136
|
-
# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__)
|
|
137
|
-
#endif
|
|
138
|
-
|
|
139
|
-
#if !defined(OBJC_DESIGNATED_INITIALIZER)
|
|
140
|
-
# if __has_attribute(objc_designated_initializer)
|
|
141
|
-
# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer))
|
|
142
|
-
# else
|
|
143
|
-
# define OBJC_DESIGNATED_INITIALIZER
|
|
144
|
-
# endif
|
|
145
|
-
#endif
|
|
146
|
-
#if !defined(SWIFT_ENUM_ATTR)
|
|
147
|
-
# if defined(__has_attribute) && __has_attribute(enum_extensibility)
|
|
148
|
-
# define SWIFT_ENUM_ATTR(_extensibility) __attribute__((enum_extensibility(_extensibility)))
|
|
149
|
-
# else
|
|
150
|
-
# define SWIFT_ENUM_ATTR(_extensibility)
|
|
151
|
-
# endif
|
|
152
|
-
#endif
|
|
153
|
-
#if !defined(SWIFT_ENUM)
|
|
154
|
-
# define SWIFT_ENUM(_type, _name, _extensibility) enum _name : _type _name; enum SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
155
|
-
# if __has_feature(generalized_swift_name)
|
|
156
|
-
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_ATTR(_extensibility) SWIFT_ENUM_EXTRA _name : _type
|
|
157
|
-
# else
|
|
158
|
-
# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME, _extensibility) SWIFT_ENUM(_type, _name, _extensibility)
|
|
159
|
-
# endif
|
|
160
|
-
#endif
|
|
161
|
-
#if !defined(SWIFT_UNAVAILABLE)
|
|
162
|
-
# define SWIFT_UNAVAILABLE __attribute__((unavailable))
|
|
163
|
-
#endif
|
|
164
|
-
#if !defined(SWIFT_UNAVAILABLE_MSG)
|
|
165
|
-
# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg)))
|
|
166
|
-
#endif
|
|
167
|
-
#if !defined(SWIFT_AVAILABILITY)
|
|
168
|
-
# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__)))
|
|
169
|
-
#endif
|
|
170
|
-
#if !defined(SWIFT_WEAK_IMPORT)
|
|
171
|
-
# define SWIFT_WEAK_IMPORT __attribute__((weak_import))
|
|
172
|
-
#endif
|
|
173
|
-
#if !defined(SWIFT_DEPRECATED)
|
|
174
|
-
# define SWIFT_DEPRECATED __attribute__((deprecated))
|
|
175
|
-
#endif
|
|
176
|
-
#if !defined(SWIFT_DEPRECATED_MSG)
|
|
177
|
-
# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__)))
|
|
178
|
-
#endif
|
|
179
|
-
#if __has_feature(attribute_diagnose_if_objc)
|
|
180
|
-
# define SWIFT_DEPRECATED_OBJC(Msg) __attribute__((diagnose_if(1, Msg, "warning")))
|
|
181
|
-
#else
|
|
182
|
-
# define SWIFT_DEPRECATED_OBJC(Msg) SWIFT_DEPRECATED_MSG(Msg)
|
|
183
|
-
#endif
|
|
184
|
-
#if !defined(IBSegueAction)
|
|
185
|
-
# define IBSegueAction
|
|
186
|
-
#endif
|
|
187
|
-
#if !defined(SWIFT_EXTERN)
|
|
188
|
-
# if defined(__cplusplus)
|
|
189
|
-
# define SWIFT_EXTERN extern "C"
|
|
190
|
-
# else
|
|
191
|
-
# define SWIFT_EXTERN extern
|
|
192
|
-
# endif
|
|
193
|
-
#endif
|
|
194
|
-
#if __has_feature(modules)
|
|
195
|
-
#if __has_warning("-Watimport-in-framework-header")
|
|
196
|
-
#pragma clang diagnostic ignored "-Watimport-in-framework-header"
|
|
197
|
-
#endif
|
|
198
|
-
#endif
|
|
199
|
-
|
|
200
|
-
#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch"
|
|
201
|
-
#pragma clang diagnostic ignored "-Wduplicate-method-arg"
|
|
202
|
-
#if __has_warning("-Wpragma-clang-attribute")
|
|
203
|
-
# pragma clang diagnostic ignored "-Wpragma-clang-attribute"
|
|
204
|
-
#endif
|
|
205
|
-
#pragma clang diagnostic ignored "-Wunknown-pragmas"
|
|
206
|
-
#pragma clang diagnostic ignored "-Wnullability"
|
|
207
|
-
|
|
208
|
-
#if __has_attribute(external_source_symbol)
|
|
209
|
-
# pragma push_macro("any")
|
|
210
|
-
# undef any
|
|
211
|
-
# pragma clang attribute push(__attribute__((external_source_symbol(language="Swift", defined_in="TalsecRuntime",generated_declaration))), apply_to=any(function,enum,objc_interface,objc_category,objc_protocol))
|
|
212
|
-
# pragma pop_macro("any")
|
|
213
|
-
#endif
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
SWIFT_EXTERN void __qUDkADLJQQipzIQYYUcEwdK(void);
|
|
217
|
-
|
|
218
|
-
#if __has_attribute(external_source_symbol)
|
|
219
|
-
# pragma clang attribute pop
|
|
220
|
-
#endif
|
|
221
|
-
#pragma clang diagnostic pop
|
|
222
|
-
#endif
|
package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/mprintf.h
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
#ifndef CURLINC_MPRINTF_H
|
|
2
|
-
#define CURLINC_MPRINTF_H
|
|
3
|
-
/***************************************************************************
|
|
4
|
-
* _ _ ____ _
|
|
5
|
-
* Project ___| | | | _ \| |
|
|
6
|
-
* / __| | | | |_) | |
|
|
7
|
-
* | (__| |_| | _ <| |___
|
|
8
|
-
* \___|\___/|_| \_\_____|
|
|
9
|
-
*
|
|
10
|
-
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
11
|
-
*
|
|
12
|
-
* This software is licensed as described in the file COPYING, which
|
|
13
|
-
* you should have received as part of this distribution. The terms
|
|
14
|
-
* are also available at https://curl.se/docs/copyright.html.
|
|
15
|
-
*
|
|
16
|
-
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
17
|
-
* copies of the Software, and permit persons to whom the Software is
|
|
18
|
-
* furnished to do so, under the terms of the COPYING file.
|
|
19
|
-
*
|
|
20
|
-
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
21
|
-
* KIND, either express or implied.
|
|
22
|
-
*
|
|
23
|
-
***************************************************************************/
|
|
24
|
-
|
|
25
|
-
#include <stdarg.h>
|
|
26
|
-
#include <stdio.h> /* needed for FILE */
|
|
27
|
-
#include "curl.h" /* for CURL_EXTERN */
|
|
28
|
-
|
|
29
|
-
#ifdef __cplusplus
|
|
30
|
-
extern "C" {
|
|
31
|
-
#endif
|
|
32
|
-
|
|
33
|
-
CURL_EXTERN int curl_mprintf(const char *format, ...);
|
|
34
|
-
CURL_EXTERN int curl_mfprintf(FILE *fd, const char *format, ...);
|
|
35
|
-
CURL_EXTERN int curl_msprintf(char *buffer, const char *format, ...);
|
|
36
|
-
CURL_EXTERN int curl_msnprintf(char *buffer, size_t maxlength,
|
|
37
|
-
const char *format, ...);
|
|
38
|
-
CURL_EXTERN int curl_mvprintf(const char *format, va_list args);
|
|
39
|
-
CURL_EXTERN int curl_mvfprintf(FILE *fd, const char *format, va_list args);
|
|
40
|
-
CURL_EXTERN int curl_mvsprintf(char *buffer, const char *format, va_list args);
|
|
41
|
-
CURL_EXTERN int curl_mvsnprintf(char *buffer, size_t maxlength,
|
|
42
|
-
const char *format, va_list args);
|
|
43
|
-
CURL_EXTERN char *curl_maprintf(const char *format, ...);
|
|
44
|
-
CURL_EXTERN char *curl_mvaprintf(const char *format, va_list args);
|
|
45
|
-
|
|
46
|
-
#ifdef __cplusplus
|
|
47
|
-
}
|
|
48
|
-
#endif
|
|
49
|
-
|
|
50
|
-
#endif /* CURLINC_MPRINTF_H */
|
package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/options.h
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
#ifndef CURLINC_OPTIONS_H
|
|
2
|
-
#define CURLINC_OPTIONS_H
|
|
3
|
-
/***************************************************************************
|
|
4
|
-
* _ _ ____ _
|
|
5
|
-
* Project ___| | | | _ \| |
|
|
6
|
-
* / __| | | | |_) | |
|
|
7
|
-
* | (__| |_| | _ <| |___
|
|
8
|
-
* \___|\___/|_| \_\_____|
|
|
9
|
-
*
|
|
10
|
-
* Copyright (C) 2018 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
11
|
-
*
|
|
12
|
-
* This software is licensed as described in the file COPYING, which
|
|
13
|
-
* you should have received as part of this distribution. The terms
|
|
14
|
-
* are also available at https://curl.se/docs/copyright.html.
|
|
15
|
-
*
|
|
16
|
-
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
17
|
-
* copies of the Software, and permit persons to whom the Software is
|
|
18
|
-
* furnished to do so, under the terms of the COPYING file.
|
|
19
|
-
*
|
|
20
|
-
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
21
|
-
* KIND, either express or implied.
|
|
22
|
-
*
|
|
23
|
-
***************************************************************************/
|
|
24
|
-
|
|
25
|
-
#ifdef __cplusplus
|
|
26
|
-
extern "C" {
|
|
27
|
-
#endif
|
|
28
|
-
|
|
29
|
-
typedef enum {
|
|
30
|
-
CURLOT_LONG, /* long (a range of values) */
|
|
31
|
-
CURLOT_VALUES, /* (a defined set or bitmask) */
|
|
32
|
-
CURLOT_OFF_T, /* curl_off_t (a range of values) */
|
|
33
|
-
CURLOT_OBJECT, /* pointer (void *) */
|
|
34
|
-
CURLOT_STRING, /* (char * to zero terminated buffer) */
|
|
35
|
-
CURLOT_SLIST, /* (struct curl_slist *) */
|
|
36
|
-
CURLOT_CBPTR, /* (void * passed as-is to a callback) */
|
|
37
|
-
CURLOT_BLOB, /* blob (struct curl_blob *) */
|
|
38
|
-
CURLOT_FUNCTION /* function pointer */
|
|
39
|
-
} curl_easytype;
|
|
40
|
-
|
|
41
|
-
/* Flag bits */
|
|
42
|
-
|
|
43
|
-
/* "alias" means it is provided for old programs to remain functional,
|
|
44
|
-
we prefer another name */
|
|
45
|
-
#define CURLOT_FLAG_ALIAS (1<<0)
|
|
46
|
-
|
|
47
|
-
/* The CURLOPTTYPE_* id ranges can still be used to figure out what type/size
|
|
48
|
-
to use for curl_easy_setopt() for the given id */
|
|
49
|
-
struct curl_easyoption {
|
|
50
|
-
const char *name;
|
|
51
|
-
CURLoption id;
|
|
52
|
-
curl_easytype type;
|
|
53
|
-
unsigned int flags;
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
CURL_EXTERN const struct curl_easyoption *
|
|
57
|
-
curl_easy_option_by_name(const char *name);
|
|
58
|
-
|
|
59
|
-
CURL_EXTERN const struct curl_easyoption *
|
|
60
|
-
curl_easy_option_by_id (CURLoption id);
|
|
61
|
-
|
|
62
|
-
CURL_EXTERN const struct curl_easyoption *
|
|
63
|
-
curl_easy_option_next(const struct curl_easyoption *prev);
|
|
64
|
-
|
|
65
|
-
#ifdef __cplusplus
|
|
66
|
-
} /* end of extern "C" */
|
|
67
|
-
#endif
|
|
68
|
-
#endif /* CURLINC_OPTIONS_H */
|
package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/stdcheaders.h
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
#ifndef CURLINC_STDCHEADERS_H
|
|
2
|
-
#define CURLINC_STDCHEADERS_H
|
|
3
|
-
/***************************************************************************
|
|
4
|
-
* _ _ ____ _
|
|
5
|
-
* Project ___| | | | _ \| |
|
|
6
|
-
* / __| | | | |_) | |
|
|
7
|
-
* | (__| |_| | _ <| |___
|
|
8
|
-
* \___|\___/|_| \_\_____|
|
|
9
|
-
*
|
|
10
|
-
* Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
11
|
-
*
|
|
12
|
-
* This software is licensed as described in the file COPYING, which
|
|
13
|
-
* you should have received as part of this distribution. The terms
|
|
14
|
-
* are also available at https://curl.se/docs/copyright.html.
|
|
15
|
-
*
|
|
16
|
-
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
17
|
-
* copies of the Software, and permit persons to whom the Software is
|
|
18
|
-
* furnished to do so, under the terms of the COPYING file.
|
|
19
|
-
*
|
|
20
|
-
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
21
|
-
* KIND, either express or implied.
|
|
22
|
-
*
|
|
23
|
-
***************************************************************************/
|
|
24
|
-
|
|
25
|
-
#include <sys/types.h>
|
|
26
|
-
|
|
27
|
-
size_t fread(void *, size_t, size_t, FILE *);
|
|
28
|
-
size_t fwrite(const void *, size_t, size_t, FILE *);
|
|
29
|
-
|
|
30
|
-
int strcasecmp(const char *, const char *);
|
|
31
|
-
int strncasecmp(const char *, const char *, size_t);
|
|
32
|
-
|
|
33
|
-
#endif /* CURLINC_STDCHEADERS_H */
|
package/ios/Debug/TalsecRuntime.xcframework/ios-arm64/TalsecRuntime.framework/Headers/urlapi.h
DELETED
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
#ifndef CURLINC_URLAPI_H
|
|
2
|
-
#define CURLINC_URLAPI_H
|
|
3
|
-
/***************************************************************************
|
|
4
|
-
* _ _ ____ _
|
|
5
|
-
* Project ___| | | | _ \| |
|
|
6
|
-
* / __| | | | |_) | |
|
|
7
|
-
* | (__| |_| | _ <| |___
|
|
8
|
-
* \___|\___/|_| \_\_____|
|
|
9
|
-
*
|
|
10
|
-
* Copyright (C) 2018 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
11
|
-
*
|
|
12
|
-
* This software is licensed as described in the file COPYING, which
|
|
13
|
-
* you should have received as part of this distribution. The terms
|
|
14
|
-
* are also available at https://curl.se/docs/copyright.html.
|
|
15
|
-
*
|
|
16
|
-
* You may opt to use, copy, modify, merge, publish, distribute and/or sell
|
|
17
|
-
* copies of the Software, and permit persons to whom the Software is
|
|
18
|
-
* furnished to do so, under the terms of the COPYING file.
|
|
19
|
-
*
|
|
20
|
-
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
21
|
-
* KIND, either express or implied.
|
|
22
|
-
*
|
|
23
|
-
***************************************************************************/
|
|
24
|
-
|
|
25
|
-
#include "curl.h"
|
|
26
|
-
|
|
27
|
-
#ifdef __cplusplus
|
|
28
|
-
extern "C" {
|
|
29
|
-
#endif
|
|
30
|
-
|
|
31
|
-
/* the error codes for the URL API */
|
|
32
|
-
typedef enum {
|
|
33
|
-
CURLUE_OK,
|
|
34
|
-
CURLUE_BAD_HANDLE, /* 1 */
|
|
35
|
-
CURLUE_BAD_PARTPOINTER, /* 2 */
|
|
36
|
-
CURLUE_MALFORMED_INPUT, /* 3 */
|
|
37
|
-
CURLUE_BAD_PORT_NUMBER, /* 4 */
|
|
38
|
-
CURLUE_UNSUPPORTED_SCHEME, /* 5 */
|
|
39
|
-
CURLUE_URLDECODE, /* 6 */
|
|
40
|
-
CURLUE_OUT_OF_MEMORY, /* 7 */
|
|
41
|
-
CURLUE_USER_NOT_ALLOWED, /* 8 */
|
|
42
|
-
CURLUE_UNKNOWN_PART, /* 9 */
|
|
43
|
-
CURLUE_NO_SCHEME, /* 10 */
|
|
44
|
-
CURLUE_NO_USER, /* 11 */
|
|
45
|
-
CURLUE_NO_PASSWORD, /* 12 */
|
|
46
|
-
CURLUE_NO_OPTIONS, /* 13 */
|
|
47
|
-
CURLUE_NO_HOST, /* 14 */
|
|
48
|
-
CURLUE_NO_PORT, /* 15 */
|
|
49
|
-
CURLUE_NO_QUERY, /* 16 */
|
|
50
|
-
CURLUE_NO_FRAGMENT /* 17 */
|
|
51
|
-
} CURLUcode;
|
|
52
|
-
|
|
53
|
-
typedef enum {
|
|
54
|
-
CURLUPART_URL,
|
|
55
|
-
CURLUPART_SCHEME,
|
|
56
|
-
CURLUPART_USER,
|
|
57
|
-
CURLUPART_PASSWORD,
|
|
58
|
-
CURLUPART_OPTIONS,
|
|
59
|
-
CURLUPART_HOST,
|
|
60
|
-
CURLUPART_PORT,
|
|
61
|
-
CURLUPART_PATH,
|
|
62
|
-
CURLUPART_QUERY,
|
|
63
|
-
CURLUPART_FRAGMENT,
|
|
64
|
-
CURLUPART_ZONEID /* added in 7.65.0 */
|
|
65
|
-
} CURLUPart;
|
|
66
|
-
|
|
67
|
-
#define CURLU_DEFAULT_PORT (1<<0) /* return default port number */
|
|
68
|
-
#define CURLU_NO_DEFAULT_PORT (1<<1) /* act as if no port number was set,
|
|
69
|
-
if the port number matches the
|
|
70
|
-
default for the scheme */
|
|
71
|
-
#define CURLU_DEFAULT_SCHEME (1<<2) /* return default scheme if
|
|
72
|
-
missing */
|
|
73
|
-
#define CURLU_NON_SUPPORT_SCHEME (1<<3) /* allow non-supported scheme */
|
|
74
|
-
#define CURLU_PATH_AS_IS (1<<4) /* leave dot sequences */
|
|
75
|
-
#define CURLU_DISALLOW_USER (1<<5) /* no user+password allowed */
|
|
76
|
-
#define CURLU_URLDECODE (1<<6) /* URL decode on get */
|
|
77
|
-
#define CURLU_URLENCODE (1<<7) /* URL encode on set */
|
|
78
|
-
#define CURLU_APPENDQUERY (1<<8) /* append a form style part */
|
|
79
|
-
#define CURLU_GUESS_SCHEME (1<<9) /* legacy curl-style guessing */
|
|
80
|
-
#define CURLU_NO_AUTHORITY (1<<10) /* Allow empty authority when the
|
|
81
|
-
scheme is unknown. */
|
|
82
|
-
|
|
83
|
-
typedef struct Curl_URL CURLU;
|
|
84
|
-
|
|
85
|
-
/*
|
|
86
|
-
* curl_url() creates a new CURLU handle and returns a pointer to it.
|
|
87
|
-
* Must be freed with curl_url_cleanup().
|
|
88
|
-
*/
|
|
89
|
-
CURL_EXTERN CURLU *curl_url(void);
|
|
90
|
-
|
|
91
|
-
/*
|
|
92
|
-
* curl_url_cleanup() frees the CURLU handle and related resources used for
|
|
93
|
-
* the URL parsing. It will not free strings previously returned with the URL
|
|
94
|
-
* API.
|
|
95
|
-
*/
|
|
96
|
-
CURL_EXTERN void curl_url_cleanup(CURLU *handle);
|
|
97
|
-
|
|
98
|
-
/*
|
|
99
|
-
* curl_url_dup() duplicates a CURLU handle and returns a new copy. The new
|
|
100
|
-
* handle must also be freed with curl_url_cleanup().
|
|
101
|
-
*/
|
|
102
|
-
CURL_EXTERN CURLU *curl_url_dup(CURLU *in);
|
|
103
|
-
|
|
104
|
-
/*
|
|
105
|
-
* curl_url_get() extracts a specific part of the URL from a CURLU
|
|
106
|
-
* handle. Returns error code. The returned pointer MUST be freed with
|
|
107
|
-
* curl_free() afterwards.
|
|
108
|
-
*/
|
|
109
|
-
CURL_EXTERN CURLUcode curl_url_get(CURLU *handle, CURLUPart what,
|
|
110
|
-
char **part, unsigned int flags);
|
|
111
|
-
|
|
112
|
-
/*
|
|
113
|
-
* curl_url_set() sets a specific part of the URL in a CURLU handle. Returns
|
|
114
|
-
* error code. The passed in string will be copied. Passing a NULL instead of
|
|
115
|
-
* a part string, clears that part.
|
|
116
|
-
*/
|
|
117
|
-
CURL_EXTERN CURLUcode curl_url_set(CURLU *handle, CURLUPart what,
|
|
118
|
-
const char *part, unsigned int flags);
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
#ifdef __cplusplus
|
|
122
|
-
} /* end of extern "C" */
|
|
123
|
-
#endif
|
|
124
|
-
|
|
125
|
-
#endif /* CURLINC_URLAPI_H */
|
|
Binary file
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
framework module TalsecRuntime {
|
|
2
|
-
umbrella header "TalsecRuntime_iOS.h"
|
|
3
|
-
|
|
4
|
-
export *
|
|
5
|
-
module * { export * }
|
|
6
|
-
|
|
7
|
-
explicit module Private {
|
|
8
|
-
private header "CryptoBridgingHeader.h"
|
|
9
|
-
private header "CurlWrapper.h"
|
|
10
|
-
export *
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
module TalsecRuntime.Swift {
|
|
15
|
-
header "TalsecRuntime-Swift.h"
|
|
16
|
-
requires objc
|
|
17
|
-
}
|
|
Binary file
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// CryptoBridgingHeader.h
|
|
3
|
-
// Talsec
|
|
4
|
-
//
|
|
5
|
-
// Created by Jakub Mejtský on 05/08/2019.
|
|
6
|
-
// Copyright © 2019 AHEAD iTec, s.r.o. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#ifndef Crypto_h
|
|
10
|
-
#define Crypto_h
|
|
11
|
-
|
|
12
|
-
#import <CommonCrypto/CommonCrypto.h>
|
|
13
|
-
|
|
14
|
-
#endif /* Crypto_h */
|