summaryrefslogtreecommitdiff
path: root/gabble
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-23 13:34:36 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2010-06-23 13:34:36 +0100
commit98fbc6564606f9a5559cd3c9cc165c936e77b36c (patch)
tree47ce8ba9186a88bd264ca95cd962f12a744e0df7 /gabble
parentcceca06c277c6ad2e8a0d7dc69a15c3afe3f1600 (diff)
gabble_set_tp_conn_error_from_wocky: map Wocky errors to TpConnectionStatusReason + TpError
Diffstat (limited to 'gabble')
-rw-r--r--gabble/error.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gabble/error.h b/gabble/error.h
index e6a965f75..026f7dc33 100644
--- a/gabble/error.h
+++ b/gabble/error.h
@@ -23,12 +23,17 @@
#include <glib.h>
#include <wocky/wocky-xmpp-error.h>
+#include <telepathy-glib/telepathy-glib.h>
G_BEGIN_DECLS
void gabble_set_tp_error_from_wocky (const GError *wocky_error,
GError **error);
+void gabble_set_tp_conn_error_from_wocky (const GError *wocky_error,
+ TpConnectionStatusReason *conn_reason,
+ GError **error);
+
G_END_DECLS
#endif