aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream.h
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-05-04 19:49:29 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-05-04 19:49:29 +0000
commit659df586719c727204513c97c243c9f14dbfa5d9 (patch)
tree404a08b7c414feb0c1193fadd3ee146fa9bc8f95 /src/inputStream.h
parent638817fc5b2a537b21335d8f5e429559353602a5 (diff)
downloadmpd-659df586719c727204513c97c243c9f14dbfa5d9.tar.gz
mpd-659df586719c727204513c97c243c9f14dbfa5d9.tar.xz
mpd-659df586719c727204513c97c243c9f14dbfa5d9.zip
implement input abstraction for ogg and mp3
git-svn-id: https://svn.musicpd.org/mpd/trunk@904 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/inputStream.h')
-rw-r--r--src/inputStream.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/inputStream.h b/src/inputStream.h
index 2f11da044..8998e3ac1 100644
--- a/src/inputStream.h
+++ b/src/inputStream.h
@@ -31,11 +31,11 @@ typedef struct _InputStream {
/* if an error occurs for these 3 functions, then -1 is returned and errno
for the input stream is set */
-int initInputStreamFromFile(InputStream * inStream, char * filename);
-int seekInputStream(InputStream * inStream, long offset);
-int finishInputStream(InputStream * inStream);
+int openInputStreamFromFile(InputStream * inStream, char * filename);
+int seekInputStream(InputStream * inStream, long offset, int whence);
+int closeInputStream(InputStream * inStream);
-size_t fillBufferFromInputStream(InputStream * inStream, char * buffer,
- size_t buflen);
+size_t readFromInputStream(InputStream * inStream, void * ptr, size_t size,
+ size_t nmemb);
#endif