void NsAdapterCatalog::updateGroup(const GroupInfo& group) throw (DmException) { // gid may not be initialized GroupInfo g = this->getGroup(group.name); wrapCall(dpns_modifygrpmap(g.getUnsigned("gid"), (char*)group.name.c_str(), group.getLong("banned"))); }
void NsAdapterCatalog::deleteGroup(const std::string& groupName) throw (DmException) { GroupInfo g = this->getGroup(groupName); wrapCall(dpns_rmgrpmap(g.getUnsigned("gid"), (char*)g.name.c_str())); }