Home
last modified time | relevance | path

Searched refs:lcs_available (Results 1 – 1 of 1) sorted by relevance

/external/libwebsockets/lib/roles/http/compression/
Dstream.c29 struct lws_compression_support *lcs_available[] = { variable
53 for (n = 0; n < LWS_ARRAY_SIZE(lcs_available); n++) in lws_http_compression_validate()
54 if (strstr(a, lcs_available[n]->encoding_name)) in lws_http_compression_validate()
66 for (n = 0; n < LWS_ARRAY_SIZE(lcs_available); n++) { in lws_http_compression_apply()
68 if (name && !strcmp(lcs_available[n]->encoding_name, name)) in lws_http_compression_apply()
81 if (n == LWS_ARRAY_SIZE(lcs_available)) in lws_http_compression_apply()
84 lcs_available[n]->init_compression(&wsi->http.comp_ctx, decomp); in lws_http_compression_apply()
90 wsi->http.lcs = lcs_available[n]; in lws_http_compression_apply()
97 (unsigned char *)lcs_available[n]->encoding_name, in lws_http_compression_apply()
98 strlen(lcs_available[n]->encoding_name), p, end)) in lws_http_compression_apply()
[all …]