Revision 78c98c78

b/vnc-encoding-zlib.c
140 140
    vnc_write_u32(vs, bytes_written);
141 141
    vs->output.offset = new_offset;
142 142
}
143

  
144
void vnc_zlib_init(VncState *vs)
145
{
146
    vs->zlib_stream.opaque = NULL;
147
}
b/vnc.c
1642 1642
    int i;
1643 1643
    unsigned int enc = 0;
1644 1644

  
1645
    vnc_zlib_init(vs);
1646 1645
    vs->features = 0;
1647 1646
    vs->vnc_encoding = 0;
1648 1647
    vs->tight_compression = 9;
b/vnc.h
403 403
                                         int y, int w, int h);
404 404
void vnc_hextile_set_pixel_conversion(VncState *vs, int generic);
405 405

  
406
void vnc_zlib_init(VncState *vs);
407 406
void vnc_zlib_send_framebuffer_update(VncState *vs, int x, int y, int w, int h);
408 407

  
409 408
#endif /* __QEMU_VNC_H */

Also available in: Unified diff