~ubuntu-branches/ubuntu/edgy/libcdio/edgy-updates

« back to all changes in this revision

Viewing changes to lib/_cdio_stdio.h

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2005-11-15 16:53:23 UTC
  • mfrom: (3.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20051115165323-peroku75syl2j36u
Tags: 0.76-1ubuntu1
* Sync to new Debian version, manually apply Ubuntu patches:
  - debian/control: Remove dpkg-awk build dependency.
  - debian/rules: hardcode $LIBCDEV. This keeps the diff small (compared to
    the original patch of changing every ${libcdev} occurence).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
    $Id: _cdio_stdio.h,v 1.3 2004/02/07 18:53:02 rocky Exp $
3
 
 
4
 
    Copyright (C) 2000 Herbert Valerio Riedel <hvr@gnu.org>
5
 
    Copyright (C) 2003 Rocky Bernstein <rocky@panix.com>
6
 
 
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.
11
 
 
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.
16
 
 
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
20
 
*/
21
 
 
22
 
 
23
 
#ifndef __CDIO_STDIO_H__
24
 
#define __CDIO_STDIO_H__
25
 
 
26
 
#include "_cdio_stream.h"
27
 
 
28
 
/*!
29
 
  Initialize a new stdio stream reading from pathname.
30
 
  A pointer to the stream is returned or NULL if there was an error.
31
 
 
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.
34
 
 */
35
 
CdioDataSource* cdio_stdio_new(const char pathname[]);
36
 
 
37
 
/*!
38
 
  Deallocate resources assocaited with obj. After this obj is unusable.
39
 
*/
40
 
void cdio_stdio_destroy(CdioDataSource *obj);
41
 
 
42
 
 
43
 
#endif /* __CDIO_STREAM_STDIO_H__ */
44
 
 
45
 
 
46
 
/* 
47
 
 * Local variables:
48
 
 *  c-file-style: "gnu"
49
 
 *  tab-width: 8
50
 
 *  indent-tabs-mode: nil
51
 
 * End:
52
 
 */