summaryrefslogtreecommitdiffstats
path: root/tdeioslave/sftp/tdeio_sftp.h
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2024-01-21 13:26:40 +0300
committerTDE Gitea <[email protected]>2024-03-04 11:04:11 +0000
commit75349be43e1b4ced52502f98316148a7b55c1352 (patch)
tree4e7a8d85f84c0234fe772178ee31cce751773a31 /tdeioslave/sftp/tdeio_sftp.h
parent688544193fb40241435b07f83135d91ad708c6df (diff)
downloadtdebase-75349be43e1b4ced52502f98316148a7b55c1352.tar.gz
tdebase-75349be43e1b4ced52502f98316148a7b55c1352.zip
tdeioslave/sftp: split off connection init to a dedicated function
Signed-off-by: Alexander Golubev <[email protected]>
Diffstat (limited to 'tdeioslave/sftp/tdeio_sftp.h')
-rw-r--r--tdeioslave/sftp/tdeio_sftp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tdeioslave/sftp/tdeio_sftp.h b/tdeioslave/sftp/tdeio_sftp.h
index 2ad069ea7..68c8a0020 100644
--- a/tdeioslave/sftp/tdeio_sftp.h
+++ b/tdeioslave/sftp/tdeio_sftp.h
@@ -158,6 +158,9 @@ private: // private methods
/** A small helper function to construct auth info skeleton for the protocol */
TDEIO::AuthInfo authInfo();
+ /** A helper function encapsulating creation of an ssh connection before authentication */
+ int initializeConnection();
+
void reportError(const KURL &url, const int err);
bool createUDSEntry(const TQString &filename, const TQByteArray &path,