Redland

 view release on metacpan or  search on metacpan

redland/raptor/docs/html/raptor-section-iostream.html  view on Meta::CPAN

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>I/O Stream</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
<link rel="start" href="index.html" title="Raptor RDF Syntax Parsing and Serializing Library Manual">
<link rel="up" href="reference-manual.html" title="Part&#160;II.&#160;Raptor Reference Manual">
<link rel="prev" href="raptor-section-feature.html" title="Features">
<link rel="next" href="raptor-section-locator.html" title="Locator">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="introduction.html" title="Raptor Overview">
<link rel="part" href="tutorial.html" title="Part&#160;I.&#160;Raptor Tutorial">
<link rel="chapter" href="tutorial-initialising-finishing.html" title="Initialising and Finishing using the Library">
<link rel="chapter" href="tutorial-querying-functionality.html" title="Listing built-in functionality">
<link rel="chapter" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
<link rel="chapter" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
<link rel="part" href="reference-manual.html" title="Part&#160;II.&#160;Raptor Reference Manual">
<link rel="chapter" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
<link rel="chapter" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
<link rel="index" href="ix01.html" title="Index">
</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="2">
<tr valign="middle">
<td><a accesskey="p" href="raptor-section-feature.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="reference-manual.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">Raptor RDF Syntax Parsing and Serializing Library Manual</th>
<td><a accesskey="n" href="raptor-section-locator.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2565010" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2571425" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="raptor-section-iostream"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2565010"></a><span class="refentrytitle">I/O Stream</span>
</h2>
<p>I/O Stream &#8212; Providing streaming I/O writing to files, strings or user code.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">



typedef     <a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a>;
int         (<a href="raptor-section-iostream.html#raptor-iostream-init-func">*raptor_iostream_init_func</a>)    (void *context);
void        (<a href="raptor-section-iostream.html#raptor-iostream-finish-func">*raptor_iostream_finish_func</a>)  (void *context);
int         (<a href="raptor-section-iostream.html#raptor-iostream-write-byte-func">*raptor_iostream_write_byte_func</a>)
                                            (void *context,
                                             const int byte);
int         (<a href="raptor-section-iostream.html#raptor-iostream-write-bytes-func">*raptor_iostream_write_bytes_func</a>)
                                            (void *context,
                                             const void *ptr,
                                             size_t size,
                                             size_t nmemb);
void        (<a href="raptor-section-iostream.html#raptor-iostream-write-end-func">*raptor_iostream_write_end_func</a>)
                                            (void *context);
            <a href="raptor-section-iostream.html#raptor-iostream-handler">raptor_iostream_handler</a>;
<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a>* <a href="raptor-section-iostream.html#raptor-new-iostream-from-handler">raptor_new_iostream_from_handler</a>
                                            (void *context,
                                             const <a href="raptor-section-iostream.html#raptor-iostream-handler">raptor_iostream_handler</a> *handler);
<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a>* <a href="raptor-section-iostream.html#raptor-new-iostream-to-sink">raptor_new_iostream_to_sink</a>
                                            (void);
<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a>* <a href="raptor-section-iostream.html#raptor-new-iostream-to-filename">raptor_new_iostream_to_filename</a>
                                            (const char *filename);
<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a>* <a href="raptor-section-iostream.html#raptor-new-iostream-to-file-handle">raptor_new_iostream_to_file_handle</a>
                                            (FILE *handle);
<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a>* <a href="raptor-section-iostream.html#raptor-new-iostream-to-string">raptor_new_iostream_to_string</a>
                                            (void **string_p,
                                             size_t *length_p,
                                             void* (*malloc_handler) (size_t size));
void        <a href="raptor-section-iostream.html#raptor-free-iostream">raptor_free_iostream</a>            (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr);
int         <a href="raptor-section-iostream.html#raptor-iostream-write-bytes">raptor_iostream_write_bytes</a>     (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
                                             const void *ptr,
                                             size_t size,
                                             size_t nmemb);
int         <a href="raptor-section-iostream.html#raptor-iostream-write-byte">raptor_iostream_write_byte</a>      (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
                                             const int byte);
void        <a href="raptor-section-iostream.html#raptor-iostream-write-end">raptor_iostream_write_end</a>       (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr);
int         <a href="raptor-section-iostream.html#raptor-iostream-write-string">raptor_iostream_write_string</a>    (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
                                             const void *string);
int         <a href="raptor-section-iostream.html#raptor-iostream-write-counted-string">raptor_iostream_write_counted_string</a>
                                            (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
                                             const void *string,
                                             size_t len);
size_t      <a href="raptor-section-iostream.html#raptor-iostream-get-bytes-written-count">raptor_iostream_get_bytes_written_count</a>
                                            (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr);
int         <a href="raptor-section-iostream.html#raptor-iostream-write-decimal">raptor_iostream_write_decimal</a>   (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
                                             int integer);
int         <a href="raptor-section-iostream.html#raptor-iostream-format-hexadecimal">raptor_iostream_format_hexadecimal</a>
                                            (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
                                             unsigned int integer,
                                             int width);
int         <a href="raptor-section-iostream.html#raptor-iostream-write-stringbuffer">raptor_iostream_write_stringbuffer</a>
                                            (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,



( run in 1.097 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )