~ubuntu-branches/ubuntu/utopic/telepathy-glib/utopic

« back to all changes in this revision

Viewing changes to docs/reference/html/telepathy-glib-connection-caps.html

  • Committer: Package Import Robot
  • Author(s): Simon McVittie
  • Date: 2014-09-16 15:49:50 UTC
  • mfrom: (60.1.5 sid)
  • Revision ID: package-import@ubuntu.com-20140916154950-krvowuvofhu8u6sp
Tags: 0.24.1-1
* New upstream stable release
* debian/copyright: clean up syntax (*.[ch] is unsupported),
  drop deleted files
* debian/watch: only match 0.x versions, 1.0 will be a separate
  source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html>
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>telepathy-glib API Reference Manual: Connection ContactCapabilities and Capabilities interfaces</title>
 
5
<title>Connection ContactCapabilities and Capabilities interfaces</title>
6
6
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
7
7
<link rel="home" href="index.html" title="telepathy-glib API Reference Manual">
8
8
<link rel="up" href="ch-client.html" title="Client-side proxies">
9
9
<link rel="prev" href="telepathy-glib-connection-contact-list.html" title="Connection ContactList, ContactGroups and ContactBlocking interfaces">
10
10
<link rel="next" href="telepathy-glib-connection-location.html" title="Connection Location interface">
11
 
<meta name="generator" content="GTK-Doc V1.20 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.19 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
15
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="10"><tr valign="middle">
16
 
<td width="100%" align="left" class="shortcuts">
17
 
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span> 
18
 
                  <a href="#telepathy-glib-connection-caps.description" class="shortcut">Description</a></span><span id="nav_hierarchy"> <span class="dim">|</span> 
19
 
                  <a href="#telepathy-glib-connection-caps.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
20
 
</td>
21
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
22
 
<td><a accesskey="u" href="ch-client.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
23
 
<td><a accesskey="p" href="telepathy-glib-connection-contact-list.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
24
 
<td><a accesskey="n" href="telepathy-glib-connection-location.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
25
 
</tr></table>
 
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
 
16
<tr valign="middle">
 
17
<td><a accesskey="p" href="telepathy-glib-connection-contact-list.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
 
18
<td><a accesskey="u" href="ch-client.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
 
19
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
 
20
<th width="100%" align="center">telepathy-glib API Reference Manual</th>
 
21
<td><a accesskey="n" href="telepathy-glib-connection-location.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
 
22
</tr>
 
23
<tr><td colspan="5" class="shortcuts">
 
24
<a href="#telepathy-glib-connection-caps.synopsis" class="shortcut">Top</a>
 
25
                   | 
 
26
                  <a href="#telepathy-glib-connection-caps.description" class="shortcut">Description</a>
 
27
</td></tr>
 
28
</table>
26
29
<div class="refentry">
27
30
<a name="telepathy-glib-connection-caps"></a><div class="titlepage"></div>
28
31
<div class="refnamediv"><table width="100%"><tr>
30
33
<h2><span class="refentrytitle"><a name="telepathy-glib-connection-caps.top_of_page"></a>Connection ContactCapabilities and Capabilities interfaces</span></h2>
31
34
<p>Connection ContactCapabilities and Capabilities interfaces — client-side wrappers for the capabilities interfaces</p>
32
35
</td>
33
 
<td class="gallery_image" valign="top" align="right"></td>
 
36
<td valign="top" align="right"></td>
34
37
</tr></table></div>
35
 
<div class="refsect1">
36
 
<a name="telepathy-glib-connection-caps.functions"></a><h2>Functions</h2>
37
 
<div class="informaltable"><table width="100%" border="0">
38
 
<colgroup>
39
 
<col width="150px" class="functions_return">
40
 
<col class="functions_name">
41
 
</colgroup>
42
 
<tbody>
43
 
<tr>
44
 
<td class="function_type">
45
 
<span class="returnvalue">void</span>
46
 
</td>
47
 
<td class="function_name">
48
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-get-contact-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities ()">*tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
49
 
</td>
50
 
</tr>
51
 
<tr>
52
 
<td class="function_type">
53
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
54
 
</td>
55
 
<td class="function_name">
56
 
<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-call-get-contact-capabilities" title="tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities ()">tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities</a> <span class="c_punctuation">()</span>
57
 
</td>
58
 
</tr>
59
 
<tr>
60
 
<td class="function_type">
61
 
<span class="returnvalue">void</span>
62
 
</td>
63
 
<td class="function_name">
64
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-update-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities ()">*tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
65
 
</td>
66
 
</tr>
67
 
<tr>
68
 
<td class="function_type">
69
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
70
 
</td>
71
 
<td class="function_name">
72
 
<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-call-update-capabilities" title="tp_cli_connection_interface_contact_capabilities_call_update_capabilities ()">tp_cli_connection_interface_contact_capabilities_call_update_capabilities</a> <span class="c_punctuation">()</span>
73
 
</td>
74
 
</tr>
75
 
<tr>
76
 
<td class="function_type">
77
 
<span class="returnvalue">void</span>
78
 
</td>
79
 
<td class="function_name">
80
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-signal-callback-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed ()">*tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
81
 
</td>
82
 
</tr>
83
 
<tr>
84
 
<td class="function_type">
85
 
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
86
 
</td>
87
 
<td class="function_name">
88
 
<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-connect-to-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed ()">tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed</a> <span class="c_punctuation">()</span>
89
 
</td>
90
 
</tr>
91
 
<tr>
92
 
<td class="function_type">
93
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
94
 
</td>
95
 
<td class="function_name">
96
 
<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-call-advertise-capabilities" title="tp_cli_connection_interface_capabilities_call_advertise_capabilities ()">tp_cli_connection_interface_capabilities_call_advertise_capabilities</a> <span class="c_punctuation">()</span>
97
 
</td>
98
 
</tr>
99
 
<tr>
100
 
<td class="function_type">
101
 
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
102
 
</td>
103
 
<td class="function_name">
104
 
<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-call-get-capabilities" title="tp_cli_connection_interface_capabilities_call_get_capabilities ()">tp_cli_connection_interface_capabilities_call_get_capabilities</a> <span class="c_punctuation">()</span>
105
 
</td>
106
 
</tr>
107
 
<tr>
108
 
<td class="function_type">
109
 
<span class="returnvalue">void</span>
110
 
</td>
111
 
<td class="function_name">
112
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-advertise-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities ()">*tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
113
 
</td>
114
 
</tr>
115
 
<tr>
116
 
<td class="function_type">
117
 
<span class="returnvalue">void</span>
118
 
</td>
119
 
<td class="function_name">
120
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-get-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_get_capabilities ()">*tp_cli_connection_interface_capabilities_callback_for_get_capabilities</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
121
 
</td>
122
 
</tr>
123
 
<tr>
124
 
<td class="function_type">
125
 
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
126
 
</td>
127
 
<td class="function_name">
128
 
<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-connect-to-capabilities-changed" title="tp_cli_connection_interface_capabilities_connect_to_capabilities_changed ()">tp_cli_connection_interface_capabilities_connect_to_capabilities_changed</a> <span class="c_punctuation">()</span>
129
 
</td>
130
 
</tr>
131
 
<tr>
132
 
<td class="function_type">
133
 
<span class="returnvalue">void</span>
134
 
</td>
135
 
<td class="function_name">
136
 
