diff options
Diffstat (limited to 'components/wisp_relay/handlers.h')
| -rw-r--r-- | components/wisp_relay/handlers.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/components/wisp_relay/handlers.h b/components/wisp_relay/handlers.h new file mode 100644 index 0000000..91621bf --- /dev/null +++ b/components/wisp_relay/handlers.h | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | #ifndef HANDLERS_H | ||
| 2 | #define HANDLERS_H | ||
| 3 | |||
| 4 | #include "relay_core.h" | ||
| 5 | |||
| 6 | int handle_event(relay_ctx_t *ctx, int conn_fd, const char *event_json, size_t event_len); | ||
| 7 | void handle_req(relay_ctx_t *ctx, int conn_fd, const char *sub_id, const char *filters_json); | ||
| 8 | int handle_close(relay_ctx_t *ctx, int conn_fd, const char *sub_id); | ||
| 9 | |||
| 10 | #endif | ||