Lines Matching refs:vhd
55 struct per_vhost_data__dumb_increment *vhd = lws_container_of(w,
57 lws_callback_on_writable_all_protocol_vhost(vhd->vhost, vhd->protocol);
66 struct per_vhost_data__dumb_increment *vhd =
76 vhd = lws_protocol_vh_priv_zalloc(lws_get_vhost(wsi),
79 vhd->context = lws_get_context(wsi);
80 vhd->protocol = lws_get_protocol(wsi);
81 vhd->vhost = lws_get_vhost(wsi);
82 uv_timer_init(lws_uv_getloop(vhd->context, 0),
83 &vhd->timeout_watcher);
84 uv_timer_start(&vhd->timeout_watcher,
89 if (!vhd)
91 uv_timer_stop(&vhd->timeout_watcher);