2
$Id: _cdio_stdio.h,v 1.3 2004/02/07 18:53:02 rocky Exp $
4
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
5
Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
7
This program is free software; you can redistribute it and/or modify
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
(at your option) any later version.
12
This program is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
GNU General Public License for more details.
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
#ifndef __CDIO_STDIO_H__
24
#define __CDIO_STDIO_H__
26
#include "_cdio_stream.h"
29
Initialize a new stdio stream reading from pathname.
30
A pointer to the stream is returned or NULL if there was an error.
32
cdio_stream_free should be called on the returned value when you
33
don't need the stream any more. No other finalization is needed.
35
CdioDataSource* cdio_stdio_new(const char pathname[]);
38
Deallocate resources assocaited with obj. After this obj is unusable.
40
void cdio_stdio_destroy(CdioDataSource *obj);
43
#endif /* __CDIO_STREAM_STDIO_H__ */
50
* indent-tabs-mode: nil