mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-16 00:00:07 +01:00

Continue with lws_struct, add sqlite support for one level of lws_dll2_t lists of structs serialization and deserialization, plus the matching api-test.
25 lines
530 B
Markdown
25 lines
530 B
Markdown
# lws api test lws_struct SQLITE
|
|
|
|
Demonstrates how to use and performs selftests for lws_struct
|
|
SQLITE serialization and deserialization
|
|
|
|
## build
|
|
|
|
```
|
|
$ cmake . && make
|
|
```
|
|
|
|
## usage
|
|
|
|
Commandline option|Meaning
|
|
---|---
|
|
-d <loglevel>|Debug verbosity in decimal, eg, -d15
|
|
|
|
```
|
|
$ ./lws-api-test-lws_struct-sqlite
|
|
[2020/02/22 09:55:05:4335] U: LWS API selftest: lws_struct SQLite
|
|
[2020/02/22 09:55:05:5579] N: lws_struct_sq3_open: created _lws_apitest.sq3 owned by 0:0 mode 0600
|
|
[2020/02/22 09:55:05:9206] U: Completed: PASS
|
|
|
|
```
|
|
|