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