diff options
Diffstat (limited to 'sord/sord.h')
-rw-r--r-- | sord/sord.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sord/sord.h b/sord/sord.h index 4941291..d14e64a 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -427,12 +427,15 @@ sord_quad_match(const SordQuad x, const SordQuad y); /** Read a file into a model. + + The @c base_uri may be NULL, in which case @c uri will be used. */ SORD_API bool sord_read_file(SordModel* model, SerdEnv* env, const uint8_t* uri, + const uint8_t* base_uri, SordNode* graph, const uint8_t* blank_prefix); @@ -481,6 +484,12 @@ sord_write_file_handle(SordModel* model, SordNode* graph, const uint8_t* blank_prefix); +SORD_API +bool +sord_write_writer(SordModel* model, + SerdWriter* writer, + SordNode* graph); + /** Write a model to a string. |