diff options
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c index 6e47ee2a..e65255f7 100644 --- a/src/writer.c +++ b/src/writer.c @@ -21,12 +21,26 @@ #include <stdlib.h> #include <string.h> +#include "byte_sink.h" +#include "node.h" +#include "stack.h" +#include "string_utils.h" +#include "uri_utils.h" + typedef struct { SerdNode* graph; SerdNode* subject; 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 { |