tags: break out string formatting from particle/string

This commit is contained in:
Daniel Eklöf 2018-12-29 17:03:41 +01:00
parent 620017860e
commit ab67d036ae
4 changed files with 129 additions and 89 deletions

3
tag.h
View file

@ -48,3 +48,6 @@ struct tag *tag_new_string(
const struct tag *tag_for_name(const struct tag_set *set, const char *name);
void tag_set_destroy(struct tag_set *set);
/* Utility functions */
char *tags_expand_template(const char *template, const struct tag_set *tags);