8
8
<link rel="up" href="reference.html" title="PKCS#11 GObject Bindings">
9
9
<link rel="prev" href="gck-GckAttributes.html" title="GckAttributes">
10
10
<link rel="next" href="gck-GckModule-lists.html" title="GckModule lists">
11
<meta name="generator" content="GTK-Doc V1.18 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
39
39
<a name="gck-GckEnumerator.synopsis"></a><h2>Synopsis</h2>
40
40
<pre class="synopsis">struct <a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator">GckEnumerator</a>;
41
41
<a class="link" href="gck-GckObject.html#GckObject" title="struct GckObject"><span class="returnvalue">GckObject</span></a> * <a class="link" href="gck-GckEnumerator.html#gck-enumerator-next" title="gck_enumerator_next ()">gck_enumerator_next</a> (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
42
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
43
<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>);
42
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
43
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
44
44
<span class="returnvalue">void</span> <a class="link" href="gck-GckEnumerator.html#gck-enumerator-next-async" title="gck_enumerator_next_async ()">gck_enumerator_next_async</a> (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
45
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_objects</code></em>,
46
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
47
<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>,
48
<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>);
49
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gck-GckEnumerator.html#gck-enumerator-next-finish" title="gck_enumerator_next_finish ()">gck_enumerator_next_finish</a> (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
50
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
51
<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>);
52
<a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * <a class="link" href="gck-GckEnumerator.html#gck-enumerator-next-n" title="gck_enumerator_next_n ()">gck_enumerator_next_n</a> (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
53
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_objects</code></em>,
54
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
55
<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>);
45
<em class="parameter"><code><span class="type">gint</span> max_objects</code></em>,
46
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
47
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
48
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);
49
<span class="returnvalue">GList</span> * <a class="link" href="gck-GckEnumerator.html#gck-enumerator-next-finish" title="gck_enumerator_next_finish ()">gck_enumerator_next_finish</a> (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
50
<em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
51
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
52
<span class="returnvalue">GList</span> * <a class="link" href="gck-GckEnumerator.html#gck-enumerator-next-n" title="gck_enumerator_next_n ()">gck_enumerator_next_n</a> (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
53
<em class="parameter"><code><span class="type">gint</span> max_objects</code></em>,
54
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
55
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
58
58
<div class="refsect1">
90
90
<div class="refsect2">
91
91
<a name="gck-enumerator-next"></a><h3>gck_enumerator_next ()</h3>
92
92
<pre class="programlisting"><a class="link" href="gck-GckObject.html#GckObject" title="struct GckObject"><span class="returnvalue">GckObject</span></a> * gck_enumerator_next (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
93
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
94
<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>
93
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
94
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
96
Get the next object in the enumerator, or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there are no more objects.
96
Get the next object in the enumerator, or <code class="literal">NULL</code> if there are no more objects.
99
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is also returned if the function fails. Use the <em class="parameter"><code>error</code></em> to determine
99
<code class="literal">NULL</code> is also returned if the function fails. Use the <em class="parameter"><code>error</code></em> to determine
100
100
whether a failure occurred or not.
102
102
<div class="variablelist"><table border="0">
127
127
<div class="refsect2">
128
128
<a name="gck-enumerator-next-async"></a><h3>gck_enumerator_next_async ()</h3>
129
129
<pre class="programlisting"><span class="returnvalue">void</span> gck_enumerator_next_async (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
130
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_objects</code></em>,
131
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
132
<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>,
133
<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>
130
<em class="parameter"><code><span class="type">gint</span> max_objects</code></em>,
131
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
132
<em class="parameter"><code><span class="type">GAsyncReadyCallback</span> callback</code></em>,
133
<em class="parameter"><code><span class="type">gpointer</span> user_data</code></em>);</pre>
135
135
Get the next set of objects from the enumerator. This operation completes
136
136
asynchronously.The maximum number of objects can be specified with
168
168
<div class="refsect2">
169
169
<a name="gck-enumerator-next-finish"></a><h3>gck_enumerator_next_finish ()</h3>
170
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gck_enumerator_next_finish (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
171
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GAsyncResult.html"><span class="type">GAsyncResult</span></a> *result</code></em>,
172
<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>
170
<pre class="programlisting"><span class="returnvalue">GList</span> * gck_enumerator_next_finish (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
171
<em class="parameter"><code><span class="type">GAsyncResult</span> *result</code></em>,
172
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
174
174
Complete an operation to enumerate next objects.
177
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is also returned if the function fails. Use the <em class="parameter"><code>error</code></em> to determine
177
<code class="literal">NULL</code> is also returned if the function fails. Use the <em class="parameter"><code>error</code></em> to determine
178
178
whether a failure occurred or not.
180
180
<div class="variablelist"><table border="0">
204
204
<div class="refsect2">
205
205
<a name="gck-enumerator-next-n"></a><h3>gck_enumerator_next_n ()</h3>
206
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> * gck_enumerator_next_n (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
207
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> max_objects</code></em>,
208
<em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GCancellable.html"><span class="type">GCancellable</span></a> *cancellable</code></em>,
209
<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>
206
<pre class="programlisting"><span class="returnvalue">GList</span> * gck_enumerator_next_n (<em class="parameter"><code><a class="link" href="gck-GckEnumerator.html#GckEnumerator" title="struct GckEnumerator"><span class="type">GckEnumerator</span></a> *self</code></em>,
207
<em class="parameter"><code><span class="type">gint</span> max_objects</code></em>,
208
<em class="parameter"><code><span class="type">GCancellable</span> *cancellable</code></em>,
209
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
211
211
Get the next set of objects from the enumerator. The maximum number of
212
212
objects can be specified with <em class="parameter"><code>max_objects</code></em>. If -1 is specified, then all
213
213
the remaining objects will be returned.
216
<a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is also returned if the function fails. Use the <em class="parameter"><code>error</code></em> to determine
216
<code class="literal">NULL</code> is also returned if the function fails. Use the <em class="parameter"><code>error</code></em> to determine
217
217
whether a failure occurred or not.
219
219
<div class="variablelist"><table border="0">