aboutsummaryrefslogtreecommitdiffstats
path: root/serd
diff options
context:
space:
mode:
Diffstat (limited to 'serd')
-rw-r--r--serd/serd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/serd/serd.h b/serd/serd.h
index eebfa113..3e84c302 100644
--- a/serd/serd.h
+++ b/serd/serd.h
@@ -660,6 +660,16 @@ void
serd_writer_free(SerdWriter* writer);
/**
+ A convenience sink function for writing to a FILE*.
+
+ This function can be used as a SerdSink when writing to a FILE*. The
+ associated @c stream parameter must be a FILE* opened for writing.
+*/
+SERD_API
+size_t
+serd_file_sink(const void* buf, size_t len, void* stream);
+
+/**
Set a prefix to be removed from matching blank node identifiers.
*/
SERD_API