diff options
author | David Robillard <d@drobilla.net> | 2019-12-19 09:16:07 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:12:04 +0200 |
commit | d32c53f4ef0b4197a82c5c3b836c84d2310f64ee (patch) | |
tree | 6333e78cf45904ab8585b36722f140cb495af242 /serd | |
parent | 4d9737968f08791b0a1122f4a821d9674730fa3f (diff) | |
download | serd-d32c53f4ef0b4197a82c5c3b836c84d2310f64ee.tar.gz serd-d32c53f4ef0b4197a82c5c3b836c84d2310f64ee.tar.bz2 serd-d32c53f4ef0b4197a82c5c3b836c84d2310f64ee.zip |
Move SerdField to public API
Diffstat (limited to 'serd')
-rw-r--r-- | serd/serd.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h index 87a91aec..e578a85a 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -208,6 +208,16 @@ typedef enum { } SerdNodeFlag; /** + Field in a statement. +*/ +typedef enum { + SERD_SUBJECT = 0, /**< Subject */ + SERD_PREDICATE = 1, /**< Predicate ("key") */ + SERD_OBJECT = 2, /**< Object ("value") */ + SERD_GRAPH = 3 /**< Graph ("context") */ +} SerdField; + +/** Bitwise OR of SerdNodeFlag values. */ typedef uint32_t SerdNodeFlags; |