diff options
Diffstat (limited to 'cethcan/cethcan.h')
-rw-r--r-- | cethcan/cethcan.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cethcan/cethcan.h b/cethcan/cethcan.h index 64d185b..fd821fc 100644 --- a/cethcan/cethcan.h +++ b/cethcan/cethcan.h @@ -52,6 +52,7 @@ struct can_message { enum json_subtype { JSON_NORMAL = 0, + JSON_LONGPOLL = 1, }; typedef void (*can_handler)(void *arg, struct can_message *msg); @@ -74,6 +75,8 @@ extern void can_broadcast(struct can_user *origin, struct can_message *msg); extern void can_json(json_t *json, enum json_subtype type); extern void can_init(void); +extern void json_bump_longpoll(void); + extern int ether_init(json_t *config); extern int light_init_conf(json_t *config); extern void http_init(void); |