33 lines
1.4 KiB
C
33 lines
1.4 KiB
C
#ifndef CORE_ENDPOINTS_API_V1_CONTROLLERS_H
|
|
#define CORE_ENDPOINTS_API_V1_CONTROLLERS_H
|
|
|
|
#include <router.h>
|
|
|
|
void
|
|
api_v1_controllers_discover_PUT(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_STR_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_STR_PUT(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_STR_DELETE(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_STR_relays_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_STR_relays_INT_GET(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_STR_relays_INT_PUT(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
void
|
|
api_v1_controllers_STR_relays_INT_pulse_POST(struct mg_connection *nc, struct http_message *hm, endpoint_args_t *args, endpoint_response_t *response);
|
|
|
|
#endif /* CORE_ENDPOINTS_API_V1_CONTROLLERS_H */
|