libwebsockets
Lightweight C library for HTML5 websockets
|
#include <lws-netdev.h>
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) |
Definition at line 50 of file lws-netdev.h.
struct lws_netdev_instance*(* lws_netdev_ops::create) (struct lws_context *ctx, const struct lws_netdev_ops *ops, const char *name, void *platinfo) |
Definition at line 43 of file lws-netdev.h.
int(* lws_netdev_ops::configure) (struct lws_netdev_instance *nd, lws_netdev_config_t *config) |
Definition at line 54 of file lws-netdev.h.
int(* lws_netdev_ops::up) (struct lws_netdev_instance *nd) |
Definition at line 56 of file lws-netdev.h.
int(* lws_netdev_ops::down) (struct lws_netdev_instance *nd) |
Definition at line 57 of file lws-netdev.h.
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
Definition at line 58 of file lws-netdev.h.
void(* lws_netdev_ops::destroy) (struct lws_netdev_instance **pnd) |
Definition at line 61 of file lws-netdev.h.
int(* lws_netdev_ops::connect) (struct lws_netdev_instance *wnd, const char *ssid, const char *passphrase, uint8_t *bssid) |
Definition at line 62 of file lws-netdev.h.
void(* lws_netdev_ops::scan) (struct lws_netdev_instance *nd) |
Definition at line 64 of file lws-netdev.h.