aboutsummaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-10-18 09:01:01 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2012-10-23 13:54:56 +0200
commit007fcd3ee9673b3d00baacf3765bd501296155cd (patch)
tree108ad32fc0bb1dfde71f5d1c9e5c75114e246672 /console.h
parent1ce52c78ab90c4303bcb110f2c614410386d79a2 (diff)
vnc: reorganize code for reverse mode
Avoid the dance between csock and vs->lsock. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'console.h')
-rw-r--r--console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/console.h b/console.h
index f990684ef4..6099d8d710 100644
--- a/console.h
+++ b/console.h
@@ -378,7 +378,7 @@ void cocoa_display_init(DisplayState *ds, int full_screen);
/* vnc.c */
void vnc_display_init(DisplayState *ds);
void vnc_display_close(DisplayState *ds);
-int vnc_display_open(DisplayState *ds, const char *display);
+void vnc_display_open(DisplayState *ds, const char *display, Error **errp);
void vnc_display_add_client(DisplayState *ds, int csock, int skipauth);
int vnc_display_disable_login(DisplayState *ds);
char *vnc_display_local_addr(DisplayState *ds);