136 void *user,
void *in,
size_t len);
158 const char *opt_name,
const char *opt_val);
173 const char *o,
int len);
192 void *user,
void *in,
size_t len);
const char * client_offer
enum lws_ext_options_types type
lws_extension_callback_function * callback
LWS_VISIBLE LWS_EXTERN int LWS_WARN_UNUSED_RESULT lws_ext_parse_options(const struct lws_extension *ext, struct lws *wsi, void *ext_user, const struct lws_ext_options *opts, const char *o, int len)
LWS_VISIBLE LWS_EXTERN int lws_extension_callback_pm_deflate(struct lws_context *context, const struct lws_extension *ext, struct lws *wsi, enum lws_extension_callback_reasons reason, void *user, void *in, size_t len)
int lws_extension_callback_function(struct lws_context *context, const struct lws_extension *ext, struct lws *wsi, enum lws_extension_callback_reasons reason, void *user, void *in, size_t len)
LWS_VISIBLE LWS_EXTERN int lws_set_extension_option(struct lws *wsi, const char *ext_name, const char *opt_name, const char *opt_val)
lws_extension_callback_reasons
@ LWS_EXT_CB_NAMED_OPTION_SET
@ LWS_EXT_CB_OPTION_DEFAULT
@ LWS_EXT_CB_PACKET_TX_PRESEND
@ LWS_EXT_CB_CLIENT_CONSTRUCT
@ LWS_EXT_CB_OPTION_CONFIRM
#define LWS_WARN_UNUSED_RESULT