summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-auth.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2013-01-16 13:18:25 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2013-01-18 12:28:58 +0100
commitb6af879d1982b563503d4bfa10b665c0897e34ce (patch)
tree0305952038a1b683432e412dc87d1512679b3f6c /src/virt-viewer-auth.h
parentc0a2f9dfd5db36ca3f15ffcda6edc174353edea1 (diff)
downloadvirt-viewer-b6af879d1982b563503d4bfa10b665c0897e34ce.tar.gz
virt-viewer-b6af879d1982b563503d4bfa10b665c0897e34ce.tar.xz
virt-viewer-b6af879d1982b563503d4bfa10b665c0897e34ce.zip
vnc: add connection by file
Learn to connect to a VNC server with the connection details file, ex: [virt-viewer] type=vnc host=localhost port=2356 password=foobar v2: - add username/password support https://bugzilla.redhat.com/show_bug.cgi?id=843410
Diffstat (limited to 'src/virt-viewer-auth.h')
-rw-r--r--src/virt-viewer-auth.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/virt-viewer-auth.h b/src/virt-viewer-auth.h
index 5b4c546..1f102e0 100644
--- a/src/virt-viewer-auth.h
+++ b/src/virt-viewer-auth.h
@@ -29,9 +29,11 @@
#include <libvirt/libvirt.h>
#endif
+#include "virt-viewer-session.h"
#include "virt-viewer-util.h"
-void virt_viewer_auth_vnc_credentials(GtkWindow *window,
+void virt_viewer_auth_vnc_credentials(VirtViewerSession *session,
+ GtkWindow *window,
GtkWidget *vnc,
GValueArray *credList,
char *vncAddress);