rasqal.h | rasqal.h | |||
---|---|---|---|---|
skipping to change at line 38 | skipping to change at line 38 | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/** | /** | |||
* RASQAL_VERSION: | * RASQAL_VERSION: | |||
* | * | |||
* Rasqal library version number | * Rasqal library version number | |||
* | * | |||
* Format: major * 10000 + minor * 100 + release | * Format: major * 10000 + minor * 100 + release | |||
*/ | */ | |||
#define RASQAL_VERSION 922 | #define RASQAL_VERSION 923 | |||
/** | /** | |||
* RASQAL_VERSION_STRING: | * RASQAL_VERSION_STRING: | |||
* | * | |||
* Rasqal library version string | * Rasqal library version string | |||
*/ | */ | |||
#define RASQAL_VERSION_STRING "0.9.22" | #define RASQAL_VERSION_STRING "0.9.23" | |||
/** | /** | |||
* RASQAL_VERSION_MAJOR: | * RASQAL_VERSION_MAJOR: | |||
* | * | |||
* Rasqal library major version | * Rasqal library major version | |||
*/ | */ | |||
#define RASQAL_VERSION_MAJOR 0 | #define RASQAL_VERSION_MAJOR 0 | |||
/** | /** | |||
* RASQAL_VERSION_MINOR: | * RASQAL_VERSION_MINOR: | |||
* | * | |||
* Rasqal library minor version | * Rasqal library minor version | |||
*/ | */ | |||
#define RASQAL_VERSION_MINOR 9 | #define RASQAL_VERSION_MINOR 9 | |||
/** | /** | |||
* RASQAL_VERSION_RELEASE: | * RASQAL_VERSION_RELEASE: | |||
* | * | |||
* Rasqal library release | * Rasqal library release | |||
*/ | */ | |||
#define RASQAL_VERSION_RELEASE 22 | #define RASQAL_VERSION_RELEASE 23 | |||
/** | /** | |||
* RASQAL_API: | * RASQAL_API: | |||
* | * | |||
* Macro for wrapping API function call declarations. | * Macro for wrapping API function call declarations. | |||
* | * | |||
*/ | */ | |||
#ifndef RASQAL_API | #ifndef RASQAL_API | |||
# ifdef WIN32 | # ifdef WIN32 | |||
# ifdef __GNUC__ | # ifdef __GNUC__ | |||
skipping to change at line 862 | skipping to change at line 862 | |||
typedef enum { | typedef enum { | |||
RASQAL_UPDATE_FLAGS_SILENT = 1, | RASQAL_UPDATE_FLAGS_SILENT = 1, | |||
RASQAL_UPDATE_FLAGS_DATA = 2, | RASQAL_UPDATE_FLAGS_DATA = 2, | |||
} rasqal_update_flags; | } rasqal_update_flags; | |||
/** | /** | |||
* rasqal_update_operation: | * rasqal_update_operation: | |||
* @type: type of update | * @type: type of update | |||
* @graph_uri: optional graph URI (clear, drop, load, with ... delete/inser t) | * @graph_uri: optional graph URI (clear, drop, load, with ... delete/inser t) | |||
* @document_uri: optional document URI (load) | * @document_uri: optional document URI (load) | |||
* @insert_templates: optional sequence of triple templates to insert | * @insert_templates: optional sequence of #rasqal_triple to insert. Data t | |||
* @delete_templates: optional sequence of triple templates to delete | riples if @flags is #RASQAL_UPDATE_FLAGS_DATA set, templates otherwise. | |||
* @delete_templates: optional sequence of #rasqal_triple templates to dele | ||||
te | ||||
* @where: optional where template (insert/delete) | * @where: optional where template (insert/delete) | |||
* @flags: update flags - bit-or of flags defined in #rasqal_update_flags | * @flags: update flags - bit-or of flags defined in #rasqal_update_flags | |||
* | * | |||
* Update operation - changing the dataset | * Update operation - changing the dataset | |||
* | * | |||
*/ | */ | |||
typedef struct { | typedef struct { | |||
rasqal_update_type type; | rasqal_update_type type; | |||
raptor_uri* graph_uri; | raptor_uri* graph_uri; | |||
skipping to change at line 1129 | skipping to change at line 1129 | |||
RASQAL_API | RASQAL_API | |||
int rasqal_graph_pattern_get_index(rasqal_graph_pattern* gp); | int rasqal_graph_pattern_get_index(rasqal_graph_pattern* gp); | |||
RASQAL_API | RASQAL_API | |||
int rasqal_graph_pattern_variable_bound_in(rasqal_graph_pattern *gp, rasqal _variable *v); | int rasqal_graph_pattern_variable_bound_in(rasqal_graph_pattern *gp, rasqal _variable *v); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_graph_pattern_get_origin(rasqal_graph_pattern* graph _pattern); | rasqal_literal* rasqal_graph_pattern_get_origin(rasqal_graph_pattern* graph _pattern); | |||
RASQAL_API | RASQAL_API | |||
rasqal_variable* rasqal_graph_pattern_get_variable(rasqal_graph_pattern* gr aph_pattern); | rasqal_variable* rasqal_graph_pattern_get_variable(rasqal_graph_pattern* gr aph_pattern); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_graph_pattern_get_service(rasqal_graph_pattern* grap h_pattern); | rasqal_literal* rasqal_graph_pattern_get_service(rasqal_graph_pattern* grap h_pattern); | |||
RASQAL_API | ||||
raptor_sequence* rasqal_graph_pattern_get_flattened_triples(rasqal_query* q | ||||
uery, rasqal_graph_pattern* graph_pattern); | ||||
/* Utility methods */ | /* Utility methods */ | |||
RASQAL_API | RASQAL_API | |||
const char* rasqal_query_verb_as_string(rasqal_query_verb verb); | const char* rasqal_query_verb_as_string(rasqal_query_verb verb); | |||
RASQAL_API | RASQAL_API | |||
int rasqal_query_print(rasqal_query* query, FILE* fh); | int rasqal_query_print(rasqal_query* query, FILE* fh); | |||
/* Query */ | /* Query */ | |||
RASQAL_API | RASQAL_API | |||
int rasqal_query_prepare(rasqal_query* query, const unsigned char *query_st ring, raptor_uri *base_uri); | int rasqal_query_prepare(rasqal_query* query, const unsigned char *query_st ring, raptor_uri *base_uri); | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 10 lines changed or added | |||