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/endpoints

View file

@ -0,0 +1,9 @@
#ifndef CORE_ENDPOINTS_API_V1_TAGS_H
#define CORE_ENDPOINTS_API_V1_TAGS_H
#include <router.h>
void
api_v1_tags_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
#endif /* CORE_ENDPOINTS_API_V1_TAGS_H */