diff options
author | David Robillard <d@drobilla.net> | 2019-12-19 09:16:07 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 365a567a0246e5aafc139da8f419cf7541afc37e (patch) | |
tree | 0ba330339ecf4904c7c2c4805437568979ee6fc7 /serd | |
parent | 15908997ce13c5af5f8cb517b9266c04889c3d98 (diff) | |
download | serd-365a567a0246e5aafc139da8f419cf7541afc37e.tar.gz serd-365a567a0246e5aafc139da8f419cf7541afc37e.tar.bz2 serd-365a567a0246e5aafc139da8f419cf7541afc37e.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 8aa97ed4..ff417b6c 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -212,6 +212,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; |