Recognizes if input is ogg or not.
[xiph/unicode.git] / vp32 / CoreLibs / Include / duck_io.h
blobd0aae2a05fed83ad019186dd2826a1eebab88555
1 //==========================================================================
2 //
3 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
4 // KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
5 // IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
6 // PURPOSE.
7 //
8 // Copyright (c) 1999 - 2001 On2 Technologies Inc. All Rights Reserved.
9 //
10 //--------------------------------------------------------------------------
13 #ifndef _duck_io_h
14 #define _duck_io_h
16 #if defined(__cplusplus)
17 extern "C" {
18 #endif
20 int duck_open(const char *fname, unsigned long userData);
21 void duck_close(int ghndl);
23 long duck_read(int ghndl,unsigned char *buf, long nbytes);
24 long duck_seek(int gHndl,long offs, int origin);
26 int duck_readFinished(int han, int flag); /* FWG 7-9-99 */
28 #if defined(__cplusplus)
30 #endif
32 #endif