lokinet/llarp/config.hpp
Jeff Becker 84ab8a792a
more
2018-04-05 10:38:22 -04:00

28 lines
430 B
C++

#ifndef LIBLLARP_CONFIG_HPP
#define LIBLLARP_CONFIG_HPP
#include <list>
#include <string>
#include <llarp/config.h>
namespace llarp {
struct Config {
typedef std::list<std::pair<std::string, std::string> > section_t;
section_t router;
section_t network;
section_t netdb;
section_t links;
bool Load(const char *fname);
};
} // namespace llarp
extern "C" {
struct llarp_config {
llarp::Config impl;
};
}
#endif