File: EBookBackendCache.html

package info (click to toggle)
evolution-data-server 2.30.3-2%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 45,704 kB
  • ctags: 26,968
  • sloc: ansic: 223,692; sh: 10,413; makefile: 2,646; xml: 386; perl: 204; python: 30
file content (420 lines) | stat: -rw-r--r-- 25,662 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>EBookBackendCache</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Evolution-Data-Server Manual: Address Book Backend (libedata-book)">
<link rel="up" href="ch01.html" title="Evolution-Data-Server Manual: Address Book Backend (libedata-book)">
<link rel="prev" href="EBookBackend.html" title="EBookBackend">
<link rel="next" href="libedata-book-e-book-backend-db-cache.html" title="e-book-backend-db-cache">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="EBookBackend.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Evolution-Data-Server Manual: Address Book Backend (libedata-book)</th>
<td><a accesskey="n" href="libedata-book-e-book-backend-db-cache.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#EBookBackendCache.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#EBookBackendCache.description" class="shortcut">Description</a>
                   | 
                  <a href="#EBookBackendCache.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#EBookBackendCache.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="EBookBackendCache">
<a name="EBookBackendCache"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="EBookBackendCache.top_of_page"></a>EBookBackendCache</span></h2>
<p>EBookBackendCache</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="EBookBackendCache.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">                    <a class="link" href="EBookBackendCache.html#EBookBackendCache-struct" title="EBookBackendCache">EBookBackendCache</a>;
<a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="returnvalue">EBookBackendCache</span></a>*  <a class="link" href="EBookBackendCache.html#e-book-backend-cache-new" title="e_book_backend_cache_new ()">e_book_backend_cache_new</a>            (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);
<a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="returnvalue">EContact</span></a>*           <a class="link" href="EBookBackendCache.html#e-book-backend-cache-get-contact" title="e_book_backend_cache_get_contact ()">e_book_backend_cache_get_contact</a>    (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="EBookBackendCache.html#e-book-backend-cache-add-contact" title="e_book_backend_cache_add_contact ()">e_book_backend_cache_add_contact</a>    (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a> *contact</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="EBookBackendCache.html#e-book-backend-cache-remove-contact" title="e_book_backend_cache_remove_contact ()">e_book_backend_cache_remove_contact</a> (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="EBookBackendCache.html#e-book-backend-cache-check-contact" title="e_book_backend_cache_check_contact ()">e_book_backend_cache_check_contact</a>  (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);
<span class="returnvalue">GList</span>*              <a class="link" href="EBookBackendCache.html#e-book-backend-cache-get-contacts" title="e_book_backend_cache_get_contacts ()">e_book_backend_cache_get_contacts</a>   (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *query</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="EBookBackendCache.html#e-book-backend-cache-exists" title="e_book_backend_cache_exists ()">e_book_backend_cache_exists</a>         (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EBookBackendCache.html#e-book-backend-cache-set-populated" title="e_book_backend_cache_set_populated ()">e_book_backend_cache_set_populated</a>  (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>);
<span class="returnvalue">gboolean</span>            <a class="link" href="EBookBackendCache.html#e-book-backend-cache-is-populated" title="e_book_backend_cache_is_populated ()">e_book_backend_cache_is_populated</a>   (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="EBookBackendCache.html#e-book-backend-cache-set-time" title="e_book_backend_cache_set_time ()">e_book_backend_cache_set_time</a>       (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *t</code></em>);
<span class="returnvalue">gchar</span> *             <a class="link" href="EBookBackendCache.html#e-book-backend-cache-get-time" title="e_book_backend_cache_get_time ()">e_book_backend_cache_get_time</a>       (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>);
<span class="returnvalue">GPtrArray</span>*          <a class="link" href="EBookBackendCache.html#e-book-backend-cache-search" title="e_book_backend_cache_search ()">e_book_backend_cache_search</a>         (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *query</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="EBookBackendCache.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  GObject
   +----<a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebackend/libebackend-e-file-cache.html#EFileCache">EFileCache</a>
         +----EBookBackendCache
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="EBookBackendCache.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="EBookBackendCache.html#EBookBackendCache--uri" title='The "uri" property'>uri</a>"                      <span class="type">gchar</span>*                : Read / Write / Construct Only
</pre>
</div>
<div class="refsect1" title="Description">
<a name="EBookBackendCache.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="EBookBackendCache.details"></a><h2>Details</h2>
<div class="refsect2" title="EBookBackendCache">
<a name="EBookBackendCache-struct"></a><h3>EBookBackendCache</h3>
<pre class="programlisting">typedef struct _EBookBackendCache EBookBackendCache;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_new ()">
<a name="e-book-backend-cache-new"></a><h3>e_book_backend_cache_new ()</h3>
<pre class="programlisting"><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="returnvalue">EBookBackendCache</span></a>*  e_book_backend_cache_new            (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
<p>
Creates a new <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> object, which implements a local
cache of <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a> objects, useful for remote backends.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>URI of the backend to be cached.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A new <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_get_contact ()">
<a name="e-book-backend-cache-get-contact"></a><h3>e_book_backend_cache_get_contact ()</h3>
<pre class="programlisting"><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="returnvalue">EContact</span></a>*           e_book_backend_cache_get_contact    (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);</pre>
<p>
Get a cached contact. Note that the returned <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a> will be
newly created, and must be unreffed by the caller when no longer
needed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
<td>a unique contact ID
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A cached <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a>, or <code class="literal">NULL</code> if <em class="parameter"><code>uid</code></em> is not cached.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_add_contact ()">
<a name="e-book-backend-cache-add-contact"></a><h3>e_book_backend_cache_add_contact ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_book_backend_cache_add_contact    (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code><a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a> *contact</code></em>);</pre>
<p>
Adds <em class="parameter"><code>contact</code></em> to <em class="parameter"><code>cache</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>contact</code></em> :</span></p></td>
<td>an <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if the contact was cached successfully, <code class="literal">FALSE</code> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_remove_contact ()">
<a name="e-book-backend-cache-remove-contact"></a><h3>e_book_backend_cache_remove_contact ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_book_backend_cache_remove_contact (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);</pre>
<p>
Removes the contact identified by <em class="parameter"><code>uid</code></em> from <em class="parameter"><code>cache</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
<td>a unique contact ID
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if the contact was found and removed, <code class="literal">FALSE</code> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_check_contact ()">
<a name="e-book-backend-cache-check-contact"></a><h3>e_book_backend_cache_check_contact ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_book_backend_cache_check_contact  (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);</pre>
<p>
Checks if the contact identified by <em class="parameter"><code>uid</code></em> exists in <em class="parameter"><code>cache</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uid</code></em> :</span></p></td>
<td>a unique contact ID
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if the cache contains the contact, <code class="literal">FALSE</code> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_get_contacts ()">
<a name="e-book-backend-cache-get-contacts"></a><h3>e_book_backend_cache_get_contacts ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span>*              e_book_backend_cache_get_contacts   (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *query</code></em>);</pre>
<p>
Returns a list of <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a> elements from <em class="parameter"><code>cache</code></em> matching <em class="parameter"><code>query</code></em>.
When done with the list, the caller must unref the contacts and
free the list.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>query</code></em> :</span></p></td>
<td>an s-expression
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <span class="type">GList</span> of pointers to <a href="/home/mbarnes/local/stable/share/gtk-doc/html/libebook/EContact.html"><span class="type">EContact</span></a>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_exists ()">
<a name="e-book-backend-cache-exists"></a><h3>e_book_backend_cache_exists ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_book_backend_cache_exists         (<em class="parameter"><code>const <span class="type">gchar</span> *uri</code></em>);</pre>
<p>
Checks if an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> exists at <em class="parameter"><code>uri</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td>URI for the cache
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if cache exists, <code class="literal">FALSE</code> if not.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_set_populated ()">
<a name="e-book-backend-cache-set-populated"></a><h3>e_book_backend_cache_set_populated ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_book_backend_cache_set_populated  (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>);</pre>
<p>
Flags <em class="parameter"><code>cache</code></em> as being populated - that is, it is up-to-date on the
contents of the book it's caching.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_is_populated ()">
<a name="e-book-backend-cache-is-populated"></a><h3>e_book_backend_cache_is_populated ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>            e_book_backend_cache_is_populated   (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>);</pre>
<p>
Checks if <em class="parameter"><code>cache</code></em> is populated.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <code class="literal">TRUE</code> if <em class="parameter"><code>cache</code></em> is populated, <code class="literal">FALSE</code> otherwise.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_set_time ()">
<a name="e-book-backend-cache-set-time"></a><h3>e_book_backend_cache_set_time ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                e_book_backend_cache_set_time       (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *t</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>t</code></em> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_get_time ()">
<a name="e-book-backend-cache-get-time"></a><h3>e_book_backend_cache_get_time ()</h3>
<pre class="programlisting"><span class="returnvalue">gchar</span> *             e_book_backend_cache_get_time       (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="e_book_backend_cache_search ()">
<a name="e-book-backend-cache-search"></a><h3>e_book_backend_cache_search ()</h3>
<pre class="programlisting"><span class="returnvalue">GPtrArray</span>*          e_book_backend_cache_search         (<em class="parameter"><code><a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a> *cache</code></em>,
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *query</code></em>);</pre>
<p>
Returns an array of pointers to unique contact ID strings for contacts
in <em class="parameter"><code>cache</code></em> matching <em class="parameter"><code>query</code></em>. When done with the array, the caller must
free the ID strings and the array.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>cache</code></em> :</span></p></td>
<td>an <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>query</code></em> :</span></p></td>
<td>an s-expression
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> A <span class="type">GPtrArray</span> of pointers to contact ID strings.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="EBookBackendCache.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "uri" property'>
<a name="EBookBackendCache--uri"></a><h3>The <code class="literal">"uri"</code> property</h3>
<pre class="programlisting">  "uri"                      <span class="type">gchar</span>*                : Read / Write / Construct Only</pre>
<p></p>
<p>Default value: ""</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>