aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c
index 445362b4..d56f8156 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -14,7 +14,12 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "byte_sink.h"
+#include "node.h"
#include "serd_internal.h"
+#include "stack.h"
+#include "string_utils.h"
+#include "uri_utils.h"
#include "serd/serd.h"
@@ -32,6 +37,14 @@ typedef struct {
SerdNode* predicate;
} WriteContext;
+typedef enum {
+ FIELD_NONE,
+ FIELD_SUBJECT,
+ FIELD_PREDICATE,
+ FIELD_OBJECT,
+ FIELD_GRAPH
+} Field;
+
static const WriteContext WRITE_CONTEXT_NULL = { NULL, NULL, NULL };
typedef enum {