Searched refs:protocol_vh_privs (Results 1 – 2 of 2) sorted by relevance
254 if (!vhost->protocol_vh_privs) { in lws_protocol_vh_priv_zalloc()255 vhost->protocol_vh_privs = (void **)lws_zalloc( in lws_protocol_vh_priv_zalloc()259 if (!vhost->protocol_vh_privs) in lws_protocol_vh_priv_zalloc()281 vhost->protocol_vh_privs[n] = lws_zalloc((size_t)size, "vh priv"); in lws_protocol_vh_priv_zalloc()282 return vhost->protocol_vh_privs[n]; in lws_protocol_vh_priv_zalloc()292 !vhost->protocol_vh_privs || !prot || !prot->name) in lws_protocol_vh_priv_get()313 return vhost->protocol_vh_privs[n]; in lws_protocol_vh_priv_get()328 if (vh->protocol_vh_privs) { in lws_vhd_find_by_pvo()353 return vh->protocol_vh_privs[n]; in lws_vhd_find_by_pvo()476 if (vh->protocol_vh_privs && vh->protocol_vh_privs[n]) { in lws_protocol_init_vhost()[all …]
482 void **protocol_vh_privs; member