• Home
  • Raw
  • Download

Lines Matching refs:vd

106 static const char *vnc_auth_name(VncDisplay *vd) {  in vnc_auth_name()  argument
107 switch (vd->auth) { in vnc_auth_name()
126 switch (vd->subauth) { in vnc_auth_name()
297 VncDisplay *vd = ds->opaque; in vnc_dpy_update() local
298 VncState *vs = vd->clients; in vnc_dpy_update()
388 VncDisplay *vd = ds->opaque; in vnc_dpy_resize() local
389 VncState *vs = vd->clients; in vnc_dpy_resize()
674 VncDisplay *vd = ds->opaque; in vnc_dpy_copy() local
677 for (vs = vd->clients; vs != NULL; vs = vn) { in vnc_dpy_copy()
686 for (vs = vd->clients; vs != NULL; vs = vs->next) { in vnc_dpy_copy()
911 for (p = vs->vd->clients; p != NULL; p = p->next) { in vnc_disconnect_finish()
916 vs->vd->clients = p->next; in vnc_disconnect_finish()
921 if (!vs->vd->clients) in vnc_disconnect_finish()
1308 kbd_put_keycode(keysym2scancode(vs->vd->kbd_layout, keysym) & 0x7f); in press_key()
1309 kbd_put_keycode(keysym2scancode(vs->vd->kbd_layout, keysym) | 0x80); in press_key()
1342 if (keycode_is_keypad(vs->vd->kbd_layout, keycode)) { in do_key_event()
1347 if (keysym_is_numlock(vs->vd->kbd_layout, sym & 0xFFFF)) { in do_key_event()
1472 keycode = keysym2scancode(vs->vd->kbd_layout, sym & 0xFFFF); in key_event()
1892 if (!vs->vd->password || !vs->vd->password[0]) { in protocol_client_auth_vnc()
1908 pwlen = strlen(vs->vd->password); in protocol_client_auth_vnc()
1910 key[i] = i<pwlen ? vs->vd->password[i] : 0; in protocol_client_auth_vnc()
1951 if (data[0] != vs->vd->auth) { /* Reject auth */ in protocol_client_auth()
1962 switch (vs->vd->auth) { in protocol_client_auth()
1992 VNC_DEBUG("Reject auth %d server code bug\n", vs->vd->auth); in protocol_client_auth()
2037 if (vs->vd->auth == VNC_AUTH_NONE) { in protocol_version()
2039 vnc_write_u32(vs, vs->vd->auth); in protocol_version()
2042 } else if (vs->vd->auth == VNC_AUTH_VNC) { in protocol_version()
2044 vnc_write_u32(vs, vs->vd->auth); in protocol_version()
2048 VNC_DEBUG("Unsupported auth %d for protocol 3.3\n", vs->vd->auth); in protocol_version()
2054 VNC_DEBUG("Telling client we support auth %d\n", vs->vd->auth); in protocol_version()
2056 vnc_write_u8(vs, vs->vd->auth); in protocol_version()
2064 static void vnc_connect(VncDisplay *vd, int csock) in vnc_connect() argument
2074 vs->vd = vd; in vnc_connect()
2075 vs->ds = vd->ds; in vnc_connect()
2091 vs->next = vd->clients; in vnc_connect()
2092 vd->clients = vs; in vnc_connect()