|
Volksdata 1.0b7
RDF library
|
#include "volksdata/codec.h"

Go to the source code of this file.
Functions | |
| VOLK_rc | VOLK_ttl_parse_doc (FILE *fh, const char *sh, VOLK_Graph **gr, size_t *ct, char **err) |
| Parse an RDF document in Turtle format. | |
| VOLK_rc VOLK_ttl_parse_doc | ( | FILE * | fh, |
| const char * | sh, | ||
| VOLK_Graph ** | gr, | ||
| size_t * | ct, | ||
| char ** | err ) |
Parse an RDF document in Turtle format.
Either an open file handle or an in-memory string can be passed for parsing.
| [in] | fh | Turtle doc file handle. Exclusive with sh. |
| [in] | sh | Turtle doc string handle. Exclusive with fh. |
| [out] | gr | Pointer to a graph handle to be created. The new graph will have a random UUID URN. |
| [out] | ct | If not NULL it is populated with the number of triples parsed. This may be more than the triples in the resulting graph. |
| [out] | err | String handle to be populated with an error message. |
Definition at line 4356 of file parser_ttl.c.