diff options
author | David Robillard <d@drobilla.net> | 2022-10-01 20:12:13 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 16:27:02 -0500 |
commit | cd3d9986f40fd4e605ac2e8168512065439173e2 (patch) | |
tree | 72d0418cbd8b8b5c7e43880c68831819e12b1982 /include/serd/syntax.h | |
parent | 1f09497ae009daade56c450e73bf6425b27cea24 (diff) | |
download | serd-cd3d9986f40fd4e605ac2e8168512065439173e2.tar.gz serd-cd3d9986f40fd4e605ac2e8168512065439173e2.tar.bz2 serd-cd3d9986f40fd4e605ac2e8168512065439173e2.zip |
Split up public API header
Diffstat (limited to 'include/serd/syntax.h')
-rw-r--r-- | include/serd/syntax.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/include/serd/syntax.h b/include/serd/syntax.h new file mode 100644 index 00000000..21847438 --- /dev/null +++ b/include/serd/syntax.h @@ -0,0 +1,31 @@ +// Copyright 2011-2021 David Robillard <d@drobilla.net> +// SPDX-License-Identifier: ISC + +#ifndef SERD_SYNTAX_H +#define SERD_SYNTAX_H + +#include "serd/attributes.h" + +SERD_BEGIN_DECLS + +/** + @defgroup serd_syntax Syntax Utilities + @ingroup serd_utilities + @{ +*/ + +/// RDF syntax type +typedef enum { + SERD_TURTLE = 1, ///< Terse triples http://www.w3.org/TR/turtle + SERD_NTRIPLES = 2, ///< Line-based triples http://www.w3.org/TR/n-triples/ + SERD_NQUADS = 3, ///< Line-based quads http://www.w3.org/TR/n-quads/ + SERD_TRIG = 4, ///< Terse quads http://www.w3.org/TR/trig/ +} SerdSyntax; + +/** + @} +*/ + +SERD_END_DECLS + +#endif // SERD_SYNTAX_H |