diff options
author | David Robillard <d@drobilla.net> | 2019-12-19 09:16:07 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-12-19 20:55:15 -0500 |
commit | 55ef65f6e1fd6e839a6b8cc89bc8ed3c6a069ec3 (patch) | |
tree | 9f8b290faafa48c3d8a0011e00d4f13bd7d70855 /serd | |
parent | 5ea5500b0d06a4645279c1eda653fc6fbbaf4e61 (diff) | |
download | serd-55ef65f6e1fd6e839a6b8cc89bc8ed3c6a069ec3.tar.gz serd-55ef65f6e1fd6e839a6b8cc89bc8ed3c6a069ec3.tar.bz2 serd-55ef65f6e1fd6e839a6b8cc89bc8ed3c6a069ec3.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 7de0de2c..497f172f 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -209,6 +209,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; |