Enable the BMC dump offload through given URI

Add the support for reading the dump and writing to the
path provided. The supported for writing the BMC dump
is added.
Tested using offloading a BMC dump to a remote system
using NBD.

Change-Id: I5250b41ed162905548a7d522b9dc86533d0a9a83
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
diff --git a/dump_offload.hpp b/dump_offload.hpp
new file mode 100644
index 0000000..2678061
--- /dev/null
+++ b/dump_offload.hpp
@@ -0,0 +1,27 @@
+#pragma once
+
+#include <experimental/filesystem>
+
+namespace phosphor
+{
+namespace dump
+{
+namespace offload
+{
+
+namespace fs = std::experimental::filesystem;
+
+/**
+ * @brief Kicks off the instructions to
+ *        start offload of the dump using dbus
+ *
+ * @param[in] file - dump filename with relative path.
+ * @param[in] dumpId - id of the dump.
+ * @param[in] writePath[in] - path to write the dump file.
+ *
+ **/
+void requestOffload(fs::path file, uint32_t dumpId, std::string writePath);
+
+} // namespace offload
+} // namespace dump
+} // namespace phosphor