From edbf6d74c0efc83d1e8e4fded3bc10d6c318f251 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 18 Jan 2019 23:53:18 +0100 Subject: Add rda_supported_technologies_by_name() function that sends technology names to g_message(). --- src/rda.c | 15 +++++++++++++++ src/rda.h | 3 +++ 2 files changed, 18 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3