libwebsockets
Lightweight C library for HTML5 websockets
lws_netdev_ops Struct Reference

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)
 

Field Documentation

◆ event

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


The documentation for this struct was generated from the following file: