22#ifndef PROTOCORE_SESSION_WS_H
23#define PROTOCORE_SESSION_WS_H
27#if PROTOCORE_ENABLE_WEBSOCKET
47extern SessionWsVars SessionWsV;
52 void (*
const open)(uint8_t *work);
53 void (*
const close)(uint8_t *work);
58void protocore_session_ws_open(uint8_t *work);
59void protocore_session_ws_close(uint8_t *work);
65static const SessionWsNs SessionWs __attribute__((unused)) = {
66 .open = protocore_session_ws_open,
67 .close = protocore_session_ws_close,
#define PROTOCORE_BEGIN_DECLS
Give a header's declarations C linkage, so their symbol names carry no parameter types.
_Bool proto_bool
The truth value.
#define PROTOCORE_END_DECLS