Lines Matching refs:hdrs
205 QIOChannelWebsockHTTPHeader *hdrs, in qio_channel_websock_extract_headers() argument
299 hdr = &hdrs[nhdrs++]; in qio_channel_websock_extract_headers()
322 qio_channel_websock_find_header(QIOChannelWebsockHTTPHeader *hdrs, in qio_channel_websock_find_header() argument
329 if (g_str_equal(hdrs[i].name, name)) { in qio_channel_websock_find_header()
330 return hdrs[i].value; in qio_channel_websock_find_header()
383 QIOChannelWebsockHTTPHeader hdrs[32]; in qio_channel_websock_handshake_process() local
384 size_t nhdrs = G_N_ELEMENTS(hdrs); in qio_channel_websock_handshake_process()
391 nhdrs = qio_channel_websock_extract_headers(ioc, buffer, hdrs, nhdrs, errp); in qio_channel_websock_handshake_process()
397 hdrs, nhdrs, QIO_CHANNEL_WEBSOCK_HEADER_PROTOCOL); in qio_channel_websock_handshake_process()
400 hdrs, nhdrs, QIO_CHANNEL_WEBSOCK_HEADER_VERSION); in qio_channel_websock_handshake_process()
407 hdrs, nhdrs, QIO_CHANNEL_WEBSOCK_HEADER_KEY); in qio_channel_websock_handshake_process()
414 hdrs, nhdrs, QIO_CHANNEL_WEBSOCK_HEADER_HOST); in qio_channel_websock_handshake_process()
421 hdrs, nhdrs, QIO_CHANNEL_WEBSOCK_HEADER_CONNECTION); in qio_channel_websock_handshake_process()
428 hdrs, nhdrs, QIO_CHANNEL_WEBSOCK_HEADER_UPGRADE); in qio_channel_websock_handshake_process()