mirror of https://github.com/oxen-io/lokinet
Remove obsolete bigs
Removes stuff we didn't end up needing/using: - Lokinet.modulemap - apple bits from lokinet.cpp (we don't use lokinet.cpp at all on macos anymore). - dnsproxy/extension C++ headers - apple-specific network extension config in llarp::config::Configpull/1688/head
parent
12e00b7a99
commit
831cc23de1
@ -1,4 +0,0 @@
|
|||||||
|
|
||||||
module LokinetExtension {
|
|
||||||
header "@CMAKE_SOURCE_DIR@/include/lokinet-extension.hpp"
|
|
||||||
}
|
|
@ -1,19 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include <Foundation/Foundation.h>
|
|
||||||
#include <NetworkExtension/NetworkExtension.h>
|
|
||||||
|
|
||||||
struct DNSImpl;
|
|
||||||
|
|
||||||
@interface DNSProvider : NEDNSProxyProvider
|
|
||||||
{
|
|
||||||
struct DNSImpl* m_Impl;
|
|
||||||
}
|
|
||||||
- (void)startProxyWithOptions:(NSDictionary<NSString*, id>*)options
|
|
||||||
completionHandler:(void (^)(NSError* error))completionHandler;
|
|
||||||
|
|
||||||
- (void)stopProxyWithReason:(NEProviderStopReason)reason
|
|
||||||
completionHandler:(void (^)(void))completionHandler;
|
|
||||||
|
|
||||||
- (BOOL)handleNewFlow:(NEAppProxyFlow*)flow;
|
|
||||||
|
|
||||||
@end
|
|
@ -1,21 +0,0 @@
|
|||||||
#pragma once
|
|
||||||
#include <Foundation/Foundation.h>
|
|
||||||
#include <NetworkExtension/NetworkExtension.h>
|
|
||||||
|
|
||||||
struct ContextWrapper;
|
|
||||||
|
|
||||||
@interface LLARPPacketTunnel : NEPacketTunnelProvider
|
|
||||||
{
|
|
||||||
struct ContextWrapper* m_Context;
|
|
||||||
}
|
|
||||||
|
|
||||||
- (void)startTunnelWithOptions:(NSDictionary<NSString*, NSObject*>*)options
|
|
||||||
completionHandler:(void (^)(NSError* error))completionHandler;
|
|
||||||
|
|
||||||
- (void)stopTunnelWithReason:(NEProviderStopReason)reason
|
|
||||||
completionHandler:(void (^)(void))completionHandler;
|
|
||||||
|
|
||||||
- (void)handleAppMessage:(NSData*)messageData
|
|
||||||
completionHandler:(void (^)(NSData* responseData))completionHandler;
|
|
||||||
|
|
||||||
@end
|
|
Loading…
Reference in New Issue