diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-01-18 23:53:18 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2019-01-18 23:56:39 +0100 |
commit | edbf6d74c0efc83d1e8e4fded3bc10d6c318f251 (patch) | |
tree | 1acc6e32b5541d443ce0ce3a1dd30b78e36dc402 | |
parent | b61fd2258f1fe63d675d49ffb91eccd25df868cf (diff) | |
download | librda-edbf6d74c0efc83d1e8e4fded3bc10d6c318f251.tar.gz librda-edbf6d74c0efc83d1e8e4fded3bc10d6c318f251.tar.bz2 librda-edbf6d74c0efc83d1e8e4fded3bc10d6c318f251.zip |
Add rda_supported_technologies_by_name() function that sends technology names to g_message().
-rw-r--r-- | src/rda.c | 15 | ||||
-rw-r--r-- | src/rda.h | 3 |
2 files changed, 18 insertions, 0 deletions
@@ -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 +} @@ -65,6 +65,9 @@ rda_session_suspend(void); gboolean rda_session_terminate(void); +gchar * +rda_supported_technologies(void); + G_END_DECLS #endif /* RDA_H */ |