blob: 97ebf76c79cb4b206048fb775621a1a55ad97dbd [file] [log] [blame]
Patrick Venturec7ca2912018-11-02 11:38:33 -07001#include "firmware_handler.hpp"
2
3namespace blobs
4{
5
6bool FirmwareBlobHandler::canHandleBlob(const std::string& path)
7{
8 return false;
9}
10std::vector<std::string> FirmwareBlobHandler::getBlobIds()
11{
12 return {};
13}
14bool FirmwareBlobHandler::deleteBlob(const std::string& path)
15{
16 return false;
17}
18bool FirmwareBlobHandler::stat(const std::string& path, struct BlobMeta* meta)
19{
20 return false;
21}
22bool FirmwareBlobHandler::open(uint16_t session, uint16_t flags,
23 const std::string& path)
24{
25 return false;
26}
27std::vector<uint8_t> FirmwareBlobHandler::read(uint16_t session,
28 uint32_t offset,
29 uint32_t requestedSize)
30{
31 return {};
32}
33bool FirmwareBlobHandler::write(uint16_t session, uint32_t offset,
34 const std::vector<uint8_t>& data)
35{
36 return false;
37}
38bool FirmwareBlobHandler::writeMeta(uint16_t session, uint32_t offset,
39 const std::vector<uint8_t>& data)
40{
41 return false;
42}
43bool FirmwareBlobHandler::commit(uint16_t session,
44 const std::vector<uint8_t>& data)
45{
46 return false;
47}
48bool FirmwareBlobHandler::close(uint16_t session)
49{
50 return false;
51}
52bool FirmwareBlobHandler::stat(uint16_t session, struct BlobMeta* meta)
53{
54 return false;
55}
56bool FirmwareBlobHandler::expire(uint16_t session)
57{
58 return false;
59}
60} // namespace blobs