summaryrefslogtreecommitdiff
path: root/src/vnc-server.h
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2014-11-10 11:04:45 +1300
committerRobert Ancell <robert.ancell@canonical.com>2014-11-10 11:04:45 +1300
commitcb72ae149f4dc5f85ec7b6c1c529a79980b6321b (patch)
treef83ea25469e2b3b3d3e9b681e36f10b60df9c132 /src/vnc-server.h
parent490bbc43ae05c0ae7fcac9fd781ffa899634930a (diff)
downloadlightdm-cb72ae149f4dc5f85ec7b6c1c529a79980b6321b.tar.gz
Add an option for XDMCP and VNC servers to only listen on one address
Diffstat (limited to 'src/vnc-server.h')
-rw-r--r--src/vnc-server.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vnc-server.h b/src/vnc-server.h
index 64fe1daf..889fdb74 100644
--- a/src/vnc-server.h
+++ b/src/vnc-server.h
@@ -44,6 +44,10 @@ void vnc_server_set_port (VNCServer *server, guint port);
guint vnc_server_get_port (VNCServer *server);
+void vnc_server_set_listen_address (VNCServer *server, const gchar *listen_address);
+
+const gchar *vnc_server_get_listen_address (VNCServer *server);
+
gboolean vnc_server_start (VNCServer *server);
G_END_DECLS