Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/secure-streams/
Dpolicy-json.c374 a->curr[LTY_POLICY].p->u.http.respmap = lwsac_use_zero(&a->ac, in lws_ss_policy_parser_cb()
377 if (!a->curr[LTY_POLICY].p->u.http.respmap) in lws_ss_policy_parser_cb()
380 memcpy((void *)a->curr[LTY_POLICY].p->u.http.respmap, in lws_ss_policy_parser_cb()
381 a->respmap, sizeof(lws_ss_http_respmap_t) * (unsigned int)a->count); in lws_ss_policy_parser_cb()
910 if (a->count >= (int)LWS_ARRAY_SIZE(a->respmap)) { in lws_ss_policy_parser_cb()
914 a->respmap[a->count].resp = (uint16_t) in lws_ss_policy_parser_cb()
916 a->respmap[a->count].state = (uint16_t)atoi(ctx->buf); in lws_ss_policy_parser_cb()
Dprivate-lib-secure-streams.h395 lws_ss_http_respmap_t respmap[16]; member
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-policy2c/
Dminimal-secure-streams.c397 pol->u.http.respmap[n].resp, in main()
398 pol->u.http.respmap[n].state); in main()
526 if (pol->u.http.respmap) { in main()
/third_party/libwebsockets/include/libwebsockets/
Dlws-secure-streams-policy.h285 const lws_ss_http_respmap_t *respmap; member
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-h1.c197 const lws_ss_http_respmap_t *r = h->policy->u.http.respmap; in lws_ss_http_resp_to_state()