diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2014-11-10 11:04:45 +1300 |
---|---|---|
committer | Robert Ancell <robert.ancell@canonical.com> | 2014-11-10 11:04:45 +1300 |
commit | cb72ae149f4dc5f85ec7b6c1c529a79980b6321b (patch) | |
tree | f83ea25469e2b3b3d3e9b681e36f10b60df9c132 /src/vnc-server.h | |
parent | 490bbc43ae05c0ae7fcac9fd781ffa899634930a (diff) | |
download | lightdm-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.h | 4 |
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 |