/* $Id: vcdio.h,v 1.1 2003/10/13 11:47:11 f1rmb Exp $ Copyright (C) 2002 Rocky Bernstein This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA */ #ifndef _VCDIO_H_ #define _VCDIO_H_ /*! From xine plugin spec: read nlen bytes, return number of bytes read. */ off_t vcdio_read (vcdplayer_input_t *this, char *buf, const off_t nlen); /*! Opens VCD device and initializes things. - do nothing if the device had already been open and is the same device. - if the device had been open and is a different, close it before trying to open new device. */ bool vcdio_open(vcdplayer_input_t *this, char *intended_vcd_device); /*! Closes VCD device specified via "this", and also wipes memory of it from it inside "this". */ /* FIXME Move player stuff to player. */ int vcdio_close(vcdplayer_input_t *this); /*! From xine plugin spec: seek position, return new position if seeking failed, -1 is returned */ off_t vcdio_seek (vcdplayer_input_t *this, off_t offset, int origin); #endif /* _VCDIO_H_ */ /* * Local variables: * c-file-style: "gnu" * tab-width: 8 * indent-tabs-mode: nil * End: */