aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputStream_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputStream_file.c')
-rw-r--r--src/inputStream_file.c5
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: */