Blob Blame History Raw
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GrlRelatedKeys: Grilo Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Grilo Reference Manual">
<link rel="up" href="data.html" title="Media data">
<link rel="prev" href="GrlData.html" title="GrlData">
<link rel="next" href="GrlMedia.html" title="GrlMedia">
<meta name="generator" content="GTK-Doc V1.28 (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="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#GrlRelatedKeys.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GrlRelatedKeys.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="data.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="GrlData.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GrlMedia.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GrlRelatedKeys"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GrlRelatedKeys.top_of_page"></a>GrlRelatedKeys</span></h2>
<p>GrlRelatedKeys — A class where to store related metadata keys.</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GrlRelatedKeys.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-new" title="grl_related_keys_new ()">grl_related_keys_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-new-valist" title="grl_related_keys_new_valist ()">grl_related_keys_new_valist</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-new-with-keys" title="grl_related_keys_new_with_keys ()">grl_related_keys_new_with_keys</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-dup" title="grl_related_keys_dup ()">grl_related_keys_dup</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">GValue</span> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get" title="grl_related_keys_get ()">grl_related_keys_get</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">guint8</span> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get-binary" title="grl_related_keys_get_binary ()">grl_related_keys_get_binary</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get-boolean" title="grl_related_keys_get_boolean ()">grl_related_keys_get_boolean</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gconstpointer</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get-boxed" title="grl_related_keys_get_boxed ()">grl_related_keys_get_boxed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gfloat</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get-float" title="grl_related_keys_get_float ()">grl_related_keys_get_float</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gint</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get-int" title="grl_related_keys_get_int ()">grl_related_keys_get_int</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">GList</span> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get-keys" title="grl_related_keys_get_keys ()">grl_related_keys_get_keys</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <span class="returnvalue">gchar</span> *
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-get-string" title="grl_related_keys_get_string ()">grl_related_keys_get_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">gboolean</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-has-key" title="grl_related_keys_has_key ()">grl_related_keys_has_key</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-set" title="grl_related_keys_set ()">grl_related_keys_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-set-binary" title="grl_related_keys_set_binary ()">grl_related_keys_set_binary</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-set-boolean" title="grl_related_keys_set_boolean ()">grl_related_keys_set_boolean</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-set-boxed" title="grl_related_keys_set_boxed ()">grl_related_keys_set_boxed</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-set-float" title="grl_related_keys_set_float ()">grl_related_keys_set_float</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-set-int" title="grl_related_keys_set_int ()">grl_related_keys_set_int</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-set-string" title="grl_related_keys_set_string ()">grl_related_keys_set_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="GrlRelatedKeys.html#grl-related-keys-remove" title="grl_related_keys_remove ()">grl_related_keys_remove</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GrlRelatedKeys.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GrlRelatedKeys.html#GrlRelatedKeys-struct" title="struct GrlRelatedKeys">GrlRelatedKeys</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="GrlRelatedKeys.html#GrlRelatedKeysClass" title="struct GrlRelatedKeysClass">GrlRelatedKeysClass</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GrlRelatedKeys.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    GObject
    <span class="lineart">╰──</span> GrlRelatedKeys
</pre>
</div>
<div class="refsect1">
<a name="GrlRelatedKeys.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;grilo.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="GrlRelatedKeys.description"></a><h2>Description</h2>
<p>When handling media keys, like artist, URI, mime-type, and so on, some of
these keys are somewhat related: they do not make sense if they are not
accompanied by other keys.</p>
<p>For instance, media URI and and mime-type are related keys: mime-type does
not make sense if it is not accompanied by an URI. Moreover, for each URI
value, there is a corresponding mime-type value.</p>
<p><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> stores related keys and their values in one place, so user
can handle them in one shot.</p>
</div>
<div class="refsect1">
<a name="GrlRelatedKeys.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="grl-related-keys-new"></a><h3>grl_related_keys_new ()</h3>
<pre class="programlisting"><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
grl_related_keys_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new <a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> instance that can be used to store related
keys and their values.</p>
<div class="refsect3">
<a name="grl-related-keys-new.returns"></a><h4>Returns</h4>
<p> a new object.</p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-new-valist"></a><h3>grl_related_keys_new_valist ()</h3>
<pre class="programlisting"><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
grl_related_keys_new_valist (<em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                             <em class="parameter"><code><span class="type">va_list</span> args</code></em>);</pre>
<p>Creates a new <a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> containing pairs of (key, value). Finish the
list with <code class="literal">NULL</code>.</p>
<p>In case of a binary-type key, the expected element is (key, value, size).</p>
<p>value type will be extracted from key information.</p>
<div class="refsect3">
<a name="grl-related-keys-new-valist.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>first key</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>args</p></td>
<td class="parameter_description"><p><span class="type">va_list</span> of value, followed by (key,value) pairs to insert</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-new-valist.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a></p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-new-with-keys"></a><h3>grl_related_keys_new_with_keys ()</h3>
<pre class="programlisting"><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
grl_related_keys_new_with_keys (<em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                                <em class="parameter"><code>...</code></em>);</pre>
<p>Creates a initial <a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> containing the list of (key, value)
pairs. Finish the list with <code class="literal">NULL</code>.</p>
<p>For more information see <a class="link" href="GrlRelatedKeys.html#grl-related-keys-new-valist" title="grl_related_keys_new_valist ()"><span class="type">grl_related_keys_new_valist</span></a>.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="grl-related-keys-new-with-keys.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>first key</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>value, following by list of (key, value)</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-new-with-keys.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a></p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-dup"></a><h3>grl_related_keys_dup ()</h3>
<pre class="programlisting"><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="returnvalue">GrlRelatedKeys</span></a> *
grl_related_keys_dup (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>);</pre>
<p>Makes a deep copy of <em class="parameter"><code>relkeys</code></em>
 and its contents.</p>
