Volksdata 1.0b10
RDF library
Loading...
Searching...
No Matches
Collaboration diagram for Turtle codec parser:

Data Structures

struct  VOLK_TTLParserState
 Parser state. More...

Functions

VOLK_rc ttl_parse_doc (FILE *fh, const char *sh, VOLK_Graph *gr)
 Parse an RDF document in Turtle format.

Detailed Description

Function Documentation

◆ ttl_parse_doc()

VOLK_rc ttl_parse_doc ( FILE * fh,
const char * sh,
VOLK_Graph * gr )

Parse an RDF document in Turtle format.

Either an open file handle or an in-memory string can be passed for parsing.

Parameters
[in]fhTurtle doc file handle. Exclusive with sh.
[in]shTurtle doc string handle. Exclusive with fh.
[out]grGraph handle to be populated. The graph MUST be initialized and MAY be not empty.

Definition at line 4607 of file parser_ttl.c.