summaryrefslogtreecommitdiffstats
path: root/data_handler.hpp
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-01-17 09:31:04 -0800
committerPatrick Venture <venture@google.com>2019-01-17 09:48:14 -0800
commit7430464ae5aefe37afa327d4efbdc5eb7dd3f15d (patch)
tree6585b02369f3cfbec5db6e5442aa86649c13bbd6 /data_handler.hpp
parentac11ae994397093ab2a21357f6ffb828d0ee824e (diff)
downloadphosphor-ipmi-flash-7430464ae5aefe37afa327d4efbdc5eb7dd3f15d.tar.gz
phosphor-ipmi-flash-7430464ae5aefe37afa327d4efbdc5eb7dd3f15d.zip
rename write,read to writeMeta,readMeta
The blobs::DataInterface specifies two methods, write and read which are meant to be implemented to write or read configuration for the data interface implementation. Change-Id: I831a8611596fca50570a4156cbdcfa5c810c0315 Signed-off-by: Patrick Venture <venture@google.com>
Diffstat (limited to 'data_handler.hpp')
-rw-r--r--data_handler.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/data_handler.hpp b/data_handler.hpp
index 1bee432..75f7660 100644
--- a/data_handler.hpp
+++ b/data_handler.hpp
@@ -43,7 +43,7 @@ class DataInterface
* @param[in] configuration - byte vector of data.
* @return bool - returns true on success.
*/
- virtual bool write(const std::vector<std::uint8_t>& configuration) = 0;
+ virtual bool writeMeta(const std::vector<std::uint8_t>& configuration) = 0;
/**
* read configuration.
@@ -51,7 +51,7 @@ class DataInterface
* @return bytes - whatever bytes are required configuration information for
* the mechanism.
*/
- virtual std::vector<std::uint8_t> read() = 0;
+ virtual std::vector<std::uint8_t> readMeta() = 0;
};
struct DataHandlerPack
OpenPOWER on IntegriCloud