add: macro endpoints
add: basic macro support fix: database locking with lock-pointer fix: memory leaks
This commit is contained in:
parent
6a2b94ef1c
commit
9d2c48d645
30 changed files with 606 additions and 213 deletions
include/endpoints
18
include/endpoints/api_v1_macros.h
Normal file
18
include/endpoints/api_v1_macros.h
Normal file
|
@ -0,0 +1,18 @@
|
|||
#ifndef CORE_ENDPOINTS_API_V1_MACROS_H
|
||||
#define CORE_ENDPOINTS_API_V1_MACROS_H
|
||||
|
||||
#include <router.h>
|
||||
|
||||
void
|
||||
api_v1_macros_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
||||
|
||||
void
|
||||
api_v1_macros_POST(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
||||
|
||||
//void
|
||||
//api_v1_tags_STR_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
||||
|
||||
//void
|
||||
//api_v1_tags_STR_DELETE(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
||||
|
||||
#endif /* CORE_ENDPOINTS_API_V1_MACROS_H */
|
Loading…
Add table
Add a link
Reference in a new issue