<span class="c_punctuation">(</span><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-signal-callback-capabilities-changed" title="tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed ()">*tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
137
 
</td>
138
 
</tr>
139
 
</tbody>
140
 
</table></div>
141
 
</div>
142
 
<div class="refsect1">
143
 
<a name="telepathy-glib-connection-caps.object-hierarchy"></a><h2>Object Hierarchy</h2>
144
 
<pre class="screen">
145
 
</pre>
146
 
</div>
147
 
<div class="refsect1">
148
 
<a name="telepathy-glib-connection-caps.includes"></a><h2>Includes</h2>
149
 
<pre class="synopsis">#include &lt;telepathy-glib/telepathy-glib-dbus.h&gt;
 
38
<div class="refsynopsisdiv">
 
39
<a name="telepathy-glib-connection-caps.synopsis"></a><h2>Synopsis</h2>
 
40
<pre class="synopsis">
 
41
#include &lt;telepathy-glib/telepathy-glib-dbus.h&gt;
 
42
 
 
43
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-get-contact-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities ()">*tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities</a>)
 
44
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
45
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Contact_Capabilities</code></em>,
 
46
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
47
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
48
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
49
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-call-get-contact-capabilities" title="tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities ()">tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities</a>
 
50
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
51
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
52
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Handles</code></em>,
 
53
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-get-contact-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities ()"><span class="type">tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities</span></a> callback</code></em>,
 
54
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
55
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
56
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
57
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-update-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities ()">*tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities</a>)
 
58
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
59
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
60
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
61
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
62
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-call-update-capabilities" title="tp_cli_connection_interface_contact_capabilities_call_update_capabilities ()">tp_cli_connection_interface_contact_capabilities_call_update_capabilities</a>
 
63
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
64
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
65
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Handler_Capabilities</code></em>,
 
66
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-update-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities ()"><span class="type">tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities</span></a> callback</code></em>,
 
67
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
68
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
69
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
70
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-signal-callback-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed ()">*tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed</a>)
 
71
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
72
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_caps</code></em>,
 
73
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
74
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
75
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-connect-to-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed ()">tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed</a>
 
76
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
77
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-signal-callback-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed ()"><span class="type">tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed</span></a> callback</code></em>,
 
78
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
79
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
80
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
 
81
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
82
 
 
83
 
 
84
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-call-advertise-capabilities" title="tp_cli_connection_interface_capabilities_call_advertise_capabilities ()">tp_cli_connection_interface_capabilities_call_advertise_capabilities</a>
 
85
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
86
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
87
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Add</code></em>,
 
88
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **in_Remove</code></em>,
 
89
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-advertise-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities ()"><span class="type">tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities</span></a> callback</code></em>,
 
90
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
91
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
92
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
93
<a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-call-get-capabilities" title="tp_cli_connection_interface_capabilities_call_get_capabilities ()">tp_cli_connection_interface_capabilities_call_get_capabilities</a>
 
94
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
95
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
96
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Handles</code></em>,
 
97
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-get-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_get_capabilities ()"><span class="type">tp_cli_connection_interface_capabilities_callback_for_get_capabilities</span></a> callback</code></em>,
 
98
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
99
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
100
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
101
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-advertise-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities ()">*tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities</a>)
 
102
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
103
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Self_Capabilities</code></em>,
 
104
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
105
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
106
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
107
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-get-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_get_capabilities ()">*tp_cli_connection_interface_capabilities_callback_for_get_capabilities</a>)
 
108
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
109
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Contact_Capabilities</code></em>,
 
110
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
111
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
112
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
 
113
<a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-connect-to-capabilities-changed" title="tp_cli_connection_interface_capabilities_connect_to_capabilities_changed ()">tp_cli_connection_interface_capabilities_connect_to_capabilities_changed</a>
 
114
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
115
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-signal-callback-capabilities-changed" title="tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed ()"><span class="type">tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed</span></a> callback</code></em>,
 
116
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
117
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
118
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
 
119
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
 
120
<span class="returnvalue">void</span>                (<a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-signal-callback-capabilities-changed" title="tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed ()">*tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed</a>)
 
121
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
122
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *arg_Caps</code></em>,
 
123
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
124
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);
150
125
</pre>
151
126
</div>
152
127
<div class="refsect1">
153
128
<a name="telepathy-glib-connection-caps.description"></a><h2>Description</h2>
154
 
<p>Some instant messaging protocols allow discovery of the capabilities of
 
129
<p>
 
130
Some instant messaging protocols allow discovery of the capabilities of
155
131
a user's client. In Telepathy, this is represented by the
156
132
ContactCapabilities interface, which lets applications advertise extra
157
133
capabilities for the local user, and query the interfaces supported by
158
 
their contacts.</p>
159
 
<p>The Capabilities interface is an older API with similar functionality.</p>
160
 
<p>This section documents the auto-generated C wrappers for the
 
134
their contacts.
 
135
</p>
 
136
<p>
 
137
The Capabilities interface is an older API with similar functionality.
 
138
</p>
 
139
<p>
 
140
This section documents the auto-generated C wrappers for the
161
141
ContactCapabilities and Capabilities interfaces, used with
162
 
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> objects.</p>
163
 
</div>
164
 
<div class="refsect1">
165
 
<a name="telepathy-glib-connection-caps.functions_details"></a><h2>Functions</h2>
166
 
<div class="refsect2">
167
 
<a name="tp-cli-connection-interface-contact-capabilities-callback-for-get-contact-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities ()</h3>
168
 
<pre class="programlisting"><span class="returnvalue">void</span>
169
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities<span class="c_punctuation">)</span>
170
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
171
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Contact_Capabilities</code></em>,
172
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
173
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
174
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
175
 
<div class="warning"><p><code class="literal">tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities</code> is deprecated and should not be used in newly-written code.</p></div>
176
 
<p>Signature of the callback called when a GetContactCapabilities method call
177
 
succeeds or fails.</p>
178
 
<div class="refsect3">
179
 
<a name="id-1.4.14.7.2.6"></a><h4>Parameters</h4>
180
 
<div class="informaltable"><table width="100%" border="0">
181
 
<colgroup>
182
 
<col width="150px" class="parameters_name">
183
 
<col class="parameters_description">
184
 
<col width="200px" class="parameters_annotations">
185
 
</colgroup>
186
 
<tbody>
187
 
<tr>
188
 
<td class="parameter_name"><p>proxy</p></td>
189
 
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
190
 
<td class="parameter_annotations"> </td>
191
 
</tr>
192
 
<tr>
193
 
<td class="parameter_name"><p>out_Contact_Capabilities</p></td>
194
 
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
195
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;A map from contact handles to lists of requestable channel             classes, representing the channel requests that are expected             to succeed for that contact.&lt;/p&gt;            &lt;p&gt;Contacts listed among Handles whose capabilities are unknown             SHOULD be omitted from this map; contacts known to have an empty             set of capabilities SHOULD be included in the keys of this map,             with an empty array as the corresponding value.&lt;/p&gt;</p></td>
196
 
<td class="parameter_annotations"> </td>
197
 
</tr>
198
 
<tr>
199
 
<td class="parameter_name"><p>error</p></td>
200
 
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
201
 
<td class="parameter_annotations"> </td>
202
 
</tr>
203
 
<tr>
204
 
<td class="parameter_name"><p>user_data</p></td>
205
 
<td class="parameter_description"><p>user-supplied data</p></td>
206
 
<td class="parameter_annotations"> </td>
207
 
</tr>
208
 
<tr>
209
 
<td class="parameter_name"><p>weak_object</p></td>
210
 
<td class="parameter_description"><p>user-supplied object</p></td>
211
 
<td class="parameter_annotations"> </td>
212
 
</tr>
213
 
</tbody>
214
 
</table></div>
215
 
</div>
216
 
</div>
217
 
<hr>
218
 
<div class="refsect2">
219
 
<a name="tp-cli-connection-interface-contact-capabilities-call-get-contact-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities ()</h3>
220
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
221
 
tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities
222
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
223
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
224
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Handles</code></em>,
225
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-get-contact-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities ()"><span class="type">tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities</span></a> callback</code></em>,
226
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
227
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
228
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
229
 
<p>Start a GetContactCapabilities method call.</p>
230
 
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Returns an array of requestable channel classes for the given           contact handles, representing the channel requests that are           expected to succeed.&lt;/p&gt;</p>
231
 
<div class="refsect3">
232
 
<a name="id-1.4.14.7.3.6"></a><h4>Parameters</h4>
233
 
<div class="informaltable"><table width="100%" border="0">
234
 
<colgroup>
235
 
<col width="150px" class="parameters_name">
236
 
<col class="parameters_description">
237
 
<col width="200px" class="parameters_annotations">
238
 
</colgroup>
239
 
<tbody>
240
 
<tr>
241
 
<td class="parameter_name"><p>proxy</p></td>
242
 
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
243
 
<td class="parameter_annotations"> </td>
244
 
</tr>
245
 
<tr>
246
 
<td class="parameter_name"><p>timeout_ms</p></td>
247
 
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
248
 
default</p></td>
249
 
<td class="parameter_annotations"> </td>
250
 
</tr>
251
 
<tr>
252
 
<td class="parameter_name"><p>in_Handles</p></td>
253
 
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;An array of contact handles for this connection.&lt;/p&gt;            &lt;p&gt;The handle zero MUST NOT be included in the request.&lt;/p&gt;</p></td>
254
 
<td class="parameter_annotations"> </td>
255
 
</tr>
256
 
<tr>
257
 
<td class="parameter_name"><p>callback</p></td>
258
 
<td class="parameter_description"><p>called when the method call succeeds or fails;
259
 
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
260
 
reply tracking</p></td>
261
 
<td class="parameter_annotations"> </td>
262
 
</tr>
263
 
<tr>
264
 
<td class="parameter_name"><p>user_data</p></td>
265
 
<td class="parameter_description"><p>user-supplied data passed to the callback;
266
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
267
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
268
 
<td class="parameter_annotations"> </td>
269
 
</tr>
270
 
<tr>
271
 
<td class="parameter_name"><p>destroy</p></td>
272
 
<td class="parameter_description"><p>called with the user_data as argument, after the
273
 
call has succeeded, failed or been cancelled;
274
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
275
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
276
 
<td class="parameter_annotations"> </td>
277
 
</tr>
278
 
<tr>
279
 
<td class="parameter_name"><p>weak_object</p></td>
280
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
281
 
weakly referenced; if it is destroyed, this call
282
 
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
283
 
<em class="parameter"><code>callback</code></em>
284
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
285
 
<td class="parameter_annotations"> </td>
286
 
</tr>
287
 
</tbody>
288
 
</table></div>
289
 
</div>
290
 
<div class="refsect3">
291
 
<a name="id-1.4.14.7.3.7"></a><h4>Returns</h4>
292
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
293
 
progress. It is borrowed from the object, and will become
294
 
invalid when the callback is called, the call is
295
 
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
296
 
<p></p>
297
 
</div>
298
 
</div>
299
 
<hr>
300
 
<div class="refsect2">
301
 
<a name="tp-cli-connection-interface-contact-capabilities-callback-for-update-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities ()</h3>
302
 
<pre class="programlisting"><span class="returnvalue">void</span>
303
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities<span class="c_punctuation">)</span>
304
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
305
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
306
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
307
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
308
 
<p>Signature of the callback called when a UpdateCapabilities method call
309
 
succeeds or fails.</p>
310
 
<div class="refsect3">
311
 
<a name="id-1.4.14.7.4.5"></a><h4>Parameters</h4>
312
 
<div class="informaltable"><table width="100%" border="0">
313
 
<colgroup>
314
 
<col width="150px" class="parameters_name">
315
 
<col class="parameters_description">
316
 
<col width="200px" class="parameters_annotations">
317
 
</colgroup>
318
 
<tbody>
319
 
<tr>
320
 
<td class="parameter_name"><p>proxy</p></td>
321
 
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
322
 
<td class="parameter_annotations"> </td>
323
 
</tr>
324
 
<tr>
325
 
<td class="parameter_name"><p>error</p></td>
326
 
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
327
 
<td class="parameter_annotations"> </td>
328
 
</tr>
329
 
<tr>
330
 
<td class="parameter_name"><p>user_data</p></td>
331
 
<td class="parameter_description"><p>user-supplied data</p></td>
332
 
<td class="parameter_annotations"> </td>
333
 
</tr>
334
 
<tr>
335
 
<td class="parameter_name"><p>weak_object</p></td>
336
 
<td class="parameter_description"><p>user-supplied object</p></td>
337
 
