diff options
author | David Robillard <d@drobilla.net> | 2020-08-14 15:51:12 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-14 19:07:52 +0200 |
commit | 3f5ba5908117cf3351702c144a2509f4bf48d75b (patch) | |
tree | 3b0434d1ee5a6749ea1d4b5fecc7492b0272bbd0 /src/writer.c | |
parent | 45cdfed515dbbcb85c6d54076b6103788d097400 (diff) | |
download | serd-3f5ba5908117cf3351702c144a2509f4bf48d75b.tar.gz serd-3f5ba5908117cf3351702c144a2509f4bf48d75b.tar.bz2 serd-3f5ba5908117cf3351702c144a2509f4bf48d75b.zip |
Clean up and separate internal headers
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c index 9881f00f..31050853 100644 --- a/src/writer.c +++ b/src/writer.c @@ -14,7 +14,11 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#include "byte_sink.h" #include "serd_internal.h" +#include "stack.h" +#include "string_utils.h" +#include "uri_utils.h" #include "serd/serd.h" @@ -26,6 +30,14 @@ #include <stdlib.h> #include <string.h> +typedef enum { + FIELD_NONE, + FIELD_SUBJECT, + FIELD_PREDICATE, + FIELD_OBJECT, + FIELD_GRAPH +} Field; + typedef struct { SerdNode graph; SerdNode subject; |