~ubuntu-branches/ubuntu/wily/telepathy-glib/wily

« back to all changes in this revision

Viewing changes to docs/reference/html/telepathy-glib-TpIntSet.html

  • Committer: Bazaar Package Importer
  • Author(s): Simon McVittie
  • Date: 2009-03-24 22:06:52 UTC
  • mfrom: (1.3.1 upstream) (17.1.10 sid)
  • Revision ID: james.westby@ubuntu.com-20090324220652-c8dvom0nsqomp23d
Tags: 0.7.28-1
* New upstream version (ABI, API added)
* Put the -dbg package in section debug, as per recent archive changes
* Remove obsolete Conflicts/Replaces with libtelepathy-glib-static-dev, which
  was never in a stable release (and probably never in Debian at all)

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch-utilities.html" title="Utilities">
9
9
<link rel="prev" href="telepathy-glib-debug.html" title="Common debug support">
10
10
<link rel="next" href="telepathy-glib-TpHeap.html" title="TpHeap">
11
 
<meta name="generator" content="GTK-Doc V1.10 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch-dbus.html" title="General D-Bus support">
14
14
<link rel="chapter" href="ch-protocol.html" title="The Telepathy protocol">
27
27
<th width="100%" align="center">telepathy-glib Reference Manual</th>
28
28
<td><a accesskey="n" href="telepathy-glib-TpHeap.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
29
29
</tr>
30
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#telepathy-glib-TpIntSet.synopsis" class="shortcut">Top</a>
31
 
                   | 
32
 
                  <a href="#telepathy-glib-TpIntSet.description" class="shortcut">Description</a></nobr></td></tr>
 
30
<tr><td colspan="5" class="shortcuts">
 
31
<a href="#telepathy-glib-TpIntSet.synopsis" class="shortcut">Top</a>
 
32
                 | 
 
33
                <a href="#telepathy-glib-TpIntSet.description" class="shortcut">Description</a>
 
34
</td></tr>
33
35
</table>
34
36
<div class="refentry" lang="en">
35
37
<a name="telepathy-glib-TpIntSet"></a><div class="titlepage"></div>
48
50
 
49
51
                    <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>;
50
52
void                (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntFunc" title="TpIntFunc ()">*TpIntFunc</a>)                        (<a
51
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
53
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
52
54
>guint</a> i,
53
55
                                                         <a
54
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
56
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
55
57
>gpointer</a> userdata);
56
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-sized-new" title="tp_intset_sized_new ()">tp_intset_sized_new</a>                 (<a
57
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
58
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-sized-new" title="tp_intset_sized_new ()">tp_intset_sized_new</a>                 (<a
 
59
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
58
60
>guint</a> size);
59
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-new" title="tp_intset_new ()">tp_intset_new</a>                       (void);
 
61
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-new" title="tp_intset_new ()">tp_intset_new</a>                       (void);
 
62
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-new-containing" title="tp_intset_new_containing ()">tp_intset_new_containing</a>            (<a
 
63
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
64
>guint</a> element);
60
65
void                <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-destroy" title="tp_intset_destroy ()">tp_intset_destroy</a>                   (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);
61
66
void                <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-clear" title="tp_intset_clear ()">tp_intset_clear</a>                     (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);
62
67
void                <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-add" title="tp_intset_add ()">tp_intset_add</a>                       (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
63
68
                                                         <a
64
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
69
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
65
70
>guint</a> element);
66
71
<a
67
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
72
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
68
73
>gboolean</a>            <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-remove" title="tp_intset_remove ()">tp_intset_remove</a>                    (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
69
74
                                                         <a
70
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
75
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
71
76
>guint</a> element);
72
77
<a
73
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
78
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
74
79
>gboolean</a>            <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-is-member" title="tp_intset_is_member ()">tp_intset_is_member</a>                 (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
75
80
                                                         <a
76
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
81
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
77
82
>guint</a> element);
78
83
void                <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-foreach" title="tp_intset_foreach ()">tp_intset_foreach</a>                   (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
79
84
                                                         <a class="link" href="telepathy-glib-TpIntSet.html#TpIntFunc" title="TpIntFunc ()">TpIntFunc</a> func,