<td class="parameter_annotations"> </td>
338
 
</tr>
339
 
</tbody>
340
 
</table></div>
341
 
</div>
342
 
</div>
343
 
<hr>
344
 
<div class="refsect2">
345
 
<a name="tp-cli-connection-interface-contact-capabilities-call-update-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_call_update_capabilities ()</h3>
346
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
347
 
tp_cli_connection_interface_contact_capabilities_call_update_capabilities
348
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
349
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
350
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Handler_Capabilities</code></em>,
351
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-update-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities ()"><span class="type">tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities</span></a> callback</code></em>,
352
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
353
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
354
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
355
 
<p>Start a UpdateCapabilities method call.</p>
356
 
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Alter the connection's advertised capabilities to include           the intersection of the given clients' capabilities with what the           connection manager is able to implement.&lt;/p&gt;          &lt;p&gt;On connections managed by the ChannelDispatcher, processes other           than the ChannelDispatcher SHOULD NOT call this method, and the           ChannelDispatcher SHOULD use this method to advertise the           capabilities of all the registered &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Client.Handler&lt;/tp:dbus-ref&gt;           implementations.On connections not managed by the ChannelDispatcher,           clients MAY use this method directly, to indicate the channels they           will handle and the extra capabilities they have.&lt;/p&gt;          &lt;p&gt;Upon a successful invocation of this method, the connection manager           will only emit the           &lt;tp:member-ref&gt;ContactCapabilitiesChanged&lt;/tp:member-ref&gt; signal           for the user's &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Connection"&gt;SelfHandle&lt;/tp:dbus-ref&gt;           if, in the underlying protocol, the new capabilities are distinct           from the previous state.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The connection manager will essentially intersect the provided             capabilities and the channel classes it implements. Therefore,             certain properties which are never fixed for a channel class             (such as the target handle, or the Parameters property of a tube             channel) will almost certainly not be advertised.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;This method MAY be called on a newly-created connection while it           is still in the DISCONNECTED state, to request that when the           connection connects, it will do so with the appropriate           capabilities. Doing so MUST NOT fail.&lt;/p&gt;</p>
357
 
<div class="refsect3">
358
 
<a name="id-1.4.14.7.5.6"></a><h4>Parameters</h4>
359
 
<div class="informaltable"><table width="100%" border="0">
360
 
<colgroup>
361
 
<col width="150px" class="parameters_name">
362
 
<col class="parameters_description">
363
 
<col width="200px" class="parameters_annotations">
364
 
</colgroup>
365
 
<tbody>
366
 
<tr>
367
 
<td class="parameter_name"><p>proxy</p></td>
368
 
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
369
 
<td class="parameter_annotations"> </td>
370
 
</tr>
371
 
<tr>
372
 
<td class="parameter_name"><p>timeout_ms</p></td>
373
 
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
374
 
default</p></td>
375
 
<td class="parameter_annotations"> </td>
376
 
</tr>
377
 
<tr>
378
 
<td class="parameter_name"><p>in_Handler_Capabilities</p></td>
379
 
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;p&gt;The capabilities of one or more clients.&lt;/p&gt;            &lt;p&gt;For each client in the given list, any capabilities previously             advertised for the same client name are discarded, then replaced by             the capabilities indicated.&lt;/p&gt;            &lt;p&gt;As a result, if a client becomes unavailable, this method SHOULD             be called with a &lt;tp:type&gt;Handler_Capabilities&lt;/tp:type&gt; structure             containing its name, an empty list of channel classes, and an             empty list of capabilities. When this is done, the connection             manager SHOULD free all memory associated with that client name.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This method takes a list of clients so that               when the channel dispatcher first calls it (with a list of all               the Handlers that are initially available), the changes can be               made atomically, with only one transmission of updated               capabilities to the network. Afterwards, the channel dispatcher               will call this method with a single-element list every time               a Handler becomes available or unavailable.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;The connection manager MUST ignore any channel classes and client             capabilities for which there is no representation in the protocol             or no support in the connection manager.&lt;/p&gt;</p></td>
380
 
<td class="parameter_annotations"> </td>
381
 
</tr>
382
 
<tr>
383
 
<td class="parameter_name"><p>callback</p></td>
384
 
<td class="parameter_description"><p>called when the method call succeeds or fails;
385
 
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
386
 
reply tracking</p></td>
387
 
<td class="parameter_annotations"> </td>
388
 
</tr>
389
 
<tr>
390
 
<td class="parameter_name"><p>user_data</p></td>
391
 
<td class="parameter_description"><p>user-supplied data passed to the callback;
392
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
393
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
394
 
<td class="parameter_annotations"> </td>
395
 
</tr>
396
 
<tr>
397
 
<td class="parameter_name"><p>destroy</p></td>
398
 
<td class="parameter_description"><p>called with the user_data as argument, after the
399
 
call has succeeded, failed or been cancelled;
400
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
401
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
402
 
<td class="parameter_annotations"> </td>
403
 
</tr>
404
 
<tr>
405
 
<td class="parameter_name"><p>weak_object</p></td>
406
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
407
 
weakly referenced; if it is destroyed, this call
408
 
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
409
 
<em class="parameter"><code>callback</code></em>
410
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
411
 
<td class="parameter_annotations"> </td>
412
 
</tr>
413
 
</tbody>
414
 
</table></div>
415
 
</div>
416
 
<div class="refsect3">
417
 
<a name="id-1.4.14.7.5.7"></a><h4>Returns</h4>
418
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
419
 
progress. It is borrowed from the object, and will become
420
 
invalid when the callback is called, the call is
421
 
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
422
 
<p></p>
423
 
</div>
424
 
</div>
425
 
<hr>
426
 
<div class="refsect2">
427
 
<a name="tp-cli-connection-interface-contact-capabilities-signal-callback-contact-capabilities-changed"></a><h3>tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed ()</h3>
428
 
<pre class="programlisting"><span class="returnvalue">void</span>
429
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed<span class="c_punctuation">)</span>
430
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
431
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_caps</code></em>,
432
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
433
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
434
 
<div class="warning"><p><code class="literal">tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed</code> is deprecated and should not be used in newly-written code.</p></div>
435
 
<p>Represents the signature of a callback for the signal ContactCapabilitiesChanged.</p>
436
 
<div class="refsect3">
437
 
<a name="id-1.4.14.7.6.6"></a><h4>Parameters</h4>
438
 
<div class="informaltable"><table width="100%" border="0">
439
 
<colgroup>
440
 
<col width="150px" class="parameters_name">
441
 
<col class="parameters_description">
442
 
<col width="200px" class="parameters_annotations">
443
 
</colgroup>
444
 
<tbody>
445
 
<tr>
446
 
<td class="parameter_name"><p>proxy</p></td>
447
 
<td class="parameter_description"><p>The proxy on which <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-connect-to-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed ()"><code class="function">tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed()</code></a>
448
 
was called</p></td>
449
 
<td class="parameter_annotations"> </td>
450
 
</tr>
451
 
<tr>
452
 
<td class="parameter_name"><p>arg_caps</p></td>
453
 
<td class="parameter_description"><p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           All the capabilities of the contacts</p></td>
454
 
<td class="parameter_annotations"> </td>
455
 
</tr>
456
 
<tr>
457
 
<td class="parameter_name"><p>user_data</p></td>
458
 
<td class="parameter_description"><p>User-supplied data</p></td>
459
 
<td class="parameter_annotations"> </td>
460
 
</tr>
461
 
<tr>
462
 
<td class="parameter_name"><p>weak_object</p></td>
463
 
<td class="parameter_description"><p>User-supplied weakly referenced object</p></td>
464
 
<td class="parameter_annotations"> </td>
465
 
</tr>
466
 
</tbody>
467
 
</table></div>
468
 
</div>
469
 
</div>
470
 
<hr>
471
 
<div class="refsect2">
472
 
<a name="tp-cli-connection-interface-contact-capabilities-connect-to-contact-capabilities-changed"></a><h3>tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed ()</h3>
473
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
474
 
tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed
475
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
476
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-signal-callback-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed ()"><span class="type">tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed</span></a> callback</code></em>,
477
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
478
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
479
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
480
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
481
 
<p>Connect a handler to the signal ContactCapabilitiesChanged.</p>
482
 
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Announce that there has been a change of capabilities on the           given handles. A single signal can be emitted for several         contacts.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The underlying protocol can get several contacts' capabilities at             the same time.&lt;/p&gt;         &lt;/tp:rationale&gt;</p>
483
 
<div class="refsect3">
484
 
<a name="id-1.4.14.7.7.6"></a><h4>Parameters</h4>
485
 
<div class="informaltable"><table width="100%" border="0">
486
 
<colgroup>
487
 
<col width="150px" class="parameters_name">
488
 
<col class="parameters_description">
489
 
<col width="200px" class="parameters_annotations">
490
 
</colgroup>
491
 
<tbody>
492
 
<tr>
493
 
<td class="parameter_name"><p>proxy</p></td>
494
 
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass</p></td>
495
 
<td class="parameter_annotations"> </td>
496
 
</tr>
497
 
<tr>
498
 
<td class="parameter_name"><p>callback</p></td>
499
 
<td class="parameter_description"><p>Callback to be called when the signal is
500
 
received</p></td>
501
 
<td class="parameter_annotations"> </td>
502
 
</tr>
503
 
<tr>
504
 
<td class="parameter_name"><p>user_data</p></td>
505
 
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
506
 
<td class="parameter_annotations"> </td>
507
 
</tr>
508
 
<tr>
509
 
<td class="parameter_name"><p>destroy</p></td>
510
 
<td class="parameter_description"><p>Destructor for the user-supplied data, which
511
 
will be called when this signal is disconnected, or
512
 
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
513
 
<td class="parameter_annotations"> </td>
514
 
</tr>
515
 
<tr>
516
 
<td class="parameter_name"><p>weak_object</p></td>
517
 
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
518
 
if it is destroyed, this callback will automatically be
519
 
