1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/llarp/service/config.hpp
2018-12-12 02:53:01 +00:00

23 lines
480 B
C++

#ifndef LLARP_SERVICE_CONFIG_HPP
#define LLARP_SERVICE_CONFIG_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(const std::string& fname);
};
} // namespace service
} // namespace llarp
#endif