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>GUPnPLastChangeParser: GUPnP A/V Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GUPnP A/V Reference Manual">
<link rel="up" href="ch01.html" title="GUPnP A/V">
<link rel="prev" href="gupnp-av-GUPnPDIDLLiteCreateClass.html" title="GUPnPDIDLLiteCreateClass">
<link rel="next" href="GUPnPCDSLastChangeParser.html" title="GUPnPCDSLastChangeParser">
<meta name="generator" content="GTK-Doc V1.25 (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="#GUPnPLastChangeParser.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#GUPnPLastChangeParser.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="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gupnp-av-GUPnPDIDLLiteCreateClass.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="GUPnPCDSLastChangeParser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="GUPnPLastChangeParser"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GUPnPLastChangeParser.top_of_page"></a>GUPnPLastChangeParser</span></h2>
<p>GUPnPLastChangeParser — A/V LastChange event XML parser</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="GUPnPLastChangeParser.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="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="returnvalue">GUPnPLastChangeParser</span></a> *
</td>
<td class="function_name">
<a class="link" href="GUPnPLastChangeParser.html#gupnp-last-change-parser-new" title="gupnp_last_change_parser_new ()">gupnp_last_change_parser_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GUPnPLastChangeParser.html#gupnp-last-change-parser-parse-last-change-valist" title="gupnp_last_change_parser_parse_last_change_valist ()">gupnp_last_change_parser_parse_last_change_valist</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="GUPnPLastChangeParser.html#gupnp-last-change-parser-parse-last-change" title="gupnp_last_change_parser_parse_last_change ()">gupnp_last_change_parser_parse_last_change</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GUPnPLastChangeParser.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"> </td>
<td class="function_name"><a class="link" href="GUPnPLastChangeParser.html#GUPnPLastChangeParser-struct" title="GUPnPLastChangeParser">GUPnPLastChangeParser</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="GUPnPLastChangeParser.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
    <span class="lineart">╰──</span> GUPnPLastChangeParser
</pre>
</div>
<div class="refsect1">
<a name="GUPnPLastChangeParser.description"></a><h2>Description</h2>
<p><a class="link" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="type">GUPnPLastChangeParser</span></a> parses XML strings from LastChange events that are
generated by AVTransport and RenderingControl services.</p>
</div>
<div class="refsect1">
<a name="GUPnPLastChangeParser.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gupnp-last-change-parser-new"></a><h3>gupnp_last_change_parser_new ()</h3>
<pre class="programlisting"><a class="link" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="returnvalue">GUPnPLastChangeParser</span></a> *
gupnp_last_change_parser_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="gupnp-last-change-parser-new.returns"></a><h4>Returns</h4>
<p> A new <a class="link" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="type">GUPnPLastChangeParser</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-last-change-parser-parse-last-change-valist"></a><h3>gupnp_last_change_parser_parse_last_change_valist ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gupnp_last_change_parser_parse_last_change_valist
                               (<em class="parameter"><code><a class="link" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="type">GUPnPLastChangeParser</span></a> *parser</code></em>,
                                <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> instance_id</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *last_change_xml</code></em>,
                                <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
                                <em class="parameter"><code><span class="type">va_list</span> var_args</code></em>);</pre>
<p>See <a class="link" href="GUPnPLastChangeParser.html#gupnp-last-change-parser-parse-last-change" title="gupnp_last_change_parser_parse_last_change ()"><code class="function">gupnp_last_change_parser_parse_last_change()</code></a>; this version takes a
va_list for use by language bindings.</p>
<div class="refsect3">
<a name="gupnp-last-change-parser-parse-last-change-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>parser</p></td>
<td class="parameter_description"><p>A <a class="link" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="type">GUPnPLastChangeParser</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>instance_id</p></td>
<td class="parameter_description"><p>The ID of the AV instance caller is interested in</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>last_change_xml</p></td>
<td class="parameter_description"><p>The xml from the "LastChange" event to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>var_args</p></td>
<td class="parameter_description"><p>A va_list of tuples of state variable name, state variable type,
and state variable value location, terminated with NULL. The state variable
values should be freed after use</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gupnp-last-change-parser-parse-last-change-valist.returns"></a><h4>Returns</h4>
<p> TRUE on success.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gupnp-last-change-parser-parse-last-change"></a><h3>gupnp_last_change_parser_parse_last_change ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gupnp_last_change_parser_parse_last_change
                               (<em class="parameter"><code><a class="link" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="type">GUPnPLastChangeParser</span></a> *parser</code></em>,
                                <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guint"><span class="type">guint</span></a> instance_id</code></em>,
                                <em class="parameter"><code>const <span class="type">char</span> *last_change_xml</code></em>,
                                <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>,
                                <em class="parameter"><code>...</code></em>);</pre>
<p>Parses the xml fragment from a LastChange event.</p>
<div class="refsect3">
<a name="gupnp-last-change-parser-parse-last-change.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>parser</p></td>
<td class="parameter_description"><p>A <a class="link" href="GUPnPLastChangeParser.html" title="GUPnPLastChangeParser"><span class="type">GUPnPLastChangeParser</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>instance_id</p></td>
<td class="parameter_description"><p>The ID of the AV instance caller is interested in</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>last_change_xml</p></td>
<td class="parameter_description"><p>The xml from the "LastChange" event to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>The location where to store any error, or NULL</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>...</p></td>
<td class="parameter_description"><p>tuples of state variable name, state variable type, and state
variable value location, terminated with NULL. The state variable values
should be freed after use.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gupnp-last-change-parser-parse-last-change.returns"></a><h4>Returns</h4>
<p> TRUE on success.</p>
</div>
</div>
</div>
<div class="refsect1">
<a name="GUPnPLastChangeParser.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GUPnPLastChangeParser-struct"></a><h3>GUPnPLastChangeParser</h3>
<pre class="programlisting">typedef struct _GUPnPLastChangeParser GUPnPLastChangeParser;</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25</div>
</body>
</html>