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
|