27 #ifndef FsBroker_Lib_Response_Parameters_Readdir_h
28 #define FsBroker_Lib_Response_Parameters_Readdir_h
42 namespace Parameters {
59 Readdir(std::vector<Filesystem::Dirent> &listing) : m_listing(listing) {}
69 uint8_t encoding_version()
const override;
71 size_t encoded_length_internal()
const override;
73 void encode_internal(uint8_t **bufp)
const override;
75 void decode_internal(uint8_t version,
const uint8_t **bufp,
76 size_t *remainp)
override;
86 #endif // FsBroker_Lib_Response_Parameters_Readdir_h
Abstract base class for a filesystem.
Readdir(std::vector< Filesystem::Dirent > &listing)
Constructor.
Response parameters for readdir requests.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
std::vector< Filesystem::Dirent > m_listing
Directory listing.
void get_listing(std::vector< Filesystem::Dirent > &listing)
Gets directory listing.