summaryrefslogtreecommitdiffstats
path: root/host_state_serialize.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'host_state_serialize.hpp')
-rw-r--r--host_state_serialize.hpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/host_state_serialize.hpp b/host_state_serialize.hpp
deleted file mode 100644
index 0bc7684..0000000
--- a/host_state_serialize.hpp
+++ /dev/null
@@ -1,37 +0,0 @@
-#pragma once
-
-#include <string>
-#include <vector>
-#include <experimental/filesystem>
-#include "host_state_manager.hpp"
-#include "config.h"
-
-namespace phosphor
-{
-namespace state
-{
-namespace manager
-{
-
-namespace fs = std::experimental::filesystem;
-
-/** @brief Serialize and persist requested host state
- * @param[in] host - const reference to host state.
- * @param[in] dir - pathname of file where the serialized host state will
- * be placed.
- * @return fs::path - pathname of persisted requested host state.
- */
-fs::path serialize(const Host& host,
- const fs::path& dir = fs::path(HOST_STATE_PERSIST_PATH));
-
-/** @brief Deserialze a persisted requested host state.
- * @param[in] path - pathname of persisted host state file
- * @param[in] host - reference to host state object which is the target of
- * deserialization.
- * @return bool - true if the deserialization was successful, false otherwise.
- */
-bool deserialize(const fs::path& path, Host& host);
-
-} // namespace manager
-} // namespace state
-} // namespace phosphor
OpenPOWER on IntegriCloud