[Lapetus-cvs] lapetus cdfs.h,NONE,1.1
Status: Inactive
Brought to you by:
cyberwarriorx
From: Theo B. <cyb...@us...> - 2007-03-03 03:54:54
|
Update of /cvsroot/lapetus/lapetus In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv11628 Added Files: cdfs.h Log Message: -Initial add --- NEW FILE: cdfs.h --- /* Copyright 2007 Theo Berkau This file is part of Lapetus. Lapetus 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. Lapetus 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 Lapetus; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef CDFS_H #define CDFS_H typedef struct { u32 lba; u32 size; u32 sectpos; u32 pos; } file_struct; enum SEEKTYPES { CDFS_SEEK_SET = 0, CDFS_SEEK_CUR = 1, CDFS_SEEK_END = 2 }; int CDFSInit(void *workdirtbl, int size); int CDFSOpen(const char *path, file_struct *file); int CDFSSeek(file_struct *file, int offset, int seek_type); int CDFSRead(u8 *buffer, int size, int num, file_struct *file); int CDFSClose(file_struct *file); #endif |