aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-09-10 13:39:56 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:07 -0500
commitd80b2a1c153f81685d026f8e09c12175abed3d03 (patch)
tree8207788e58ee9de94ca224433a02a88e8fed3801 /src/reader.h
parent76fabe903adb09e6fe4d084ff6be49115285e086 (diff)
downloadserd-d80b2a1c153f81685d026f8e09c12175abed3d03.tar.gz
serd-d80b2a1c153f81685d026f8e09c12175abed3d03.tar.bz2
serd-d80b2a1c153f81685d026f8e09c12175abed3d03.zip
Separate Turtle and TriG reading code
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/reader.h b/src/reader.h
index 0907d4cc..7bd4ff95 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -72,6 +72,9 @@ push_node(SerdReader* reader,
const char* str,
size_t length);
+ZIX_PURE_FUNC int
+tokcmp(const SerdNode* node, const char* tok, size_t n);
+
ZIX_PURE_FUNC size_t
genid_length(const SerdReader* reader);
@@ -87,12 +90,6 @@ set_blank_id(SerdReader* reader, SerdNode* node, size_t buf_size);
SerdStatus
emit_statement(SerdReader* reader, ReadContext ctx, SerdNode* o);
-SerdStatus
-read_n3_statement(SerdReader* reader);
-
-SerdStatus
-read_turtleTrigDoc(SerdReader* reader);
-
static inline int
peek_byte(SerdReader* reader)
{