FzApiStructures.h 1.2 KB

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