2 * Copyright (C) 2010-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
19 int FTPParse(const std::string
& str
);
20 const std::string
& getName() const { return m_name
; }
26 std::string m_name
; // not necessarily 0-terminated
27 int m_flagtrycwd
; // 0 if cwd is definitely pointless, 1 otherwise
28 int m_flagtryretr
; // 0 if retr is definitely pointless, 1 otherwise
29 uint64_t m_size
; // number of octets
30 time_t m_time
= 0; // modification time
31 void setTime(const std::string
& str
); // Method used to set m_time from a string