You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/llarp/config.hpp

28 lines
430 B
C++

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