client: add tag_mask attribute
The "tagtypes" command now has several sub commands which can be used to edit that mask.
This commit is contained in:
@@ -22,11 +22,13 @@
|
||||
|
||||
#include "check.h"
|
||||
#include "protocol/Ack.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
class Client;
|
||||
class TagMask;
|
||||
|
||||
class Response {
|
||||
Client &client;
|
||||
@@ -59,6 +61,13 @@ public:
|
||||
return client;
|
||||
}
|
||||
|
||||
/**
|
||||
* Accessor for Client::tag_mask. Can be used if caller wants
|
||||
* to avoid including Client.hxx.
|
||||
*/
|
||||
gcc_pure
|
||||
TagMask GetTagMask() const;
|
||||
|
||||
void SetCommand(const char *_command) {
|
||||
command = _command;
|
||||
}
|
||||
|
Reference in New Issue
Block a user