Blame lib/driver/_cdio_stdio.h
|
Packit |
dd8086 |
/*
|
|
Packit |
dd8086 |
Copyright (C) 2003, 2008, 2012 Rocky Bernstein <rocky@gnu.org>
|
|
Packit |
dd8086 |
Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
This program is free software: you can redistribute it and/or modify
|
|
Packit |
dd8086 |
it under the terms of the GNU General Public License as published by
|
|
Packit |
dd8086 |
the Free Software Foundation, either version 3 of the License, or
|
|
Packit |
dd8086 |
(at your option) any later version.
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
This program is distributed in the hope that it will be useful,
|
|
Packit |
dd8086 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
dd8086 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
Packit |
dd8086 |
GNU General Public License for more details.
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
You should have received a copy of the GNU General Public License
|
|
Packit |
dd8086 |
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
dd8086 |
*/
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
#ifndef CDIO_STDIO_H_
|
|
Packit |
dd8086 |
#define CDIO_STDIO_H_
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
#include "_cdio_stream.h"
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
/*!
|
|
Packit |
dd8086 |
Initialize a new stdio stream reading from pathname.
|
|
Packit |
dd8086 |
A pointer to the stream is returned or NULL if there was an error.
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
cdio_stream_free should be called on the returned value when you
|
|
Packit |
dd8086 |
don't need the stream any more. No other finalization is needed.
|
|
Packit |
dd8086 |
*/
|
|
Packit |
dd8086 |
CdioDataSource_t * cdio_stdio_new(const char psz_path[]);
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
/*!
|
|
Packit |
dd8086 |
Deallocate resources assocaited with obj. After this obj is unusable.
|
|
Packit |
dd8086 |
*/
|
|
Packit |
dd8086 |
void cdio_stdio_destroy(CdioDataSource_t *p_obj);
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
#endif /* CDIO_STDIO_H_ */
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
|
|
Packit |
dd8086 |
/*
|
|
Packit |
dd8086 |
* Local variables:
|
|
Packit |
dd8086 |
* c-file-style: "gnu"
|
|
Packit |
dd8086 |
* tab-width: 8
|
|
Packit |
dd8086 |
* indent-tabs-mode: nil
|
|
Packit |
dd8086 |
* End:
|
|
Packit |
dd8086 |
*/
|