1
0

FzApiStructures.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //---------------------------------------------------------------------------
  2. #ifndef FzApiStructuresH
  3. #define FzApiStructuresH
  4. //---------------------------------------------------------------------------
  5. #include <openssl/pkcs12.h>
  6. //---------------------------------------------------------------------------
  7. class t_server
  8. {
  9. public:
  10. t_server();
  11. ~t_server() {}
  12. CString host;
  13. int port;
  14. CString user, pass, account;
  15. CString path;
  16. int nServerType;
  17. int nPasv;
  18. int nTimeZoneOffset;
  19. int nUTF8;
  20. int iForcePasvIp;
  21. int iUseMlsd;
  22. X509 * Certificate;
  23. EVP_PKEY * PrivateKey;
  24. };
  25. //---------------------------------------------------------------------------
  26. #include "ServerPath.h"
  27. //---------------------------------------------------------------------------
  28. typedef struct
  29. {
  30. CString localfile;
  31. CString remotefile;
  32. CServerPath remotepath;
  33. BOOL get;
  34. __int64 size;
  35. t_server server;
  36. int nType;
  37. int nUserData;
  38. } t_transferfile;
  39. //---------------------------------------------------------------------------
  40. #endif // FzApiStructuresH