bmc: implement search for json files

Tested: Verified it prints out the blobs expected.
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: I1ba6af8b2ca066e6eb1699cb4214ce32f148005d
diff --git a/bmc/buildjson.hpp b/bmc/buildjson.hpp
index 5f9affd..8e333f6 100644
--- a/bmc/buildjson.hpp
+++ b/bmc/buildjson.hpp
@@ -54,4 +54,12 @@
  */
 std::vector<HandlerConfig> buildHandlerFromJson(const nlohmann::json& data);
 
+/**
+ * Given a folder of json configs, build the configurations.
+ *
+ * @param[in] directory - the directory to search (recurisvely).
+ * @return list of HandlerConfig objects.
+ */
+std::vector<HandlerConfig> BuildHandlerConfigs(const std::string& directory);
+
 } // namespace ipmi_flash