disconnected</p></td>
520
 
<td class="parameter_annotations"> </td>
521
 
</tr>
522
 
<tr>
523
 
<td class="parameter_name"><p>error</p></td>
524
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
525
 
returned</p></td>
526
 
<td class="parameter_annotations"> </td>
527
 
</tr>
528
 
</tbody>
529
 
</table></div>
530
 
</div>
531
 
<div class="refsect3">
532
 
<a name="id-1.4.14.7.7.7"></a><h4>Returns</h4>
533
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
534
 
above, which can be used to disconnect the signal; or
535
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
536
 
or has become invalid.</p>
537
 
<p></p>
538
 
</div>
539
 
</div>
540
 
<hr>
541
 
<div class="refsect2">
542
 
<a name="tp-cli-connection-interface-capabilities-call-advertise-capabilities"></a><h3>tp_cli_connection_interface_capabilities_call_advertise_capabilities ()</h3>
543
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
544
 
tp_cli_connection_interface_capabilities_call_advertise_capabilities
545
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
546
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
547
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Add</code></em>,
548
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **in_Remove</code></em>,
549
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-advertise-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities ()"><span class="type">tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities</span></a> callback</code></em>,
550
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
551
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
552
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
553
 
<p>Start a AdvertiseCapabilities method call.</p>
554
 
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Used by user interfaces to indicate which channel types they are able         to handle on this connection. Because these may be provided by         different client processes, this method accepts channel types to add         and remove from the set already advertised on this connection. The type         of advertised capabilities (create versus invite) is protocol-dependent         and hence cannot be set by the this method. In the case of a client         adding an already advertised channel type but with new channel type         specific flags, the connection manager should simply add the new flags         to the set of advertised capabilities.&lt;/p&gt;          &lt;p&gt;Upon a successful invocation of this method, the         &lt;tp:member-ref&gt;CapabilitiesChanged&lt;/tp:member-ref&gt;         signal will be emitted for the user's own handle ( &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.GetSelfHandle&lt;/tp:dbus-ref&gt;)         by the connection manager to indicate the changes         that have been made.  This signal should also be monitored to ensure         that the set is kept accurate - for example, a client may remove         capabilities or type specific capability flags when it exits         which are still provided by another client.&lt;/p&gt;          &lt;p&gt;On connections managed by the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatcher&lt;/tp:dbus-ref&gt;,           this method SHOULD NOT be used by clients other than the           ChannelDispatcher itself.&lt;/p&gt;</p>
555
 
<div class="refsect3">
556
 
<a name="id-1.4.14.7.8.6"></a><h4>Parameters</h4>
557
 
<div class="informaltable"><table width="100%" border="0">
558
 
<colgroup>
559
 
<col width="150px" class="parameters_name">
560
 
<col class="parameters_description">
561
 
<col width="200px" class="parameters_annotations">
562
 
</colgroup>
563
 
<tbody>
564
 
<tr>
565
 
<td class="parameter_name"><p>proxy</p></td>
566
 
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
567
 
<td class="parameter_annotations"> </td>
568
 
</tr>
569
 
<tr>
570
 
<td class="parameter_name"><p>timeout_ms</p></td>
571
 
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
572
 
default</p></td>
573
 
<td class="parameter_annotations"> </td>
574
 
</tr>
575
 
<tr>
576
 
<td class="parameter_name"><p>in_Add</p></td>
577
 
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           An array of structures containing:           &lt;ul&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of type specific capability flags&lt;/li&gt;           &lt;/ul&gt;</p></td>
578
 
<td class="parameter_annotations"> </td>
579
 
</tr>
580
 
<tr>
581
 
<td class="parameter_name"><p>in_Remove</p></td>
582
 
<td class="parameter_description"><p>Used to pass an 'in' argument: An array of D-Bus interface names of channel types to remove</p></td>
583
 
<td class="parameter_annotations"> </td>
584
 
</tr>
585
 
<tr>
586
 
<td class="parameter_name"><p>callback</p></td>
587
 
<td class="parameter_description"><p>called when the method call succeeds or fails;
588
 
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
589
 
reply tracking</p></td>
590
 
<td class="parameter_annotations"> </td>
591
 
</tr>
592
 
<tr>
593
 
<td class="parameter_name"><p>user_data</p></td>
594
 
<td class="parameter_description"><p>user-supplied data passed to the callback;
595
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
596
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
597
 
<td class="parameter_annotations"> </td>
598
 
</tr>
599
 
<tr>
600
 
<td class="parameter_name"><p>destroy</p></td>
601
 
<td class="parameter_description"><p>called with the user_data as argument, after the
602
 
call has succeeded, failed or been cancelled;
603
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
604
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
605
 
<td class="parameter_annotations"> </td>
606
 
</tr>
607
 
<tr>
608
 
<td class="parameter_name"><p>weak_object</p></td>
609
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
610
 
weakly referenced; if it is destroyed, this call
611
 
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
612
 
<em class="parameter"><code>callback</code></em>
613
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
614
 
<td class="parameter_annotations"> </td>
615
 
</tr>
616
 
</tbody>
617
 
</table></div>
618
 
</div>
619
 
<div class="refsect3">
620
 
<a name="id-1.4.14.7.8.7"></a><h4>Returns</h4>
621
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
622
 
progress. It is borrowed from the object, and will become
623
 
invalid when the callback is called, the call is
624
 
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
625
 
<p></p>
626
 
</div>
627
 
</div>
628
 
<hr>
629
 
<div class="refsect2">
630
 
<a name="tp-cli-connection-interface-capabilities-call-get-capabilities"></a><h3>tp_cli_connection_interface_capabilities_call_get_capabilities ()</h3>
631
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> *
632
 
tp_cli_connection_interface_capabilities_call_get_capabilities
633
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
634
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
635
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Handles</code></em>,
636
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-get-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_get_capabilities ()"><span class="type">tp_cli_connection_interface_capabilities_callback_for_get_capabilities</span></a> callback</code></em>,
637
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
638
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
639
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
640
 
<p>Start a GetCapabilities method call.</p>
641
 
<p>Returns an array of capabilities for the given contact handles.</p>
642
 
<div class="refsect3">
643
 
<a name="id-1.4.14.7.9.6"></a><h4>Parameters</h4>
644
 
<div class="informaltable"><table width="100%" border="0">
645
 
<colgroup>
646
 
<col width="150px" class="parameters_name">
647
 
<col class="parameters_description">
648
 
<col width="200px" class="parameters_annotations">
649
 
</colgroup>
650
 
<tbody>
651
 
<tr>
652
 
<td class="parameter_name"><p>proxy</p></td>
653
 
<td class="parameter_description"><p>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a></p></td>
654
 
<td class="parameter_annotations"> </td>
655
 
</tr>
656
 
<tr>
657
 
<td class="parameter_name"><p>timeout_ms</p></td>
658
 
<td class="parameter_description"><p>the timeout in milliseconds, or -1 to use the
659
 
default</p></td>
660
 
<td class="parameter_annotations"> </td>
661
 
</tr>
662
 
<tr>
663
 
<td class="parameter_name"><p>in_Handles</p></td>
664
 
<td class="parameter_description"><p>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;An array of contact handles for this connection.&lt;/p&gt;            &lt;p&gt;This may include zero, which originally meant a query for             capabilities available on the connection itself. This usage             is deprecated; clients SHOULD NOT do this, and connection managers             SHOULD proceed as though zero had not been present in this             list.&lt;/p&gt;</p></td>
665
 
<td class="parameter_annotations"> </td>
666
 
</tr>
667
 
<tr>
668
 
<td class="parameter_name"><p>callback</p></td>
669
 
<td class="parameter_description"><p>called when the method call succeeds or fails;
670
 
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
671
 
reply tracking</p></td>
672
 
<td class="parameter_annotations"> </td>
673
 
</tr>
674
 
<tr>
675
 
<td class="parameter_name"><p>user_data</p></td>
676
 
<td class="parameter_description"><p>user-supplied data passed to the callback;
677
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
678
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
679
 
<td class="parameter_annotations"> </td>
680
 
</tr>
681
 
<tr>
682
 
<td class="parameter_name"><p>destroy</p></td>
683
 
<td class="parameter_description"><p>called with the user_data as argument, after the
684
 
call has succeeded, failed or been cancelled;
685
 
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em>
686
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
687
 
<td class="parameter_annotations"> </td>
688
 
</tr>
689
 
<tr>
690
 
<td class="parameter_name"><p>weak_object</p></td>
691
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
692
 
weakly referenced; if it is destroyed, this call
693
 
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
694
 
<em class="parameter"><code>callback</code></em>
695
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
696
 
<td class="parameter_annotations"> </td>
697
 
</tr>
698
 
</tbody>
699
 
</table></div>
700
 
</div>
701
 
<div class="refsect3">
702
 
<a name="id-1.4.14.7.9.7"></a><h4>Returns</h4>
703
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
704
 
progress. It is borrowed from the object, and will become
705
 
invalid when the callback is called, the call is
706
 
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</p>
707
 
<p></p>
708
 
</div>
709
 
</div>
710
 
<hr>
711
 
<div class="refsect2">
712
 
<a name="tp-cli-connection-interface-capabilities-callback-for-advertise-capabilities"></a><h3>tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities ()</h3>
713
 
<pre class="programlisting"><span class="returnvalue">void</span>
714
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities<span class="c_punctuation">)</span>
715
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
716
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Self_Capabilities</code></em>,
717
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
718
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
719
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
720
 
<p>Signature of the callback called when a AdvertiseCapabilities method call
721
 
succeeds or fails.</p>
722
 
<div class="refsect3">
723
 
<a name="id-1.4.14.7.10.5"></a><h4>Parameters</h4>
724
 
<div class="informaltable"><table width="100%" border="0">
725
 
<colgroup>
726
 
<col width="150px" class="parameters_name">
727
 
<col class="parameters_description">
728
 
<col width="200px" class="parameters_annotations">
729
 
</colgroup>
730
 
<tbody>
731
 
