mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-11 07:10:36 +00:00
273270916e
This commit reflects changes to clang-format rules. Unfortunately, these rule changes create a massive change to the codebase, which causes an apparent rewrite of git history. Git blame's --ignore-rev flag can be used to ignore this commit when attempting to `git blame` some code.
26 lines
489 B
C++
26 lines
489 B
C++
#ifndef LLARP_SERVICE_CONFIG_HPP
|
|
#define LLARP_SERVICE_CONFIG_HPP
|
|
|
|
#include <util/string_view.hpp>
|
|
|
|
#include <list>
|
|
#include <string>
|
|
|
|
namespace llarp
|
|
{
|
|
namespace service
|
|
{
|
|
struct Config
|
|
{
|
|
using section_values_t = std::list<std::pair<std::string, std::string>>;
|
|
using section_t = std::pair<std::string, section_values_t>;
|
|
|
|
std::list<section_t> services;
|
|
|
|
bool
|
|
Load(string_view fname);
|
|
};
|
|
} // namespace service
|
|
} // namespace llarp
|
|
#endif
|