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:
@@ -40,8 +40,10 @@ tag_print(Response &r, TagType type, const char *value)
|
||||
void
|
||||
tag_print_values(Response &r, const Tag &tag)
|
||||
{
|
||||
const auto tag_mask = r.GetTagMask();
|
||||
for (const auto &i : tag)
|
||||
tag_print(r, i.type, i.value);
|
||||
if (tag_mask.Test(i.type))
|
||||
tag_print(r, i.type, i.value);
|
||||
}
|
||||
|
||||
void
|
||||
|
Reference in New Issue
Block a user