1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
<title>Structured Blobs</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
7
<link rel="start" href="index.html" title="GSF Reference Manual">
8
<link rel="up" href="parsers.html" title="Stream Parsers">
9
<link rel="prev" href="GsfClipData.html" title="GsfClipData">
10
<link rel="next" href="misc.html" title="Miscellaneous">
11
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="intro.html" title="Part I. GSF: Introduction">
14
<link rel="part" href="history.html" title="Part II. GSF: History">
15
<link rel="part" href="dependencies.html" title="Part III. GSF: Dependencies">
16
<link rel="part" href="gsf-users.html" title="Part IV. Projects using GSF">
17
<link rel="part" href="api.html" title="Part V. API Reference">
18
<link rel="chapter" href="io.html" title="Basic Input/Output">
19
<link rel="chapter" href="sources.html" title="Stream Sources">
20
<link rel="chapter" href="parsers.html" title="Stream Parsers">
21
<link rel="chapter" href="misc.html" title="Miscellaneous">
22
<link rel="index" href="ix01.html" title="Index">
24
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
27
<td><a accesskey="p" href="GsfClipData.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
28
<td><a accesskey="u" href="parsers.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
29
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
30
<th width="100%" align="center">GSF Reference Manual</th>
31
<td><a accesskey="n" href="misc.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
35
<a href="#desc" class="shortcut">Description</a>
37
<a href="#object_hierarchy" class="shortcut">Object Hierarchy</a></nobr></td></tr>
39
<div class="refentry" lang="en">
40
<a name="gsf-Structured-Blobs"></a><div class="titlepage"></div>
41
<div class="refnamediv"><table width="100%"><tr>
43
<h2><span class="refentrytitle"><a name="top_of_page"></a>Structured Blobs</span></h2>
44
<p>Structured Blobs — </p>
46
<td valign="top" align="right"></td>
48
<div class="refsynopsisdiv">
49
<a name="synopsis"></a><h2>Synopsis</h2>
50
<a name="GsfStructuredBlob"></a><pre class="synopsis">
54
<a href="gsf-Structured-Blobs.html#GsfStructuredBlob-struct">GsfStructuredBlob</a>;
55
gboolean <a href="gsf-Structured-Blobs.html#gsf-structured-blob-write">gsf_structured_blob_write</a> (<a href="gsf-Structured-Blobs.html#GsfStructuredBlob">GsfStructuredBlob</a> *blob,
56
<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *container);
57
<a href="gsf-Structured-Blobs.html#GsfStructuredBlob">GsfStructuredBlob</a>* <a href="gsf-Structured-Blobs.html#gsf-structured-blob-read">gsf_structured_blob_read</a> (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *input);
61
<div class="refsect1" lang="en">
62
<a name="object_hierarchy"></a><h2>Object Hierarchy</h2>
63
<pre class="synopsis">
66
+----<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a>
67
+----<a href="gsf-Infile-reading-structed-files.html#GsfInfile">GsfInfile</a>
68
+----GsfStructuredBlob
71
<div class="refsect1" lang="en">
72
<a name="desc"></a><h2>Description</h2>
77
<div class="refsect1" lang="en">
78
<a name="details"></a><h2>Details</h2>
79
<div class="refsect2" lang="en">
80
<a name="id2578026"></a><h3>
81
<a name="GsfStructuredBlob-struct"></a>GsfStructuredBlob</h3>
82
<a class="indexterm" name="id2578038"></a><pre class="programlisting">typedef struct _GsfStructuredBlob GsfStructuredBlob;</pre>
88
<div class="refsect2" lang="en">
89
<a name="id2578053"></a><h3>
90
<a name="gsf-structured-blob-write"></a>gsf_structured_blob_write ()</h3>
91
<a class="indexterm" name="id2578066"></a><pre class="programlisting">gboolean gsf_structured_blob_write (<a href="gsf-Structured-Blobs.html#GsfStructuredBlob">GsfStructuredBlob</a> *blob,
92
<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *container);</pre>
94
Dumps structured blob <em class="parameter"><code>blob</code></em> onto the <em class="parameter"><code>container</code></em>. Will fail if the output is
95
not an Outfile and blob has multiple streams.</p>
99
<div class="variablelist"><table border="0">
100
<col align="left" valign="top">
104
<span class="term"><em class="parameter"><code>blob</code></em> :</span></td>
110
<span class="term"><em class="parameter"><code>container</code></em> :</span></td>
116
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
117
<td> TRUE on success.
124
<div class="refsect2" lang="en">
125
<a name="id2578161"></a><h3>
126
<a name="gsf-structured-blob-read"></a>gsf_structured_blob_read ()</h3>
127
<a class="indexterm" name="id2578174"></a><pre class="programlisting"><a href="gsf-Structured-Blobs.html#GsfStructuredBlob">GsfStructuredBlob</a>* gsf_structured_blob_read (<a href="gsf-Input-from-unstructured-files.html#GsfInput">GsfInput</a> *input);</pre>
133
<div class="variablelist"><table border="0">
134
<col align="left" valign="top">
138
<span class="term"><em class="parameter"><code>input</code></em> :</span></td>
139
<td> An input (potentially a GsfInfile) holding the blob
144
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
145
<td> a freshly created tree of blobs