aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2021-07-08 22:50:02 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commit3389cf3e506ad9e8475daf8b1cac0248274849bc (patch)
tree6906508561067469cece409f30c28fb458d69a90 /src/reader.h
parent38f2d631ae89388ca96ebfbc66012c8c29a3d35b (diff)
downloadserd-3389cf3e506ad9e8475daf8b1cac0248274849bc.tar.gz
serd-3389cf3e506ad9e8475daf8b1cac0248274849bc.tar.bz2
serd-3389cf3e506ad9e8475daf8b1cac0248274849bc.zip
Handle read errors more precisely
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/reader.h b/src/reader.h
index 3f830ef4..fcbcb110 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -71,6 +71,9 @@ push_node(SerdReader* reader,
SERD_PURE_FUNC size_t
genid_size(const SerdReader* reader);
+SERD_PURE_FUNC bool
+tolerate_status(const SerdReader* reader, SerdStatus status);
+
SerdNode*
blank_id(SerdReader* reader);