Volksdata 1.0b7
RDF library
Loading...
Searching...
No Matches
codec_trig.h
Go to the documentation of this file.
1#ifndef VOLK_CODEC_TRIG_H
2#define VOLK_CODEC_TRIG_H
3
5//#include "volksdata/codec/parser_trig.h" // TODO
6
7
10 .name = "TriG codec",
11 .mimetype = "application/trig",
12 .extension = "trig",
13 .features = VOLK_CODEC_FEAT_ENCODE_STORE /*|
14 VOLK_CODEC_FEAT_DECODE_STORE*/, // TODO
15
16 .encode_store_init = trig_encode_store_init,
17 .encode_store_iter = trig_encode_store_iter,
18 .encode_store_done = trig_encode_store_done,
19};
20
21#endif
const VOLK_Codec trig_codec
TriG codec.
Definition codec_trig.h:9
@ VOLK_CODEC_FEAT_ENCODE_STORE
Supports encoding a whole store.
Codec structure.
void * trig_encode_store_init(VOLK_Store *store)
Initialize a store encoding loop.
Definition writer_trig.c:60
void trig_encode_store_done(void *h)
Finalize the store encoding loop.
VOLK_rc trig_encode_store_iter(void *h, char **res_p)
Encode a chunk from a store.
Definition writer_trig.c:84