summaryrefslogtreecommitdiff
path: root/gweb/gweb.c
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-05-22 13:17:37 +0300
committerMarcel Holtmann <marcel@holtmann.org>2012-05-22 21:08:22 +0200
commit6649bd624b81a69267c7d03c9d5f95a44dbf8134 (patch)
tree178487196f830ad3e02c0f63da971c58a7f6e872 /gweb/gweb.c
parentaf1014a23969ba130b874dca376a6b3a2a24d0da (diff)
downloadconnman-6649bd624b81a69267c7d03c9d5f95a44dbf8134.tar.gz
connman-6649bd624b81a69267c7d03c9d5f95a44dbf8134.tar.bz2
connman-6649bd624b81a69267c7d03c9d5f95a44dbf8134.zip
gweb: Adding a function to know if TLS is supported or not
Diffstat (limited to 'gweb/gweb.c')
-rw-r--r--gweb/gweb.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gweb/gweb.c b/gweb/gweb.c
index 80715362..27ed6347 100644
--- a/gweb/gweb.c
+++ b/gweb/gweb.c
@@ -266,6 +266,11 @@ void g_web_unref(GWeb *web)
g_free(web);
}
+gboolean g_web_supports_tls(void)
+{
+ return g_io_channel_supports_tls();
+}
+
void g_web_set_debug(GWeb *web, GWebDebugFunc func, gpointer user_data)
{
if (web == NULL)