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 a72b422be3 abstract: add abstract transport tokens
SMTP was improved to use the new abstract stuff a while ago,
but it was only implemented with raw socket abstract transport,
and a couple of 'api cheats' remained passing network information
for the peer connection through the supposedly abstract apis.

This patch adds a flexible generic token array to supply
abstract transport-specific information through the abstract apis,
removing the network information from the abstract connect() op.

The SMTP minimal example is modified to use this new method to
pass the network information.

The abstract transport struct was opaque, but there are real
uses to override it in user code, so this patch also makes it
part of the public abi.
2019-06-19 19:10: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 rtos: clean warnings where uint32_t is an unsigned long 2019-06-07 11:11:46 +01:00
api-test-jose cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-lws_struct-json cc0: align dedication to CC0 FAQ recommended format 2019-05-02 09:29:01 +01:00
api-test-lws_tokenize tokenize: add one more api test 2019-05-17 13:59:20 +01: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: add abstract transport tokens 2019-06-19 19:10:14 +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