<tr>
732
 
<td class="parameter_name"><p>proxy</p></td>
733
 
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
734
 
<td class="parameter_annotations"> </td>
735
 
</tr>
736
 
<tr>
737
 
<td class="parameter_name"><p>out_Self_Capabilities</p></td>
738
 
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
739
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: An array of structures describing the current capabilities containing:           &lt;ul&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of type specific capability flags&lt;/li&gt;           &lt;/ul&gt;</p></td>
740
 
<td class="parameter_annotations"> </td>
741
 
</tr>
742
 
<tr>
743
 
<td class="parameter_name"><p>error</p></td>
744
 
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
745
 
<td class="parameter_annotations"> </td>
746
 
</tr>
747
 
<tr>
748
 
<td class="parameter_name"><p>user_data</p></td>
749
 
<td class="parameter_description"><p>user-supplied data</p></td>
750
 
<td class="parameter_annotations"> </td>
751
 
</tr>
752
 
<tr>
753
 
<td class="parameter_name"><p>weak_object</p></td>
754
 
<td class="parameter_description"><p>user-supplied object</p></td>
755
 
<td class="parameter_annotations"> </td>
756
 
</tr>
757
 
</tbody>
758
 
</table></div>
759
 
</div>
760
 
</div>
761
 
<hr>
762
 
<div class="refsect2">
763
 
<a name="tp-cli-connection-interface-capabilities-callback-for-get-capabilities"></a><h3>tp_cli_connection_interface_capabilities_callback_for_get_capabilities ()</h3>
764
 
<pre class="programlisting"><span class="returnvalue">void</span>
765
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_capabilities_callback_for_get_capabilities<span class="c_punctuation">)</span>
766
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
767
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Contact_Capabilities</code></em>,
768
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
769
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
770
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
771
 
<div class="warning"><p><code class="literal">tp_cli_connection_interface_capabilities_callback_for_get_capabilities</code> is deprecated and should not be used in newly-written code.</p></div>
772
 
<p>Signature of the callback called when a GetCapabilities method call
773
 
succeeds or fails.</p>
774
 
<div class="refsect3">
775
 
<a name="id-1.4.14.7.11.6"></a><h4>Parameters</h4>
776
 
<div class="informaltable"><table width="100%" border="0">
777
 
<colgroup>
778
 
<col width="150px" class="parameters_name">
779
 
<col class="parameters_description">
780
 
<col width="200px" class="parameters_annotations">
781
 
</colgroup>
782
 
<tbody>
783
 
<tr>
784
 
<td class="parameter_name"><p>proxy</p></td>
785
 
<td class="parameter_description"><p>the proxy on which the call was made</p></td>
786
 
<td class="parameter_annotations"> </td>
787
 
</tr>
788
 
<tr>
789
 
<td class="parameter_name"><p>out_Contact_Capabilities</p></td>
790
 
<td class="parameter_description"><p>Used to return an 'out' argument if <em class="parameter"><code>error</code></em>
791
 
is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           An array of structures containing:           &lt;ul&gt;             &lt;li&gt;an integer handle representing the contact&lt;/li&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of generic capability flags for the type&lt;/li&gt;             &lt;li&gt;a bitwise OR of type specific capability flags for the type&lt;/li&gt;           &lt;/ul&gt;</p></td>
792
 
<td class="parameter_annotations"> </td>
793
 
</tr>
794
 
<tr>
795
 
<td class="parameter_name"><p>error</p></td>
796
 
<td class="parameter_description"><p><a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</p></td>
797
 
<td class="parameter_annotations"> </td>
798
 
</tr>
799
 
<tr>
800
 
<td class="parameter_name"><p>user_data</p></td>
801
 
<td class="parameter_description"><p>user-supplied data</p></td>
802
 
<td class="parameter_annotations"> </td>
803
 
</tr>
804
 
<tr>
805
 
<td class="parameter_name"><p>weak_object</p></td>
806
 
<td class="parameter_description"><p>user-supplied object</p></td>
807
 
<td class="parameter_annotations"> </td>
808
 
</tr>
809
 
</tbody>
810
 
</table></div>
811
 
</div>
812
 
</div>
813
 
<hr>
814
 
<div class="refsect2">
815
 
<a name="tp-cli-connection-interface-capabilities-connect-to-capabilities-changed"></a><h3>tp_cli_connection_interface_capabilities_connect_to_capabilities_changed ()</h3>
816
 
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> *
817
 
tp_cli_connection_interface_capabilities_connect_to_capabilities_changed
818
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
819
 
                                <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-signal-callback-capabilities-changed" title="tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed ()"><span class="type">tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed</span></a> callback</code></em>,
820
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
821
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
822
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
823
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
824
 
<p>Connect a handler to the signal CapabilitiesChanged.</p>
825
 
<p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Announce that there has been a change of capabilities on the           given handle.&lt;/p&gt;          &lt;p&gt;If the handle is zero, the capabilities refer to the connection           itself, in some poorly defined way. This usage is deprecated and           clients should ignore it.&lt;/p&gt;</p>
826
 
<div class="refsect3">
827
 
<a name="id-1.4.14.7.12.6"></a><h4>Parameters</h4>
828
 
<div class="informaltable"><table width="100%" border="0">
829
 
<colgroup>
830
 
<col width="150px" class="parameters_name">
831
 
<col class="parameters_description">
832
 
<col width="200px" class="parameters_annotations">
833
 
</colgroup>
834
 
<tbody>
835
 
<tr>
836
 
<td class="parameter_name"><p>proxy</p></td>
837
 
<td class="parameter_description"><p>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass</p></td>
838
 
<td class="parameter_annotations"> </td>
839
 
</tr>
840
 
<tr>
841
 
<td class="parameter_name"><p>callback</p></td>
842
 
<td class="parameter_description"><p>Callback to be called when the signal is
843
 
received</p></td>
844
 
<td class="parameter_annotations"> </td>
845
 
</tr>
846
 
<tr>
847
 
<td class="parameter_name"><p>user_data</p></td>
848
 
<td class="parameter_description"><p>User-supplied data for the callback</p></td>
849
 
<td class="parameter_annotations"> </td>
850
 
</tr>
851
 
<tr>
852
 
<td class="parameter_name"><p>destroy</p></td>
853
 
<td class="parameter_description"><p>Destructor for the user-supplied data, which
854
 
will be called when this signal is disconnected, or
855
 
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
856
 
<td class="parameter_annotations"> </td>
857
 
</tr>
858
 
<tr>
859
 
<td class="parameter_name"><p>weak_object</p></td>
860
 
<td class="parameter_description"><p>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
861
 
if it is destroyed, this callback will automatically be
862
 
disconnected</p></td>
863
 
<td class="parameter_annotations"> </td>
864
 
</tr>
865
 
<tr>
866
 
<td class="parameter_name"><p>error</p></td>
867
 
<td class="parameter_description"><p>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
868
 
returned</p></td>
869
 
<td class="parameter_annotations"> </td>
870
 
</tr>
871
 
</tbody>
872
 
</table></div>
873
 
</div>
874
 
<div class="refsect3">
875
 
<a name="id-1.4.14.7.12.7"></a><h4>Returns</h4>
876
 
<p> a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
877
 
above, which can be used to disconnect the signal; or
878
 
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
879
 
or has become invalid.</p>
880
 
<p></p>
881
 
</div>
882
 
</div>
883
 
<hr>
884
 
<div class="refsect2">
885
 
<a name="tp-cli-connection-interface-capabilities-signal-callback-capabilities-changed"></a><h3>tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed ()</h3>
886
 
<pre class="programlisting"><span class="returnvalue">void</span>
887
 
<span class="c_punctuation">(</span>*tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed<span class="c_punctuation">)</span>
888
 
                               (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
889
 
                                <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *arg_Caps</code></em>,
890
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
891
 
                                <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
892
 
<p>Represents the signature of a callback for the signal CapabilitiesChanged.</p>
893
 
<div class="refsect3">
894
 
<a name="id-1.4.14.7.13.5"></a><h4>Parameters</h4>
895
 
<div class="informaltable"><table width="100%" border="0">
896
 
<colgroup>
897
 
<col width="150px" class="parameters_name">
898
 
<col class="parameters_description">
899
 
<col width="200px" class="parameters_annotations">
900
 
</colgroup>
901
 
<tbody>
902
 
<tr>
903
 
<td class="parameter_name"><p>proxy</p></td>
904
 
<td class="parameter_description"><p>The proxy on which <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-connect-to-capabilities-changed" title="tp_cli_connection_interface_capabilities_connect_to_capabilities_changed ()"><code class="function">tp_cli_connection_interface_capabilities_connect_to_capabilities_changed()</code></a>
905
 
was called</p></td>
906
 
<td class="parameter_annotations"> </td>
907
 
</tr>
908
 
<tr>
909
 
<td class="parameter_name"><p>arg_Caps</p></td>
910
 
<td class="parameter_description"><p>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           An array of structures containing:           &lt;ul&gt;             &lt;li&gt;an integer handle representing the contact&lt;/li&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's old generic capability flags&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's new generic capability flags&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's old type specific capability flags&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's new type specific capability flags&lt;/li&gt;           &lt;/ul&gt;</p></td>
911
 
<td class="parameter_annotations"> </td>
912
 
</tr>
913
 
<tr>
914
 
<td class="parameter_name"><p>user_data</p></td>
915
 
<td class="parameter_description"><p>User-supplied data</p></td>
916
 
<td class="parameter_annotations"> </td>
917
 
</tr>
918
 
<tr>
919
 
<td class="parameter_name"><p>weak_object</p></td>
920
 
<td class="parameter_description"><p>User-supplied weakly referenced object</p></td>
921
 
<td class="parameter_annotations"> </td>
922
 
</tr>
923
 
</tbody>
924
 
</table></div>
925
 
</div>
926
 
</div>
927
 
</div>
928
 
<div class="refsect1">
929
 
<a name="telepathy-glib-connection-caps.other_details"></a><h2>Types and Values</h2>
 
142
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> objects.
 
143
</p>
 
144
</div>
 
145
<div class="refsect1">
 
146
<a name="telepathy-glib-connection-caps.details"></a><h2>Details</h2>
 
147
<div class="refsect2">
 
148
<a name="tp-cli-connection-interface-contact-capabilities-callback-for-get-contact-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities ()</h3>
 
149
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities)
 
