1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/minimal-examples/api-tests
Andy Green 0ab4a707fb format strings: ban %.*s as some platforms lack it
The %.*s is very handy to print strings where you have a length, but
there is no NUL termination.  It's quite widely supported but at least
one vendor RTOS toolchain doesn't have it.

Since there aren't that many uses of it yet, audit all uses and
convert to a new helper lws_strnncpy() which uses the smaller of
two lengths.
2019-11-04 13:49:14 +00:00
..
api-test-async-dns async-dns: update for lws_retry udp 2019-10-10 16:34:37 +01:00
api-test-dhcpc lws_system: dhcpclient 2019-10-12 12:41:14 +01:00
api-test-fts cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-gencrypto gencrypto: aes: improve test key now openssl checks it 2019-07-14 15:46:47 -07:00
api-test-jose COV225132: check if no JOSE alg 2019-09-22 09:35:07 -07:00
api-test-lws_dsh freertos: rename esp32 plat to freertos 2019-08-26 09:58:57 +01:00
api-test-lws_sequencer tls certs: update warmcat.com and libwebsockets.org public certs 2019-09-22 03:08:36 -07:00
api-test-lws_struct-json c++: establish a single place for opaque forward references 2019-08-18 05:40:56 +01:00
api-test-lws_tokenize format strings: ban %.*s as some platforms lack it 2019-11-04 13:49:14 +00:00
api-test-lwsac cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-smtp_client abstract: existing connection compare 2019-10-10 16:34:37 +01:00
README.md smtp: make abstract 2019-05-04 08:28:31 +01:00

These are buildable test apps that run in CI to confirm correct api operation.

name tests
api-test-lwsac LWS Allocated Chunks api
api-test-lws_struct-json Selftests for lws_struct JSON serialization and deserialization
api-test-lws_tokenize Generic secure string tokenizer api
api-test-fts LWS Full-text Search api
api-test-gencrypto LWS Generic Crypto apis
api-test-jose LWS JOSE apis
api-test-smtp_client SMTP client for sending emails