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 926 #define RASQAL_VERSION 927
/** /**
* RASQAL_VERSION_STRING: * RASQAL_VERSION_STRING:
* *
* Rasqal library version string * Rasqal library version string
*/ */
#define RASQAL_VERSION_STRING "0.9.26" #define RASQAL_VERSION_STRING "0.9.27"
/** /**
* 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 26 #define RASQAL_VERSION_RELEASE 27
/** /**
* 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 141 skipping to change at line 141
RASQAL_API RASQAL_API
extern const char * const rasqal_license_string; extern const char * const rasqal_license_string;
RASQAL_API RASQAL_API
extern const char * const rasqal_home_url_string; extern const char * const rasqal_home_url_string;
/** /**
* RASQAL_RAPTOR_VERSION: * RASQAL_RAPTOR_VERSION:
* *
* Version of Raptor that Rasqal was configured against. * Version of Raptor that Rasqal was configured against.
*/ */
#define RASQAL_RAPTOR_VERSION 20002 #define RASQAL_RAPTOR_VERSION 20004
/* Public structures */ /* Public structures */
#ifndef RASQAL_WORLD_DECLARED #ifndef RASQAL_WORLD_DECLARED
#define RASQAL_WORLD_DECLARED 1 #define RASQAL_WORLD_DECLARED 1
/** /**
* rasqal_world: * rasqal_world:
* *
* Rasqal world class. * Rasqal world class.
*/ */
skipping to change at line 1074 skipping to change at line 1074
RASQAL_API RASQAL_API
int rasqal_query_get_feature(rasqal_query *query, rasqal_feature feature); int rasqal_query_get_feature(rasqal_query *query, rasqal_feature feature);
RASQAL_API RASQAL_API
const unsigned char* rasqal_query_get_feature_string(rasqal_query *query, r asqal_feature feature); const unsigned char* rasqal_query_get_feature_string(rasqal_query *query, r asqal_feature feature);
RASQAL_API RASQAL_API
rasqal_query_verb rasqal_query_get_verb(rasqal_query* query); rasqal_query_verb rasqal_query_get_verb(rasqal_query* query);
RASQAL_API RASQAL_API
int rasqal_query_get_wildcard(rasqal_query* query); int rasqal_query_get_wildcard(rasqal_query* query);
RASQAL_API RASQAL_API
void rasqal_query_set_wildcard(rasqal_query* query, int wildcard);
RASQAL_API
int rasqal_query_get_distinct(rasqal_query* query); int rasqal_query_get_distinct(rasqal_query* query);
RASQAL_API RASQAL_API
void rasqal_query_set_distinct(rasqal_query* query, int distinct_mode); void rasqal_query_set_distinct(rasqal_query* query, int distinct_mode);
RASQAL_API RASQAL_API
int rasqal_query_get_explain(rasqal_query* query); int rasqal_query_get_explain(rasqal_query* query);
RASQAL_API RASQAL_API
void rasqal_query_set_explain(rasqal_query* query, int is_explain); void rasqal_query_set_explain(rasqal_query* query, int is_explain);
RASQAL_API RASQAL_API
int rasqal_query_get_limit(rasqal_query* query); int rasqal_query_get_limit(rasqal_query* query);
RASQAL_API RASQAL_API
skipping to change at line 1115 skipping to change at line 1117
raptor_sequence* rasqal_query_get_bound_variable_sequence(rasqal_query* que ry); raptor_sequence* rasqal_query_get_bound_variable_sequence(rasqal_query* que ry);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_describe_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_describe_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_anonymous_variable_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_anonymous_variable_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_all_variable_sequence(rasqal_query* query ); raptor_sequence* rasqal_query_get_all_variable_sequence(rasqal_query* query );
RASQAL_API RASQAL_API
rasqal_variable* rasqal_query_get_variable(rasqal_query* query, int idx); rasqal_variable* rasqal_query_get_variable(rasqal_query* query, int idx);
RASQAL_API RASQAL_API
int rasqal_query_has_variable2(rasqal_query* query, rasqal_variable_type ty
pe, const unsigned char *name);
RASQAL_API RASQAL_DEPRECATED
int rasqal_query_has_variable(rasqal_query* query, const unsigned char *nam e); int rasqal_query_has_variable(rasqal_query* query, const unsigned char *nam e);
RASQAL_API RASQAL_API
int rasqal_query_set_variable2(rasqal_query* query, rasqal_variable_type ty
pe, const unsigned char *name, rasqal_literal* value);
RASQAL_API RASQAL_DEPRECATED
int rasqal_query_set_variable(rasqal_query* query, const unsigned char *nam e, rasqal_literal* value); int rasqal_query_set_variable(rasqal_query* query, const unsigned char *nam e, rasqal_literal* value);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_triple_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_triple_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
rasqal_triple* rasqal_query_get_triple(rasqal_query* query, int idx); rasqal_triple* rasqal_query_get_triple(rasqal_query* query, int idx);
RASQAL_API RASQAL_API
int rasqal_query_add_prefix(rasqal_query* query, rasqal_prefix* prefix); int rasqal_query_add_prefix(rasqal_query* query, rasqal_prefix* prefix);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_prefix_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_prefix_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
skipping to change at line 1438 skipping to change at line 1444
void rasqal_free_evaluation_context(rasqal_evaluation_context* eval_context ); void rasqal_free_evaluation_context(rasqal_evaluation_context* eval_context );
RASQAL_API RASQAL_API
int rasqal_evaluation_context_set_base_uri(rasqal_evaluation_context* eval_ context, raptor_uri *base_uri); int rasqal_evaluation_context_set_base_uri(rasqal_evaluation_context* eval_ context, raptor_uri *base_uri);
RASQAL_API RASQAL_API
int rasqal_evaluation_context_set_rand_seed(rasqal_evaluation_context* eval _context, unsigned int seed); int rasqal_evaluation_context_set_rand_seed(rasqal_evaluation_context* eval _context, unsigned int seed);
/* 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_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_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
skipping to change at line 1506 skipping to change at line 1514
int rasqal_literal_is_rdf_literal(rasqal_literal* l); int rasqal_literal_is_rdf_literal(rasqal_literal* l);
RASQAL_API RASQAL_API
rasqal_prefix* rasqal_new_prefix(rasqal_world* world, const unsigned char* prefix, raptor_uri* uri); rasqal_prefix* rasqal_new_prefix(rasqal_world* world, const unsigned char* prefix, raptor_uri* uri);
RASQAL_API RASQAL_API
void rasqal_free_prefix(rasqal_prefix* p); void rasqal_free_prefix(rasqal_prefix* p);
RASQAL_API RASQAL_API
int rasqal_prefix_print(rasqal_prefix* p, FILE* fh); int rasqal_prefix_print(rasqal_prefix* p, FILE* fh);
/* Row class */ /* Row class */
RASQAL_API
rasqal_row* rasqal_new_row_for_size(rasqal_world* world, int size); rasqal_row* rasqal_new_row_for_size(rasqal_world* world, int size);
RASQAL_API
void rasqal_free_row(rasqal_row* row); void rasqal_free_row(rasqal_row* row);
RASQAL_API
int rasqal_row_set_value_at(rasqal_row* row, int offset, rasqal_literal* va lue); int rasqal_row_set_value_at(rasqal_row* row, int offset, rasqal_literal* va lue);
/* Triple class */ /* Triple class */
RASQAL_API RASQAL_API
rasqal_triple* rasqal_new_triple(rasqal_literal* subject, rasqal_literal* p redicate, rasqal_literal* object); rasqal_triple* rasqal_new_triple(rasqal_literal* subject, rasqal_literal* p redicate, rasqal_literal* object);
RASQAL_API RASQAL_API
rasqal_triple* rasqal_new_triple_from_triple(rasqal_triple* t); rasqal_triple* rasqal_new_triple_from_triple(rasqal_triple* t);
RASQAL_API RASQAL_API
void rasqal_free_triple(rasqal_triple* t); void rasqal_free_triple(rasqal_triple* t);
RASQAL_API RASQAL_API
skipping to change at line 1541 skipping to change at line 1552
RASQAL_API RASQAL_API
void rasqal_variable_set_value(rasqal_variable* v, rasqal_literal* l); void rasqal_variable_set_value(rasqal_variable* v, rasqal_literal* l);
/* Variables Table */ /* Variables Table */
RASQAL_API RASQAL_API
rasqal_variables_table* rasqal_new_variables_table(rasqal_world* world); rasqal_variables_table* rasqal_new_variables_table(rasqal_world* world);
RASQAL_API RASQAL_API
void rasqal_free_variables_table(rasqal_variables_table* vt); void rasqal_free_variables_table(rasqal_variables_table* vt);
RASQAL_API RASQAL_API
rasqal_variable* rasqal_variables_table_add(rasqal_variables_table* vt, ras qal_variable_type type, const unsigned char *name, rasqal_literal *value); rasqal_variable* rasqal_variables_table_add(rasqal_variables_table* vt, ras qal_variable_type type, const unsigned char *name, rasqal_literal *value);
RASQAL_API
int rasqal_variables_table_add_variable(rasqal_variables_table* vt, rasqal_
variable* variable);
RASQAL_API
rasqal_variable* rasqal_variables_table_get_by_name(rasqal_variables_table*
vt, rasqal_variable_type type, const unsigned char *name);
RASQAL_API
int rasqal_variables_table_contains(rasqal_variables_table* vt, rasqal_vari
able_type type, const unsigned char *name);
/* memory functions */ /* memory functions */
RASQAL_API RASQAL_API
void rasqal_free_memory(void *ptr); void rasqal_free_memory(void *ptr);
RASQAL_API RASQAL_API
void* rasqal_alloc_memory(size_t size); void* rasqal_alloc_memory(size_t size);
RASQAL_API RASQAL_API
void* rasqal_calloc_memory(size_t nmemb, size_t size); void* rasqal_calloc_memory(size_t nmemb, size_t size);
/* decimal functions */ /* decimal functions */
RASQAL_API RASQAL_API
rasqal_xsd_decimal* rasqal_new_xsd_decimal(rasqal_world* world); rasqal_xsd_decimal* rasqal_new_xsd_decimal(rasqal_world* world);
RASQAL_API RASQAL_API
void rasqal_free_xsd_decimal(rasqal_xsd_decimal* dec); void rasqal_free_xsd_decimal(rasqal_xsd_decimal* dec);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_set_string(rasqal_xsd_decimal* dec, const char* stri ng); int rasqal_xsd_decimal_set_string(rasqal_xsd_decimal* dec, const char* stri ng);
RASQAL_API RASQAL_API
double rasqal_xsd_decimal_get_double(rasqal_xsd_decimal* dec); double rasqal_xsd_decimal_get_double(rasqal_xsd_decimal* dec);
RASQAL_API RASQAL_API
long rasqal_xsd_decimal_get_long(rasqal_xsd_decimal* dec, int* error_p);
RASQAL_API
char* rasqal_xsd_decimal_as_string(rasqal_xsd_decimal* dec); char* rasqal_xsd_decimal_as_string(rasqal_xsd_decimal* dec);
RASQAL_API RASQAL_API
char* rasqal_xsd_decimal_as_counted_string(rasqal_xsd_decimal* dec, size_t* len_p); char* rasqal_xsd_decimal_as_counted_string(rasqal_xsd_decimal* dec, size_t* len_p);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_set_long(rasqal_xsd_decimal* dec, long l); int rasqal_xsd_decimal_set_long(rasqal_xsd_decimal* dec, long l);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_set_double(rasqal_xsd_decimal* dec, double d); int rasqal_xsd_decimal_set_double(rasqal_xsd_decimal* dec, double d);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_print(rasqal_xsd_decimal* dec, FILE* stream); int rasqal_xsd_decimal_print(rasqal_xsd_decimal* dec, FILE* stream);
RASQAL_API RASQAL_API
skipping to change at line 1634 skipping to change at line 1653
char* rasqal_xsd_datetime_get_tz_as_counted_string(rasqal_xsd_datetime* dt, size_t *len_p); char* rasqal_xsd_datetime_get_tz_as_counted_string(rasqal_xsd_datetime* dt, size_t *len_p);
/** /**
* rasqal_service: * rasqal_service:
* *
* Rasqal SPARQL Protocol Service * Rasqal SPARQL Protocol Service
*/ */
typedef struct rasqal_service_s rasqal_service; typedef struct rasqal_service_s rasqal_service;
RASQAL_API RASQAL_API
rasqal_service* rasqal_new_service(rasqal_world* world, raptor_uri* service _uri, const char* query_string, raptor_sequence* data_graphs); rasqal_service* rasqal_new_service(rasqal_world* world, raptor_uri* service _uri, const unsigned char* query_string, raptor_sequence* data_graphs);
RASQAL_API RASQAL_API
void rasqal_free_service(rasqal_service* svc); void rasqal_free_service(rasqal_service* svc);
RASQAL_API RASQAL_API
rasqal_query_results* rasqal_service_execute(rasqal_service* svc); rasqal_query_results* rasqal_service_execute(rasqal_service* svc);
RASQAL_API RASQAL_API
int rasqal_service_set_www(rasqal_service* svc, raptor_www* www); int rasqal_service_set_www(rasqal_service* svc, raptor_www* www);
RASQAL_API RASQAL_API
int rasqal_service_set_format(rasqal_service* svc, const char *format); int rasqal_service_set_format(rasqal_service* svc, const char *format);
/** /**
 End of changes. 14 change blocks. 
5 lines changed or deleted 30 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/