You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnucash/lib/libgsf-1.12.3/doc/html/gsf-Outfile-writing-structe...

250 lines
9.7 KiB

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Outfile writing structed files</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
<link rel="start" href="index.html" title="GSF Reference Manual">
<link rel="up" href="sources.html" title="Stream Sources">
<link rel="prev" href="gsf-Infile-reading-structed-files.html" title="Infile reading structed files">
<link rel="next" href="gsf-Reading-and-Writing-from-local-files-and-directories.html" title="Reading and Writing from local files and directories">
<meta name="generator" content="GTK-Doc V1.4 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="into.html" title="Part&#160;I.&#160;GSF Overview">
<link rel="part" href="api.html" title="Part&#160;II.&#160;API Reference">
<link rel="chapter" href="io.html" title="Basic Input/Output">
<link rel="chapter" href="sources.html" title="Stream Sources">
<link rel="chapter" href="parsers.html" title="Stream Parsers">
<link rel="chapter" href="misc.html" title="Miscellaneous">
<link rel="index" href="ix01.html" title="Index">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="gsf-Infile-reading-structed-files.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="sources.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GSF Reference Manual</th>
<td><a accesskey="n" href="gsf-Reading-and-Writing-from-local-files-and-directories.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry" lang="en">
<a name="gsf-Outfile-writing-structed-files"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">Outfile writing structed files</span></h2>
<p>Outfile writing structed files &#8212; </p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<a name="GsfOutfile"></a><pre class="synopsis">
<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile-struct">GsfOutfile</a>;
<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* <a href="gsf-Outfile-writing-structed-files.html#gsf-outfile-new-child">gsf_outfile_new_child</a> (<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *outfile,
char const *name,
gboolean is_dir);
<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* <a href="gsf-Outfile-writing-structed-files.html#gsf-outfile-new-child-full">gsf_outfile_new_child_full</a> (<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *outfile,
char const *name,
gboolean is_dir,
char const *first_property_name,
...);
<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* <a href="gsf-Outfile-writing-structed-files.html#gsf-outfile-new-child-varg">gsf_outfile_new_child_varg</a> (<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *outfile,
char const *name,
gboolean is_dir,
char const *first_property_name,
va_list args);
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2527565"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
GObject
+----<a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>
+----GsfOutfile
+----<a href="gsf-MS-OLE2.html#GsfOutfileMSOle">GsfOutfileMSOle</a>
+----<a href="gsf-Reading-and-Writing-from-local-files-and-directories.html#GsfOutfileStdio">GsfOutfileStdio</a>
+----<a href="gsf-Zip.html#GsfOutfileZip">GsfOutfileZip</a>
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2527617"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2527627"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2527632"></a><h3>
<a name="GsfOutfile-struct"></a>GsfOutfile</h3>
<a class="indexterm" name="id2527643"></a><pre class="programlisting">typedef struct _GsfOutfile GsfOutfile;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2527658"></a><h3>
<a name="gsf-outfile-new-child"></a>gsf_outfile_new_child ()</h3>
<a class="indexterm" name="id2527668"></a><pre class="programlisting"><a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* gsf_outfile_new_child (<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *outfile,
char const *name,
gboolean is_dir);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>outfile</code></em>&#160;:</span></td>
<td> A <a href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="type">GsfOutfile</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the new child to create
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>is_dir</code></em>&#160;:</span></td>
<td> TRUE to create a directory, FALSE to create a plain file
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>a newly created child
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2527780"></a><h3>
<a name="gsf-outfile-new-child-full"></a>gsf_outfile_new_child_full ()</h3>
<a class="indexterm" name="id2527791"></a><pre class="programlisting"><a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* gsf_outfile_new_child_full (<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *outfile,
char const *name,
gboolean is_dir,
char const *first_property_name,
...);</pre>
<p>
</p>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>outfile</code></em>&#160;:</span></td>
<td> A <a href="gsf-Outfile-writing-structed-files.html#GsfOutfile"><span class="type">GsfOutfile</span></a>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td> The name of the new child to create
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>is_dir</code></em>&#160;:</span></td>
<td> TRUE to create a directory, FALSE to create a plain file
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>first_property_name</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>...</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>a newly created child
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2527938"></a><h3>
<a name="gsf-outfile-new-child-varg"></a>gsf_outfile_new_child_varg ()</h3>
<a class="indexterm" name="id2527950"></a><pre class="programlisting"><a href="gsf-Output-to-unstructured-files.html#GsfOutput">GsfOutput</a>* gsf_outfile_new_child_varg (<a href="gsf-Outfile-writing-structed-files.html#GsfOutfile">GsfOutfile</a> *outfile,
char const *name,
gboolean is_dir,
char const *first_property_name,
va_list args);</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>outfile</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>name</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>is_dir</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>first_property_name</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>args</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<table class="navigation" width="100%" summary="Navigation footer" cellpadding="2" cellspacing="0"><tr valign="middle">
<td align="left"><a accesskey="p" href="gsf-Infile-reading-structed-files.html"><b>&lt;&lt;&#160;Infile reading structed files</b></a></td>
<td align="right"><a accesskey="n" href="gsf-Reading-and-Writing-from-local-files-and-directories.html"><b>Reading and Writing from local files and directories&#160;&gt;&gt;</b></a></td>
</tr></table>
</body>
</html>