37 #define LSOOPEN_FLAG_WRITEABLE (1 << 0)
50 uint8_t *dest,
size_t *max_actual);
54 const uint8_t *src,
size_t len);
72 uint8_t *dest,
size_t *max_actual);
87 const uint8_t *src,
size_t len);
104 #define lws_settings_ops_plat \
105 .get = lws_settings_plat_get, \
106 .set = lws_settings_plat_set,
#define LWS_FORMAT(string_index)
struct lws_settings_ops lws_settings_ops_t
LWS_VISIBLE LWS_EXTERN int lws_settings_plat_get(lws_settings_instance_t *si, const char *name, uint8_t *dest, size_t *max_actual)
LWS_VISIBLE LWS_EXTERN lws_settings_instance_t * lws_settings_init(const lws_settings_ops_t *so, void *opaque_plat)
const struct lws_settings_ops * so
LWS_VISIBLE LWS_EXTERN int lws_settings_plat_printf(lws_settings_instance_t *si, const char *name, const char *format,...) LWS_FORMAT(3)
LWS_VISIBLE LWS_EXTERN void lws_settings_deinit(lws_settings_instance_t **si)
LWS_VISIBLE LWS_EXTERN int lws_settings_plat_set(lws_settings_instance_t *si, const char *name, const uint8_t *src, size_t len)
int(* set)(lws_settings_instance_t *si, const char *name, const uint8_t *src, size_t len)
int(* get)(lws_settings_instance_t *si, const char *name, uint8_t *dest, size_t *max_actual)