diff options
Diffstat (limited to 'sord')
-rw-r--r-- | sord/sord.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sord/sord.h b/sord/sord.h index 49eb9d1..0820f9b 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -78,7 +78,7 @@ typedef enum { /** Create a new store. */ SORD_API Sord -sord_new(); +sord_new(void); /** Set a store option. * Options are RDF properties (with the store as the subject), with the @@ -204,6 +204,10 @@ SORD_API const char* sord_node_get_string(SordNode node); +SORD_API +const char* +sord_node_get_string_counted(SordNode node, size_t* len); + /** Set an opaque user pointer on a node. * Sord does not interpret the user pointer in any way, but it will be * preserved on the node until the cache is cleared. @@ -338,6 +342,15 @@ bool sord_tuple_match(const SordTuple x, const SordTuple y); /** @} */ +/** @name Serialisation + * @{ + */ + +SORD_API +bool +sord_read_file(Sord sord, const uint8_t* uri); + +/** @} */ /** @} */ |