diff options
author | David Robillard <d@drobilla.net> | 2018-05-27 11:28:58 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-11-25 22:12:47 +0100 |
commit | 3401e9c9b4d317c5b38e9f4aa48ce016871c9e99 (patch) | |
tree | b638d297a21e340c6d9aeac23ab8c0f26bd4af89 /serd | |
parent | 7084cc45a13644c557f945a2180aaf96052c7167 (diff) | |
download | serd-3401e9c9b4d317c5b38e9f4aa48ce016871c9e99.tar.gz serd-3401e9c9b4d317c5b38e9f4aa48ce016871c9e99.tar.bz2 serd-3401e9c9b4d317c5b38e9f4aa48ce016871c9e99.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 be0239dc..4a6ac7a9 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -217,6 +217,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; |