|
std::string | isc::config::answerToText (const isc::data::ConstElementPtr &msg) |
| Converts answer to printable text.
|
|
ConstElementPtr | isc::config::combineCommandsLists (const isc::data::ConstElementPtr &response1, const isc::data::ConstElementPtr &response2) |
| Combines lists of commands carried in two responses.
|
|
ConstElementPtr | isc::config::createAnswer () |
| Creates a standard config/command level success answer message (i.e.
|
|
ConstElementPtr | isc::config::createAnswer (const int status_code, const isc::data::ConstElementPtr &arg) |
| Creates a standard config/command level answer message (i.e.
|
|
ConstElementPtr | isc::config::createAnswer (const int status_code, const std::string &status, const isc::data::ConstElementPtr &arg) |
| Creates a standard config/command level answer message.
|
|
ConstElementPtr | isc::config::createAnswer (const int status_code, const std::string &status_text) |
| Creates a standard config/command level answer message (i.e.
|
|
ConstElementPtr | isc::config::createCommand (const std::string &command) |
| Creates a standard command message with no argument (of the form { "command": "my_command" })
|
|
ConstElementPtr | isc::config::createCommand (const std::string &command, const std::string &service) |
| Creates a standard config/command command message with no argument and with the given service (of the form { "command": "my_command", "service": [ service ] })
|
|
ConstElementPtr | isc::config::createCommand (const std::string &command, isc::data::ConstElementPtr arg) |
| Creates a standard command message with the given argument (of the form { "command": "my_command", "arguments": arg }.
|
|
ConstElementPtr | isc::config::createCommand (const std::string &command, isc::data::ConstElementPtr arg, const std::string &service) |
| Creates a standard config/command command message with the given argument and given service (of the form { "command": "my_command", "arguments": arg, "service": [ service ] }.
|
|
ConstElementPtr | isc::config::parseAnswer (int &status_code, const isc::data::ConstElementPtr &msg) |
| Parses a standard config/command level answer and returns arguments or text status code.
|
|
ConstElementPtr | isc::config::parseAnswerText (int &rcode, const isc::data::ConstElementPtr &msg) |
| Parses a standard config/command level answer and returns text status.
|
|
std::string | isc::config::parseCommand (isc::data::ConstElementPtr &arg, isc::data::ConstElementPtr command) |
| Parses the given command into a string containing the actual command and an ElementPtr containing the optional argument.
|
|
std::string | isc::config::parseCommandWithArgs (isc::data::ConstElementPtr &arg, isc::data::ConstElementPtr command) |
| Parses the given command into a string containing the command name and an ElementPtr containing the mandatory argument.
|
|