150
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
151
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *out_Contact_Capabilities</code></em>,
 
152
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
153
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
154
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
155
<p>
 
156
Signature of the callback called when a GetContactCapabilities method call
 
157
succeeds or fails.
 
158
</p>
 
159
<div class="variablelist"><table border="0" class="variablelist">
 
160
<colgroup>
 
161
<col align="left" valign="top">
 
162
<col>
 
163
</colgroup>
 
164
<tbody>
 
165
<tr>
 
166
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
167
<td>the proxy on which the call was made</td>
 
168
</tr>
 
169
<tr>
 
170
<td><p><span class="term"><em class="parameter"><code>out_Contact_Capabilities</code></em> :</span></p></td>
 
171
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;A map from contact handles to lists of requestable channel             classes, representing the channel requests that are expected             to succeed for that contact.&lt;/p&gt;            &lt;p&gt;Contacts listed among Handles whose capabilities are unknown             SHOULD be omitted from this map; contacts known to have an empty             set of capabilities SHOULD be included in the keys of this map,             with an empty array as the corresponding value.&lt;/p&gt;</td>
 
172
</tr>
 
173
<tr>
 
174
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
175
<td>
 
176
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
 
177
</tr>
 
178
<tr>
 
179
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
180
<td>user-supplied data</td>
 
181
</tr>
 
182
<tr>
 
183
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
184
<td>user-supplied object</td>
 
185
</tr>
 
186
</tbody>
 
187
</table></div>
 
188
</div>
 
189
<hr>
 
190
<div class="refsect2">
 
191
<a name="tp-cli-connection-interface-contact-capabilities-call-get-contact-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities ()</h3>
 
192
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_capabilities_call_get_contact_capabilities
 
193
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
194
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
195
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Handles</code></em>,
 
196
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-get-contact-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities ()"><span class="type">tp_cli_connection_interface_contact_capabilities_callback_for_get_contact_capabilities</span></a> callback</code></em>,
 
197
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
198
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
199
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
200
<p>
 
201
Start a GetContactCapabilities method call.
 
202
</p>
 
203
<p>
 
204
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Returns an array of requestable channel classes for the given           contact handles, representing the channel requests that are           expected to succeed.&lt;/p&gt;
 
205
</p>
 
206
<div class="variablelist"><table border="0" class="variablelist">
 
207
<colgroup>
 
208
<col align="left" valign="top">
 
209
<col>
 
210
</colgroup>
 
211
<tbody>
 
212
<tr>
 
213
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
214
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
215
</td>
 
216
</tr>
 
217
<tr>
 
218
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
 
219
<td>the timeout in milliseconds, or -1 to use the
 
220
default</td>
 
221
</tr>
 
222
<tr>
 
223
<td><p><span class="term"><em class="parameter"><code>in_Handles</code></em> :</span></p></td>
 
224
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;An array of contact handles for this connection.&lt;/p&gt;            &lt;p&gt;The handle zero MUST NOT be included in the request.&lt;/p&gt;</td>
 
225
</tr>
 
226
<tr>
 
227
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
228
<td>called when the method call succeeds or fails;
 
229
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
 
230
reply tracking</td>
 
231
</tr>
 
232
<tr>
 
233
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
234
<td>user-supplied data passed to the callback;
 
235
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
236
</td>
 
237
</tr>
 
238
<tr>
 
239
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
240
<td>called with the user_data as argument, after the
 
241
call has succeeded, failed or been cancelled;
 
242
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
243
</td>
 
244
</tr>
 
245
<tr>
 
246
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
247
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
 
248
weakly referenced; if it is destroyed, this call
 
249
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
250
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
251
</td>
 
252
</tr>
 
253
<tr>
 
254
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
255
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
 
256
progress. It is borrowed from the object, and will become
 
257
invalid when the callback is called, the call is
 
258
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
 
259
</tr>
 
260
</tbody>
 
261
</table></div>
 
262
</div>
 
263
<hr>
 
264
<div class="refsect2">
 
265
<a name="tp-cli-connection-interface-contact-capabilities-callback-for-update-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities ()</h3>
 
266
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities)
 
267
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
268
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
269
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
270
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
271
<p>
 
272
Signature of the callback called when a UpdateCapabilities method call
 
273
succeeds or fails.
 
274
</p>
 
275
<div class="variablelist"><table border="0" class="variablelist">
 
276
<colgroup>
 
277
<col align="left" valign="top">
 
278
<col>
 
279
</colgroup>
 
280
<tbody>
 
281
<tr>
 
282
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
283
<td>the proxy on which the call was made</td>
 
284
</tr>
 
285
<tr>
 
286
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
287
<td>
 
288
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
 
289
</tr>
 
290
<tr>
 
291
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
292
<td>user-supplied data</td>
 
293
</tr>
 
294
<tr>
 
295
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
296
<td>user-supplied object</td>
 
297
</tr>
 
298
</tbody>
 
299
</table></div>
 
300
</div>
 
301
<hr>
 
302
<div class="refsect2">
 
303
<a name="tp-cli-connection-interface-contact-capabilities-call-update-capabilities"></a><h3>tp_cli_connection_interface_contact_capabilities_call_update_capabilities ()</h3>
 
304
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_contact_capabilities_call_update_capabilities
 
305
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
306
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
307
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Handler_Capabilities</code></em>,
 
308
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-callback-for-update-capabilities" title="tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities ()"><span class="type">tp_cli_connection_interface_contact_capabilities_callback_for_update_capabilities</span></a> callback</code></em>,
 
309
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
310
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
311
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
312
<p>
 
313
Start a UpdateCapabilities method call.
 
314
</p>
 
315
<p>
 
316
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Alter the connection's advertised capabilities to include           the intersection of the given clients' capabilities with what the           connection manager is able to implement.&lt;/p&gt;          &lt;p&gt;On connections managed by the ChannelDispatcher, processes other           than the ChannelDispatcher SHOULD NOT call this method, and the           ChannelDispatcher SHOULD use this method to advertise the           capabilities of all the registered &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Client.Handler&lt;/tp:dbus-ref&gt;           implementations.On connections not managed by the ChannelDispatcher,           clients MAY use this method directly, to indicate the channels they           will handle and the extra capabilities they have.&lt;/p&gt;          &lt;p&gt;Upon a successful invocation of this method, the connection manager           will only emit the           &lt;tp:member-ref&gt;ContactCapabilitiesChanged&lt;/tp:member-ref&gt; signal           for the user's &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy.Connection"&gt;SelfHandle&lt;/tp:dbus-ref&gt;           if, in the underlying protocol, the new capabilities are distinct           from the previous state.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The connection manager will essentially intersect the provided             capabilities and the channel classes it implements. Therefore,             certain properties which are never fixed for a channel class             (such as the target handle, or the Parameters property of a tube             channel) will almost certainly not be advertised.&lt;/p&gt;         &lt;/tp:rationale&gt;          &lt;p&gt;This method MAY be called on a newly-created connection while it           is still in the DISCONNECTED state, to request that when the           connection connects, it will do so with the appropriate           capabilities. Doing so MUST NOT fail.&lt;/p&gt;
 
317
</p>
 
318
<div class="variablelist"><table border="0" class="variablelist">
 
319
<colgroup>
 
320
<col align="left" valign="top">
 
321
<col>
 
322
</colgroup>
 
323
<tbody>
 
324
<tr>
 
325
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
326
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
327
</td>
 
328
</tr>
 
329
<tr>
 
330
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
 
331
<td>the timeout in milliseconds, or -1 to use the
 
332
default</td>
 
333
</tr>
 
334
<tr>
 
335
<td><p><span class="term"><em class="parameter"><code>in_Handler_Capabilities</code></em> :</span></p></td>
 
336
<td>Used to pass an 'in' argument: &lt;p&gt;The capabilities of one or more clients.&lt;/p&gt;            &lt;p&gt;For each client in the given list, any capabilities previously             advertised for the same client name are discarded, then replaced by             the capabilities indicated.&lt;/p&gt;            &lt;p&gt;As a result, if a client becomes unavailable, this method SHOULD             be called with a &lt;tp:type&gt;Handler_Capabilities&lt;/tp:type&gt; structure             containing its name, an empty list of channel classes, and an             empty list of capabilities. When this is done, the connection             manager SHOULD free all memory associated with that client name.&lt;/p&gt;            &lt;tp:rationale&gt;             &lt;p&gt;This method takes a list of clients so that               when the channel dispatcher first calls it (with a list of all               the Handlers that are initially available), the changes can be               made atomically, with only one transmission of updated               capabilities to the network. Afterwards, the channel dispatcher               will call this method with a single-element list every time               a Handler becomes available or unavailable.&lt;/p&gt;           &lt;/tp:rationale&gt;            &lt;p&gt;The connection manager MUST ignore any channel classes and client             capabilities for which there is no representation in the protocol             or no support in the connection manager.&lt;/p&gt;</td>
 
337
</tr>
 
338
<tr>
 
339
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
340
<td>called when the method call succeeds or fails;
 
341
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
 
342
reply tracking</td>
 
343
</tr>
 
344
<tr>
 
345
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
346
<td>user-supplied data passed to the callback;
 
347
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
348
</td>
 
349
</tr>
 
350
<tr>
 
351
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
352
<td>called with the user_data as argument, after the
 
353
call has succeeded, failed or been cancelled;
 
354
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
355
</td>
 
356
</tr>
 
357
<tr>
 
358
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
359
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
 
360
weakly referenced; if it is destroyed, this call
 
361
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
362
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
363
</td>
 
364
</tr>
 
365
<tr>
 
366
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
367
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
 
