libwebsockets
Lightweight C library for HTML5 websockets
|
Data Fields | |
struct lws_netdev_instance *(* | create )(struct lws_context *ctx, const struct lws_netdev_ops *ops, const char *name, void *platinfo) |
int(* | configure )(struct lws_netdev_instance *nd, lws_netdev_config_t *config) |
int(* | up )(struct lws_netdev_instance *nd) |
int(* | down )(struct lws_netdev_instance *nd) |
int(* | event )(struct lws_netdev_instance *nd, lws_usec_t timestamp, void *buf, size_t len) |
void(* | destroy )(struct lws_netdev_instance **pnd) |
int(* | connect )(struct lws_netdev_instance *wnd, const char *ssid, const char *passphrase, uint8_t *bssid) |
void(* | scan )(struct lws_netdev_instance *nd) |
int(* lws_netdev_ops::event) (struct lws_netdev_instance *nd, lws_usec_t timestamp, void *buf, size_t len) |
these are SMD events coming from lws event loop thread context