23 #include <boost/property_tree/ptree.hpp>
CoreAPI is a class for interact with Leosac's core.
std::vector< std::string > modules_names() const
Retrieve the names of all enabled modules.
This is the header file for a generated source file, GitSHA1.cpp.
boost::property_tree::ptree kernel_config() const
Retrieve the property tree describing the Leosac's kernel configuration.
void restart_server() const
Request that Leosac restarts.
uint64_t uptime() const
Returns the uptime, in seconds.
std::string instance_name() const
Returns the instance_name of Leosac.
uint64_t config_version() const
Retrieve the local configuration version.