80
85
                                                         <a
81
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
86
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
82
87
>gpointer</a> userdata);
83
88
<a
84
 
href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"
85
 
>GArray</a>*             <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-to-array" title="tp_intset_to_array ()">tp_intset_to_array</a>                  (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);
86
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-from-array" title="tp_intset_from_array ()">tp_intset_from_array</a>                (const <a
87
 
href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"
 
89
href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"
 
90
>GArray</a> *            <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-to-array" title="tp_intset_to_array ()">tp_intset_to_array</a>                  (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);
 
91
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-from-array" title="tp_intset_from_array ()">tp_intset_from_array</a>                (const <a
 
92
href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"
88
93
>GArray</a> *array);
89
94
<a
90
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
95
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
91
96
>guint</a>               <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-size" title="tp_intset_size ()">tp_intset_size</a>                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);
92
97
<a
93
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
98
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
94
99
>gboolean</a>            <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-is-equal" title="tp_intset_is_equal ()">tp_intset_is_equal</a>                  (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
95
100
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
96
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-copy" title="tp_intset_copy ()">tp_intset_copy</a>                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *orig);
97
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-intersection" title="tp_intset_intersection ()">tp_intset_intersection</a>              (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
98
 
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
99
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-union" title="tp_intset_union ()">tp_intset_union</a>                     (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
100
 
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
101
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-difference" title="tp_intset_difference ()">tp_intset_difference</a>                (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
102
 
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
103
 
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-symmetric-difference" title="tp_intset_symmetric_difference ()">tp_intset_symmetric_difference</a>      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
101
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-copy" title="tp_intset_copy ()">tp_intset_copy</a>                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *orig);
 
102
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-intersection" title="tp_intset_intersection ()">tp_intset_intersection</a>              (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
103
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
 
104
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-union" title="tp_intset_union ()">tp_intset_union</a>                     (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
105
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
 
106
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-difference" title="tp_intset_difference ()">tp_intset_difference</a>                (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
107
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
 
108
<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-symmetric-difference" title="tp_intset_symmetric_difference ()">tp_intset_symmetric_difference</a>      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
104
109
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);
105
110
<a
106
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
107
 
>gchar</a>*              <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-dump" title="tp_intset_dump ()">tp_intset_dump</a>                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);
108
 
#define             <a class="link" href="telepathy-glib-TpIntSet.html#TP-INTSET-ITER-INIT:CAPS" title="TP_INTSET_ITER_INIT()">TP_INTSET_ITER_INIT</a>                 (set)
 
111
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
112
>gchar</a> *             <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-dump" title="tp_intset_dump ()">tp_intset_dump</a>                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);
 
113
#define             <a class="link" href="telepathy-glib-TpIntSet.html#TP-INTSET-ITER-INIT--CAPS" title="TP_INTSET_ITER_INIT()">TP_INTSET_ITER_INIT</a>                 (set)
109
114
                    <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSetIter" title="TpIntSetIter">TpIntSetIter</a>;
