blob: 9ef7302bd4be638043e1631bc334a2d8a2a9c055 [file] [log] [blame]
Andrew Geissler0d1c3f12021-07-27 16:21:01 -04001#pragma once
2
Potin Lai70f36d82022-03-15 10:25:39 +08003#include <cstddef>
4
Andrew Geissler8ffdb262021-09-20 15:25:19 -05005namespace phosphor
6{
7namespace state
8{
9namespace manager
10{
11
Andrew Geissler0d1c3f12021-07-27 16:21:01 -040012/** @brief Determine if host is running
13 *
14 * @return True if host running, False otherwise
15 */
Potin Lai70f36d82022-03-15 10:25:39 +080016bool isHostRunning(size_t hostId = 0);
Andrew Geissler8ffdb262021-09-20 15:25:19 -050017
18} // namespace manager
19} // namespace state
20} // namespace phosphor