blob: 97b3aa930544d4453354178c1a8d00c0408e053b [file] [log] [blame]
Kun Yi91beea62018-11-26 15:23:14 -08001#include "handler.hpp"
2
3#include <blobs-ipmid/blobs.hpp>
4#include <memory>
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
10/**
11 * This is required by the blob manager.
12 * TODO: move the declaration to blobs.hpp since all handlers need it
13 */
14std::unique_ptr<blobs::GenericBlobInterface> createHandler();
15
16#ifdef __cplusplus
17}
18#endif
19
20std::unique_ptr<blobs::GenericBlobInterface> createHandler()
21{
22 return std::make_unique<blobs::BinaryStoreBlobHandler>();
23}