lokinet/llarp/service/config.hpp

27 lines
507 B
C++
Raw Normal View History

#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);
};
2018-07-17 04:37:50 +00:00
} // namespace service
} // namespace llarp
#endif