/usr/include/telepathy-1.0/telepathy-glib/connection-contact-list.h is in libtelepathy-glib-dev 0.24.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 | /*
* connection-contact-list.h - ContactList and ContactGroup support
*
* Copyright © 2011 Collabora Ltd. <http://www.collabora.co.uk/>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#if defined (TP_DISABLE_SINGLE_INCLUDE) && !defined (_TP_IN_META_HEADER) && !defined (_TP_COMPILATION)
#error "Only <telepathy-glib/telepathy-glib.h> and <telepathy-glib/telepathy-glib-dbus.h> can be included directly."
#endif
#ifndef __TP_CONNECTION_CONTACT_LIST_H__
#define __TP_CONNECTION_CONTACT_LIST_H__
#include <telepathy-glib/enums.h>
#include <telepathy-glib/connection.h>
#include <telepathy-glib/contact.h>
#include <telepathy-glib/defs.h>
G_BEGIN_DECLS
#define TP_CONNECTION_FEATURE_CONTACT_LIST \
(tp_connection_get_feature_quark_contact_list ())
_TP_AVAILABLE_IN_0_16
GQuark tp_connection_get_feature_quark_contact_list (void) G_GNUC_CONST;
#define TP_CONNECTION_FEATURE_CONTACT_LIST_PROPERTIES \
(tp_connection_get_feature_quark_contact_list_properties ())
_TP_AVAILABLE_IN_0_18
GQuark tp_connection_get_feature_quark_contact_list_properties (void) G_GNUC_CONST;
_TP_AVAILABLE_IN_0_16
TpContactListState tp_connection_get_contact_list_state (TpConnection *self);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_get_contact_list_persists (TpConnection *self);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_get_can_change_contact_list (TpConnection *self);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_get_request_uses_message (TpConnection *self);
_TP_AVAILABLE_IN_0_16
GPtrArray *tp_connection_dup_contact_list (TpConnection *self);
_TP_AVAILABLE_IN_0_16
void tp_connection_request_subscription_async (TpConnection *self,
guint n_contacts,
TpContact * const *contacts,
const gchar *message,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_request_subscription_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_authorize_publication_async (TpConnection *self,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_authorize_publication_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_remove_contacts_async (TpConnection *self,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_remove_contacts_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_unsubscribe_async (TpConnection *self,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_unsubscribe_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_unpublish_async (TpConnection *self,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_unpublish_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
#define TP_CONNECTION_FEATURE_CONTACT_GROUPS \
(tp_connection_get_feature_quark_contact_groups ())
_TP_AVAILABLE_IN_0_16
GQuark tp_connection_get_feature_quark_contact_groups (void) G_GNUC_CONST;
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_get_disjoint_groups (TpConnection *self);
_TP_AVAILABLE_IN_0_16
TpContactMetadataStorageType tp_connection_get_group_storage (TpConnection *self);
_TP_AVAILABLE_IN_0_16
const gchar * const *tp_connection_get_contact_groups (TpConnection *self);
_TP_AVAILABLE_IN_0_16
void tp_connection_set_group_members_async (TpConnection *self,
const gchar *group,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_set_group_members_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_add_to_group_async (TpConnection *self,
const gchar *group,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_add_to_group_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_remove_from_group_async (TpConnection *self,
const gchar *group,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_remove_from_group_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_remove_group_async (TpConnection *self,
const gchar *group,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_remove_group_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_16
void tp_connection_rename_group_async (TpConnection *self,
const gchar *old_name,
const gchar *new_name,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_16
gboolean tp_connection_rename_group_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
/* ContactBlocking */
_TP_AVAILABLE_IN_0_18
void tp_connection_block_contacts_async (TpConnection *self,
guint n_contacts,
TpContact * const *contacts,
gboolean report_abusive,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_18
gboolean tp_connection_block_contacts_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
_TP_AVAILABLE_IN_0_18
void tp_connection_unblock_contacts_async (TpConnection *self,
guint n_contacts,
TpContact * const *contacts,
GAsyncReadyCallback callback,
gpointer user_data);
_TP_AVAILABLE_IN_0_18
gboolean tp_connection_unblock_contacts_finish (TpConnection *self,
GAsyncResult *result,
GError **error);
#define TP_CONNECTION_FEATURE_CONTACT_BLOCKING \
(tp_connection_get_feature_quark_contact_blocking ())
_TP_AVAILABLE_IN_0_18
GQuark tp_connection_get_feature_quark_contact_blocking (void) G_GNUC_CONST;
_TP_AVAILABLE_IN_0_18
gboolean tp_connection_can_report_abusive (TpConnection *self);
_TP_AVAILABLE_IN_0_18
GPtrArray * tp_connection_get_blocked_contacts (TpConnection *self);
G_END_DECLS
#endif
|