Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
parser_trig.h
Go to the documentation of this file.
1#ifndef VOLK_TRIG_PARSER_H
2#define VOLK_TRIG_PARSER_H
3
5
6
8typedef struct trig_parser_state {
10 void * txn;
14 VOLK_GraphIterator * it;
16 size_t ct;
18 bool ext_txn;
21
22
49 FILE *fh, const char *sh, VOLK_Store *store, void *txn,
50 size_t *ct, char **err);
51
52#endif
Codec interface definition and basic elements common to all codecs.
int VOLK_rc
Definition core.h:79
VOLK_rc VOLK_trig_parse_doc(FILE *fh, const char *sh, VOLK_Store *store, void *txn, size_t *ct, char **err)
Parse an RDF document in TriG format.
Store structure.
Definition store.h:59
RDF term.
Definition term.h:62
Parser state.
Definition parser_trig.h:8
VOLK_Term * base
Base IRI used in the document.
Definition parser_trig.h:12
VOLK_GraphIterator * it
Definition parser_trig.h:14
VOLK_Store * store
Store to write to.
Definition parser_trig.h:9
VOLK_Term * cur_subj
Current LMap subject.
Definition parser_trig.h:13
size_t ct
Statements parsed.
Definition parser_trig.h:16
VOLK_rc rc
Internal return code.
Definition parser_trig.h:17