mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-10-29 11:05:43 +00:00
23 lines
437 B
C++
23 lines
437 B
C++
|
#ifndef LLARP_SERVICE_CONFIG_HPP
|
||
|
#define LLARP_SERVICE_CONFIG_HPP
|
||
|
#include <list>
|
||
|
#include <string>
|
||
|
|
||
|
namespace llarp
|
||
|
{
|
||
|
namespace service
|
||
|
{
|
||
|
struct Config
|
||
|
{
|
||
|
typedef std::list< std::pair< std::string, std::string > >
|
||
|
section_values_t;
|
||
|
typedef std::pair< std::string, section_values_t > section_t;
|
||
|
|
||
|
std::list< section_t > services;
|
||
|
|
||
|
bool
|
||
|
Load(const std::string& fname);
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
#endif
|