diff options
author | David Robillard <d@drobilla.net> | 2023-09-10 13:39:56 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | d80b2a1c153f81685d026f8e09c12175abed3d03 (patch) | |
tree | 8207788e58ee9de94ca224433a02a88e8fed3801 /src/read_trig.h | |
parent | 76fabe903adb09e6fe4d084ff6be49115285e086 (diff) | |
download | serd-d80b2a1c153f81685d026f8e09c12175abed3d03.tar.gz serd-d80b2a1c153f81685d026f8e09c12175abed3d03.tar.bz2 serd-d80b2a1c153f81685d026f8e09c12175abed3d03.zip |
Separate Turtle and TriG reading code
Diffstat (limited to 'src/read_trig.h')
-rw-r--r-- | src/read_trig.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/read_trig.h b/src/read_trig.h new file mode 100644 index 00000000..a73f39d1 --- /dev/null +++ b/src/read_trig.h @@ -0,0 +1,24 @@ +// Copyright 2011-2023 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#ifndef SERD_SRC_READ_TRIG_H +#define SERD_SRC_READ_TRIG_H + +#include "serd/reader.h" +#include "serd/status.h" + +/** + Read a single TriG statement. +*/ +SerdStatus +read_trig_statement(SerdReader* reader); + +/** + Read a complete TriG document. + + RDF 1.1 Trig: [1] trigDoc +*/ +SerdStatus +read_trigDoc(SerdReader* reader); + +#endif // SERD_SRC_READ_TRIG_H |