22#include <plugin/slave/replication_slave.h>
23#include <drizzled/plugin.h>
24#include <drizzled/configmake.h>
26#include <boost/program_options.hpp>
27#include <boost/filesystem.hpp>
33namespace po= boost::program_options;
34namespace fs= boost::filesystem;
39static const fs::path DEFAULT_SLAVE_CFG_FILE= SYSCONFDIR
"/slave.cfg";
41static string slave_config;
43static int init(module::Context &context)
45 const module::option_map &vm= context.getOptions();
52static void init_options(drizzled::module::option_context &context)
54 context(
"config-file",
55 po::value<string>()->default_value(DEFAULT_SLAVE_CFG_FILE.string()),
56 N_(
"Path to the slave configuration file"));
67 N_(
"Drizzle replication slave"),
73DRIZZLE_DECLARE_PLUGIN_END;
TODO: Rename this file - func.h is stupid.
An Proxy Wrapper around boost::program_options::variables_map.