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 929 | #define RASQAL_VERSION 930 | |||
/** | /** | |||
* RASQAL_VERSION_STRING: | * RASQAL_VERSION_STRING: | |||
* | * | |||
* Rasqal library version string | * Rasqal library version string | |||
*/ | */ | |||
#define RASQAL_VERSION_STRING "0.9.29" | #define RASQAL_VERSION_STRING "0.9.30" | |||
/** | /** | |||
* 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 29 | #define RASQAL_VERSION_RELEASE 30 | |||
/** | /** | |||
* 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 906 | skipping to change at line 906 | |||
* @user_bnodeid: user blank node ID string passed in | * @user_bnodeid: user blank node ID string passed in | |||
* | * | |||
* User handler used with rasqal_world_set_generate_bnodeid_handler() to se t method for generating a blank node ID. | * User handler used with rasqal_world_set_generate_bnodeid_handler() to se t method for generating a blank node ID. | |||
* | * | |||
* Return value: blank node ID string or NULL on failure. | * Return value: blank node ID string or NULL on failure. | |||
*/ | */ | |||
typedef unsigned char* (*rasqal_generate_bnodeid_handler)(rasqal_world* wor ld, void *user_data, unsigned char *user_bnodeid); | typedef unsigned char* (*rasqal_generate_bnodeid_handler)(rasqal_world* wor ld, void *user_data, unsigned char *user_bnodeid); | |||
/** | /** | |||
* rasqal_query_verb: | * rasqal_query_verb: | |||
* @RASQAL_QUERY_VERB_SELECT: RDQL/SPARQL query select verb. | * @RASQAL_QUERY_VERB_SELECT: SPARQL query select verb. | |||
* @RASQAL_QUERY_VERB_CONSTRUCT: SPARQL query construct verb. | * @RASQAL_QUERY_VERB_CONSTRUCT: SPARQL query construct verb. | |||
* @RASQAL_QUERY_VERB_DESCRIBE: SPARQL query describe verb. | * @RASQAL_QUERY_VERB_DESCRIBE: SPARQL query describe verb. | |||
* @RASQAL_QUERY_VERB_ASK: SPARQL query ask verb. | * @RASQAL_QUERY_VERB_ASK: SPARQL query ask verb. | |||
* @RASQAL_QUERY_VERB_DELETE: LAQRS query delete verb. | * @RASQAL_QUERY_VERB_DELETE: LAQRS query delete verb. | |||
* @RASQAL_QUERY_VERB_INSERT: LAQRS query insert verb. | * @RASQAL_QUERY_VERB_INSERT: LAQRS query insert verb. | |||
* @RASQAL_QUERY_VERB_UPDATE: SPARQL 1.1 (draft) update operation | * @RASQAL_QUERY_VERB_UPDATE: SPARQL 1.1 (draft) update operation | |||
* @RASQAL_QUERY_VERB_UNKNOWN: Internal | * @RASQAL_QUERY_VERB_UNKNOWN: Internal | |||
* @RASQAL_QUERY_VERB_LAST: Internal | * @RASQAL_QUERY_VERB_LAST: Internal | |||
* | * | |||
* Query main operation verbs describing the major type of query | * Query main operation verbs describing the major type of query | |||
skipping to change at line 1438 | skipping to change at line 1438 | |||
RASQAL_API | RASQAL_API | |||
int rasqal_query_iostream_write_escaped_counted_string(rasqal_query* query, raptor_iostream* iostr, const unsigned char* string, size_t len); | int rasqal_query_iostream_write_escaped_counted_string(rasqal_query* query, raptor_iostream* iostr, const unsigned char* string, size_t len); | |||
RASQAL_API | RASQAL_API | |||
unsigned char* rasqal_query_escape_counted_string(rasqal_query* query, cons t unsigned char *string, size_t len, size_t* output_len_p); | unsigned char* rasqal_query_escape_counted_string(rasqal_query* query, cons t unsigned char *string, size_t len, size_t* output_len_p); | |||
/* Data graph class */ | /* Data graph class */ | |||
RASQAL_API | RASQAL_API | |||
rasqal_data_graph* rasqal_new_data_graph_from_uri(rasqal_world* world, rapt or_uri* uri, raptor_uri* name_uri, int flags, const char* format_type, cons t char* format_name, raptor_uri* format_uri); | rasqal_data_graph* rasqal_new_data_graph_from_uri(rasqal_world* world, rapt or_uri* uri, raptor_uri* name_uri, int flags, const char* format_type, cons t char* format_name, raptor_uri* format_uri); | |||
RASQAL_API | RASQAL_API | |||
rasqal_data_graph* rasqal_new_data_graph_from_iostream(rasqal_world* world, raptor_iostream* iostr, raptor_uri* base_uri, raptor_uri* name_uri, int fl ags, const char* format_type, const char* format_name, raptor_uri* format_u ri); | rasqal_data_graph* rasqal_new_data_graph_from_iostream(rasqal_world* world, raptor_iostream* iostr, raptor_uri* base_uri, raptor_uri* name_uri, unsign ed int flags, const char* format_type, const char* format_name, raptor_uri* format_uri); | |||
RASQAL_API | RASQAL_API | |||
rasqal_data_graph* rasqal_new_data_graph_from_data_graph(rasqal_data_graph* dg); | rasqal_data_graph* rasqal_new_data_graph_from_data_graph(rasqal_data_graph* dg); | |||
RASQAL_API | RASQAL_API | |||
void rasqal_free_data_graph(rasqal_data_graph* dg); | void rasqal_free_data_graph(rasqal_data_graph* dg); | |||
RASQAL_API | RASQAL_API | |||
int rasqal_data_graph_print(rasqal_data_graph* dg, FILE* fh); | int rasqal_data_graph_print(rasqal_data_graph* dg, FILE* fh); | |||
/** | /** | |||
* rasqal_compare_flags: | * rasqal_compare_flags: | |||
* @RASQAL_COMPARE_NOCASE: String comparisons are case independent. | * @RASQAL_COMPARE_NOCASE: String comparisons are case independent. | |||
* @RASQAL_COMPARE_XQUERY: XQuery comparsion rules apply. | * @RASQAL_COMPARE_XQUERY: XQuery comparsion rules apply. | |||
* @RASQAL_COMPARE_RDF: RDF Term comparsion rules apply. | * @RASQAL_COMPARE_RDF: RDF Term comparsion rules apply. | |||
* @RASQAL_COMPARE_URI: Allow comparison of URIs and allow strings to ha ve a boolean value (for RDQL) | * @RASQAL_COMPARE_URI: Allow comparison of URIs and allow strings to ha ve a boolean value (unused; was for RDQL) | |||
* @RASQAL_COMPARE_SAMETERM: SPARQL sameTerm() builtin rules apply. | * @RASQAL_COMPARE_SAMETERM: SPARQL sameTerm() builtin rules apply. | |||
* | * | |||
* Flags for rasqal_expression_evaluate(), rasqal_literal_compare() or | * Flags for rasqal_expression_evaluate(), rasqal_literal_compare() or | |||
* rasqal_literal_as_string_flags() | * rasqal_literal_as_string_flags() | |||
*/ | */ | |||
typedef enum { | typedef enum { | |||
RASQAL_COMPARE_NOCASE = 1, | RASQAL_COMPARE_NOCASE = 1, | |||
RASQAL_COMPARE_XQUERY = 2, | RASQAL_COMPARE_XQUERY = 2, | |||
RASQAL_COMPARE_RDF = 4, | RASQAL_COMPARE_RDF = 4, | |||
RASQAL_COMPARE_URI = 8, | RASQAL_COMPARE_URI = 8, | |||
skipping to change at line 1571 | skipping to change at line 1571 | |||
/* Literal class */ | /* Literal class */ | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_integer_literal(rasqal_world* world, rasqal_lite ral_type type, int integer); | rasqal_literal* rasqal_new_integer_literal(rasqal_world* world, rasqal_lite ral_type type, int integer); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_numeric_literal_from_long(rasqal_world* world, r asqal_literal_type type, long value); | rasqal_literal* rasqal_new_numeric_literal_from_long(rasqal_world* world, r asqal_literal_type type, long value); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_typed_literal(rasqal_world* world, rasqal_litera l_type type, const unsigned char* string); | rasqal_literal* rasqal_new_typed_literal(rasqal_world* world, rasqal_litera l_type type, const unsigned char* string); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_double_literal(rasqal_world* world, double d); | rasqal_literal* rasqal_new_double_literal(rasqal_world* world, double d); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_floating_literal(rasqal_world *world, rasqal_lit | ||||
eral_type type, double d); | ||||
RASQAL_API RASQAL_DEPRECATED | ||||
rasqal_literal* rasqal_new_float_literal(rasqal_world* world, float f); | rasqal_literal* rasqal_new_float_literal(rasqal_world* world, float f); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_uri_literal(rasqal_world* world, raptor_uri* uri ); | rasqal_literal* rasqal_new_uri_literal(rasqal_world* world, raptor_uri* uri ); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_pattern_literal(rasqal_world* world, const unsig ned char *pattern, const char *flags); | rasqal_literal* rasqal_new_pattern_literal(rasqal_world* world, const unsig ned char *pattern, const char *flags); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_string_literal(rasqal_world* world, const unsign ed char *string, const char *language, raptor_uri *datatype, const unsigned char *datatype_qname); | rasqal_literal* rasqal_new_string_literal(rasqal_world* world, const unsign ed char *string, const char *language, raptor_uri *datatype, const unsigned char *datatype_qname); | |||
RASQAL_API | RASQAL_API | |||
rasqal_literal* rasqal_new_simple_literal(rasqal_world* world, rasqal_liter al_type type, const unsigned char *string); | rasqal_literal* rasqal_new_simple_literal(rasqal_world* world, rasqal_liter al_type type, const unsigned char *string); | |||
RASQAL_API | RASQAL_API | |||
End of changes. 7 change blocks. | ||||
6 lines changed or deleted | 9 lines changed or added | |||