42
42
<div class="refsynopsisdiv">
43
43
<a name="UDisksPersistentStore.synopsis"></a><h2>Synopsis</h2>
44
44
<pre class="synopsis"> <a class="link" href="UDisksPersistentStore.html#UDisksPersistentStore-struct" title="UDisksPersistentStore">UDisksPersistentStore</a>;
45
<a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="returnvalue">UDisksPersistentStore</span></a> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-new" title="udisks_persistent_store_new ()">udisks_persistent_store_new</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> *path</code></em>,
46
<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> *temp_path</code></em>);
47
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-get-path" title="udisks_persistent_store_get_path ()">udisks_persistent_store_get_path</a> (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>);
48
const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-get-temp-path" title="udisks_persistent_store_get_temp_path ()">udisks_persistent_store_get_temp_path</a>
45
<a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="returnvalue">UDisksPersistentStore</span></a> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-new" title="udisks_persistent_store_new ()">udisks_persistent_store_new</a> (<em class="parameter"><code>const <span class="type">gchar</span> *path</code></em>,
46
<em class="parameter"><code>const <span class="type">gchar</span> *temp_path</code></em>);
47
const <span class="returnvalue">gchar</span> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-get-path" title="udisks_persistent_store_get_path ()">udisks_persistent_store_get_path</a> (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>);
48
const <span class="returnvalue">gchar</span> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-get-temp-path" title="udisks_persistent_store_get_temp_path ()">udisks_persistent_store_get_temp_path</a>
49
49
(<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>);
50
50
enum <a class="link" href="UDisksPersistentStore.html#UDisksPersistentFlags" title="enum UDisksPersistentFlags">UDisksPersistentFlags</a>;
51
<a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-get" title="udisks_persistent_store_get ()">udisks_persistent_store_get</a> (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
52
<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html#UDisksPersistentFlags" title="enum UDisksPersistentFlags"><span class="type">UDisksPersistentFlags</span></a> flags</code></em>,
53
<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> *key</code></em>,
54
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *type</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>);
56
<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-set" title="udisks_persistent_store_set ()">udisks_persistent_store_set</a> (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
57
<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html#UDisksPersistentFlags" title="enum UDisksPersistentFlags"><span class="type">UDisksPersistentFlags</span></a> flags</code></em>,
58
<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> *key</code></em>,
59
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
60
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>,
61
<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>);
51
<span class="returnvalue">GVariant</span> * <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-get" title="udisks_persistent_store_get ()">udisks_persistent_store_get</a> (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
52
<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html#UDisksPersistentFlags" title="enum UDisksPersistentFlags"><span class="type">UDisksPersistentFlags</span></a> flags</code></em>,
53
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
54
<em class="parameter"><code>const <span class="type">GVariantType</span> *type</code></em>,
55
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
56
<span class="returnvalue">gboolean</span> <a class="link" href="UDisksPersistentStore.html#udisks-persistent-store-set" title="udisks_persistent_store_set ()">udisks_persistent_store_set</a> (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
57
<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html#UDisksPersistentFlags" title="enum UDisksPersistentFlags"><span class="type">UDisksPersistentFlags</span></a> flags</code></em>,
58
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
59
<em class="parameter"><code>const <span class="type">GVariantType</span> *type</code></em>,
60
<em class="parameter"><code><span class="type">GVariant</span> *value</code></em>,
61
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);
64
64
<div class="refsect1">
65
65
<a name="UDisksPersistentStore.object-hierarchy"></a><h2>Object Hierarchy</h2>
66
66
<pre class="synopsis">
67
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
68
68
+----UDisksPersistentStore
71
71
<div class="refsect1">
72
72
<a name="UDisksPersistentStore.properties"></a><h2>Properties</h2>
73
73
<pre class="synopsis">
74
"<a class="link" href="UDisksPersistentStore.html#UDisksPersistentStore--path" title='The "path" property'>path</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
75
"<a class="link" href="UDisksPersistentStore.html#UDisksPersistentStore--temp-path" title='The "temp-path" property'>temp-path</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write / Construct Only
74
"<a class="link" href="UDisksPersistentStore.html#UDisksPersistentStore--path" title='The "path" property'>path</a>" <span class="type">gchar</span>* : Read / Write / Construct Only
75
"<a class="link" href="UDisksPersistentStore.html#UDisksPersistentStore--temp-path" title='The "temp-path" property'>temp-path</a>" <span class="type">gchar</span>* : Read / Write / Construct Only
78
78
<div class="refsect1">
223
223
<div class="refsect2">
224
224
<a name="udisks-persistent-store-get"></a><h3>udisks_persistent_store_get ()</h3>
225
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> * udisks_persistent_store_get (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
225
<pre class="programlisting"><span class="returnvalue">GVariant</span> * udisks_persistent_store_get (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
226
226
<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html#UDisksPersistentFlags" title="enum UDisksPersistentFlags"><span class="type">UDisksPersistentFlags</span></a> flags</code></em>,
227
<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> *key</code></em>,
228
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
229
<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>
227
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
228
<em class="parameter"><code>const <span class="type">GVariantType</span> *type</code></em>,
229
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
231
231
Low-level function to look up the value for <em class="parameter"><code>key</code></em>, if any.
252
252
<td><p><span class="term"><em class="parameter"><code>type</code></em> :</span></p></td>
253
<td>A definite <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a>.</td>
253
<td>A definite <span class="type">GVariantType</span>.</td>
256
256
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
257
<td>Return location for error or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</td>
257
<td>Return location for error or <code class="literal">NULL</code>.</td>
260
260
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
261
<td>The value or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if not found or if <em class="parameter"><code>error</code></em> is set. The
262
returned <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> must be freed with <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#g-variant-unref"><code class="function">g_variant_unref()</code></a>.</td>
261
<td>The value or <code class="literal">NULL</code> if not found or if <em class="parameter"><code>error</code></em> is set. The
262
returned <span class="type">GVariant</span> must be freed with <code class="function">g_variant_unref()</code>.</td>
268
268
<div class="refsect2">
269
269
<a name="udisks-persistent-store-set"></a><h3>udisks_persistent_store_set ()</h3>
270
<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> udisks_persistent_store_set (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
270
<pre class="programlisting"><span class="returnvalue">gboolean</span> udisks_persistent_store_set (<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html" title="UDisksPersistentStore"><span class="type">UDisksPersistentStore</span></a> *store</code></em>,
271
271
<em class="parameter"><code><a class="link" href="UDisksPersistentStore.html#UDisksPersistentFlags" title="enum UDisksPersistentFlags"><span class="type">UDisksPersistentFlags</span></a> flags</code></em>,
272
<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> *key</code></em>,
273
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-GVariantType.html#GVariantType"><span class="type">GVariantType</span></a> *type</code></em>,
274
<em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>,
275
<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>
272
<em class="parameter"><code>const <span class="type">gchar</span> *key</code></em>,
273
<em class="parameter"><code>const <span class="type">GVariantType</span> *type</code></em>,
274
<em class="parameter"><code><span class="type">GVariant</span> *value</code></em>,
275
<em class="parameter"><code><span class="type">GError</span> **error</code></em>);</pre>
277
277
Low-level function that sets the value for <em class="parameter"><code>key</code></em> to <em class="parameter"><code>value</code></em>.