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 925 | #define RASQAL_VERSION 926 | |||
/** | /** | |||
* RASQAL_VERSION_STRING: | * RASQAL_VERSION_STRING: | |||
* | * | |||
* Rasqal library version string | * Rasqal library version string | |||
*/ | */ | |||
#define RASQAL_VERSION_STRING "0.9.25" | #define RASQAL_VERSION_STRING "0.9.26" | |||
/** | /** | |||
* 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 25 | #define RASQAL_VERSION_RELEASE 26 | |||
/** | /** | |||
* 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 587 | skipping to change at line 587 | |||
* @RASQAL_EXPR_CONCAT: Expression for SPARQL 1.1 CONCAT(strings) | * @RASQAL_EXPR_CONCAT: Expression for SPARQL 1.1 CONCAT(strings) | |||
* @RASQAL_EXPR_STRLEN: Expression for SPARQL 1.1 STRLEN(str) | * @RASQAL_EXPR_STRLEN: Expression for SPARQL 1.1 STRLEN(str) | |||
* @RASQAL_EXPR_SUBSTR: Expression for SPARQL 1.1 SUBSTR(str, start[,offset ]) | * @RASQAL_EXPR_SUBSTR: Expression for SPARQL 1.1 SUBSTR(str, start[,offset ]) | |||
* @RASQAL_EXPR_UCASE: Expression for SPARQL 1.1 UCASE(str) | * @RASQAL_EXPR_UCASE: Expression for SPARQL 1.1 UCASE(str) | |||
* @RASQAL_EXPR_LCASE: Expression for SPARQL 1.1 LCASE(str) | * @RASQAL_EXPR_LCASE: Expression for SPARQL 1.1 LCASE(str) | |||
* @RASQAL_EXPR_STRSTARTS: Expression for SPARQL 1.1 STRSTARTS(str, str) | * @RASQAL_EXPR_STRSTARTS: Expression for SPARQL 1.1 STRSTARTS(str, str) | |||
* @RASQAL_EXPR_STRENDS: Expression for SPARQL 1.1 STRENDS(str, str) | * @RASQAL_EXPR_STRENDS: Expression for SPARQL 1.1 STRENDS(str, str) | |||
* @RASQAL_EXPR_CONTAINS: Expression for SPARQL 1.1 CONTAINS(str, str) | * @RASQAL_EXPR_CONTAINS: Expression for SPARQL 1.1 CONTAINS(str, str) | |||
* @RASQAL_EXPR_ENCODE_FOR_URI: Expression for SPARQL 1.1 ENCODE_FOR_URI(st r) | * @RASQAL_EXPR_ENCODE_FOR_URI: Expression for SPARQL 1.1 ENCODE_FOR_URI(st r) | |||
* @RASQAL_EXPR_TZ: Expression for SPARQL 1.1 TZ() | * @RASQAL_EXPR_TZ: Expression for SPARQL 1.1 TZ() | |||
* @RASQAL_EXPR_UNKNOWN: Internal | ||||
* @RASQAL_EXPR_RAND: Expression for SPARQL 1.1 RAND() | * @RASQAL_EXPR_RAND: Expression for SPARQL 1.1 RAND() | |||
* @RASQAL_EXPR_ABS: Expression for SPARQL 1.1 ABS() | * @RASQAL_EXPR_ABS: Expression for SPARQL 1.1 ABS() | |||
* @RASQAL_EXPR_ROUND: Expression for SPARQL 1.1 ROUND() | * @RASQAL_EXPR_ROUND: Expression for SPARQL 1.1 ROUND() | |||
* @RASQAL_EXPR_CEIL: Expression for SPARQL 1.1 CEIL() | * @RASQAL_EXPR_CEIL: Expression for SPARQL 1.1 CEIL() | |||
* @RASQAL_EXPR_FLOOR: Expression for SPARQL 1.1 FLOOR() | * @RASQAL_EXPR_FLOOR: Expression for SPARQL 1.1 FLOOR() | |||
* @RASQAL_EXPR_MD5: Expression for SPARQL 1.1 MD5() | ||||
* @RASQAL_EXPR_SHA1: Expression for SPARQL 1.1 SHA1() | ||||
* @RASQAL_EXPR_SHA224: Expression for SPARQL 1.1 SHA224() | ||||
* @RASQAL_EXPR_SHA256: Expression for SPARQL 1.1 SHA256() | ||||
* @RASQAL_EXPR_SHA384: Expression for SPARQL 1.1 SHA384() | ||||
* @RASQAL_EXPR_SHA512: Expression for SPARQL 1.1 SHA512() | ||||
* @RASQAL_EXPR_UNKNOWN: Internal | ||||
* @RASQAL_EXPR_LAST: Internal | * @RASQAL_EXPR_LAST: Internal | |||
* | * | |||
* Rasqal expression operators. A mixture of unary, binary and | * Rasqal expression operators. A mixture of unary, binary and | |||
* tertiary operators (string matches). Also includes casting and | * tertiary operators (string matches). Also includes casting and | |||
* two ordering operators from ORDER BY in SPARQL. | * two ordering operators from ORDER BY in SPARQL. | |||
*/ | */ | |||
typedef enum { | typedef enum { | |||
/* internal */ | /* internal */ | |||
RASQAL_EXPR_UNKNOWN, | RASQAL_EXPR_UNKNOWN, | |||
RASQAL_EXPR_AND, | RASQAL_EXPR_AND, | |||
skipping to change at line 683 | skipping to change at line 689 | |||
RASQAL_EXPR_STRSTARTS, | RASQAL_EXPR_STRSTARTS, | |||
RASQAL_EXPR_STRENDS, | RASQAL_EXPR_STRENDS, | |||
RASQAL_EXPR_CONTAINS, | RASQAL_EXPR_CONTAINS, | |||
RASQAL_EXPR_ENCODE_FOR_URI, | RASQAL_EXPR_ENCODE_FOR_URI, | |||
RASQAL_EXPR_TZ, | RASQAL_EXPR_TZ, | |||
RASQAL_EXPR_RAND, | RASQAL_EXPR_RAND, | |||
RASQAL_EXPR_ABS, | RASQAL_EXPR_ABS, | |||
RASQAL_EXPR_ROUND, | RASQAL_EXPR_ROUND, | |||
RASQAL_EXPR_CEIL, | RASQAL_EXPR_CEIL, | |||
RASQAL_EXPR_FLOOR, | RASQAL_EXPR_FLOOR, | |||
RASQAL_EXPR_MD5, | ||||
RASQAL_EXPR_SHA1, | ||||
RASQAL_EXPR_SHA224, | ||||
RASQAL_EXPR_SHA256, | ||||
RASQAL_EXPR_SHA384, | ||||
RASQAL_EXPR_SHA512, | ||||
/* internal */ | /* internal */ | |||
RASQAL_EXPR_LAST = RASQAL_EXPR_FLOOR | RASQAL_EXPR_LAST = RASQAL_EXPR_SHA512 | |||
} rasqal_op; | } rasqal_op; | |||
/** | /** | |||
* rasqal_expression_flags: | * rasqal_expression_flags: | |||
* @RASQAL_EXPR_FLAG_DISTINCT: Distinct | * @RASQAL_EXPR_FLAG_DISTINCT: Distinct | |||
* @RASQAL_EXPR_FLAG_AGGREGATE: Aggregate function expression | * @RASQAL_EXPR_FLAG_AGGREGATE: Aggregate function expression | |||
* | * | |||
* Flags for expressions. | * Flags for expressions. | |||
*/ | */ | |||
typedef enum { | typedef enum { | |||
skipping to change at line 1005 | skipping to change at line 1017 | |||
RASQAL_API | RASQAL_API | |||
void rasqal_world_set_log_handler(rasqal_world* world, void *user_data, rap tor_log_handler handler); | void rasqal_world_set_log_handler(rasqal_world* world, void *user_data, rap tor_log_handler handler); | |||
RASQAL_API | RASQAL_API | |||
int rasqal_world_set_default_generate_bnodeid_parameters(rasqal_world* worl d, char *prefix, int base); | int rasqal_world_set_default_generate_bnodeid_parameters(rasqal_world* worl d, char *prefix, int base); | |||
RASQAL_API | RASQAL_API | |||
int rasqal_world_set_generate_bnodeid_handler(rasqal_world* world, void *us er_data, rasqal_generate_bnodeid_handler handler); | int rasqal_world_set_generate_bnodeid_handler(rasqal_world* world, void *us er_data, rasqal_generate_bnodeid_handler handler); | |||
RASQAL_API | RASQAL_API | |||
int rasqal_world_set_warning_level(rasqal_world* world, unsigned int warnin | ||||
g_level); | ||||
RASQAL_API | ||||
const raptor_syntax_description* rasqal_world_get_query_results_format_desc ription(rasqal_world* world, unsigned int counter); | const raptor_syntax_description* rasqal_world_get_query_results_format_desc ription(rasqal_world* world, unsigned int counter); | |||
RASQAL_API | RASQAL_API | |||
const char* rasqal_world_guess_query_results_format_name(rasqal_world* worl d, raptor_uri *uri, const char *mime_type, const unsigned char *buffer, siz e_t len, const unsigned char *identifier); | const char* rasqal_world_guess_query_results_format_name(rasqal_world* worl d, raptor_uri *uri, const char *mime_type, const unsigned char *buffer, siz e_t len, const unsigned char *identifier); | |||
/* Features */ | /* Features */ | |||
RASQAL_API | RASQAL_API | |||
int rasqal_features_enumerate(rasqal_world* world, const rasqal_feature fea ture, const char **name, raptor_uri **uri, const char **label); | int rasqal_features_enumerate(rasqal_world* world, const rasqal_feature fea ture, const char **name, raptor_uri **uri, const char **label); | |||
RASQAL_API | RASQAL_API | |||
unsigned int rasqal_get_feature_count(void); | unsigned int rasqal_get_feature_count(void); | |||
End of changes. 8 change blocks. | ||||
5 lines changed or deleted | 21 lines changed or added | |||