From 55ef65f6e1fd6e839a6b8cc89bc8ed3c6a069ec3 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 19 Dec 2019 09:16:07 -0500 Subject: Move SerdField to public API --- serd/serd.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'serd') diff --git a/serd/serd.h b/serd/serd.h index 7de0de2c..497f172f 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -208,6 +208,16 @@ typedef enum { SERD_HAS_LANGUAGE = 1 << 3 /**< Literal node has language */ } 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. */ -- cgit v1.2.1