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:
Max Kellermann
2017-02-07 16:52:59 +01:00
parent 599d77643b
commit 29453ba196
10 changed files with 175 additions and 21 deletions

View File

@@ -97,7 +97,8 @@ print_tag(TagType type, const char *value, void *ctx)
{
auto &r = *(Response *)ctx;
tag_print(r, type, value);
if (r.GetClient().tag_mask.Test(type))
tag_print(r, type, value);
}
CommandResult