add: endpoint /tags

fix: leaks from config (now using static length for config strings)
This commit is contained in:
Tobias Reisinger 2020-06-13 19:21:32 +02:00
parent 0f1cd9c02c
commit a78815cb32
10 changed files with 147 additions and 16 deletions
include/models

View file

@ -10,8 +10,10 @@ tag_remove(int id);
char*
tag_get_tag(int id);
char**
tag_get_all();
int
tag_get_id(const char* tag);
#endif /* CORE_MODELS_TAG_H */