diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-17 10:31:42 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-31 17:12:21 +0100 |
commit | 726e4173951c47757adaaf97368af862bdd3e2e8 (patch) | |
tree | f28d42cc8c5a0347406127afbd36b480d7818d2e /telepathy-glib/connection-contact-list.h | |
parent | dfe6f80cf4e73d60d06fbe67b1f9c6ef0af4d545 (diff) | |
download | telepathy-glib-726e4173951c47757adaaf97368af862bdd3e2e8.tar.gz |
add high level API to block/unblock contacts
https://bugs.freedesktop.org/show_bug.cgi?id=41801
Diffstat (limited to 'telepathy-glib/connection-contact-list.h')
-rw-r--r-- | telepathy-glib/connection-contact-list.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/telepathy-glib/connection-contact-list.h b/telepathy-glib/connection-contact-list.h index 8f74cbd91..48acf4406 100644 --- a/telepathy-glib/connection-contact-list.h +++ b/telepathy-glib/connection-contact-list.h @@ -138,6 +138,26 @@ gboolean tp_connection_rename_group_finish (TpConnection *self, GAsyncResult *result, GError **error); +/* ContactBlocking */ + +void tp_connection_block_contacts_async (TpConnection *self, + guint n_contacts, + TpContact * const *contacts, + gboolean report_abusive, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean tp_connection_block_contacts_finish (TpConnection *self, + GAsyncResult *result, + GError **error); + +void tp_connection_unblock_contacts_async (TpConnection *self, + guint n_contacts, + TpContact * const *contacts, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean tp_connection_unblock_contacts_finish (TpConnection *self, + GAsyncResult *result, + GError **error); G_END_DECLS #endif |