4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>EBookBackendSExp</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
7
7
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Address Book Backend (libedata-book)">
8
8
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Address Book Backend (libedata-book)">
9
9
<link rel="prev" href="EBookBackendFactory.html" title="EBookBackendFactory">
10
10
<link rel="next" href="EBookBackendSummary.html" title="EBookBackendSummary">
11
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="chapter" href="ch01.html" title="Evolution-Data-Server Manual: Address Book Backend (libedata-book)">
14
<link rel="index" href="ix01.html" title="Index">
16
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
17
15
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
25
23
<tr><td colspan="5" class="shortcuts">
26
24
<a href="#EBookBackendSExp.synopsis" class="shortcut">Top</a>
28
<a href="#EBookBackendSExp.description" class="shortcut">Description</a>
30
<a href="#EBookBackendSExp.object-hierarchy" class="shortcut">Object Hierarchy</a>
26
<a href="#EBookBackendSExp.description" class="shortcut">Description</a>
28
<a href="#EBookBackendSExp.object-hierarchy" class="shortcut">Object Hierarchy</a>
33
<div class="refentry" title="EBookBackendSExp">
31
<div class="refentry" lang="en">
34
32
<a name="EBookBackendSExp"></a><div class="titlepage"></div>
35
33
<div class="refnamediv"><table width="100%"><tr>
40
38
<td valign="top" align="right"></td>
41
39
</tr></table></div>
42
<div class="refsynopsisdiv" title="Synopsis">
40
<div class="refsynopsisdiv">
43
41
<a name="EBookBackendSExp.synopsis"></a><h2>Synopsis</h2>
44
<pre class="synopsis">
45
struct <a class="link" href="EBookBackendSExp.html#EBookBackendSExp-struct" title="struct EBookBackendSExp">EBookBackendSExp</a>;
46
<a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp">EBookBackendSExp</a> * <a class="link" href="EBookBackendSExp.html#e-book-backend-sexp-new" title="e_book_backend_sexp_new ()">e_book_backend_sexp_new</a> (const <a
47
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
50
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
51
>gboolean</a> <a class="link" href="EBookBackendSExp.html#e-book-backend-sexp-match-vcard" title="e_book_backend_sexp_match_vcard ()">e_book_backend_sexp_match_vcard</a> (<a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp">EBookBackendSExp</a> *sexp,
53
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
56
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
57
>gboolean</a> <a class="link" href="EBookBackendSExp.html#e-book-backend-sexp-match-contact" title="e_book_backend_sexp_match_contact ()">e_book_backend_sexp_match_contact</a> (<a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp">EBookBackendSExp</a> *sexp,
59
href="/usr/share/gtk-doc/html/libebook/EContact.html"
60
>EContact</a> *contact);
42
<pre class="synopsis">struct <a class="link" href="EBookBackendSExp.html#EBookBackendSExp-struct" title="struct EBookBackendSExp">EBookBackendSExp</a>;
43
<a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="returnvalue">EBookBackendSExp</span></a> * <a class="link" href="EBookBackendSExp.html#e-book-backend-sexp-new" title="e_book_backend_sexp_new ()">e_book_backend_sexp_new</a> (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);
44
<span class="returnvalue">gboolean</span> <a class="link" href="EBookBackendSExp.html#e-book-backend-sexp-match-vcard" title="e_book_backend_sexp_match_vcard ()">e_book_backend_sexp_match_vcard</a> (<em class="parameter"><code><a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a> *sexp</code></em>,
45
<em class="parameter"><code>const <span class="type">gchar</span> *vcard</code></em>);
46
<span class="returnvalue">gboolean</span> <a class="link" href="EBookBackendSExp.html#e-book-backend-sexp-match-contact" title="e_book_backend_sexp_match_contact ()">e_book_backend_sexp_match_contact</a> (<em class="parameter"><code><a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a> *sexp</code></em>,
47
<em class="parameter"><code><a href="../libebook/EContact.html"><span class="type">EContact</span></a> *contact</code></em>);
63
<div class="refsect1" title="Object Hierarchy">
50
<div class="refsect1" lang="en">
64
51
<a name="EBookBackendSExp.object-hierarchy"></a><h2>Object Hierarchy</h2>
65
52
<pre class="synopsis">
67
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
69
54
+----EBookBackendSExp
72
<div class="refsect1" title="Description">
57
<div class="refsect1" lang="en">
73
58
<a name="EBookBackendSExp.description"></a><h2>Description</h2>
77
<div class="refsect1" title="Details">
62
<div class="refsect1" lang="en">
78
63
<a name="EBookBackendSExp.details"></a><h2>Details</h2>
79
<div class="refsect2" title="struct EBookBackendSExp">
64
<div class="refsect2" lang="en">
80
65
<a name="EBookBackendSExp-struct"></a><h3>struct EBookBackendSExp</h3>
81
66
<pre class="programlisting">struct EBookBackendSExp;</pre>
86
<div class="refsect2" title="e_book_backend_sexp_new ()">
71
<div class="refsect2" lang="en">
87
72
<a name="e-book-backend-sexp-new"></a><h3>e_book_backend_sexp_new ()</h3>
88
<pre class="programlisting"><a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp">EBookBackendSExp</a> * e_book_backend_sexp_new (const <a
89
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
90
>gchar</a> *text);</pre>
73
<pre class="programlisting"><a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="returnvalue">EBookBackendSExp</span></a> * e_book_backend_sexp_new (<em class="parameter"><code>const <span class="type">gchar</span> *text</code></em>);</pre>
92
75
Creates a new <a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a> from <em class="parameter"><code>text</code></em>.</p>
95
76
<div class="variablelist"><table border="0">
96
77
<col align="left" valign="top">
99
80
<td><p><span class="term"><em class="parameter"><code>text</code></em> :</span></p></td>
100
<td> an s-expression to parse
81
<td>an s-expression to parse
112
<div class="refsect2" title="e_book_backend_sexp_match_vcard ()">
93
<div class="refsect2" lang="en">
113
94
<a name="e-book-backend-sexp-match-vcard"></a><h3>e_book_backend_sexp_match_vcard ()</h3>
114
<pre class="programlisting"><a
115
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
116
>gboolean</a> e_book_backend_sexp_match_vcard (<a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp">EBookBackendSExp</a> *sexp,
118
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
119
>gchar</a> *vcard);</pre>
95
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_book_backend_sexp_match_vcard (<em class="parameter"><code><a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a> *sexp</code></em>,
96
<em class="parameter"><code>const <span class="type">gchar</span> *vcard</code></em>);</pre>
121
98
Checks if <em class="parameter"><code>vcard</code></em> matches <em class="parameter"><code>sexp</code></em>.</p>
124
99
<div class="variablelist"><table border="0">
125
100
<col align="left" valign="top">
128
103
<td><p><span class="term"><em class="parameter"><code>sexp</code></em> :</span></p></td>
129
<td> an <a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a>
104
<td>an <a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a>
133
108
<td><p><span class="term"><em class="parameter"><code>vcard</code></em> :</span></p></td>
138
113
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
140
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
141
><code class="literal">TRUE</code></a> if the VCard matches, <a
142
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
143
><code class="literal">FALSE</code></a> otherwise.
114
<td> <code class="literal">TRUE</code> if the VCard matches, <code class="literal">FALSE</code> otherwise.
150
<div class="refsect2" title="e_book_backend_sexp_match_contact ()">
121
<div class="refsect2" lang="en">
151
122
<a name="e-book-backend-sexp-match-contact"></a><h3>e_book_backend_sexp_match_contact ()</h3>
152
<pre class="programlisting"><a
153
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
154
>gboolean</a> e_book_backend_sexp_match_contact (<a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp">EBookBackendSExp</a> *sexp,
156
href="/usr/share/gtk-doc/html/libebook/EContact.html"
157
>EContact</a> *contact);</pre>
123
<pre class="programlisting"><span class="returnvalue">gboolean</span> e_book_backend_sexp_match_contact (<em class="parameter"><code><a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a> *sexp</code></em>,
124
<em class="parameter"><code><a href="../libebook/EContact.html"><span class="type">EContact</span></a> *contact</code></em>);</pre>
159
126
Checks if <em class="parameter"><code>contact</code></em> matches <em class="parameter"><code>sexp</code></em>.</p>
162
127
<div class="variablelist"><table border="0">
163
128
<col align="left" valign="top">
166
131
<td><p><span class="term"><em class="parameter"><code>sexp</code></em> :</span></p></td>
167
<td> an <a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a>
132
<td>an <a class="link" href="EBookBackendSExp.html" title="EBookBackendSExp"><span class="type">EBookBackendSExp</span></a>
171
136
<td><p><span class="term"><em class="parameter"><code>contact</code></em> :</span></p></td>
173
href="/usr/share/gtk-doc/html/libebook/EContact.html"
174
><span class="type">EContact</span></a>
137
<td>an <a href="../libebook/EContact.html"><span class="type">EContact</span></a>
178
141
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
180
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE--CAPS"
181
><code class="literal">TRUE</code></a> if the contact matches, <a
182
href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE--CAPS"
183
><code class="literal">FALSE</code></a> otherwise.
142
<td> <code class="literal">TRUE</code> if the contact matches, <code class="literal">FALSE</code> otherwise.