110
115
<a
111
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
116
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
112
117
>gboolean</a>            <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-iter-next" title="tp_intset_iter_next ()">tp_intset_iter_next</a>                 (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSetIter" title="TpIntSetIter">TpIntSetIter</a> *iter);
113
118
</pre>
114
119
</div>
118
123
A <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet"><span class="type">TpIntSet</span></a> is a set of unsigned integers, implemented as a
119
124
dynamically-allocated bitfield.</p>
120
125
<p>
121
 
 
122
126
</p>
123
127
</div>
124
128
<div class="refsect1" lang="en">
129
133
<p>
130
134
Opaque type representing a set of unsigned integers.</p>
131
135
<p>
132
 
 
133
136
</p>
134
137
</div>
135
138
<hr>
136
139
<div class="refsect2" lang="en">
137
140
<a name="TpIntFunc"></a><h3>TpIntFunc ()</h3>
138
141
<pre class="programlisting">void                (*TpIntFunc)                        (<a
139
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
142
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
140
143
>guint</a> i,
141
144
                                                         <a
142
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
145
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
143
146
>gpointer</a> userdata);</pre>
144
147
<p>
145
148
A callback function acting on unsigned integers.</p>
146
149
<p>
147
 
 
148
150
</p>
149
151
<div class="variablelist"><table border="0">
150
152
<col align="left" valign="top">
165
167
<hr>
166
168
<div class="refsect2" lang="en">
167
169
<a name="tp-intset-sized-new"></a><h3>tp_intset_sized_new ()</h3>
168
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_sized_new                 (<a
169
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
170
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_sized_new                 (<a
 
171
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
170
172
>guint</a> size);</pre>
171
173
<p>
172
174
Allocate an integer set just large enough to store the given number of bits,
177
179
this is just an optimization to avoid wasting memory (if the set is too
178
180
large) or time (if the set is too small and needs reallocation).</p>
179
181
<p>
180
 
 
181
182
</p>
182
183
<div class="variablelist"><table border="0">
183
184
<col align="left" valign="top">
198
199
<hr>
199
200
<div class="refsect2" lang="en">
200
201
<a name="tp-intset-new"></a><h3>tp_intset_new ()</h3>
201
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_new                       (void);</pre>
 
202
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_new                       (void);</pre>
202
203
<p>
203
204
Allocate a new integer set with a default memory allocation.</p>
204
205
<p>
205
 
 
206
206
</p>
207
207
<div class="variablelist"><table border="0">
208
208
<col align="left" valign="top">
215
215
</div>
216
216
<hr>
217
217
<div class="refsect2" lang="en">
 
218
<a name="tp-intset-new-containing"></a><h3>tp_intset_new_containing ()</h3>
 
219
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_new_containing            (<a
 
220
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
 
221
>guint</a> element);</pre>
 
222
<p>
 
223
Allocate a new integer set containing the given integer.</p>
 
224
<p>
 
225
</p>
 
226
<div class="variablelist"><table border="0">
 
227
<col align="left" valign="top">
 
228
<tbody>
 
229
<tr>
 
230
<td><p><span class="term"><em class="parameter"><code>element</code></em> :</span></p></td>
 
231
<td> integer to add to a new set
 
232
</td>
 
233
</tr>
 
234
<tr>
 
235
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
 
236
<td> a new integer set containing <em class="parameter"><code>element</code></em>, to be destroyed with
 
237
<a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-destroy" title="tp_intset_destroy ()"><code class="function">tp_intset_destroy()</code></a>
 
238
 
 
239
<em class="parameter"><code>since</code></em> 0.7.26
 
240
</td>
 
241
</tr>
 
242
</tbody>
 
243
</table></div>
 
244
</div>
 
245
<hr>
 
246
<div class="refsect2" lang="en">
218
247
<a name="tp-intset-destroy"></a><h3>tp_intset_destroy ()</h3>
219
248
<pre class="programlisting">void                tp_intset_destroy                   (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);</pre>
220
249
<p>
221
250
Free all memory used by the set.</p>
222
251
<p>
223
 
 
224
252
</p>
225
253
<div class="variablelist"><table border="0">
226
254
<col align="left" valign="top">
238
266
<p>
239
267
Unset every integer in the set.</p>
240
268
<p>
241
 
 
242
269
</p>
243
270
<div class="variablelist"><table border="0">
244
271
<col align="left" valign="top">
254
281
<a name="tp-intset-add"></a><h3>tp_intset_add ()</h3>
255
282
<pre class="programlisting">void                tp_intset_add                       (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
256
283
                                                         <a
257
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
284
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
258
285
>guint</a> element);</pre>
259
286
<p>
260
287
Add an integer into a TpIntSet.</p>
261
288
<p>
262
 
 
263
289
</p>
264
290
<div class="variablelist"><table border="0">
265
291
<col align="left" valign="top">
281
307
<div class="refsect2" lang="en">
282
308
<a name="tp-intset-remove"></a><h3>tp_intset_remove ()</h3>
283
309
<pre class="programlisting"><a
284
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
310
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
285
311
>gboolean</a>            tp_intset_remove                    (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
286
312
                                                         <a
287
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
313
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
288
314
>guint</a> element);</pre>
289
315
<p>
290
316
Remove an integer from a TpIntSet</p>
291
317
<p>
292
 
 
293
318
</p>
294
319
<div class="variablelist"><table border="0">
295
320
<col align="left" valign="top">
307
332
<tr>
308
333
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
309
334
<td> <a
310
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
335
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
311
336
><code class="literal">TRUE</code></a> if <em class="parameter"><code>element</code></em> was previously in <em class="parameter"><code>set</code></em>
312
337
</td>
313
338
</tr>
318
343
<div class="refsect2" lang="en">
319
344
<a name="tp-intset-is-member"></a><h3>tp_intset_is_member ()</h3>
320
345
<pre class="programlisting"><a
321
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
346
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
322
347
>gboolean</a>            tp_intset_is_member                 (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
323
348
                                                         <a
324
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
349
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
325
350
>guint</a> element);</pre>
326
351
<p>
327
352
Tests if <em class="parameter"><code>element</code></em> is a member of <em class="parameter"><code>set</code></em></p>
328
353
<p>
329
 
 
330
354
</p>
331
355
<div class="variablelist"><table border="0">
332
356
<col align="left" valign="top">
344
368
<tr>
345
369
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
346
370
<td> <a
347
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
371
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
348
372
><code class="literal">TRUE</code></a> if <em class="parameter"><code>element</code></em> is in <em class="parameter"><code>set</code></em>
349
373
</td>
350
374
</tr>
357
381
<pre class="programlisting">void                tp_intset_foreach                   (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set,
358
382
                                                         <a class="link" href="telepathy-glib-TpIntSet.html#TpIntFunc" title="TpIntFunc ()">TpIntFunc</a> func,
359
383
                                                         <a
360
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"
 
384
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"
361
385
>gpointer</a> userdata);</pre>
362
386
<p>
363
387
Call <em class="parameter"><code>func</code></em>(element, <em class="parameter"><code>userdata</code></em>) for each element of <em class="parameter"><code>set</code></em>.</p>
364
388
<p>
365
 
 
366
389
</p>
367
390
<div class="variablelist"><table border="0">
368
391
<col align="left" valign="top">
389
412
<div class="refsect2" lang="en">
390
413
<a name="tp-intset-to-array"></a><h3>tp_intset_to_array ()</h3>
391
414
<pre class="programlisting"><a
392
 
href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"
393
 
>GArray</a>*             tp_intset_to_array                  (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);</pre>
 
415
href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"
 
416
>GArray</a> *            tp_intset_to_array                  (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);</pre>
394
417
<p>
395
418
</p>
396
419
<p>
397
 
 
398
420
</p>
399
421
<div class="variablelist"><table border="0">
400
422
<col align="left" valign="top">
416
438
<hr>
417
439
<div class="refsect2" lang="en">
418
440
<a name="tp-intset-from-array"></a><h3>tp_intset_from_array ()</h3>
419
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_from_array                (const <a
420
 
href="/usr/share/gtk-doc/html/glib/glib-Arrays.html#GArray"
 
441
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_from_array                (const <a
 
442
href="http://library.gnome.org/devel/glib/unstable/glib-Arrays.html#GArray"
421
443
>GArray</a> *array);</pre>
422
444
<p>
423
445
</p>
424
446
<p>
425
 
 
426
447
</p>
427
448
<div class="variablelist"><table border="0">
428
449
<col align="left" valign="top">
444
465
<div class="refsect2" lang="en">
445
466
<a name="tp-intset-size"></a><h3>tp_intset_size ()</h3>
446
467
<pre class="programlisting"><a
447
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
468
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
448
469
>guint</a>               tp_intset_size                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);</pre>
449
470
<p>
450
471
</p>
451
472
<p>
452
 
 
453
473
</p>
454
474
<div class="variablelist"><table border="0">
455
475
<col align="left" valign="top">
471
491
<div class="refsect2" lang="en">
472
492
<a name="tp-intset-is-equal"></a><h3>tp_intset_is_equal ()</h3>
473
493
<pre class="programlisting"><a
474
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
494
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
475
495
>gboolean</a>            tp_intset_is_equal                  (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
476
496
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);</pre>
477
497
<p>
478
498
</p>
479
499
<p>
480
 
 
481
500
</p>
482
501
<div class="variablelist"><table border="0">
483
502
<col align="left" valign="top">
495
514
<tr>
496
515
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
497
516
<td> <a
498
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
517
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
499
518
><code class="literal">TRUE</code></a> if <em class="parameter"><code>left</code></em> and <em class="parameter"><code>right</code></em> contain the same bits
500
519
</td>
501
520
</tr>
505
524
<hr>
506
525
<div class="refsect2" lang="en">
507
526
<a name="tp-intset-copy"></a><h3>tp_intset_copy ()</h3>
508
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_copy                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *orig);</pre>
 
