aboutsummaryrefslogtreecommitdiffstats
path: root/src/writer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/writer.c')
-rw-r--r--src/writer.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/writer.c b/src/writer.c
index bfce4f9e..c6a91d78 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -14,6 +14,8 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "writer.h"
+
#include "byte_sink.h"
#include "env.h"
#include "node.h"
@@ -1259,6 +1261,12 @@ serd_writer_on_event(SerdWriter* writer, const SerdEvent* event)
}
SerdStatus
+serd_writer_write_node(SerdWriter* writer, const SerdNode* node)
+{
+ return write_node(writer, node, SERD_OBJECT, 0);
+}
+
+SerdStatus
serd_writer_finish(SerdWriter* writer)
{
SerdStatus st = SERD_SUCCESS;