aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPSSHTunnel.h')
-rw-r--r--Source/SPSSHTunnel.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/SPSSHTunnel.h b/Source/SPSSHTunnel.h
index 0c34f4f9..db01c98e 100644
--- a/Source/SPSSHTunnel.h
+++ b/Source/SPSSHTunnel.h
@@ -5,7 +5,8 @@ enum spsshtunnel_states
SPSSH_STATE_IDLE = 0,
SPSSH_STATE_CONNECTING = 1,
SPSSH_STATE_WAITING_FOR_AUTH = 2,
- SPSSH_STATE_CONNECTED = 3
+ SPSSH_STATE_CONNECTED = 3,
+ SPSSH_STATE_FORWARDING_FAILED = 4
};
enum spsshtunnel_password_modes
@@ -40,11 +41,14 @@ enum spsshtunnel_password_modes
NSString *keychainName;
NSString *keychainAccount;
NSString *requestedPassphrase;
+ NSMutableArray *debugMessages;
+ BOOL useHostFallback;
BOOL requestedResponse;
BOOL passwordInKeychain;
int sshPort;
int remotePort;
int localPort;
+ int localPortFallback;
int connectionState;
}
@@ -55,7 +59,9 @@ enum spsshtunnel_password_modes
- (BOOL) setPassword:(NSString *)thePassword;
- (int) state;
- (NSString *) lastError;
+- (NSString *) debugMessages;
- (int) localPort;
+- (int) localPortFallback;
- (void) connect;
- (void) launchTask:(id) dummy;
- (void) disconnect;