diff options
author | rowanbeentje <rowan@beent.je> | 2009-06-21 22:32:06 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2009-06-21 22:32:06 +0000 |
commit | 859ca6771c479475ed454a4dbc61131fad30b492 (patch) | |
tree | 72af0608e7c9505a2f5fc5e3fa57c326c5691791 /Source/SPSSHTunnel.h | |
parent | e0b11c990a8c561e49b2148ea7208785ad6d0bd1 (diff) | |
download | sequelpro-859ca6771c479475ed454a4dbc61131fad30b492.tar.gz sequelpro-859ca6771c479475ed454a4dbc61131fad30b492.tar.bz2 sequelpro-859ca6771c479475ed454a4dbc61131fad30b492.zip |
- Allow connections via SSH tunnels to reattempt using the specified host if 127.0.0.1 was retried automatically.
- Store the SSH debug logs and allow viewing on connection error
- Clean up CMMCPConnections on connection failure
- Fix connection keepalive instantiation
Diffstat (limited to 'Source/SPSSHTunnel.h')
-rw-r--r-- | Source/SPSSHTunnel.h | 8 |
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; |