Add Spacing to Interface Declarations

This commit is contained in:
Jonathan Downing
2017-10-11 19:27:42 +01:00
parent 1e48a38de0
commit 3bb4ff773a
+14
View File
@@ -31,20 +31,28 @@ class Client;
CFSocketRef _tunSocket; CFSocketRef _tunSocket;
CFSocketRef _vpnSocket; CFSocketRef _vpnSocket;
} }
@property (nonatomic) Client *client; @property (nonatomic) Client *client;
@property (nonatomic) NEPacketTunnelFlow *packetFlow; @property (nonatomic) NEPacketTunnelFlow *packetFlow;
@property (nonatomic) NSString *remoteAddress; @property (nonatomic) NSString *remoteAddress;
@property (nonatomic) NSString *ipv4DefaultGateway; @property (nonatomic) NSString *ipv4DefaultGateway;
@property (nonatomic) NSString *ipv6DefaultGateway; @property (nonatomic) NSString *ipv6DefaultGateway;
@property (nonatomic) NSNumber *mtu; @property (nonatomic) NSNumber *mtu;
@property (nonatomic) NSMutableArray<NSString *> *ipv4LocalAddresses; @property (nonatomic) NSMutableArray<NSString *> *ipv4LocalAddresses;
@property (nonatomic) NSMutableArray<NSString *> *ipv4SubnetMasks; @property (nonatomic) NSMutableArray<NSString *> *ipv4SubnetMasks;
@property (nonatomic) NSMutableArray<NEIPv4Route *> *ipv4IncludedRoutes; @property (nonatomic) NSMutableArray<NEIPv4Route *> *ipv4IncludedRoutes;
@property (nonatomic) NSMutableArray<NEIPv4Route *> *ipv4ExcludedRoutes; @property (nonatomic) NSMutableArray<NEIPv4Route *> *ipv4ExcludedRoutes;
@property (nonatomic) NSMutableArray<NSString *> *ipv6LocalAddresses; @property (nonatomic) NSMutableArray<NSString *> *ipv6LocalAddresses;
@property (nonatomic) NSMutableArray<NSNumber *> *ipv6NetworkPrefixLengths; @property (nonatomic) NSMutableArray<NSNumber *> *ipv6NetworkPrefixLengths;
@property (nonatomic) NSMutableArray<NEIPv6Route *> *ipv6IncludedRoutes; @property (nonatomic) NSMutableArray<NEIPv6Route *> *ipv6IncludedRoutes;
@property (nonatomic) NSMutableArray<NEIPv6Route *> *ipv6ExcludedRoutes; @property (nonatomic) NSMutableArray<NEIPv6Route *> *ipv6ExcludedRoutes;
@property (nonatomic) NSMutableArray<NSString *> *dnsServers; @property (nonatomic) NSMutableArray<NSString *> *dnsServers;
@property (nonatomic) NSMutableArray<NSString *> *searchDomains; @property (nonatomic) NSMutableArray<NSString *> *searchDomains;
@property (nonatomic) NSMutableArray<NSString *> *proxyExceptionList; @property (nonatomic) NSMutableArray<NSString *> *proxyExceptionList;
@@ -55,13 +63,19 @@ class Client;
@property (nonatomic) NEProxyServer *httpProxyServer; @property (nonatomic) NEProxyServer *httpProxyServer;
@property (nonatomic) BOOL httpsProxyServerEnabled; @property (nonatomic) BOOL httpsProxyServerEnabled;
@property (nonatomic) NEProxyServer *httpsProxyServer; @property (nonatomic) NEProxyServer *httpsProxyServer;
@property (nonatomic, readonly) NEPacketTunnelNetworkSettings *networkSettings; @property (nonatomic, readonly) NEPacketTunnelNetworkSettings *networkSettings;
- (CFSocketNativeHandle)configureSockets; - (CFSocketNativeHandle)configureSockets;
- (void)readTUNPackets; - (void)readTUNPackets;
- (void)teardownTunnel:(BOOL)disconnect; - (void)teardownTunnel:(BOOL)disconnect;
- (OpenVPNAdapterError)errorByName:(NSString *)errorName; - (OpenVPNAdapterError)errorByName:(NSString *)errorName;
- (OpenVPNAdapterEvent)eventByName:(NSString *)errorName; - (OpenVPNAdapterEvent)eventByName:(NSString *)errorName;
- (NSString *)reasonForError:(OpenVPNAdapterError)error; - (NSString *)reasonForError:(OpenVPNAdapterError)error;
@end @end
using namespace openvpn; using namespace openvpn;