summaryrefslogtreecommitdiff
path: root/telepathy-glib/contact-operations.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-19 17:14:27 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-01 13:04:51 +0100
commitc712fb46c5ed09a461a86d52a712a03d33beae2d (patch)
tree1bc55806133e22717a7805b6c3ea7fa8517ef6a7 /telepathy-glib/contact-operations.h
parent1b48e12c7ce5104d4266c6917f32add72aba427b (diff)
downloadtelepathy-glib-c712fb46c5ed09a461a86d52a712a03d33beae2d.tar.gz
add contact operations for blocking API
https://bugs.freedesktop.org/show_bug.cgi?id=41801
Diffstat (limited to 'telepathy-glib/contact-operations.h')
-rw-r--r--telepathy-glib/contact-operations.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/telepathy-glib/contact-operations.h b/telepathy-glib/contact-operations.h
index 29d483ad8..82811ac6a 100644
--- a/telepathy-glib/contact-operations.h
+++ b/telepathy-glib/contact-operations.h
@@ -76,6 +76,23 @@ gboolean tp_contact_remove_from_group_finish (TpContact *self,
GAsyncResult *result,
GError **error);
+/* ContactBlocking */
+
+void tp_contact_block_async (TpContact *self,
+ gboolean report_abusive,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean tp_contact_block_finish (TpContact *self,
+ GAsyncResult *result,
+ GError **error);
+
+void tp_contact_unblock_async (TpContact *self,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+gboolean tp_contact_unblock_finish (TpContact *self,
+ GAsyncResult *result,
+ GError **error);
+
G_END_DECLS
#endif