368
progress. It is borrowed from the object, and will become
 
369
invalid when the callback is called, the call is
 
370
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
 
371
</tr>
 
372
</tbody>
 
373
</table></div>
 
374
</div>
 
375
<hr>
 
376
<div class="refsect2">
 
377
<a name="tp-cli-connection-interface-contact-capabilities-signal-callback-contact-capabilities-changed"></a><h3>tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed ()</h3>
 
378
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed)
 
379
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
380
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Hash-Tables.html#GHashTable"><span class="type">GHashTable</span></a> *arg_caps</code></em>,
 
381
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
382
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
383
<p>
 
384
Represents the signature of a callback for the signal ContactCapabilitiesChanged.
 
385
</p>
 
386
<div class="variablelist"><table border="0" class="variablelist">
 
387
<colgroup>
 
388
<col align="left" valign="top">
 
389
<col>
 
390
</colgroup>
 
391
<tbody>
 
392
<tr>
 
393
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
394
<td>The proxy on which <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-connect-to-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed ()"><code class="function">tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed()</code></a>
 
395
was called</td>
 
396
</tr>
 
397
<tr>
 
398
<td><p><span class="term"><em class="parameter"><code>arg_caps</code></em> :</span></p></td>
 
399
<td>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           All the capabilities of the contacts</td>
 
400
</tr>
 
401
<tr>
 
402
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
403
<td>User-supplied data</td>
 
404
</tr>
 
405
<tr>
 
406
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
407
<td>User-supplied weakly referenced object</td>
 
408
</tr>
 
409
</tbody>
 
410
</table></div>
 
411
</div>
 
412
<hr>
 
413
<div class="refsect2">
 
414
<a name="tp-cli-connection-interface-contact-capabilities-connect-to-contact-capabilities-changed"></a><h3>tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed ()</h3>
 
415
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_connection_interface_contact_capabilities_connect_to_contact_capabilities_changed
 
416
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
417
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-contact-capabilities-signal-callback-contact-capabilities-changed" title="tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed ()"><span class="type">tp_cli_connection_interface_contact_capabilities_signal_callback_contact_capabilities_changed</span></a> callback</code></em>,
 
418
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
419
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
420
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
 
421
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
422
<p>
 
423
Connect a handler to the signal ContactCapabilitiesChanged.
 
424
</p>
 
425
<p>
 
426
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Announce that there has been a change of capabilities on the           given handles. A single signal can be emitted for several         contacts.&lt;/p&gt;          &lt;tp:rationale&gt;           &lt;p&gt;The underlying protocol can get several contacts' capabilities at             the same time.&lt;/p&gt;         &lt;/tp:rationale&gt;
 
427
</p>
 
428
<div class="variablelist"><table border="0" class="variablelist">
 
429
<colgroup>
 
430
<col align="left" valign="top">
 
431
<col>
 
432
</colgroup>
 
433
<tbody>
 
434
<tr>
 
435
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
436
<td>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass</td>
 
437
</tr>
 
438
<tr>
 
439
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
440
<td>Callback to be called when the signal is
 
441
received</td>
 
442
</tr>
 
443
<tr>
 
444
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
445
<td>User-supplied data for the callback</td>
 
446
</tr>
 
447
<tr>
 
448
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
449
<td>Destructor for the user-supplied data, which
 
450
will be called when this signal is disconnected, or
 
451
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
452
</td>
 
453
</tr>
 
454
<tr>
 
455
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
456
<td>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
 
457
if it is destroyed, this callback will automatically be
 
458
disconnected</td>
 
459
</tr>
 
460
<tr>
 
461
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
462
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
 
463
returned</td>
 
464
</tr>
 
465
<tr>
 
466
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
467
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
 
468
above, which can be used to disconnect the signal; or
 
469
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
 
470
or has become invalid.</td>
 
471
</tr>
 
472
</tbody>
 
473
</table></div>
 
474
</div>
 
475
<hr>
 
476
<div class="refsect2">
 
477
<a name="tp-cli-connection-interface-capabilities-call-advertise-capabilities"></a><h3>tp_cli_connection_interface_capabilities_call_advertise_capabilities ()</h3>
 
478
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_capabilities_call_advertise_capabilities
 
479
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
480
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
481
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *in_Add</code></em>,
 
482
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **in_Remove</code></em>,
 
483
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-advertise-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities ()"><span class="type">tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities</span></a> callback</code></em>,
 
484
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
485
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
486
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
487
<p>
 
488
Start a AdvertiseCapabilities method call.
 
489
</p>
 
490
<p>
 
491
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Used by user interfaces to indicate which channel types they are able         to handle on this connection. Because these may be provided by         different client processes, this method accepts channel types to add         and remove from the set already advertised on this connection. The type         of advertised capabilities (create versus invite) is protocol-dependent         and hence cannot be set by the this method. In the case of a client         adding an already advertised channel type but with new channel type         specific flags, the connection manager should simply add the new flags         to the set of advertised capabilities.&lt;/p&gt;          &lt;p&gt;Upon a successful invocation of this method, the         &lt;tp:member-ref&gt;CapabilitiesChanged&lt;/tp:member-ref&gt;         signal will be emitted for the user's own handle ( &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;Connection.GetSelfHandle&lt;/tp:dbus-ref&gt;)         by the connection manager to indicate the changes         that have been made.  This signal should also be monitored to ensure         that the set is kept accurate - for example, a client may remove         capabilities or type specific capability flags when it exits         which are still provided by another client.&lt;/p&gt;          &lt;p&gt;On connections managed by the &lt;tp:dbus-ref namespace="org.freedesktop.Telepathy"&gt;ChannelDispatcher&lt;/tp:dbus-ref&gt;,           this method SHOULD NOT be used by clients other than the           ChannelDispatcher itself.&lt;/p&gt;
 
492
</p>
 
493
<div class="variablelist"><table border="0" class="variablelist">
 
494
<colgroup>
 
495
<col align="left" valign="top">
 
496
<col>
 
497
</colgroup>
 
498
<tbody>
 
499
<tr>
 
500
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
501
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
502
</td>
 
503
</tr>
 
504
<tr>
 
505
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
 
506
<td>the timeout in milliseconds, or -1 to use the
 
507
default</td>
 
508
</tr>
 
509
<tr>
 
510
<td><p><span class="term"><em class="parameter"><code>in_Add</code></em> :</span></p></td>
 
511
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           An array of structures containing:           &lt;ul&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of type specific capability flags&lt;/li&gt;           &lt;/ul&gt;</td>
 
512
</tr>
 
513
<tr>
 
514
<td><p><span class="term"><em class="parameter"><code>in_Remove</code></em> :</span></p></td>
 
515
<td>Used to pass an 'in' argument: An array of D-Bus interface names of channel types to remove</td>
 
516
</tr>
 
517
<tr>
 
518
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
519
<td>called when the method call succeeds or fails;
 
520
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
 
521
reply tracking</td>
 
522
</tr>
 
523
<tr>
 
524
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
525
<td>user-supplied data passed to the callback;
 
526
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
527
</td>
 
528
</tr>
 
529
<tr>
 
530
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
531
<td>called with the user_data as argument, after the
 
532
call has succeeded, failed or been cancelled;
 
533
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
534
</td>
 
535
</tr>
 
536
<tr>
 
537
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
538
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
 
539
weakly referenced; if it is destroyed, this call
 
540
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
541
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
542
</td>
 
543
</tr>
 
544
<tr>
 
545
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
546
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
 
547
progress. It is borrowed from the object, and will become
 
548
invalid when the callback is called, the call is
 
549
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
 
550
</tr>
 
551
</tbody>
 
552
</table></div>
 
553
</div>
 
554
<hr>
 
555
<div class="refsect2">
 
556
<a name="tp-cli-connection-interface-capabilities-call-get-capabilities"></a><h3>tp_cli_connection_interface_capabilities_call_get_capabilities ()</h3>
 
557
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="returnvalue">TpProxyPendingCall</span></a> * tp_cli_connection_interface_capabilities_call_get_capabilities
 
558
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
559
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> timeout_ms</code></em>,
 
560
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"><span class="type">GArray</span></a> *in_Handles</code></em>,
 
561
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-callback-for-get-capabilities" title="tp_cli_connection_interface_capabilities_callback_for_get_capabilities ()"><span class="type">tp_cli_connection_interface_capabilities_callback_for_get_capabilities</span></a> callback</code></em>,
 
562
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
563
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
564
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
565
<p>
 
566
Start a GetCapabilities method call.
 
567
</p>
 
568
<p>
 
569
Returns an array of capabilities for the given contact handles.
 
570
</p>
 
571
<div class="variablelist"><table border="0" class="variablelist">
 
572
<colgroup>
 
573
<col align="left" valign="top">
 
574
<col>
 
575
</colgroup>
 
576
<tbody>
 
577
<tr>
 
578
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
579
<td>the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a>
 
580
</td>
 
581
</tr>
 
582
<tr>
 
583
<td><p><span class="term"><em class="parameter"><code>timeout_ms</code></em> :</span></p></td>
 
584
<td>the timeout in milliseconds, or -1 to use the
 
585
default</td>
 
586
</tr>
 
587
<tr>
 
588
<td><p><span class="term"><em class="parameter"><code>in_Handles</code></em> :</span></p></td>
 
589
<td>Used to pass an 'in' argument: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           &lt;p&gt;An array of contact handles for this connection.&lt;/p&gt;            &lt;p&gt;This may include zero, which originally meant a query for             capabilities available on the connection itself. This usage             is deprecated; clients SHOULD NOT do this, and connection managers             SHOULD proceed as though zero had not been present in this             list.&lt;/p&gt;</td>
 
590
</tr>
 
591
<tr>
 
592
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
593
<td>called when the method call succeeds or fails;
 
594
may be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to make a "fire and forget" call with no
 
595
reply tracking</td>
 
596
</tr>
 
597
<tr>
 
598
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
599
<td>user-supplied data passed to the callback;
 
600
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
601
</td>
 
602
</tr>
 
