39
39
<a name="libebook-e-book-query.synopsis"></a><h2>Synopsis</h2>
40
40
<pre class="synopsis">typedef <a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery">EBookQuery</a>;
41
41
enum <a class="link" href="libebook-e-book-query.html#EBookQueryTest" title="enum EBookQueryTest">EBookQueryTest</a>;
42
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-from-string" title="e_book_query_from_string ()">e_book_query_from_string</a> (<em class="parameter"><code>const <span class="type">gchar</span> *query_string</code></em>);
43
<span class="returnvalue">gchar</span> * <a class="link" href="libebook-e-book-query.html#e-book-query-to-string" title="e_book_query_to_string ()">e_book_query_to_string</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>);
42
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-from-string" title="e_book_query_from_string ()">e_book_query_from_string</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *query_string</code></em>);
43
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-to-string" title="e_book_query_to_string ()">e_book_query_to_string</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>);
44
44
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-ref" title="e_book_query_ref ()">e_book_query_ref</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>);
45
45
<span class="returnvalue">void</span> <a class="link" href="libebook-e-book-query.html#e-book-query-unref" title="e_book_query_unref ()">e_book_query_unref</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>);
46
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-and" title="e_book_query_and ()">e_book_query_and</a> (<em class="parameter"><code><span class="type">gint</span> nqs</code></em>,
46
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-and" title="e_book_query_and ()">e_book_query_and</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nqs</code></em>,
47
47
<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> **qs</code></em>,
48
<em class="parameter"><code><span class="type">gboolean</span> unref</code></em>);
48
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> unref</code></em>);
49
49
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-andv" title="e_book_query_andv ()">e_book_query_andv</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>,
50
50
<em class="parameter"><code>...</code></em>);
51
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-or" title="e_book_query_or ()">e_book_query_or</a> (<em class="parameter"><code><span class="type">gint</span> nqs</code></em>,
51
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-or" title="e_book_query_or ()">e_book_query_or</a> (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nqs</code></em>,
52
52
<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> **qs</code></em>,
53
<em class="parameter"><code><span class="type">gboolean</span> unref</code></em>);
53
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> unref</code></em>);
54
54
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-orv" title="e_book_query_orv ()">e_book_query_orv</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>,
55
55
<em class="parameter"><code>...</code></em>);
56
56
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-not" title="e_book_query_not ()">e_book_query_not</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>,
57
<em class="parameter"><code><span class="type">gboolean</span> unref</code></em>);
57
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> unref</code></em>);
58
58
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-field-exists" title="e_book_query_field_exists ()">e_book_query_field_exists</a> (<em class="parameter"><code><a class="link" href="EContact.html#EContactField" title="enum EContactField"><span class="type">EContactField</span></a> field</code></em>);
59
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-vcard-field-exists" title="e_book_query_vcard_field_exists ()">e_book_query_vcard_field_exists</a> (<em class="parameter"><code>const <span class="type">gchar</span> *field</code></em>);
59
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-vcard-field-exists" title="e_book_query_vcard_field_exists ()">e_book_query_vcard_field_exists</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *field</code></em>);
60
60
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-field-test" title="e_book_query_field_test ()">e_book_query_field_test</a> (<em class="parameter"><code><a class="link" href="EContact.html#EContactField" title="enum EContactField"><span class="type">EContactField</span></a> field</code></em>,
61
61
<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQueryTest" title="enum EBookQueryTest"><span class="type">EBookQueryTest</span></a> test</code></em>,
62
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);
63
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-vcard-field-test" title="e_book_query_vcard_field_test ()">e_book_query_vcard_field_test</a> (<em class="parameter"><code>const <span class="type">gchar</span> *field</code></em>,
62
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
63
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-vcard-field-test" title="e_book_query_vcard_field_test ()">e_book_query_vcard_field_test</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *field</code></em>,
64
64
<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQueryTest" title="enum EBookQueryTest"><span class="type">EBookQueryTest</span></a> test</code></em>,
65
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);
66
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-any-field-contains" title="e_book_query_any_field_contains ()">e_book_query_any_field_contains</a> (<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);
65
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
66
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-any-field-contains" title="e_book_query_any_field_contains ()">e_book_query_any_field_contains</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);
67
67
<a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * <a class="link" href="libebook-e-book-query.html#e-book-query-copy" title="e_book_query_copy ()">e_book_query_copy</a> (<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> *q</code></em>);
185
185
<div class="refsect2">
186
186
<a name="e-book-query-and"></a><h3>e_book_query_and ()</h3>
187
<pre class="programlisting"><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * e_book_query_and (<em class="parameter"><code><span class="type">gint</span> nqs</code></em>,
187
<pre class="programlisting"><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * e_book_query_and (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nqs</code></em>,
188
188
<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> **qs</code></em>,
189
<em class="parameter"><code><span class="type">gboolean</span> unref</code></em>);</pre>
189
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> unref</code></em>);</pre>
191
191
Create a new <a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> which is the logical AND of the queries in <span class="type">qs</span>.
246
246
<div class="refsect2">
247
247
<a name="e-book-query-or"></a><h3>e_book_query_or ()</h3>
248
<pre class="programlisting"><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * e_book_query_or (<em class="parameter"><code><span class="type">gint</span> nqs</code></em>,
248
<pre class="programlisting"><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * e_book_query_or (<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> nqs</code></em>,
249
249
<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> **qs</code></em>,
250
<em class="parameter"><code><span class="type">gboolean</span> unref</code></em>);</pre>
250
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> unref</code></em>);</pre>
252
252
Creates a new <a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> which is the logical OR of the queries in <span class="type">qs</span>.
413
413
<div class="refsect2">
414
414
<a name="e-book-query-vcard-field-test"></a><h3>e_book_query_vcard_field_test ()</h3>
415
<pre class="programlisting"><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * e_book_query_vcard_field_test (<em class="parameter"><code>const <span class="type">gchar</span> *field</code></em>,
415
<pre class="programlisting"><a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="returnvalue">EBookQuery</span></a> * e_book_query_vcard_field_test (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *field</code></em>,
416
416
<em class="parameter"><code><a class="link" href="libebook-e-book-query.html#EBookQueryTest" title="enum EBookQueryTest"><span class="type">EBookQueryTest</span></a> test</code></em>,
417
<em class="parameter"><code>const <span class="type">gchar</span> *value</code></em>);</pre>
417
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *value</code></em>);</pre>
419
419
Creates a new <a class="link" href="libebook-e-book-query.html#EBookQuery" title="EBookQuery"><span class="type">EBookQuery</span></a> which tests <em class="parameter"><code>field</code></em> for <em class="parameter"><code>value</code></em> using the test <em class="parameter"><code>test</code></em>.