31
37
<h2><span class="refentrytitle"><a name="TpDebugMessage.top_of_page"></a>TpDebugMessage</span></h2>
32
38
<p>TpDebugMessage — a debug message</p>
34
<td class="gallery_image" valign="top" align="right"></td>
40
<td valign="top" align="right"></td>
35
41
</tr></table></div>
42
<div class="refsynopsisdiv">
43
<a name="TpDebugMessage.synopsis"></a><h2>Synopsis</h2>
44
<pre class="synopsis">
45
#include <telepathy-glib/telepathy-glib.h>
47
<a class="link" href="TpDebugMessage.html#TpDebugMessage-struct" title="TpDebugMessage">TpDebugMessage</a>;
48
struct <a class="link" href="TpDebugMessage.html#TpDebugMessageClass" title="struct TpDebugMessageClass">TpDebugMessageClass</a>;
49
<span class="returnvalue">void</span> <a class="link" href="TpDebugMessage.html#tp-debug-client-get-messages-async" title="tp_debug_client_get_messages_async ()">tp_debug_client_get_messages_async</a> (<em class="parameter"><code><a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a> *self</code></em>,
50
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
51
<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>);
52
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * <a class="link" href="TpDebugMessage.html#tp-debug-client-get-messages-finish" title="tp_debug_client_get_messages_finish ()">tp_debug_client_get_messages_finish</a> (<em class="parameter"><code><a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a> *self</code></em>,
53
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
54
<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>);
55
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="TpDebugMessage.html#tp-debug-message-get-domain" title="tp_debug_message_get_domain ()">tp_debug_message_get_domain</a> (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);
56
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="TpDebugMessage.html#tp-debug-message-get-category" title="tp_debug_message_get_category ()">tp_debug_message_get_category</a> (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);
57
<a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#GLogLevelFlags"><span class="returnvalue">GLogLevelFlags</span></a> <a class="link" href="TpDebugMessage.html#tp-debug-message-get-level" title="tp_debug_message_get_level ()">tp_debug_message_get_level</a> (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);
58
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="TpDebugMessage.html#tp-debug-message-get-message" title="tp_debug_message_get_message ()">tp_debug_message_get_message</a> (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);
59
<a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> * <a class="link" href="TpDebugMessage.html#tp-debug-message-get-time" title="tp_debug_message_get_time ()">tp_debug_message_get_time</a> (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);
36
62
<div class="refsect1">
37
<a name="TpDebugMessage.functions"></a><h2>Functions</h2>
38
<div class="informaltable"><table width="100%" border="0">
40
<col width="150px" class="functions_return">
41
<col class="functions_name">
45
<td class="function_type">
46
<span class="returnvalue">void</span>
48
<td class="function_name">
49
<a class="link" href="TpDebugMessage.html#tp-debug-client-get-messages-async" title="tp_debug_client_get_messages_async ()">tp_debug_client_get_messages_async</a> <span class="c_punctuation">()</span>
53
<td class="function_type">
54
<a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
56
<td class="function_name">
57
<a class="link" href="TpDebugMessage.html#tp-debug-client-get-messages-finish" title="tp_debug_client_get_messages_finish ()">tp_debug_client_get_messages_finish</a> <span class="c_punctuation">()</span>
61
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
63
<td class="function_name">
64
<a class="link" href="TpDebugMessage.html#tp-debug-message-get-domain" title="tp_debug_message_get_domain ()">tp_debug_message_get_domain</a> <span class="c_punctuation">()</span>
68
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
70
<td class="function_name">
71
<a class="link" href="TpDebugMessage.html#tp-debug-message-get-category" title="tp_debug_message_get_category ()">tp_debug_message_get_category</a> <span class="c_punctuation">()</span>
75
<td class="function_type">
76
<a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#GLogLevelFlags"><span class="returnvalue">GLogLevelFlags</span></a>
78
<td class="function_name">
79
<a class="link" href="TpDebugMessage.html#tp-debug-message-get-level" title="tp_debug_message_get_level ()">tp_debug_message_get_level</a> <span class="c_punctuation">()</span>
83
<td class="function_type">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
85
<td class="function_name">
86
<a class="link" href="TpDebugMessage.html#tp-debug-message-get-message" title="tp_debug_message_get_message ()">tp_debug_message_get_message</a> <span class="c_punctuation">()</span>
90
<td class="function_type">
91
<a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> *
93
<td class="function_name">
94
<a class="link" href="TpDebugMessage.html#tp-debug-message-get-time" title="tp_debug_message_get_time ()">tp_debug_message_get_time</a> <span class="c_punctuation">()</span>
63
<a name="TpDebugMessage.object-hierarchy"></a><h2>Object Hierarchy</h2>
64
<pre class="synopsis">
65
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
100
69
<div class="refsect1">
101
70
<a name="TpDebugMessage.properties"></a><h2>Properties</h2>
102
<div class="informaltable"><table border="0">
104
<col width="150px" class="properties_type">
105
<col width="300px" class="properties_name">
106
<col width="200px" class="properties_flags">
110
<td class="property_type">
111
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
112
<td class="property_name"><a class="link" href="TpDebugMessage.html#TpDebugMessage--category" title="The “category” property">category</a></td>
113
<td class="property_flags">Read</td>
116
<td class="property_type">
117
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
118
<td class="property_name"><a class="link" href="TpDebugMessage.html#TpDebugMessage--domain" title="The “domain” property">domain</a></td>
119
<td class="property_flags">Read</td>
122
<td class="property_type"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></td>
123
<td class="property_name"><a class="link" href="TpDebugMessage.html#TpDebugMessage--level" title="The “level” property">level</a></td>
124
<td class="property_flags">Read</td>
127
<td class="property_type">
128
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
129
<td class="property_name"><a class="link" href="TpDebugMessage.html#TpDebugMessage--message" title="The “message” property">message</a></td>
130
<td class="property_flags">Read</td>
133
<td class="property_type">
134
<a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *</td>
135
<td class="property_name"><a class="link" href="TpDebugMessage.html#TpDebugMessage--time" title="The “time” property">time</a></td>
136
<td class="property_flags">Read</td>
141
<div class="refsect1">
142
<a name="TpDebugMessage.other"></a><h2>Types and Values</h2>
143
<div class="informaltable"><table width="100%" border="0">
145
<col width="150px" class="name">
146
<col class="description">
150
<td class="datatype_keyword">struct</td>
151
<td class="function_name"><a class="link" href="TpDebugMessage.html#TpDebugMessage-struct" title="struct TpDebugMessage">TpDebugMessage</a></td>
154
<td class="datatype_keyword">struct</td>
155
<td class="function_name"><a class="link" href="TpDebugMessage.html#TpDebugMessageClass" title="struct TpDebugMessageClass">TpDebugMessageClass</a></td>
160
<div class="refsect1">
161
<a name="TpDebugMessage.object-hierarchy"></a><h2>Object Hierarchy</h2>
162
<pre class="screen"> <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
163
<span class="lineart">╰──</span> TpDebugMessage
166
<div class="refsect1">
167
<a name="TpDebugMessage.includes"></a><h2>Includes</h2>
168
<pre class="synopsis">#include <telepathy-glib/telepathy-glib.h>
71
<pre class="synopsis">
72
"<a class="link" href="TpDebugMessage.html#TpDebugMessage--category" title='The "category" property'>category</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
73
"<a class="link" href="TpDebugMessage.html#TpDebugMessage--domain" title='The "domain" property'>domain</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
74
"<a class="link" href="TpDebugMessage.html#TpDebugMessage--level" title='The "level" property'>level</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read
75
"<a class="link" href="TpDebugMessage.html#TpDebugMessage--message" title='The "message" property'>message</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read
76
"<a class="link" href="TpDebugMessage.html#TpDebugMessage--time" title='The "time" property'>time</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a>* : Read
171
79
<div class="refsect1">
172
80
<a name="TpDebugMessage.description"></a><h2>Description</h2>
173
<p><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> is a small object used to represent a debug message receive
174
from a Telepathy component using <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a>.</p>
175
<p>See also: <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a></p>
177
<div class="refsect1">
178
<a name="TpDebugMessage.functions_details"></a><h2>Functions</h2>
179
<div class="refsect2">
180
<a name="tp-debug-client-get-messages-async"></a><h3>tp_debug_client_get_messages_async ()</h3>
181
<pre class="programlisting"><span class="returnvalue">void</span>
182
tp_debug_client_get_messages_async (<em class="parameter"><code><a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a> *self</code></em>,
183
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
184
<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>);</pre>
185
<p>Retrieve buffered messages from <em class="parameter"><code>self</code></em>
186
. Once <em class="parameter"><code>callback</code></em>
188
use <a class="link" href="TpDebugMessage.html#tp-debug-client-get-messages-finish" title="tp_debug_client_get_messages_finish ()"><code class="function">tp_debug_client_get_messages_finish()</code></a> to retrieve the <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>
190
<div class="refsect3">
191
<a name="id-1.4.70.9.2.5"></a><h4>Parameters</h4>
192
<div class="informaltable"><table width="100%" border="0">
194
<col width="150px" class="parameters_name">
195
<col class="parameters_description">
196
<col width="200px" class="parameters_annotations">
200
<td class="parameter_name"><p>self</p></td>
201
<td class="parameter_description"><p>a <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a></p></td>
202
<td class="parameter_annotations"> </td>
205
<td class="parameter_name"><p>callback</p></td>
206
<td class="parameter_description"><p>callback to call when the messages have been retrieved</p></td>
207
<td class="parameter_annotations"> </td>
210
<td class="parameter_name"><p>user_data</p></td>
211
<td class="parameter_description"><p>data to pass to <em class="parameter"><code>callback</code></em>
213
<td class="parameter_annotations"> </td>
218
<p class="since">Since 0.19.0</p>
221
<div class="refsect2">
222
<a name="tp-debug-client-get-messages-finish"></a><h3>tp_debug_client_get_messages_finish ()</h3>
223
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> *
224
tp_debug_client_get_messages_finish (<em class="parameter"><code><a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a> *self</code></em>,
225
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
226
<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>
227
<p>Finishes <a class="link" href="TpDebugClient.html#tp-debug-client-set-enabled-async" title="tp_debug_client_set_enabled_async ()"><code class="function">tp_debug_client_set_enabled_async()</code></a>.</p>
228
<div class="refsect3">
229
<a name="id-1.4.70.9.3.5"></a><h4>Parameters</h4>
230
<div class="informaltable"><table width="100%" border="0">
232
<col width="150px" class="parameters_name">
233
<col class="parameters_description">
234
<col width="200px" class="parameters_annotations">
238
<td class="parameter_name"><p>self</p></td>
239
<td class="parameter_description"><p>a <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a></p></td>
240
<td class="parameter_annotations"> </td>
243
<td class="parameter_name"><p>result</p></td>
244
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a></p></td>
245
<td class="parameter_annotations"> </td>
248
<td class="parameter_name"><p>error</p></td>
249
<td class="parameter_description"><p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</p></td>
250
<td class="parameter_annotations"> </td>
255
<div class="refsect3">
256
<a name="id-1.4.70.9.3.6"></a><h4>Returns</h4>
257
<p>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>, free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#g-ptr-array-unref"><code class="function">g_ptr_array_unref()</code></a>. </p>
258
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GLib.PtrArray][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.DebugMessage]</span></p>
260
<p class="since">Since 0.19.0</p>
263
<div class="refsect2">
264
<a name="tp-debug-message-get-domain"></a><h3>tp_debug_message_get_domain ()</h3>
265
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
266
tp_debug_message_get_domain (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
267
<p>Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--domain" title="The “domain” property"><span class="type">“domain”</span></a> property</p>
268
<div class="refsect3">
269
<a name="id-1.4.70.9.4.5"></a><h4>Parameters</h4>
270
<div class="informaltable"><table width="100%" border="0">
272
<col width="150px" class="parameters_name">
273
<col class="parameters_description">
274
<col width="200px" class="parameters_annotations">
277
<td class="parameter_name"><p>self</p></td>
278
<td class="parameter_description"><p>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a></p></td>
279
<td class="parameter_annotations"> </td>
283
<div class="refsect3">
284
<a name="id-1.4.70.9.4.6"></a><h4>Returns</h4>
285
<p> the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--domain" title="The “domain” property"><span class="type">“domain”</span></a> property</p>
288
<p class="since">Since 0.19.0</p>
291
<div class="refsect2">
292
<a name="tp-debug-message-get-category"></a><h3>tp_debug_message_get_category ()</h3>
293
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
294
tp_debug_message_get_category (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
295
<p>Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--category" title="The “category” property"><span class="type">“category”</span></a> property</p>
296
<div class="refsect3">
297
<a name="id-1.4.70.9.5.5"></a><h4>Parameters</h4>
298
<div class="informaltable"><table width="100%" border="0">
300
<col width="150px" class="parameters_name">
301
<col class="parameters_description">
302
<col width="200px" class="parameters_annotations">
305
<td class="parameter_name"><p>self</p></td>
306
<td class="parameter_description"><p>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a></p></td>
307
<td class="parameter_annotations"> </td>
311
<div class="refsect3">
312
<a name="id-1.4.70.9.5.6"></a><h4>Returns</h4>
313
<p> the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--category" title="The “category” property"><span class="type">“category”</span></a> property</p>
316
<p class="since">Since 0.19.0</p>
319
<div class="refsect2">
320
<a name="tp-debug-message-get-level"></a><h3>tp_debug_message_get_level ()</h3>
321
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#GLogLevelFlags"><span class="returnvalue">GLogLevelFlags</span></a>
322
tp_debug_message_get_level (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
323
<p>Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--level" title="The “level” property"><span class="type">“level”</span></a> property</p>
324
<div class="refsect3">
325
<a name="id-1.4.70.9.6.5"></a><h4>Parameters</h4>
326
<div class="informaltable"><table width="100%" border="0">
328
<col width="150px" class="parameters_name">
329
<col class="parameters_description">
330
<col width="200px" class="parameters_annotations">
333
<td class="parameter_name"><p>self</p></td>
334
<td class="parameter_description"><p>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a></p></td>
335
<td class="parameter_annotations"> </td>
339
<div class="refsect3">
340
<a name="id-1.4.70.9.6.6"></a><h4>Returns</h4>
341
<p> the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--level" title="The “level” property"><span class="type">“level”</span></a> property</p>
344
<p class="since">Since 0.19.0</p>
347
<div class="refsect2">
348
<a name="tp-debug-message-get-message"></a><h3>tp_debug_message_get_message ()</h3>
349
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
350
tp_debug_message_get_message (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
351
<p>Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--message" title="The “message” property"><span class="type">“message”</span></a> property</p>
352
<div class="refsect3">
353
<a name="id-1.4.70.9.7.5"></a><h4>Parameters</h4>
354
<div class="informaltable"><table width="100%" border="0">
356
<col width="150px" class="parameters_name">
357
<col class="parameters_description">
358
<col width="200px" class="parameters_annotations">
361
<td class="parameter_name"><p>self</p></td>
362
<td class="parameter_description"><p>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a></p></td>
363
<td class="parameter_annotations"> </td>
367
<div class="refsect3">
368
<a name="id-1.4.70.9.7.6"></a><h4>Returns</h4>
369
<p> the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--message" title="The “message” property"><span class="type">“message”</span></a> property</p>
372
<p class="since">Since 0.19.0</p>
375
<div class="refsect2">
376
<a name="tp-debug-message-get-time"></a><h3>tp_debug_message_get_time ()</h3>
377
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> *
378
tp_debug_message_get_time (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
379
<p>Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--time" title="The “time” property"><span class="type">“time”</span></a> property</p>
380
<div class="refsect3">
381
<a name="id-1.4.70.9.8.5"></a><h4>Parameters</h4>
382
<div class="informaltable"><table width="100%" border="0">
384
<col width="150px" class="parameters_name">
385
<col class="parameters_description">
386
<col width="200px" class="parameters_annotations">
389
<td class="parameter_name"><p>self</p></td>
390
<td class="parameter_description"><p>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a></p></td>
391
<td class="parameter_annotations"> </td>
395
<div class="refsect3">
396
<a name="id-1.4.70.9.8.6"></a><h4>Returns</h4>
397
<p> the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--time" title="The “time” property"><span class="type">“time”</span></a> property. </p>
398
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
400
<p class="since">Since 0.19.0</p>
403
<div class="refsect1">
404
<a name="TpDebugMessage.other_details"></a><h2>Types and Values</h2>
405
<div class="refsect2">
406
<a name="TpDebugMessage-struct"></a><h3>struct TpDebugMessage</h3>
407
<pre class="programlisting">struct TpDebugMessage;</pre>
408
<p>Data structure representing a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>.</p>
82
<a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> is a small object used to represent a debug message receive
83
from a Telepathy component using <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a>.
86
See also: <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a>
89
<div class="refsect1">
90
<a name="TpDebugMessage.details"></a><h2>Details</h2>
91
<div class="refsect2">
92
<a name="TpDebugMessage-struct"></a><h3>TpDebugMessage</h3>
93
<pre class="programlisting">typedef struct _TpDebugMessage TpDebugMessage;</pre>
95
Data structure representing a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>.
409
97
<p class="since">Since 0.19.0</p>
414
102
<pre class="programlisting">struct TpDebugMessageClass {
417
<p>The class of a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>.</p>
106
The class of a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>.
108
<p class="since">Since 0.19.0</p>
111
<div class="refsect2">
112
<a name="tp-debug-client-get-messages-async"></a><h3>tp_debug_client_get_messages_async ()</h3>
113
<pre class="programlisting"><span class="returnvalue">void</span> tp_debug_client_get_messages_async (<em class="parameter"><code><a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a> *self</code></em>,
114
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html#GAsyncReadyCallback"><span class="type">GAsyncReadyCallback</span></a> callback</code></em>,
115
<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>);</pre>
117
Retrieve buffered messages from <em class="parameter"><code>self</code></em>. Once <em class="parameter"><code>callback</code></em> is called,
118
use <a class="link" href="TpDebugMessage.html#tp-debug-client-get-messages-finish" title="tp_debug_client_get_messages_finish ()"><code class="function">tp_debug_client_get_messages_finish()</code></a> to retrieve the <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>
121
<div class="variablelist"><table border="0" class="variablelist">
123
<col align="left" valign="top">
128
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
129
<td>a <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a>
133
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
134
<td>callback to call when the messages have been retrieved</td>
137
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
138
<td>data to pass to <em class="parameter"><code>callback</code></em>
143
<p class="since">Since 0.19.0</p>
146
<div class="refsect2">
147
<a name="tp-debug-client-get-messages-finish"></a><h3>tp_debug_client_get_messages_finish ()</h3>
148
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="returnvalue">GPtrArray</span></a> * tp_debug_client_get_messages_finish (<em class="parameter"><code><a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a> *self</code></em>,
149
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
150
<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>
152
Finishes <a class="link" href="TpDebugClient.html#tp-debug-client-set-enabled-async" title="tp_debug_client_set_enabled_async ()"><code class="function">tp_debug_client_set_enabled_async()</code></a>.
154
<div class="variablelist"><table border="0" class="variablelist">
156
<col align="left" valign="top">
161
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
162
<td>a <a class="link" href="TpDebugClient.html" title="TpDebugClient"><span class="type">TpDebugClient</span></a>
166
<td><p><span class="term"><em class="parameter"><code>result</code></em> :</span></p></td>
167
<td>a <a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a>
171
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
172
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> to fill</td>
175
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
176
<td>a <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#GPtrArray"><span class="type">GPtrArray</span></a> of <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>, free with <a href="http://library.gnome.org/devel/glib/unstable/glib-Pointer-Arrays.html#g-ptr-array-unref"><code class="function">g_ptr_array_unref()</code></a>. <span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GLib.PtrArray][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> TelepathyGLib.DebugMessage]</span>
181
<p class="since">Since 0.19.0</p>
184
<div class="refsect2">
185
<a name="tp-debug-message-get-domain"></a><h3>tp_debug_message_get_domain ()</h3>
186
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * tp_debug_message_get_domain (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
188
Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--domain" title='The "domain" property'><span class="type">"domain"</span></a> property
190
<div class="variablelist"><table border="0" class="variablelist">
192
<col align="left" valign="top">
197
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
198
<td>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>
202
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
203
<td>the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--domain" title='The "domain" property'><span class="type">"domain"</span></a> property</td>
207
<p class="since">Since 0.19.0</p>
210
<div class="refsect2">
211
<a name="tp-debug-message-get-category"></a><h3>tp_debug_message_get_category ()</h3>
212
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * tp_debug_message_get_category (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
214
Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--category" title='The "category" property'><span class="type">"category"</span></a> property
216
<div class="variablelist"><table border="0" class="variablelist">
218
<col align="left" valign="top">
223
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
224
<td>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>
228
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
229
<td>the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--category" title='The "category" property'><span class="type">"category"</span></a> property</td>
233
<p class="since">Since 0.19.0</p>
236
<div class="refsect2">
237
<a name="tp-debug-message-get-level"></a><h3>tp_debug_message_get_level ()</h3>
238
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#GLogLevelFlags"><span class="returnvalue">GLogLevelFlags</span></a> tp_debug_message_get_level (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
240
Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--level" title='The "level" property'><span class="type">"level"</span></a> property
242
<div class="variablelist"><table border="0" class="variablelist">
244
<col align="left" valign="top">
249
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
250
<td>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>
254
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
255
<td>the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--level" title='The "level" property'><span class="type">"level"</span></a> property</td>
259
<p class="since">Since 0.19.0</p>
262
<div class="refsect2">
263
<a name="tp-debug-message-get-message"></a><h3>tp_debug_message_get_message ()</h3>
264
<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * tp_debug_message_get_message (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
266
Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--message" title='The "message" property'><span class="type">"message"</span></a> property
268
<div class="variablelist"><table border="0" class="variablelist">
270
<col align="left" valign="top">
275
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
276
<td>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>
280
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
281
<td>the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--message" title='The "message" property'><span class="type">"message"</span></a> property</td>
285
<p class="since">Since 0.19.0</p>
288
<div class="refsect2">
289
<a name="tp-debug-message-get-time"></a><h3>tp_debug_message_get_time ()</h3>
290
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> * tp_debug_message_get_time (<em class="parameter"><code><a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a> *self</code></em>);</pre>
292
Return the <a class="link" href="TpDebugMessage.html#TpDebugMessage--time" title='The "time" property'><span class="type">"time"</span></a> property
294
<div class="variablelist"><table border="0" class="variablelist">
296
<col align="left" valign="top">
301
<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td>
302
<td>a <a class="link" href="TpDebugMessage.html" title="TpDebugMessage"><span class="type">TpDebugMessage</span></a>
306
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
307
<td>the value of <a class="link" href="TpDebugMessage.html#TpDebugMessage--time" title='The "time" property'><span class="type">"time"</span></a> property. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
418
312
<p class="since">Since 0.19.0</p>
421
315
<div class="refsect1">
422
316
<a name="TpDebugMessage.property-details"></a><h2>Property Details</h2>
423
317
<div class="refsect2">
424
<a name="TpDebugMessage--category"></a><h3>The <code class="literal">“category”</code> property</h3>
425
<pre class="programlisting"> “category” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
426
<p>Category of the debug message, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none was specified.</p>
428
<p>Default value: NULL</p>
429
<p class="since">Since 0.19.0</p>
432
<div class="refsect2">
433
<a name="TpDebugMessage--domain"></a><h3>The <code class="literal">“domain”</code> property</h3>
434
<pre class="programlisting"> “domain” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
435
<p>Domain of the debug message.</p>
437
<p>Default value: NULL</p>
438
<p class="since">Since 0.19.0</p>
441
<div class="refsect2">
442
<a name="TpDebugMessage--level"></a><h3>The <code class="literal">“level”</code> property</h3>
443
<pre class="programlisting"> “level” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a></pre>
444
<p>A <a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#GLogLevelFlags"><span class="type">GLogLevelFlags</span></a> representing the level of the debug message.</p>
318
<a name="TpDebugMessage--category"></a><h3>The <code class="literal">"category"</code> property</h3>
319
<pre class="programlisting"> "category" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
321
Category of the debug message, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if none was specified.
323
<p>Default value: NULL</p>
324
<p class="since">Since 0.19.0</p>
327
<div class="refsect2">
328
<a name="TpDebugMessage--domain"></a><h3>The <code class="literal">"domain"</code> property</h3>
329
<pre class="programlisting"> "domain" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
331
Domain of the debug message.
333
<p>Default value: NULL</p>
334
<p class="since">Since 0.19.0</p>
337
<div class="refsect2">
338
<a name="TpDebugMessage--level"></a><h3>The <code class="literal">"level"</code> property</h3>
339
<pre class="programlisting"> "level" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> : Read</pre>
341
A <a href="http://library.gnome.org/devel/glib/unstable/glib-Message-Logging.html#GLogLevelFlags"><span class="type">GLogLevelFlags</span></a> representing the level of the debug message.
446
343
<p>Allowed values: <= 4294967292</p>
447
344
<p>Default value: 0</p>
448
345
<p class="since">Since 0.19.0</p>
451
348
<div class="refsect2">
452
<a name="TpDebugMessage--message"></a><h3>The <code class="literal">“message”</code> property</h3>
453
<pre class="programlisting"> “message” <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
454
<p>Text of the debug message, stripped from its trailing whitespaces.</p>
349
<a name="TpDebugMessage--message"></a><h3>The <code class="literal">"message"</code> property</h3>
350
<pre class="programlisting"> "message" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read</pre>
352
Text of the debug message, stripped from its trailing whitespaces.
456
354
<p>Default value: NULL</p>
457
355
<p class="since">Since 0.19.0</p>
460
358
<div class="refsect2">
461
<a name="TpDebugMessage--time"></a><h3>The <code class="literal">“time”</code> property</h3>
462
<pre class="programlisting"> “time” <a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *</pre>
463
<p>Timestamp of the debug message.</p>
359
<a name="TpDebugMessage--time"></a><h3>The <code class="literal">"time"</code> property</h3>
360
<pre class="programlisting"> "time" <a href="http://library.gnome.org/devel/glib/unstable/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a>* : Read</pre>
362
Timestamp of the debug message.
465
364
<p class="since">Since 0.19.0</p>
469
368
<div class="footer">
471
Generated by GTK-Doc V1.20</div>
370
Generated by GTK-Doc V1.19</div>
b'\\ No newline at end of file'