mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-07 15:20:31 +00:00
a2326efa37
This reverts commit2996a7f29c
, reversing changes made to10df3bd4b3
.
27 lines
507 B
C++
27 lines
507 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
|