Main Page | Class List | File List | Class Members | File Members

ipod_io_file.h

Go to the documentation of this file.
00001 /*
00002  * ipod_io_file.h
00003  *
00004  * Duane Maxwell
00005  * (c) 2005 by Linspire Inc
00006  *
00007  * This library is free software; you can redistribute it and/or modify
00008  * it under the terms of the GNU Lesser General Public License as published by
00009  * the Free Software Foundation; either version 2 of the License, or
00010  * (at your option) any later version.
00011  *
00012  * This library is distributed in the hope that it will be useful,
00013  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  * MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015  * Lesser General Public License for more details.
00016  *
00017  * You should have received a copy of the GNU Lesser General Public
00018  * License along with this library; if not, write to the Free Software
00019  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
00020  */
00021 
00022 #ifndef __IPOD_IO_FILE_H__
00023 #define __IPOD_IO_FILE_H__
00024 
00025 #include <ipod/ipod_io.h>
00026 
00027 #ifdef __cplusplus
00028 extern "C" {
00029 #endif
00030 
00043 extern int ipod_io_file_read(void *data, size_t maxDataLen, size_t *dataRead,void *userData);
00044 
00053 extern int ipod_io_file_write(void *data, size_t dataLen,size_t *dataWritten,void *userData);
00054 
00061 extern int ipod_io_file_tell(size_t *offset,void *userData);
00062 
00069 extern int ipod_io_file_seek(size_t offset,void *userData);
00070 
00077 extern int ipod_io_file_length(size_t *offset,void *userData);
00078 
00084 extern ipod_io ipod_io_file_new(FILE *file);
00085 
00090 extern void ipod_io_file_free(ipod_io io);
00091 
00092 #ifdef __cplusplus
00093 };
00094 #endif
00095 
00096 #endif

Generated on Tue Dec 13 14:55:22 2005 for libipod by  doxygen 1.3.9.1