summaryrefslogtreecommitdiff
path: root/src/rda_x2go.h
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2023-07-20 02:54:58 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-09-15 21:17:29 +0200
commit685e6c3f471c226b43464212238731c7a86dbe99 (patch)
treeaf32a411c69dbf51b07a7a324936fafec6031f90 /src/rda_x2go.h
parentfa330e8b9844e838fa8a8e1d01ab9d72d61e6bce (diff)
downloadlibrda-685e6c3f471c226b43464212238731c7a86dbe99.tar.gz
librda-685e6c3f471c226b43464212238731c7a86dbe99.tar.bz2
librda-685e6c3f471c226b43464212238731c7a86dbe99.zip
src/rda_x2go.{c,h}: add generic protocol support.
X2Go supports both NX and KDrive sessions, so parse the session ID (X2GO_SESSION) to find out what protocol the session uses.
Diffstat (limited to 'src/rda_x2go.h')
-rw-r--r--src/rda_x2go.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rda_x2go.h b/src/rda_x2go.h
index 5759e79..fc9c986 100644
--- a/src/rda_x2go.h
+++ b/src/rda_x2go.h
@@ -27,9 +27,15 @@
#include <glib.h>
#include <rda.h>
+#include <rda_protocol.h>
#ifdef WITH_REMOTE_AWARENESS_X2GO
+extern const rda_protocol_t
+rda_supported_protocols_x2go[];
+extern const gsize
+rda_supported_protocols_x2go_len;
+
gboolean
rda_session_is_x2go (void);