summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-18 23:53:18 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2019-01-18 23:56:39 +0100
commitedbf6d74c0efc83d1e8e4fded3bc10d6c318f251 (patch)
tree1acc6e32b5541d443ce0ce3a1dd30b78e36dc402 /src
parentb61fd2258f1fe63d675d49ffb91eccd25df868cf (diff)
downloadlibrda-edbf6d74c0efc83d1e8e4fded3bc10d6c318f251.tar.gz
librda-edbf6d74c0efc83d1e8e4fded3bc10d6c318f251.tar.bz2
librda-edbf6d74c0efc83d1e8e4fded3bc10d6c318f251.zip
Add rda_supported_technologies_by_name() function that sends technology names to g_message().
Diffstat (limited to 'src')
-rw-r--r--src/rda.c15
-rw-r--r--src/rda.h3
2 files changed, 18 insertions, 0 deletions
diff --git a/src/rda.c b/src/rda.c
index 0fb0e0b..6582b8c 100644
--- a/src/rda.c
+++ b/src/rda.c
@@ -173,3 +173,18 @@ rda_session_terminate(void)
return FALSE;
}
+
+gchar *
+rda_supported_technologies(void)
+{
+
+ g_autofree gchar * technologies;
+
+#ifdef WITH_REMOTE_AWARENESS_X2GO
+ g_message("RDA supports (stable): %s", rda_remote_technology_name_x2go());
+#endif
+
+#ifdef WITH_REMOTE_AWARENESS_OGON
+ g_message("RDA supports (alpha): %s", rda_remote_technology_name_ogon());
+#endif
+}
diff --git a/src/rda.h b/src/rda.h
index 4745e8f..6782f78 100644
--- a/src/rda.h
+++ b/src/rda.h
@@ -65,6 +65,9 @@ rda_session_suspend(void);
gboolean
rda_session_terminate(void);
+gchar *
+rda_supported_technologies(void);
+
G_END_DECLS
#endif /* RDA_H */