File: import.h

package info (click to toggle)
4store 1.1.6%2B20151109-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 82,388 kB
  • sloc: ansic: 65,689; sh: 2,916; perl: 2,245; makefile: 281; python: 213
file content (23 lines) | stat: -rw-r--r-- 822 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef IMPORT_H
#define IMPORT_H

#include "../common/4store.h"

#define FS_DRYRUN_DELETE    0x01
#define FS_DRYRUN_RESOURCES 0x02
#define FS_DRYRUN_QUADS     0x04

int fs_import(fsp_link *link, const char *model_uri, char *resource_uri,
	      const char *format, int verbosity, int dryrun, int has_o_index,
	      FILE *msg, int *count);

int fs_import_commit(fsp_link *link, int verbosity, int dryrun, int has_o_index, FILE *msg, int *count);

int fs_import_stream_start(fsp_link *link, const char *model_uri, const char *mimetype, int has_o_index, int *count);
int fs_import_stream_data(fsp_link *link, unsigned char *data, size_t count);
int fs_import_stream_finish(fsp_link *link, int *count, int *errors);
void fs_import_reread_config();

fs_rid fs_bnode_id(fsp_link *link, raptor_term_blank_value blank);

#endif