aboutsummaryrefslogtreecommitdiffstats
path: root/src/serd_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-11-05 12:06:19 +0100
committerDavid Robillard <d@drobilla.net>2017-11-05 12:06:19 +0100
commit07e6a2e7d182483552b940ecdb27231d7983fd19 (patch)
treeca1cd400d13a9eaec24d9cb76725675190691cbf /src/serd_internal.h
parent8aad54ea550d0d923189834f964512a9b1be927f (diff)
downloadserd-07e6a2e7d182483552b940ecdb27231d7983fd19.tar.gz
serd-07e6a2e7d182483552b940ecdb27231d7983fd19.tar.bz2
serd-07e6a2e7d182483552b940ecdb27231d7983fd19.zip
Move EOF flag from reader to byte source
Diffstat (limited to 'src/serd_internal.h')
-rw-r--r--src/serd_internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h
index 5cda4d16..7c758cb8 100644
--- a/src/serd_internal.h
+++ b/src/serd_internal.h
@@ -85,6 +85,7 @@ typedef struct {
uint8_t read_byte; ///< 1-byte 'buffer' used when not paging
bool from_stream; ///< True iff reading from `stream`
bool prepared; ///< True iff prepared for reading
+ bool eof; ///< True iff end of file reached
} SerdByteSource;
SerdStatus