mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
480 B
C++
24 lines
480 B
C++
6 years ago
|
#ifndef LLARP_SERVICE_CONFIG_HPP
|
||
|
#define LLARP_SERVICE_CONFIG_HPP
|
||
|
#include <list>
|
||
|
#include <string>
|
||
|
|
||
|
namespace llarp
|
||
|
{
|
||
|
namespace service
|
||
|
{
|
||
|
struct Config
|
||
|
{
|
||
6 years ago
|
using section_values_t =
|
||
|
std::list< std::pair< std::string, std::string > >;
|
||
|
using section_t = std::pair< std::string, section_values_t >;
|
||
6 years ago
|
|
||
|
std::list< section_t > services;
|
||
|
|
||
|
bool
|
||
|
Load(const std::string& fname);
|
||
|
};
|
||
6 years ago
|
} // namespace service
|
||
|
} // namespace llarp
|
||
6 years ago
|
#endif
|