mirror of
https://github.com/oxen-io/lokinet.git
synced 2024-11-05 21:20:38 +00:00
30 lines
670 B
C++
30 lines
670 B
C++
#ifndef LLARP_SERVICE_HPP
|
|
#define LLARP_SERVICE_HPP
|
|
#include <iostream>
|
|
#include <llarp/service/Identity.hpp>
|
|
#include <llarp/service/Intro.hpp>
|
|
#include <llarp/service/IntroSet.hpp>
|
|
#include <llarp/service/endpoint.hpp>
|
|
#include <llarp/service/types.hpp>
|
|
#include <set>
|
|
#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);
|
|
};
|
|
|
|
}; // namespace service
|
|
} // namespace llarp
|
|
|
|
#endif |