Lines Matching refs:VncState
71 static int vnc_cursor_define(VncState *vs);
72 static void vnc_update_throttle_offset(VncState *vs);
74 static void vnc_set_share_mode(VncState *vs, VncShareMode mode) in vnc_set_share_mode()
254 static void vnc_client_cache_auth(VncState *client) in vnc_client_cache_auth()
272 static void vnc_client_cache_addr(VncState *client) in vnc_client_cache_addr()
288 static void vnc_qmp_event(VncState *vs, QAPIEvent event) in vnc_qmp_event()
318 static VncClientInfo *qmp_query_vnc_client(const VncState *client) in qmp_query_vnc_client()
366 VncState *client; in qmp_query_client_list()
613 static int vnc_update_client(VncState *vs, int has_dirty);
614 static void vnc_disconnect_start(VncState *vs);
616 static void vnc_colordepth(VncState *vs);
617 static void framebuffer_update_request(VncState *vs, int incremental,
672 void vnc_framebuffer_update(VncState *vs, int x, int y, int w, int h, in vnc_framebuffer_update()
683 static void vnc_desktop_resize_ext(VncState *vs, int reject_reason) in vnc_desktop_resize_ext()
711 static void vnc_desktop_resize(VncState *vs) in vnc_desktop_resize()
749 VncState *vs; in vnc_abort_display_jobs()
826 VncState *vs; in vnc_dpy_switch()
868 static void vnc_write_pixels_copy(VncState *vs, in vnc_write_pixels_copy()
875 void vnc_convert_pixel(VncState *vs, uint8_t *buf, uint32_t v) in vnc_convert_pixel()
919 static void vnc_write_pixels_generic(VncState *vs, in vnc_write_pixels_generic()
935 int vnc_raw_send_framebuffer_update(VncState *vs, int x, int y, int w, int h) in vnc_raw_send_framebuffer_update()
949 int vnc_send_framebuffer_update(VncState *vs, int x, int y, int w, int h) in vnc_send_framebuffer_update()
987 static int vnc_cursor_define(VncState *vs) in vnc_cursor_define()
1028 VncState *vs; in vnc_dpy_cursor_define()
1040 static int find_and_clear_dirty_height(VncState *vs, in find_and_clear_dirty_height()
1065 static void vnc_update_throttle_offset(VncState *vs) in vnc_update_throttle_offset()
1105 static bool vnc_should_update(VncState *vs) in vnc_should_update()
1142 static int vnc_update_client(VncState *vs, int has_dirty) in vnc_update_client()
1215 VncState *vs = opaque; in audio_capture_notify()
1247 VncState *vs = opaque; in audio_capture()
1265 static void audio_add(VncState *vs) in audio_add()
1284 static void audio_del(VncState *vs) in audio_del()
1292 static void vnc_disconnect_start(VncState *vs) in vnc_disconnect_start()
1307 void vnc_disconnect_finish(VncState *vs) in vnc_disconnect_finish()
1368 size_t vnc_client_io_error(VncState *vs, ssize_t ret, Error *err) in vnc_client_io_error()
1387 void vnc_client_error(VncState *vs) in vnc_client_error()
1409 size_t vnc_client_write_buf(VncState *vs, const uint8_t *data, size_t datalen) in vnc_client_write_buf()
1429 static size_t vnc_client_write_plain(VncState *vs) in vnc_client_write_plain()
1484 static void vnc_client_write_locked(VncState *vs) in vnc_client_write_locked()
1498 static void vnc_client_write(VncState *vs) in vnc_client_write()
1515 void vnc_read_when(VncState *vs, VncReadEvent *func, size_t expecting) in vnc_read_when()
1537 size_t vnc_client_read_buf(VncState *vs, uint8_t *data, size_t datalen) in vnc_client_read_buf()
1556 static size_t vnc_client_read_plain(VncState *vs) in vnc_client_read_plain()
1571 VncState *vs = opaque; in vnc_jobs_bh()
1583 static int vnc_client_read(VncState *vs) in vnc_client_read()
1623 VncState *vs = opaque; in vnc_client_io()
1661 void vnc_write(VncState *vs, const void *data, size_t len) in vnc_write()
1700 void vnc_write_s32(VncState *vs, int32_t value) in vnc_write_s32()
1705 void vnc_write_u32(VncState *vs, uint32_t value) in vnc_write_u32()
1717 void vnc_write_u16(VncState *vs, uint16_t value) in vnc_write_u16()
1727 void vnc_write_u8(VncState *vs, uint8_t value) in vnc_write_u8()
1732 void vnc_flush(VncState *vs) in vnc_flush()
1771 VncState *vs = container_of(notifier, VncState, mouse_mode_notifier); in check_pointer_type_change()
1789 static void pointer_event(VncState *vs, int button_mask, int x, int y) in pointer_event()
1824 static void press_key(VncState *vs, QKeyCode qcode) in press_key()
1830 static void vnc_led_state_change(VncState *vs) in vnc_led_state_change()
1849 VncState *client; in kbd_leds()
1866 static void do_key_event(VncState *vs, int down, int keycode, int sym) in do_key_event()
2045 static void key_event(VncState *vs, int down, uint32_t sym) in key_event()
2060 static void ext_key_event(VncState *vs, int down, in ext_key_event()
2072 static void framebuffer_update_request(VncState *vs, int incremental, in framebuffer_update_request()
2088 static void send_ext_key_event_ack(VncState *vs) in send_ext_key_event_ack()
2102 static void send_ext_audio_ack(VncState *vs) in send_ext_audio_ack()
2116 static void send_xvp_message(VncState *vs, int code) in send_xvp_message()
2127 static void set_encodings(VncState *vs, int32_t *encodings, size_t n_encodings) in set_encodings()
2241 static void set_pixel_conversion(VncState *vs) in set_pixel_conversion()
2255 static void send_color_map(VncState *vs) in send_color_map()
2275 static void set_pixel_format(VncState *vs, int bits_per_pixel, in set_pixel_format()
2328 static void pixel_format_message (VncState *vs) { in pixel_format_message()
2354 static void vnc_colordepth(VncState *vs) in vnc_colordepth()
2374 static int protocol_client_msg(VncState *vs, uint8_t *data, size_t len) in protocol_client_msg()
2627 static int protocol_client_init(VncState *vs, uint8_t *data, size_t len) in protocol_client_init()
2655 VncState *client; in protocol_client_init()
2728 void start_client_init(VncState *vs) in start_client_init()
2733 static void authentication_failed(VncState *vs) in authentication_failed()
2758 static int protocol_client_auth_vnc(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth_vnc()
2828 void start_auth_vnc(VncState *vs) in start_auth_vnc()
2848 static int protocol_client_auth(VncState *vs, uint8_t *data, size_t len) in protocol_client_auth()
2889 static int protocol_version(VncState *vs, uint8_t *version, size_t len) in protocol_version()
2956 void vnc_sent_lossy_rect(VncState *vs, int x, int y, int w, int h) in vnc_sent_lossy_rect()
2974 VncState *vs; in vnc_refresh_lossy_rect()
3063 double vnc_update_freq(VncState *vs, int x, int y, int w, int h) in vnc_update_freq()
3107 VncState *vs; in vnc_refresh_server_surface()
3205 VncState *vs, *vn; in vnc_refresh()
3244 VncState *vs = g_new0(VncState, 1); in vnc_connect()
3355 void vnc_start_protocol(VncState *vs) in vnc_start_protocol()