<div class="refsect3">
<a name="grl-related-keys-dup.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to duplicate</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-dup.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a>.
Free it with <span class="type">g_object_unref</span>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get"></a><h3>grl_related_keys_get ()</h3>
<pre class="programlisting">const <span class="returnvalue">GValue</span> *
grl_related_keys_get (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                      <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Get the value associated with <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
. If it does not contain any
value, <code class="literal">NULL</code> will be returned.</p>
<div class="refsect3">
<a name="grl-related-keys-get.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to retrieve value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to look up. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get.returns"></a><h4>Returns</h4>
<p>a <span class="type">GValue</span>. This value should not be modified nor
freed by user. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get-binary"></a><h3>grl_related_keys_get_binary ()</h3>
<pre class="programlisting">const <span class="returnvalue">guint8</span> *
grl_related_keys_get_binary (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                             <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                             <em class="parameter"><code><span class="type">gsize</span> *size</code></em>);</pre>
<p>Returns the value associated with <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
. If <em class="parameter"><code>key</code></em>
 has no value,
or value is not a binary, or <em class="parameter"><code>key</code></em>
 is not in <em class="parameter"><code>relkeys</code></em>
, then 0 is returned.</p>
<div class="refsect3">
<a name="grl-related-keys-get-binary.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to use. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>location to store the buffer size. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get-binary.returns"></a><h4>Returns</h4>
<p> buffer location associated with <em class="parameter"><code>key</code></em>
, or <code class="literal">NULL</code> in other case. If
successful <em class="parameter"><code>size</code></em>
will be set to the buffer size.</p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get-boolean"></a><h3>grl_related_keys_get_boolean ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
grl_related_keys_get_boolean (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                              <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Returns the value associated with <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
. If <em class="parameter"><code>key</code></em>
 has no value,
or value is not a gboolean, or <em class="parameter"><code>key</code></em>
 is not in <em class="parameter"><code>relkeys</code></em>
, then <code class="literal">FALSE</code> is
returned.</p>
<div class="refsect3">
<a name="grl-related-keys-get-boolean.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to use. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get-boolean.returns"></a><h4>Returns</h4>
<p> float value associated with <em class="parameter"><code>key</code></em>
, or <code class="literal">FALSE</code> in other case.</p>
</div>
<p class="since">Since: 0.2.3</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get-boxed"></a><h3>grl_related_keys_get_boxed ()</h3>
<pre class="programlisting"><span class="returnvalue">gconstpointer</span>
grl_related_keys_get_boxed (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                            <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Returns the value associated with <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
. If <em class="parameter"><code>key</code></em>
 has no value,
the value is not of a boxed type, or <em class="parameter"><code>key</code></em>
 is not in <em class="parameter"><code>relkeys</code></em>
, then <code class="literal">NULL</code> is
returned.</p>
<div class="refsect3">
<a name="grl-related-keys-get-boxed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to use</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get-boxed.returns"></a><h4>Returns</h4>
<p>the <a href="/home/toso/dev/share/gtk-doc/html/gobject/gobject-Boxed-Types.html"><span class="type">GBoxed</span></a> value associated with <em class="parameter"><code>key</code></em>
if
possible, or <code class="literal">NULL</code> in other case. The caller should not change nor free the
value. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get-float"></a><h3>grl_related_keys_get_float ()</h3>
<pre class="programlisting"><span class="returnvalue">gfloat</span>
grl_related_keys_get_float (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                            <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Returns the value associated with <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
. If <em class="parameter"><code>key</code></em>
 has no value,
or value is not a gfloat, or <em class="parameter"><code>key</code></em>
 is not in <em class="parameter"><code>relkeys</code></em>
, then 0 is returned.</p>
<div class="refsect3">
<a name="grl-related-keys-get-float.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to use. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get-float.returns"></a><h4>Returns</h4>
<p> float value associated with <em class="parameter"><code>key</code></em>
, or 0 in other case.</p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get-int"></a><h3>grl_related_keys_get_int ()</h3>
<pre class="programlisting"><span class="returnvalue">gint</span>
grl_related_keys_get_int (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                          <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Returns the value associated with <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
. If <em class="parameter"><code>key</code></em>
 has no value,
or value is not a gint, or <em class="parameter"><code>key</code></em>
 is not in <em class="parameter"><code>relkeys</code></em>
, then 0 is returned.</p>
<div class="refsect3">
<a name="grl-related-keys-get-int.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to use. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get-int.returns"></a><h4>Returns</h4>
<p> int value associated with <em class="parameter"><code>key</code></em>
, or 0 in other case.</p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get-keys"></a><h3>grl_related_keys_get_keys ()</h3>
<pre class="programlisting"><span class="returnvalue">GList</span> *
grl_related_keys_get_keys (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>);</pre>
<p>Returns a list with keys contained in <em class="parameter"><code>relkeys</code></em>
.</p>
<div class="refsect3">
<a name="grl-related-keys-get-keys.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get-keys.returns"></a><h4>Returns</h4>
<p>a list with
the keys. The content of the list should not be modified or freed. Use
<code class="function">g_list_free()</code> when done using the list. </p>
<p><span class="annotation">[<acronym title="Free data container after the code is done."><span class="acronym">transfer container</span></acronym>][<acronym title="Generics and defining elements of containers and arrays."><span class="acronym">element-type</span></acronym> GrlKeyID]</span></p>
</div>
<p class="since">Since: 0.1.13</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-get-string"></a><h3>grl_related_keys_get_string ()</h3>
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
grl_related_keys_get_string (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                             <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Returns the value associated with <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
. If <em class="parameter"><code>key</code></em>
 has no value,
or value is not string, or <em class="parameter"><code>key</code></em>
 is not in <em class="parameter"><code>relkeys</code></em>
, then <code class="literal">NULL</code> is returned.</p>
<div class="refsect3">
<a name="grl-related-keys-get-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to use. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-get-string.returns"></a><h4>Returns</h4>
<p> string associated with <em class="parameter"><code>key</code></em>
, or <code class="literal">NULL</code> in other case. Caller should
not change nor free the value.</p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-has-key"></a><h3>grl_related_keys_has_key ()</h3>
<pre class="programlisting"><span class="returnvalue">gboolean</span>
grl_related_keys_has_key (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                          <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Checks if <em class="parameter"><code>key</code></em>
 is in <em class="parameter"><code>relkeys</code></em>
.</p>
<div class="refsect3">
<a name="grl-related-keys-has-key.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to inspect</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to search. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="grl-related-keys-has-key.returns"></a><h4>Returns</h4>
<p> <code class="literal">TRUE</code> if <em class="parameter"><code>key</code></em>
is in <em class="parameter"><code>relkeys</code></em>
, <code class="literal">FALSE</code> in other case.</p>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-set"></a><h3>grl_related_keys_set ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_set (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                      <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                      <em class="parameter"><code>const <span class="type">GValue</span> *value</code></em>);</pre>
<p>Sets the value associated with <em class="parameter"><code>key</code></em>
 into <em class="parameter"><code>relkeys</code></em>
. Old value is freed and
the new one is set.</p>
<p>Also, checks that <em class="parameter"><code>value</code></em>
 is compliant with <em class="parameter"><code>key</code></em>
 specification, modifying it
accordingly. For instance, if <em class="parameter"><code>key</code></em>
 requires a number between 0 and 10, but
value is outside this range, it will be adapted accordingly.</p>
<div class="refsect3">
<a name="grl-related-keys-set.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to change or add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the new value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-set-binary"></a><h3>grl_related_keys_set_binary ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_set_binary (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                             <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                             <em class="parameter"><code>const <span class="type">guint8</span> *buf</code></em>,
                             <em class="parameter"><code><span class="type">gsize</span> size</code></em>);</pre>
<p>Sets the value associated with <em class="parameter"><code>key</code></em>
 into <em class="parameter"><code>relkeys</code></em>
. <em class="parameter"><code>key</code></em>
 must have been
registered as a binary-type key. Old value is replaced by the new one.</p>
<div class="refsect3">
<a name="grl-related-keys-set-binary.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to change or add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>buf</p></td>
<td class="parameter_description"><p>buffer holding the relkeys</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>size of the buffer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-set-boolean"></a><h3>grl_related_keys_set_boolean ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_set_boolean (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                              <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                              <em class="parameter"><code><span class="type">gboolean</span> booleanvalue</code></em>);</pre>
<p>Sets the value associated with <em class="parameter"><code>key</code></em>
 into <em class="parameter"><code>relkeys</code></em>
. <em class="parameter"><code>key</code></em>
 must have been
registered as a boolean-type key. Old value is replaced by the new one.</p>
<div class="refsect3">
<a name="grl-related-keys-set-boolean.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to change or add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>booleanvalue</p></td>
<td class="parameter_description"><p>the new value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.2.3</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-set-boxed"></a><h3>grl_related_keys_set_boxed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_set_boxed (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                            <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                            <em class="parameter"><code><span class="type">gconstpointer</span> boxed</code></em>);</pre>
<p>Sets the value associated with <em class="parameter"><code>key</code></em>
 into <em class="parameter"><code>relkeys</code></em>
. <em class="parameter"><code>key</code></em>
 must have been
registered as a boxed-type key. Old value is freed and the new one is set.</p>
<div class="refsect3">
<a name="grl-related-keys-set-boxed.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to change or add</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>boxed</p></td>
<td class="parameter_description"><p>the new value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.2.0</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-set-float"></a><h3>grl_related_keys_set_float ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_set_float (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                            <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                            <em class="parameter"><code><span class="type">gfloat</span> floatvalue</code></em>);</pre>
<p>Sets the value associated with <em class="parameter"><code>key</code></em>
 into <em class="parameter"><code>relkeys</code></em>
. <em class="parameter"><code>key</code></em>
 must have been
registered as a float-type key. Old value is replaced by the new one.</p>
<div class="refsect3">
<a name="grl-related-keys-set-float.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to change or add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>floatvalue</p></td>
<td class="parameter_description"><p>the new value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-set-int"></a><h3>grl_related_keys_set_int ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_set_int (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                          <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                          <em class="parameter"><code><span class="type">gint</span> intvalue</code></em>);</pre>
<p>Sets the value associated with <em class="parameter"><code>key</code></em>
 into <em class="parameter"><code>relkeys</code></em>
. <em class="parameter"><code>key</code></em>
 must have been
registered as an int-type key. Old value is replaced by the new one.</p>
<div class="refsect3">
<a name="grl-related-keys-set-int.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to change</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to change or add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>intvalue</p></td>
<td class="parameter_description"><p>the new value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-set-string"></a><h3>grl_related_keys_set_string ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_set_string (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                             <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>,
                             <em class="parameter"><code>const <span class="type">gchar</span> *strvalue</code></em>);</pre>
<p>Sets the value associated with <em class="parameter"><code>key</code></em>
 into <em class="parameter"><code>relkeys</code></em>
. <em class="parameter"><code>key</code></em>
 must have been
registered as a strying-type key. Old value is freed and the new one is set.</p>
<div class="refsect3">
<a name="grl-related-keys-set-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to change or add. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>strvalue</p></td>
<td class="parameter_description"><p>the new value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.1.10</p>
</div>
<hr>
<div class="refsect2">
<a name="grl-related-keys-remove"></a><h3>grl_related_keys_remove ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
grl_related_keys_remove (<em class="parameter"><code><a class="link" href="GrlRelatedKeys.html" title="GrlRelatedKeys"><span class="type">GrlRelatedKeys</span></a> *relkeys</code></em>,
                         <em class="parameter"><code><a class="link" href="grilo-grl-metadata-key.html#GrlKeyID" title="GrlKeyID"><span class="type">GrlKeyID</span></a> key</code></em>);</pre>
<p>Removes <em class="parameter"><code>key</code></em>
 from <em class="parameter"><code>relkeys</code></em>
 set.</p>
<div class="refsect3">
<a name="grl-related-keys-remove.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>relkeys</p></td>
<td class="parameter_description"><p>set of related keys</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>key to remove. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> GrlKeyID]</span></td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.2.3</p>
</div>
</div>
<div class="refsect1">
<a name="GrlRelatedKeys.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GrlRelatedKeys-struct"></a><h3>struct GrlRelatedKeys</h3>
<pre class="programlisting">struct GrlRelatedKeys;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GrlRelatedKeysClass"></a><h3>struct GrlRelatedKeysClass</h3>
<pre class="programlisting">struct GrlRelatedKeysClass {
  GObjectClass parent_class;
};
</pre>
<p>Grilo Data Multivalued class</p>
<div class="refsect3">
<a name="GrlRelatedKeysClass.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="GrlRelatedKeys.see-also"></a><h2>See Also</h2>
<p><a class="link" href="GrlRegistry.html" title="GrlRegistry"><span class="type">GrlRegistry</span></a>, <a class="link" href="GrlData.html" title="GrlData"><span class="type">GrlData</span></a></p>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>