603
<tr>
 
604
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
605
<td>called with the user_data as argument, after the
 
606
call has succeeded, failed or been cancelled;
 
607
must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
608
</td>
 
609
</tr>
 
610
<tr>
 
611
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
612
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, a <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be
 
613
weakly referenced; if it is destroyed, this call
 
614
will automatically be cancelled. Must be <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
 
615
<em class="parameter"><code>callback</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
616
</td>
 
617
</tr>
 
618
<tr>
 
619
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
620
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxyPendingCall" title="TpProxyPendingCall"><span class="type">TpProxyPendingCall</span></a> representing the call in
 
621
progress. It is borrowed from the object, and will become
 
622
invalid when the callback is called, the call is
 
623
cancelled or the <a class="link" href="telepathy-glib-proxy.html#TpProxy"><span class="type">TpProxy</span></a> becomes invalid.</td>
 
624
</tr>
 
625
</tbody>
 
626
</table></div>
 
627
</div>
 
628
<hr>
 
629
<div class="refsect2">
 
630
<a name="tp-cli-connection-interface-capabilities-callback-for-advertise-capabilities"></a><h3>tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities ()</h3>
 
631
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_capabilities_callback_for_advertise_capabilities)
 
632
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
633
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Self_Capabilities</code></em>,
 
634
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
635
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
636
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
637
<p>
 
638
Signature of the callback called when a AdvertiseCapabilities method call
 
639
succeeds or fails.
 
640
</p>
 
641
<div class="variablelist"><table border="0" class="variablelist">
 
642
<colgroup>
 
643
<col align="left" valign="top">
 
644
<col>
 
645
</colgroup>
 
646
<tbody>
 
647
<tr>
 
648
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
649
<td>the proxy on which the call was made</td>
 
650
</tr>
 
651
<tr>
 
652
<td><p><span class="term"><em class="parameter"><code>out_Self_Capabilities</code></em> :</span></p></td>
 
653
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: An array of structures describing the current capabilities containing:           &lt;ul&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of type specific capability flags&lt;/li&gt;           &lt;/ul&gt;</td>
 
654
</tr>
 
655
<tr>
 
656
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
657
<td>
 
658
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
 
659
</tr>
 
660
<tr>
 
661
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
662
<td>user-supplied data</td>
 
663
</tr>
 
664
<tr>
 
665
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
666
<td>user-supplied object</td>
 
667
</tr>
 
668
</tbody>
 
669
</table></div>
 
670
</div>
 
671
<hr>
 
672
<div class="refsect2">
 
673
<a name="tp-cli-connection-interface-capabilities-callback-for-get-capabilities"></a><h3>tp_cli_connection_interface_capabilities_callback_for_get_capabilities ()</h3>
 
674
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_capabilities_callback_for_get_capabilities)
 
675
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
676
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *out_Contact_Capabilities</code></em>,
 
677
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
 
678
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
679
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
680
<p>
 
681
Signature of the callback called when a GetCapabilities method call
 
682
succeeds or fails.
 
683
</p>
 
684
<div class="variablelist"><table border="0" class="variablelist">
 
685
<colgroup>
 
686
<col align="left" valign="top">
 
687
<col>
 
688
</colgroup>
 
689
<tbody>
 
690
<tr>
 
691
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
692
<td>the proxy on which the call was made</td>
 
693
</tr>
 
694
<tr>
 
695
<td><p><span class="term"><em class="parameter"><code>out_Contact_Capabilities</code></em> :</span></p></td>
 
696
<td>Used to return an 'out' argument if <em class="parameter"><code>error</code></em> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>: &lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           An array of structures containing:           &lt;ul&gt;             &lt;li&gt;an integer handle representing the contact&lt;/li&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of generic capability flags for the type&lt;/li&gt;             &lt;li&gt;a bitwise OR of type specific capability flags for the type&lt;/li&gt;           &lt;/ul&gt;</td>
 
697
</tr>
 
698
<tr>
 
699
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
700
<td>
 
701
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> on success, or an error on failure</td>
 
702
</tr>
 
703
<tr>
 
704
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
705
<td>user-supplied data</td>
 
706
</tr>
 
707
<tr>
 
708
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
709
<td>user-supplied object</td>
 
710
</tr>
 
711
</tbody>
 
712
</table></div>
 
713
</div>
 
714
<hr>
 
715
<div class="refsect2">
 
716
<a name="tp-cli-connection-interface-capabilities-connect-to-capabilities-changed"></a><h3>tp_cli_connection_interface_capabilities_connect_to_capabilities_changed ()</h3>
 
717
<pre class="programlisting"><a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="returnvalue">TpProxySignalConnection</span></a> * tp_cli_connection_interface_capabilities_connect_to_capabilities_changed
 
718
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
719
                                                         <em class="parameter"><code><a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-signal-callback-capabilities-changed" title="tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed ()"><span class="type">tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed</span></a> callback</code></em>,
 
720
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
721
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy</code></em>,
 
722
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>,
 
723
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
 
724
<p>
 
725
Connect a handler to the signal CapabilitiesChanged.
 
726
</p>
 
727
<p>
 
728
&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;         &lt;p&gt;Announce that there has been a change of capabilities on the           given handle.&lt;/p&gt;          &lt;p&gt;If the handle is zero, the capabilities refer to the connection           itself, in some poorly defined way. This usage is deprecated and           clients should ignore it.&lt;/p&gt;
 
729
</p>
 
730
<div class="variablelist"><table border="0" class="variablelist">
 
731
<colgroup>
 
732
<col align="left" valign="top">
 
733
<col>
 
734
</colgroup>
 
735
<tbody>
 
736
<tr>
 
737
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
738
<td>A <a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> or subclass</td>
 
739
</tr>
 
740
<tr>
 
741
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
 
742
<td>Callback to be called when the signal is
 
743
received</td>
 
744
</tr>
 
745
<tr>
 
746
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
747
<td>User-supplied data for the callback</td>
 
748
</tr>
 
749
<tr>
 
750
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
 
751
<td>Destructor for the user-supplied data, which
 
752
will be called when this signal is disconnected, or
 
753
before this function returns <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
 
754
</td>
 
755
</tr>
 
756
<tr>
 
757
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
758
<td>A <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> which will be weakly referenced;
 
759
if it is destroyed, this callback will automatically be
 
760
disconnected</td>
 
761
</tr>
 
762
<tr>
 
763
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
 
764
<td>If not <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, used to raise an error if <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is
 
765
returned</td>
 
766
</tr>
 
767
<tr>
 
768
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
769
<td>a <a class="link" href="telepathy-glib-proxy.html#TpProxySignalConnection" title="TpProxySignalConnection"><span class="type">TpProxySignalConnection</span></a> containing all of the
 
770
above, which can be used to disconnect the signal; or
 
771
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the proxy does not have the desired interface
 
772
or has become invalid.</td>
 
773
</tr>
 
774
</tbody>
 
775
</table></div>
 
776
</div>
 
777
<hr>
 
778
<div class="refsect2">
 
779
<a name="tp-cli-connection-interface-capabilities-signal-callback-capabilities-changed"></a><h3>tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed ()</h3>
 
780
<pre class="programlisting"><span class="returnvalue">void</span>                (*tp_cli_connection_interface_capabilities_signal_callback_capabilities_changed)
 
781
                                                        (<em class="parameter"><code><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a> *proxy</code></em>,
 
782
                                                         <em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> *arg_Caps</code></em>,
 
783
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
 
784
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"><span class="type">GObject</span></a> *weak_object</code></em>);</pre>
 
785
<p>
 
786
Represents the signature of a callback for the signal CapabilitiesChanged.
 
787
</p>
 
788
<div class="variablelist"><table border="0" class="variablelist">
 
789
<colgroup>
 
790
<col align="left" valign="top">
 
791
<col>
 
792
</colgroup>
 
793
<tbody>
 
794
<tr>
 
795
<td><p><span class="term"><em class="parameter"><code>proxy</code></em> :</span></p></td>
 
796
<td>The proxy on which <a class="link" href="telepathy-glib-connection-caps.html#tp-cli-connection-interface-capabilities-connect-to-capabilities-changed" title="tp_cli_connection_interface_capabilities_connect_to_capabilities_changed ()"><code class="function">tp_cli_connection_interface_capabilities_connect_to_capabilities_changed()</code></a>
 
797
was called</td>
 
798
</tr>
 
799
<tr>
 
800
<td><p><span class="term"><em class="parameter"><code>arg_Caps</code></em> :</span></p></td>
 
801
<td>&lt;tp:docstring xmlns="http://www.w3.org/1999/xhtml"&gt;           An array of structures containing:           &lt;ul&gt;             &lt;li&gt;an integer handle representing the contact&lt;/li&gt;             &lt;li&gt;a string channel type&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's old generic capability flags&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's new generic capability flags&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's old type specific capability flags&lt;/li&gt;             &lt;li&gt;a bitwise OR of the contact's new type specific capability flags&lt;/li&gt;           &lt;/ul&gt;</td>
 
802
</tr>
 
803
<tr>
 
804
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
 
805
<td>User-supplied data</td>
 
806
</tr>
 
807
<tr>
 
808
<td><p><span class="term"><em class="parameter"><code>weak_object</code></em> :</span></p></td>
 
809
<td>User-supplied weakly referenced object</td>
 
810
</tr>
 
811
</tbody>
 
812
</table></div>
 
813
</div>
930
814
</div>
931
815
<div class="refsect1">
932
816
<a name="telepathy-glib-connection-caps.see-also"></a><h2>See Also</h2>
933
 
<p><a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a></p>
 
817
<a class="link" href="telepathy-glib-connection.html#TpConnection"><span class="type">TpConnection</span></a>
934
818
</div>
935
819
</div>
936
820
<div class="footer">
937
821
<hr>
938
 
          Generated by GTK-Doc V1.20</div>
 
822
          Generated by GTK-Doc V1.19</div>
939
823
</body>
940
824
</html>
 
 
b'\\ No newline at end of file'