summary refs log tree commit diff stats
path: root/ui/vnc.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2010-10-07 11:50:45 +0200
committerGerd Hoffmann <kraxel@redhat.com>2010-12-09 14:23:24 +0100
commit3c9405a0f7d76602415b3cbe8d52d7714b6ce5af (patch)
tree1be9d19af7fa9034a4159113e065c2f9bee283d4 /ui/vnc.h
parent6bffdf0f83263bad1dd2187c533758d7cb6f5bcf (diff)
downloadfocaccia-qemu-3c9405a0f7d76602415b3cbe8d52d7714b6ce5af.tar.gz
focaccia-qemu-3c9405a0f7d76602415b3cbe8d52d7714b6ce5af.zip
vnc: support password expire
This patch adds support for expiring passwords to vnc.  It adds a new
vnc_display_pw_expire() function which specifies the time when the
password will expire.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/vnc.h')
-rw-r--r--ui/vnc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/vnc.h b/ui/vnc.h
index 9619b247fb..4f895becb9 100644
--- a/ui/vnc.h
+++ b/ui/vnc.h
@@ -120,6 +120,7 @@ struct VncDisplay
 
     char *display;
     char *password;
+    time_t expires;
     int auth;
     bool lossy;
 #ifdef CONFIG_VNC_TLS