util.hpp (7c2a00e02f1f0169b3e80ef1715002cefc6fa0d0) util.hpp (ede9c9f6684e7d8367f039c48839e464d3d34eaf)
1#pragma once
2
1#pragma once
2
3#include <string>
4
5namespace ipmi_flash
6{
7
3namespace ipmi_flash
4{
5
8extern const std::string biosBlobId;
9extern const std::string updateBlobId;
10extern const std::string verifyBlobId;
11extern const std::string hashBlobId;
12extern const std::string activeImageBlobId;
13extern const std::string activeHashBlobId;
14extern const std::string staticLayoutBlobId;
15extern const std::string ubiTarballBlobId;
16extern const std::string cleanupBlobId;
6inline constexpr char biosBlobId[] = "/flash/bios";
7inline constexpr char updateBlobId[] = "/flash/update";
8inline constexpr char verifyBlobId[] = "/flash/verify";
9inline constexpr char hashBlobId[] = "/flash/hash";
10inline constexpr char activeImageBlobId[] = "/flash/active/image";
11inline constexpr char activeHashBlobId[] = "/flash/active/hash";
12inline constexpr char staticLayoutBlobId[] = "/flash/image";
13inline constexpr char ubiTarballBlobId[] = "/flash/tarball";
14inline constexpr char cleanupBlobId[] = "/flash/cleanup";
17
18} // namespace ipmi_flash
15
16} // namespace ipmi_flash