~ubuntu-branches/ubuntu/saucy/evolution-data-server/saucy

« back to all changes in this revision

Viewing changes to docs/reference/addressbook/libedata-book/html/EBookBackendCache.html

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-10-08 12:58:16 UTC
  • mfrom: (181.1.7 quantal)
  • Revision ID: package-import@ubuntu.com-20121008125816-i3n76e8c0m64e7xp
Tags: 3.6.0-0ubuntu2
* Fix LP: #1038047 part 1 - Don't abort in e_source_registry_new* when a
  problem occurs connecting to the Dbus service
  - add debian/patches/dont-abort-in-e_source_registry_new.patch
  - update debian/patches/series
* Fix LP: #1038047 part 2 - libedataserver depends on
  evolution-data-server-common to ensure that the GSettings schemas are
  present
  - update debian/control

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
<a name="EBookBackendCache.synopsis"></a><h2>Synopsis</h2>
42
42
<pre class="synopsis">struct              <a class="link" href="EBookBackendCache.html#EBookBackendCache-struct" title="struct EBookBackendCache">EBookBackendCache</a>;
43
43
<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> *filename</code></em>);
44
 
<span class="returnvalue">EContact</span> *          <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>,
 
44
<a href="../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>,
45
45
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);
46
46
<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>,
47
 
                                                         <em class="parameter"><code><span class="type">EContact</span> *contact</code></em>);
 
47
                                                         <em class="parameter"><code><a href="../libebook/EContact.html"><span class="type">EContact</span></a> *contact</code></em>);
48
48
<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>,
49
49
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);
50
50
<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>,
64
64
<a name="EBookBackendCache.object-hierarchy"></a><h2>Object Hierarchy</h2>
65
65
<pre class="synopsis">
66
66
  GObject
67
 
   +----EFileCache
 
67
   +----<a href="../libebackend/EFileCache.html">EFileCache</a>
68
68
         +----EBookBackendCache
69
69
</pre>
70
70
</div>
83
83
<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> *filename</code></em>);</pre>
84
84
<p>
85
85
Creates a new <a class="link" href="EBookBackendCache.html" title="EBookBackendCache"><span class="type">EBookBackendCache</span></a>, which implements a local cache of
86
 
<span class="type">EContact</span> objects, useful for remote backends.
 
86
<a href="../libebook/EContact.html"><span class="type">EContact</span></a> objects, useful for remote backends.
87
87
</p>
88
88
<div class="variablelist"><table border="0">
89
89
<col align="left" valign="top">
103
103
<hr>
104
104
<div class="refsect2">
105
105
<a name="e-book-backend-cache-get-contact"></a><h3>e_book_backend_cache_get_contact ()</h3>
106
 
<pre class="programlisting"><span class="returnvalue">EContact</span> *          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>,
 
106
<pre class="programlisting"><a href="../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>,
107
107
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *uid</code></em>);</pre>
108
108
<p>
109
 
Get a cached contact. Note that the returned <span class="type">EContact</span> will be
 
109
Get a cached contact. Note that the returned <a href="../libebook/EContact.html"><span class="type">EContact</span></a> will be
110
110
newly created, and must be unreffed by the caller when no longer
111
111
needed.
112
112
</p>
124
124
</tr>
125
125
<tr>
126
126
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
127
 
<td>A cached <span class="type">EContact</span>, or <code class="literal">NULL</code> if <em class="parameter"><code>uid</code></em> is not cached.</td>
 
127
<td>A cached <a href="../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>
128
128
</tr>
129
129
</tbody>
130
130
</table></div>
133
133
<div class="refsect2">
134
134
<a name="e-book-backend-cache-add-contact"></a><h3>e_book_backend_cache_add_contact ()</h3>
135
135
<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>,
136
 
                                                         <em class="parameter"><code><span class="type">EContact</span> *contact</code></em>);</pre>
 
136
                                                         <em class="parameter"><code><a href="../libebook/EContact.html"><span class="type">EContact</span></a> *contact</code></em>);</pre>
137
137
<p>
138
138
Adds <em class="parameter"><code>contact</code></em> to <em class="parameter"><code>cache</code></em>.
139
139
</p>
147
147
</tr>
148
148
<tr>
149
149
<td><p><span class="term"><em class="parameter"><code>contact</code></em> :</span></p></td>
150
 
<td>an <span class="type">EContact</span>
 
150
<td>an <a href="../libebook/EContact.html"><span class="type">EContact</span></a>
151
151
</td>
152
152
</tr>
153
153
<tr>
220
220
<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>,
221
221
                                                         <em class="parameter"><code>const <span class="type">gchar</span> *query</code></em>);</pre>
222
222
<p>
223
 
Returns a list of <span class="type">EContact</span> elements from <em class="parameter"><code>cache</code></em> matching <em class="parameter"><code>query</code></em>.
 
223
Returns a list of <a href="../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>.
224
224
When done with the list, the caller must unref the contacts and
225
225
free the list.
226
226
</p>
238
238
</tr>
239
239
<tr>
240
240
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
241
 
<td>A <span class="type">GList</span> of pointers to <span class="type">EContact</span>.</td>
 
241
<td>A <span class="type">GList</span> of pointers to <a href="../libebook/EContact.html"><span class="type">EContact</span></a>.</td>
242
242
</tr>
243
243
</tbody>
244
244
</table></div>