ssize_t(* send)(teoWSClass *kws, void *nc_p, int cmd, const char *to_peer_name, void *data, size_t data_length)
Send command to L0 server.
Definition: teo_ws.h:84
const char data[]
Make it with: gcc -o post-callback post-callback.c -lcurl.
Definition: post-callback.c:23
int(* processMsg)(teoWSClass *kws, void *nc_p, void *data, size_t data_length)
Process websocket message.
Definition: teo_ws.h:97
int(* handler)(teoWSClass *kws, int ev, void *nc_p, void *data, size_t data_length)
Teonet L0 websocket event handler.
Definition: teo_ws.h:69