1
0
mirror of https://github.com/winscp/winscp.git synced 2026-10-24 02:28:55 +03:00
Files
winscp/source/filezilla/FzApiStructures.h
2026-03-28 01:12:40 +01:00

47 lines
1.3 KiB
C++

//---------------------------------------------------------------------------
#ifndef FzApiStructuresH
#define FzApiStructuresH
//---------------------------------------------------------------------------
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wold-style-cast"
#include <openssl/pkcs12.h>
#pragma clang diagnostic pop
#include <FileBuffer.h>
//---------------------------------------------------------------------------
class t_server
{
public:
t_server();
~t_server() {}
CString host;
int port;
CString user, pass, account;
CString path;
int nServerType;
int nPasv;
int nTimeZoneOffset;
int nUTF8;
int iForcePasvIp;
int iUseMlsd;
X509 * Certificate;
EVP_PKEY * PrivateKey;
};
//---------------------------------------------------------------------------
#include "ServerPath.h"
//---------------------------------------------------------------------------
typedef struct
{
CString localfile;
CString remotefile;
CServerPath remotepath;
BOOL get;
__int64 size;
t_server server;
int nType;
NativeInt nUserData;
TTransferOutEvent OnTransferOut;
TTransferInEvent OnTransferIn;
} t_transferfile;
//---------------------------------------------------------------------------
#endif // FzApiStructuresH