Lightweight C library for HTML5 websockets
lws_settings_ops Struct Reference

#include <lws-settings.h>

+ Collaboration diagram for lws_settings_ops:

Data Fields

int(* get )(lws_settings_instance_t *si, const char *name, uint8_t *dest, size_t *max_actual)
int(* set )(lws_settings_instance_t *si, const char *name, const uint8_t *src, size_t len)

Detailed Description

Definition at line 48 of file lws-settings.h.

Field Documentation

◆ get

int(* lws_settings_ops::get) (lws_settings_instance_t *si, const char *name, uint8_t *dest, size_t *max_actual)

if dest is NULL, max_actual is set to the actual length without copying anything out

Definition at line 49 of file lws-settings.h.

◆ set

int(* lws_settings_ops::set) (lws_settings_instance_t *si, const char *name, const uint8_t *src, size_t len)

Definition at line 53 of file lws-settings.h.

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