527
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_copy                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *orig);</pre>
509
528
<p>
510
529
</p>
511
530
<p>
512
 
 
513
531
</p>
514
532
<div class="variablelist"><table border="0">
515
533
<col align="left" valign="top">
531
549
<hr>
532
550
<div class="refsect2" lang="en">
533
551
<a name="tp-intset-intersection"></a><h3>tp_intset_intersection ()</h3>
534
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_intersection              (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
552
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_intersection              (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
535
553
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);</pre>
536
554
<p>
537
555
</p>
538
556
<p>
539
 
 
540
557
</p>
541
558
<div class="variablelist"><table border="0">
542
559
<col align="left" valign="top">
564
581
<hr>
565
582
<div class="refsect2" lang="en">
566
583
<a name="tp-intset-union"></a><h3>tp_intset_union ()</h3>
567
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_union                     (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
584
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_union                     (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
568
585
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);</pre>
569
586
<p>
570
587
</p>
571
588
<p>
572
 
 
573
589
</p>
574
590
<div class="variablelist"><table border="0">
575
591
<col align="left" valign="top">
597
613
<hr>
598
614
<div class="refsect2" lang="en">
599
615
<a name="tp-intset-difference"></a><h3>tp_intset_difference ()</h3>
600
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_difference                (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
616
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_difference                (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
601
617
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);</pre>
602
618
<p>
603
619
</p>
604
620
<p>
605
 
 
606
621
</p>
607
622
<div class="variablelist"><table border="0">
608
623
<col align="left" valign="top">
630
645
<hr>
631
646
<div class="refsect2" lang="en">
632
647
<a name="tp-intset-symmetric-difference"></a><h3>tp_intset_symmetric_difference ()</h3>
633
 
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a>*           tp_intset_symmetric_difference      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
 
648
<pre class="programlisting"><a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *          tp_intset_symmetric_difference      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *left,
634
649
                                                         const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *right);</pre>
635
650
<p>
636
651
</p>
637
652
<p>
638
 
 
639
653
</p>
640
654
<div class="variablelist"><table border="0">
641
655
<col align="left" valign="top">
664
678
<div class="refsect2" lang="en">
665
679
<a name="tp-intset-dump"></a><h3>tp_intset_dump ()</h3>
666
680
<pre class="programlisting"><a
667
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
668
 
>gchar</a>*              tp_intset_dump                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);</pre>
 
681
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
 
682
>gchar</a> *             tp_intset_dump                      (const <a class="link" href="telepathy-glib-TpIntSet.html#TpIntSet" title="TpIntSet">TpIntSet</a> *set);</pre>
669
683
<p>
670
684
</p>
671
685
<p>
672
 
 
673
686
</p>
674
687
<div class="variablelist"><table border="0">
675
688
<col align="left" valign="top">
690
703
</div>
691
704
<hr>
692
705
<div class="refsect2" lang="en">
693
 
<a name="TP-INTSET-ITER-INIT:CAPS"></a><h3>TP_INTSET_ITER_INIT()</h3>
 
706
<a name="TP-INTSET-ITER-INIT--CAPS"></a><h3>TP_INTSET_ITER_INIT()</h3>
694
707
<pre class="programlisting">#define TP_INTSET_ITER_INIT(set) { (set), (guint)(-1) }
695
708
</pre>
696
709
<p>
707
720
}
708
721
</pre></div>
709
722
<p>
710
 
 
711
723
</p>
712
724
<div class="variablelist"><table border="0">
713
725
<col align="left" valign="top">
728
740
</pre>
729
741
<p>
730
742
A structure representing iteration over a set of integers. Must be
731
 
