Add utils functions

The utils.hpp/cpp are copied from phosphor-psu-code-mgmt and only keep
the functions that are related to get service, get properties.

Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: I6aab996f92c87560280c626d7776fe0177b57610
3 files changed
tree: 62270da4f55da0562feccfd11ef49311d70bdee9
  1. src/
  2. .clang-format
  3. .gitignore
  4. LICENSE
  5. MAINTAINERS
  6. meson.build