vnc: added buffer_advance function
commit32ed26808d4e59efb4a03290a4a85f5f8335f268
authorTim Hardeck <thardeck@suse.de>
Mon, 21 Jan 2013 10:04:43 +0000 (21 11:04 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 21 Jan 2013 19:33:12 +0000 (21 13:33 -0600)
treee4b944441065fb7affc99f341833e26b1623cd6e
parent11e9235b1a88a98124fe005c93ade019d6a09c0b
vnc: added buffer_advance function

Following Anthony Liguori's Websocket implementation I have added the
buffer_advance function to VNC and replaced all related buffer memmove
operations with it.

Signed-off-by: Tim Hardeck <thardeck@suse.de>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
ui/vnc.c
ui/vnc.h