1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/source/filezilla/FilezillaTools.h
Martin Prikryl 0e4e2e6bc8 It is possible to configure TLS 1.3 restrictions
(+ reusing SetupSsl for FTP)

Source commit: 426bf5c70861f8a2964967d32ef5b5e36bbb1ac6
2020-02-12 00:52:11 +01:00

19 lines
787 B
C++

//---------------------------------------------------------------------------
#ifndef FileZillaToolsH
#define FileZillaToolsH
//---------------------------------------------------------------------------
#include <ctime>
#include <openssl/ssl.h>
//---------------------------------------------------------------------------
class CFileZillaTools
{
public:
virtual void PreserveDownloadFileTime(HANDLE Handle, void * UserData) = 0;
virtual bool GetFileModificationTimeInUtc(const wchar_t * FileName, struct tm & Time) = 0;
virtual wchar_t * LastSysErrorMessage() = 0;
virtual std::wstring GetClientString() = 0;
virtual void SetupSsl(ssl_st * Ssl) = 0;
};
//---------------------------------------------------------------------------
#endif // FileZillaToolsH