aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-01-06 14:48:03 -0500
committerDavid Robillard <d@drobilla.net>2017-01-06 21:39:01 -0500
commit5475750ecf496c774a082464b3e60f5adce9cc8a (patch)
tree57e844edc09637096d1b5ea16dcc5ebb69f88345 /serd
parent52590dbeb23100320417d6f72e20fadf215479e5 (diff)
downloadserd-5475750ecf496c774a082464b3e60f5adce9cc8a.tar.gz
serd-5475750ecf496c774a082464b3e60f5adce9cc8a.tar.bz2
serd-5475750ecf496c774a082464b3e60f5adce9cc8a.zip
Add support for reading TriG
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/serd/serd.h b/serd/serd.h
index 3402d576..e7f6ec3b 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -116,7 +116,13 @@ typedef enum {
NQuads - Line-based RDF quads (UTF-8).
@see <a href="https://www.w3.org/TR/n-quads/">NQuads</a>
*/
- SERD_NQUADS = 3
+ SERD_NQUADS = 3,
+
+ /**
+ TRiG - Terse RDF quads (UTF-8).
+ @see <a href="https://www.w3.org/TR/trig/">Trig</a>
+ */
+ SERD_TRIG = 4
} SerdSyntax;
/**
@@ -190,7 +196,6 @@ typedef enum {
<tt>nodeID</tt></a>
*/
SERD_BLANK = 4
-
} SerdType;
/**