aboutsummaryrefslogtreecommitdiffstats
path: root/include/serd/reader.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-12-01 21:59:18 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit9b1139fe7045a0630e87501235af21803860b80c (patch)
tree3a7cd3ee639e0b7a6f2244177819f8843202c692 /include/serd/reader.h
parent94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098 (diff)
downloadserd-9b1139fe7045a0630e87501235af21803860b80c.tar.gz
serd-9b1139fe7045a0630e87501235af21803860b80c.tar.bz2
serd-9b1139fe7045a0630e87501235af21803860b80c.zip
[WIP] Add support for reading and writing variables
[WIP] Command line option, move later? This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries.
Diffstat (limited to 'include/serd/reader.h')
-rw-r--r--include/serd/reader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/serd/reader.h b/include/serd/reader.h
index 4c669342..040f3398 100644
--- a/include/serd/reader.h
+++ b/include/serd/reader.h
@@ -29,7 +29,8 @@ typedef struct SerdReaderImpl SerdReader;
/// Reader options
typedef enum {
- SERD_READ_LAX = 1U << 0U, ///< Tolerate invalid input where possible
+ SERD_READ_LAX = 1U << 0U, ///< Tolerate invalid input where possible
+ SERD_READ_VARIABLES = 1U << 1U, ///< Support variable nodes
} SerdReaderFlag;
/// Bitwise OR of SerdReaderFlag values