initialized with either <a class="link" href="telepathy-glib-TpIntSet.html#TP-INTSET-ITER-INIT:CAPS" title="TP_INTSET_ITER_INIT()"><code class="function">TP_INTSET_ITER_INIT()</code></a> or <code class="function">tp_intset_iter_init()</code>.</p>
 
743
initialized with either <a class="link" href="telepathy-glib-TpIntSet.html#TP-INTSET-ITER-INIT--CAPS" title="TP_INTSET_ITER_INIT()"><code class="function">TP_INTSET_ITER_INIT()</code></a> or <code class="function">tp_intset_iter_init()</code>.</p>
732
744
<p>
733
 
 
734
745
</p>
735
746
<div class="variablelist"><table border="0">
736
747
<col align="left" valign="top">
742
753
</tr>
743
754
<tr>
744
755
<td><p><span class="term"><a
745
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
 
756
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
746
757
>guint</a> <em class="structfield"><code>element</code></em>;</span></p></td>
747
758
<td> Must be (guint)(-1) before iteration starts. Set to the next
748
759
 element in the set by <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-iter-next" title="tp_intset_iter_next ()"><code class="function">tp_intset_iter_next()</code></a>; undefined after
749
760
 <a class="link" href="telepathy-glib-TpIntSet.html#tp-intset-iter-next" title="tp_intset_iter_next ()"><code class="function">tp_intset_iter_next()</code></a> returns <a
