diff options
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 |