add: relay endpoint

fix: discovery invalid read
This commit is contained in:
Tobias Reisinger 2020-05-06 01:16:43 +02:00
parent 1171ef22be
commit a127a68e31
5 changed files with 61 additions and 2 deletions
include/endpoints

View file

@ -0,0 +1,9 @@
#ifndef CORE_ENDPOINTS_API_V1_RELAYS_H
#define CORE_ENDPOINTS_API_V1_RELAYS_H
#include <router.h>
void
api_v1_relays_GET(struct mg_connection *c, endpoint_args_t *args, struct http_message *hm);
#endif /* CORE_ENDPOINTS_API_V1_RELAYS_H */