1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
5
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
6
<title>DMAPRecord</title>
7
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2" />
8
<link rel="home" href="index.html" title="libdmapsharing Reference Manual" />
9
<link rel="up" href="ch04.html" title="Libdmapsharing Objects and Interfaces" />
10
<link rel="prev" href="libdmapsharing-3.0-dmap-share.html" title="DMAPShare" />
11
<link rel="next" href="DMAPRecordFactory.html" title="DMAPRecordFactory" />
12
<meta xmlns="" name="generator" content="GTK-Doc V1.15 (XML mode)" />
13
<link xmlns="" rel="stylesheet" href="style.css" type="text/css" />
16
<table xmlns="" class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
19
<a accesskey="p" href="libdmapsharing-3.0-dmap-share.html">
20
<img src="left.png" width="24" height="24" border="0" alt="Prev" />
24
<a accesskey="u" href="ch04.html">
25
<img src="up.png" width="24" height="24" border="0" alt="Up" />
29
<a accesskey="h" href="index.html">
30
<img src="home.png" width="24" height="24" border="0" alt="Home" />
33
<th width="100%" align="center">libdmapsharing Reference Manual</th>
35
<a accesskey="n" href="DMAPRecordFactory.html">
36
<img src="right.png" width="24" height="24" border="0" alt="Next" />
41
<td colspan="5" class="shortcuts"><a href="#DMAPRecord.synopsis" class="shortcut">Top</a>
43
<a href="#DMAPRecord.description" class="shortcut">Description</a>
45
<a href="#DMAPRecord.object-hierarchy" class="shortcut">Object Hierarchy</a>
47
<a href="#DMAPRecord.prerequisites" class="shortcut">Prerequisites</a></td>
50
<div class="refentry" title="DMAPRecord">
51
<a id="DMAPRecord"></a>
52
<div class="titlepage"></div>
53
<div xmlns="" class="refnamediv">
58
<span xmlns="http://www.w3.org/1999/xhtml" class="refentrytitle"><a id="DMAPRecord.top_of_page"></a>DMAPRecord</span>
62
<td valign="top" align="right"></td>
66
<div class="refsynopsisdiv" title="Synopsis">
67
<a id="DMAPRecord.synopsis"></a>
69
<pre class="synopsis">#define <a class="link" href="DMAPRecord.html#DMAP-TYPE-RECORD:CAPS" title="DMAP_TYPE_RECORD">DMAP_TYPE_RECORD</a>
70
#define <a class="link" href="DMAPRecord.html#DMAP-RECORD:CAPS" title="DMAP_RECORD()">DMAP_RECORD</a> (o)
71
#define <a class="link" href="DMAPRecord.html#IS-DMAP-RECORD:CAPS" title="IS_DMAP_RECORD()">IS_DMAP_RECORD</a> (o)
72
#define <a class="link" href="DMAPRecord.html#DMAP-RECORD-GET-INTERFACE:CAPS" title="DMAP_RECORD_GET_INTERFACE()">DMAP_RECORD_GET_INTERFACE</a> (o)
73
<a class="link" href="DMAPRecord.html#DMAPRecord-struct" title="DMAPRecord">DMAPRecord</a>;
74
<a class="link" href="DMAPRecord.html#DMAPRecordIface" title="DMAPRecordIface">DMAPRecordIface</a>;
75
typedef <a class="link" href="DMAPRecord.html#bitwise" title="bitwise">bitwise</a>;
76
enum <a class="link" href="DMAPRecord.html#DMAPMediaKind" title="enum DMAPMediaKind">DMAPMediaKind</a>;
77
<GTKDOCLINK xmlns="" HREF="GType"><span xmlns="http://www.w3.org/1999/xhtml" class="returnvalue">GType</span></GTKDOCLINK> <a class="link" href="DMAPRecord.html#dmap-record-get-type" title="dmap_record_get_type ()">dmap_record_get_type</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
78
<GTKDOCLINK xmlns="" HREF="GByteArray"><span xmlns="http://www.w3.org/1999/xhtml" class="returnvalue">GByteArray</span></GTKDOCLINK> * <a class="link" href="DMAPRecord.html#dmap-record-to-blob" title="dmap_record_to_blob ()">dmap_record_to_blob</a> (<em class="parameter"><code><a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="type">DMAPRecord</span></a> *record</code></em>);
79
<a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="returnvalue">DMAPRecord</span></a> * <a class="link" href="DMAPRecord.html#dmap-record-set-from-blob" title="dmap_record_set_from_blob ()">dmap_record_set_from_blob</a> (<em class="parameter"><code><a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="type">DMAPRecord</span></a> *record</code></em>,
80
<em class="parameter"><code><GTKDOCLINK xmlns="" HREF="GByteArray"><span xmlns="http://www.w3.org/1999/xhtml" class="type">GByteArray</span></GTKDOCLINK> *blob</code></em>);
83
<div class="refsect1" title="Object Hierarchy">
84
<a id="DMAPRecord.object-hierarchy"></a>
85
<h2>Object Hierarchy</h2>
86
<pre class="synopsis">
87
<GTKDOCLINK xmlns="" HREF="GInterface">GInterface</GTKDOCLINK>
91
<div class="refsect1" title="Prerequisites">
92
<a id="DMAPRecord.prerequisites"></a>
93
<h2>Prerequisites</h2>
96
<GTKDOCLINK xmlns="" HREF="GObject">GObject</GTKDOCLINK>.</p>
98
<div class="refsect1" title="Description">
99
<a id="DMAPRecord.description"></a>
104
<div class="refsect1" title="Details">
105
<a id="DMAPRecord.details"></a>
107
<div class="refsect2" title="DMAP_TYPE_RECORD">
108
<a id="DMAP-TYPE-RECORD:CAPS"></a>
109
<h3>DMAP_TYPE_RECORD</h3>
110
<pre class="programlisting">#define DMAP_TYPE_RECORD (dmap_record_get_type ())
113
The type for <a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="type">DMAPRecord</span></a>.
117
<div class="refsect2" title="DMAP_RECORD()">
118
<a id="DMAP-RECORD:CAPS"></a>
119
<h3>DMAP_RECORD()</h3>
120
<pre class="programlisting">#define DMAP_RECORD(o)</pre>
122
Casts a <a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="type">DMAPRecord</span></a> or derived pointer into a (DMAPRecord *) pointer.
123
Depending on the current debugging level, this function may invoke
124
certain runtime checks to identify invalid casts.
126
<div class="variablelist">
128
<col align="left" valign="top" />
133
<span class="term"><em class="parameter"><code>o</code></em>�:</span>
136
<td>Object which is subject to casting.
144
<div class="refsect2" title="IS_DMAP_RECORD()">
145
<a id="IS-DMAP-RECORD:CAPS"></a>
146
<h3>IS_DMAP_RECORD()</h3>
147
<pre class="programlisting">#define IS_DMAP_RECORD(o)</pre>
149
Checks whether a valid <GTKDOCLINK xmlns="" HREF="GTypeInstance"><span xmlns="http://www.w3.org/1999/xhtml" class="type">GTypeInstance</span></GTKDOCLINK> pointer is of type <a class="link" href="DMAPRecord.html#DMAP-TYPE-RECORD:CAPS" title="DMAP_TYPE_RECORD"><code class="literal">DMAP_TYPE_RECORD</code></a>.
151
<div class="variablelist">
153
<col align="left" valign="top" />
158
<span class="term"><em class="parameter"><code>o</code></em>�:</span>
161
<td>Instance to check for being a <a class="link" href="DMAPRecord.html#DMAP-TYPE-RECORD:CAPS" title="DMAP_TYPE_RECORD"><code class="literal">DMAP_TYPE_RECORD</code></a>.
169
<div class="refsect2" title="DMAP_RECORD_GET_INTERFACE()">
170
<a id="DMAP-RECORD-GET-INTERFACE:CAPS"></a>
171
<h3>DMAP_RECORD_GET_INTERFACE()</h3>
172
<pre class="programlisting">#define DMAP_RECORD_GET_INTERFACE(o)</pre>
175
<div class="variablelist">
177
<col align="left" valign="top" />
182
<span class="term"><em class="parameter"><code>o</code></em>�:</span>
193
<div class="refsect2" title="DMAPRecord">
194
<a id="DMAPRecord-struct"></a>
196
<pre class="programlisting">typedef struct _DMAPRecord DMAPRecord;</pre>
201
<div class="refsect2" title="DMAPRecordIface">
202
<a id="DMAPRecordIface"></a>
203
<h3>DMAPRecordIface</h3>
204
<pre class="programlisting">typedef struct {
205
GTypeInterface parent;
207
GByteArray *(*to_blob) (DMAPRecord * record);
208
DMAPRecord *(*set_from_blob) (DMAPRecord * record, GByteArray * blob);
215
<div class="refsect2" title="bitwise">
218
<pre class="programlisting">typedef unsigned long long bitwise;
224
<div class="refsect2" title="enum DMAPMediaKind">
225
<a id="DMAPMediaKind"></a>
226
<h3>enum DMAPMediaKind</h3>
227
<pre class="programlisting">typedef enum
229
DMAP_MEDIA_KIND_MUSIC = 1,
230
DMAP_MEDIA_KIND_MOVIE = 2
237
<div class="refsect2" title="dmap_record_get_type ()">
238
<a id="dmap-record-get-type"></a>
239
<h3>dmap_record_get_type ()</h3>
240
<pre class="programlisting"><GTKDOCLINK xmlns="" HREF="GType"><span xmlns="http://www.w3.org/1999/xhtml" class="returnvalue">GType</span></GTKDOCLINK> dmap_record_get_type (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
243
<div class="variablelist">
245
<col align="left" valign="top" />
250
<span class="term"><span class="emphasis"><em>Returns</em></span>�:</span>
261
<div class="refsect2" title="dmap_record_to_blob ()">
262
<a id="dmap-record-to-blob"></a>
263
<h3>dmap_record_to_blob ()</h3>
264
<pre class="programlisting"><GTKDOCLINK xmlns="" HREF="GByteArray"><span xmlns="http://www.w3.org/1999/xhtml" class="returnvalue">GByteArray</span></GTKDOCLINK> * dmap_record_to_blob (<em class="parameter"><code><a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="type">DMAPRecord</span></a> *record</code></em>);</pre>
265
<div class="variablelist">
267
<col align="left" valign="top" />
272
<span class="term"><em class="parameter"><code>record</code></em>�:</span>
281
<span class="term"><span class="emphasis"><em>Returns</em></span>�:</span>
284
<td> A byte array representation of the record.
292
<div class="refsect2" title="dmap_record_set_from_blob ()">
293
<a id="dmap-record-set-from-blob"></a>
294
<h3>dmap_record_set_from_blob ()</h3>
295
<pre class="programlisting"><a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="returnvalue">DMAPRecord</span></a> * dmap_record_set_from_blob (<em class="parameter"><code><a class="link" href="DMAPRecord.html" title="DMAPRecord"><span class="type">DMAPRecord</span></a> *record</code></em>,
296
<em class="parameter"><code><GTKDOCLINK xmlns="" HREF="GByteArray"><span xmlns="http://www.w3.org/1999/xhtml" class="type">GByteArray</span></GTKDOCLINK> *blob</code></em>);</pre>
299
<div class="variablelist">
301
<col align="left" valign="top" />
306
<span class="term"><em class="parameter"><code>record</code></em>�:</span>
315
<span class="term"><em class="parameter"><code>blob</code></em>�:</span>
324
<span class="term"><span class="emphasis"><em>Returns</em></span>�:</span>
336
<div xmlns="" class="footer"><hr />
337
Generated by GTK-Doc V1.15</div>
b'\\ No newline at end of file'