Add IPMI interface for CustomAccel service

Change-Id: I28a8976e382b457233ac521e9ab71f75abe029d1
Signed-off-by: Steve Foreman <foremans@google.com>
diff --git a/handler_impl.hpp b/handler_impl.hpp
index 88a901b..f46e79c 100644
--- a/handler_impl.hpp
+++ b/handler_impl.hpp
@@ -1,4 +1,4 @@
-// Copyright 2021 Google LLC
+// Copyright 2022 Google LLC
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
 // you may not use this file except in compliance with the License.
@@ -19,7 +19,9 @@
 #include <cstdint>
 #include <map>
 #include <nlohmann/json.hpp>
+#include <sdbusplus/bus.hpp>
 #include <string>
+#include <string_view>
 #include <tuple>
 #include <vector>
 
@@ -53,6 +55,17 @@
     std::tuple<std::uint32_t, std::string>
         getI2cEntry(unsigned int entry) const override;
 
+    uint32_t accelOobDeviceCount() const override;
+    std::string accelOobDeviceName(size_t index) const override;
+    uint64_t accelOobRead(std::string_view name, uint64_t address,
+                          uint8_t num_bytes) const override;
+    void accelOobWrite(std::string_view name, uint64_t address,
+                       uint8_t num_bytes, uint64_t data) const override;
+
+  protected:
+    // Exposed for dependency injection
+    virtual sdbusplus::bus::bus accelOobGetDbus() const;
+
   private:
     std::string _configFile;