1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/include/libwebsockets
Andy Green c9731c5f17 type comparisons: fixes
This is a huge patch that should be a global NOP.

For unix type platforms it enables -Wconversion to issue warnings (-> error)
for all automatic casts that seem less than ideal but are normally concealed
by the toolchain.

This is things like passing an int to a size_t argument.  Once enabled, I
went through all args on my default build (which build most things) and
tried to make the removed default cast explicit.

With that approach it neither change nor bloat the code, since it compiles
to whatever it was doing before, just with the casts made explicit... in a
few cases I changed some length args from int to size_t but largely left
the causes alone.

From now on, new code that is relying on less than ideal casting
will complain and nudge me to improve it by warnings.
2021-01-05 10:56:38 +00:00
..
abstract abstract: existing connection compare 2019-10-10 16:34:37 +01:00
lws-adopt.h client: rfc6724 dns results sorting 2020-11-28 10:58:07 +00:00
lws-async-dns.h client: rfc6724 dns results sorting 2020-11-28 10:58:07 +00:00
lws-bb-i2c.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-bb-spi.h esp32-wrover-kit 2020-06-30 19:35:41 +01:00
lws-button.h lws_button: classification 2020-06-27 07:57:22 +01:00
lws-callbacks.h listen: network filter: provide a struct with client info to the FILTER cb 2020-08-31 16:51:37 +01:00
lws-cgi.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-client.h lws_lifecycle 2021-01-04 05:26:50 +00:00
lws-context-vhost.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-dbus.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-detailed-latency.h detailed latency stats 2019-09-22 03:06:59 -07:00
lws-diskcache.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-display.h esp32-wrover-kit 2020-06-30 19:35:41 +01:00
lws-dll2.h dll2: explicitly confim detached dll2 has no linkage 2021-01-04 05:40:12 +00:00
lws-dsh.h cleaning 2020-01-05 22:17:58 +00:00
lws-eventlib-exports.h evlib: export LWS_MAX_SMP locking for evlib plugin case with SMP 2020-10-01 10:41:43 +01:00
lws-freertos.h remove: old esp32 helper pieces 2020-07-15 16:18:00 +01:00
lws-fts.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-genaes.h Added missing PKCS#7 padding/unpadding from AES-CBC in JWE 2020-02-21 17:32:41 +00:00
lws-gencrypto.h v4.1.0 2020-09-04 13:42:57 +01:00
lws-genec.h update some wording 2020-09-30 06:42:13 +01:00
lws-genhash.h openssl3: migrate genhmac to EVP 2020-06-16 19:45:35 +01:00
lws-genrsa.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-gpio.h drivers: initial generic gpio and i2c plus bitbang 2020-06-10 19:17:08 +01:00
lws-http.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-i2c.h lws_button and lws_led 2020-06-18 16:57:44 +01:00
lws-ili9341-spi.h esp32-wrover-kit 2020-06-30 19:35:41 +01:00
lws-jose.h jose: copy typ into jose object without testing for JWT 2020-03-04 11:00:04 +00:00
lws-jwe.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-jwk.h jwk: add export option to suppress final CRLF 2019-11-04 13:49:13 +00:00
lws-jws.h lws_jwt_token_sanity 2020-07-15 16:18:00 +01:00
lws-led.h esp32-wrover-kit 2020-06-30 19:35:41 +01:00
lws-lejp.h ss: policy: response code mapping 2020-09-16 13:10:26 +01:00
lws-logs.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-lwsac.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-misc.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-mqtt.h mqtt: lws_system blobs for password username 2020-11-26 09:23:30 +00:00
lws-netdev.h update some wording 2020-09-30 06:42:13 +01:00
lws-network-helper.h client: rfc6724 dns results sorting 2020-11-28 10:58:07 +00:00
lws-optee.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-protocols-plugins.h event libs: default to building as dynamically loaded plugins 2020-08-31 16:51:37 +01:00
lws-purify.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-pwm.h esp32-wrover-kit 2020-06-30 19:35:41 +01:00
lws-retry.h lws_retry: udp support 2019-10-10 16:34:37 +01:00
lws-ring.h cleaning: windows 2020-03-04 12:17:49 +00:00
lws-secure-streams-client.h lws_lifecycle 2021-01-04 05:26:50 +00:00
lws-secure-streams-policy.h ss: proxy_buflen in policy sets proxy max dsh alloc per streamtype 2021-01-04 05:39:06 +00:00
lws-secure-streams.h lws_lifecycle 2021-01-04 05:26:50 +00:00
lws-sequencer.h sul: multiple timer domains 2020-06-02 08:37:10 +01:00
lws-service.h context: refactor destroy flow 2020-11-28 10:58:38 +00:00
lws-settings.h lws_netdev: use lws_settings 2020-07-07 15:23:19 +01:00
lws-sha1-base64.h base64: stateful decode 2019-09-06 15:30:51 +01:00
lws-smd.h lws_smd: system message distribution 2020-06-27 07:57:22 +01:00
lws-spa.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-spi.h esp32-wrover-kit 2020-06-30 19:35:41 +01:00
lws-ssd1306-i2c.h update some wording 2020-09-30 06:42:13 +01:00
lws-state.h lws_smd: system message distribution 2020-06-27 07:57:22 +01:00
lws-stats.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-struct.h api-test: lws_struct-json: add worked example 2020-05-27 08:40:12 +01:00
lws-system.h mqtt: lws_system blobs for password username 2020-11-26 09:23:30 +00:00
lws-test-sequencer.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-threadpool.h ctest: fixes-and-changes 2020-04-19 08:43:01 +01:00
lws-timeout-timer.h lws_wsi_close: fix wsi name 2021-01-04 05:40:12 +00:00
lws-tokenize.h lws_strexp: add ability to find output length without write 2020-06-16 19:45:35 +01:00
lws-vfs.h linkit: support build using public sdk 2020-01-17 07:45:34 +00:00
lws-write.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-writeable.h type comparisons: fixes 2021-01-05 10:56:38 +00:00
lws-ws-close.h doxygen: cleanup and add recent includes 2019-09-22 09:35:07 -07:00
lws-ws-ext.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-ws-state.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00
lws-x509.h license: switch LGPLv2.1+SLE parts to MIT 2019-08-14 10:44:38 +01:00