1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>libmpcdec: src/mpc_reader.c File Reference</title>
<link href="custom.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.4 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<div class="nav">
<a class="el" href="dir_000002.html">src</a></div>
<h1>mpc_reader.c File Reference</h1><code>#include <<a class="el" href="mpcdec_8h-source.html">mpcdec/mpcdec.h</a>></code><br>
<p>
<a href="mpc__reader_8c-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="mpc__reader_8c.html#a5">mpc_reader_setup_file_reader</a> (<a class="el" href="structmpc__reader__file__t.html">mpc_reader_file</a> *p_reader, FILE *input)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Contains implementations for simple file-based mpc_reader
<p>
Definition in file <a class="el" href="mpc__reader_8c-source.html">mpc_reader.c</a>.<hr><h2>Function Documentation</h2>
<a class="anchor" name="a5"></a><!-- doxytag: member="mpc_reader.c::mpc_reader_setup_file_reader" ref="a5" args="(mpc_reader_file *p_reader, FILE *input)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">void mpc_reader_setup_file_reader </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="structmpc__reader__file__t.html">mpc_reader_file</a> * </td>
<td class="mdname" nowrap> <em>r</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>FILE * </td>
<td class="mdname" nowrap> <em>input</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Initializes reader with default stdio file reader implementation. Use this if you're just reading from a plain file.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>r</em> </td><td>reader struct to initalize </td></tr>
<tr><td valign="top"></td><td valign="top"><em>input</em> </td><td>input stream to attach to the reader </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mpc__reader_8c-source.html#l00082">82</a> of file <a class="el" href="mpc__reader_8c-source.html">mpc_reader.c</a>.
<p>
References <a class="el" href="structmpc__reader__t.html#o4">mpc_reader_t::canseek</a>, <a class="el" href="reader_8h-source.html#l00063">mpc_reader_t::data</a>, <a class="el" href="reader_8h-source.html#l00070">mpc_reader_file_t::file</a>, <a class="el" href="reader_8h-source.html#l00071">mpc_reader_file_t::file_size</a>, <a class="el" href="structmpc__reader__t.html#o3">mpc_reader_t::get_size</a>, <a class="el" href="reader_8h-source.html#l00072">mpc_reader_file_t::is_seekable</a>, <a class="el" href="structmpc__reader__t.html#o0">mpc_reader_t::read</a>, <a class="el" href="reader_8h-source.html#l00068">mpc_reader_file_t::reader</a>, <a class="el" href="structmpc__reader__t.html#o1">mpc_reader_t::seek</a>, and <a class="el" href="structmpc__reader__t.html#o2">mpc_reader_t::tell</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sun Oct 23 16:35:24 2005 for libmpcdec by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
</body>
</html>
|