750
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
761
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
751
762
><code class="literal">FALSE</code></a>.
752
763
</td>
753
764
</tr>
758
769
<div class="refsect2" lang="en">
759
770
<a name="tp-intset-iter-next"></a><h3>tp_intset_iter_next ()</h3>
760
771
<pre class="programlisting"><a
761
 
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
 
772
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
762
773
>gboolean</a>            tp_intset_iter_next                 (<a class="link" href="telepathy-glib-TpIntSet.html#TpIntSetIter" title="TpIntSetIter">TpIntSetIter</a> *iter);</pre>
763
774
<p>
764
775
If there are integers in (<em class="parameter"><code>iter-&gt;set</code></em>) higher than (<em class="parameter"><code>iter-&gt;element</code></em>), set
765
776
(iter-&gt;element) to the next one and return <a
766
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
777
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
767
778
><code class="literal">TRUE</code></a>. Otherwise return <a
768
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"
 
779
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
769
780
><code class="literal">FALSE</code></a>.
770
781
</p>
771
782
<p>
781
792
}
782
793
</pre></div>
783
794
<p>
784
 
 
785
795
</p>
786
796
<div class="variablelist"><table border="0">
787
797
<col align="left" valign="top">
794
804
<tr>
795
805
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
796
806
<td> <a
797
 
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"
 
807
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
798
808
><code class="literal">TRUE</code></a> if (<em class="parameter"><code>iter-&gt;element</code></em>) has been advanced
799
809
</td>
800
810
</tr>
804
814
</div>
805
815
<div class="refsect1" lang="en">
806
816
<a name="telepathy-glib-TpIntSet.see-also"></a><h2>See Also</h2>
807
 
<a class="link" href="telepathy-glib-handle-repo.html#TpHandleSet" title="TpHandleSet"><span class="type">TpHandleSet</span></a>
 
817
#TpHandleSet
808
818
</div>
809
819
</div>
810
820
<div class="footer">
811
821
<hr>
812
 
          Generated by GTK-Doc V1.10</div>
 
822
          Generated by GTK-Doc V1.11</div>
813
823
</body>
814
824
</html>