diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 09:54:45 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-05-18 09:54:45 +0000 |
commit | 6c24180516f823985f564ba013607b47f70afa81 (patch) | |
tree | 8b3ac9478f5ab1c9aee4b41cefeae603d6a61d90 /src/inputStream_file.c | |
parent | d4c7d6df6db478cbbfb0cba11a8a42aed9070d62 (diff) | |
download | mpd-6c24180516f823985f564ba013607b47f70afa81.tar.gz mpd-6c24180516f823985f564ba013607b47f70afa81.tar.xz mpd-6c24180516f823985f564ba013607b47f70afa81.zip |
inputStream updates from httpTest
git-svn-id: https://svn.musicpd.org/mpd/trunk@1059 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/inputStream_file.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/inputStream_file.c b/src/inputStream_file.c index 9c03fe826..b71beea95 100644 --- a/src/inputStream_file.c +++ b/src/inputStream_file.c @@ -45,6 +45,7 @@ int inputStream_fileOpen(InputStream * inStream, char * filename) { inStream->closeFunc = inputStream_fileClose; inStream->readFunc = inputStream_fileRead; inStream->atEOFFunc = inputStream_fileAtEOF; + inStream->bufferFunc = inputStream_fileBuffer; return 0; } @@ -85,4 +86,8 @@ int inputStream_fileClose(InputStream * inStream) { int inputStream_fileAtEOF(InputStream * inStream) { return feof((FILE *)inStream->data); } + +int inputStream_fileBuffer(InputStream * inStream) { + return 0; +} /* vim:set shiftwidth=4 tabstop=8 expandtab: */ |