X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/95d54ec2f747d0b89fff42965a781689e7d4db1e..186fb2b18b89a0280b8cc4b5ea8f7a59d3bd0853:/projects/sgconf/users.cpp diff --git a/projects/sgconf/users.cpp b/projects/sgconf/users.cpp index 37b3db5e..3958869c 100644 --- a/projects/sgconf/users.cpp +++ b/projects/sgconf/users.cpp @@ -141,8 +141,8 @@ return proto.DelUser(arg, SimpleCallback, NULL) == STG::st_ok; } bool SGCONF::AddUserFunction(const SGCONF::CONFIG & config, - const std::string & arg, - const std::map & /*options*/) + const std::string & arg, + const std::map & /*options*/) { // TODO std::cerr << "Unimplemented.\n"; @@ -150,6 +150,15 @@ return false; } bool SGCONF::ChgUserFunction(const SGCONF::CONFIG & config, + const std::string & arg, + const std::map & options) +{ +// TODO +std::cerr << "Unimplemented.\n"; +return false; +} + +bool SGCONF::CheckUserFunction(const SGCONF::CONFIG & config, const std::string & arg, const std::map & options) { @@ -157,3 +166,12 @@ bool SGCONF::ChgUserFunction(const SGCONF::CONFIG & config, std::cerr << "Unimplemented.\n"; return false; } + +bool SGCONF::SendMessageFunction(const SGCONF::CONFIG & config, + const std::string & arg, + const std::map & options) +{ +// TODO +std::cerr << "Unimplemented.\n"; +return false; +}