|
bool | isUsed (const WebServer ws, const WarnlistField fld) |
| Returns whether the requested warnlist is in use.
|
|
void | setUsed (const WebServer ws, const WarnlistField fld, const bool used) |
| Sets the requested warnlist in the given in-use condition.
|
|
Warnlist & | get (const WebServer ws) |
| Returns a reference to the requested warnlist.
|
|
WarnlistItem & | get (const WebServer ws, const WarnlistField fld) |
| Returns a reference to the requested warnlist.
|
|
std::vector< std::string > & | getList (const WebServer ws, const WarnlistField fld) |
| Returns a reference to the requested warnlist.
|
|
const std::vector< std::string > & | getListConst (const WebServer ws, const WarnlistField fld) |
| Returns a const reference to the requested warnlist.
|
|
void | setList (const WebServer ws, const WarnlistField fld, const std::vector< std::string > &list) |
| Replaces the requested warnlist with the one provided.
|
|
void | clearList (const WebServer ws, const WarnlistField fld) |
| Clears the requested warnlist.
|
|
void | addItem (const WebServer ws, const WarnlistField fld, const std::string &item) |
| Adds the provided item to the requested warnlist.
|
|
void | removeItem (const WebServer ws, const WarnlistField fld, const std::string &item) |
| Remove the requested item from the requested warnlist.
|
|
int | moveUpItem (const WebServer ws, const WarnlistField fld, const std::string &item) |
| Moves the requested item one position up in the requested warnlist.
|
|
int | moveDownItem (const WebServer ws, const WarnlistField fld, const std::string &item) |
| Moves the requested item one position down in the requested warnlist.
|
|