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 928 #define RASQAL_VERSION 929
/** /**
* RASQAL_VERSION_STRING: * RASQAL_VERSION_STRING:
* *
* Rasqal library version string * Rasqal library version string
*/ */
#define RASQAL_VERSION_STRING "0.9.28" #define RASQAL_VERSION_STRING "0.9.29"
/** /**
* 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 28 #define RASQAL_VERSION_RELEASE 29
/** /**
* 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 137 skipping to change at line 137
* rasqal_copyright_string: * rasqal_copyright_string:
* *
* Copyright string (multiple lines). * Copyright string (multiple lines).
*/ */
RASQAL_API RASQAL_API
extern const char * const rasqal_copyright_string; extern const char * const rasqal_copyright_string;
/** /**
* rasqal_version_string: * rasqal_version_string:
* *
* Raptor version as a string. * Rasqal version as a string.
*/ */
RASQAL_API RASQAL_API
extern const char * const rasqal_version_string; extern const char * const rasqal_version_string;
/** /**
* rasqal_version_major: * rasqal_version_major:
* *
* Raptor major version number. * Rasqal major version number.
*/ */
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_major; extern const unsigned int rasqal_version_major;
/** /**
* rasqal_version_minor: * rasqal_version_minor:
* *
* Raptor minor version number. * Rasqal minor version number.
*/ */
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_minor; extern const unsigned int rasqal_version_minor;
/** /**
* rasqal_version_release: * rasqal_version_release:
* *
* Raptor release version number. * Rasqal release version number.
*/ */
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_release; extern const unsigned int rasqal_version_release;
/** /**
* rasqal_version_decimal: * rasqal_version_decimal:
* *
* Raptor version as a decimal number. * Rasqal version as a decimal number.
* *
* Format: major * 10000 + minor * 100 + release * Format: major * 10000 + minor * 100 + release
*/ */
RASQAL_API RASQAL_API
extern const unsigned int rasqal_version_decimal; extern const unsigned int rasqal_version_decimal;
/** /**
* rasqal_license_string: * rasqal_license_string:
* *
* Raptor license string. * Rasqal license string.
*/ */
RASQAL_API RASQAL_API
extern const char * const rasqal_license_string; extern const char * const rasqal_license_string;
/** /**
* rasqal_home_url_string: * rasqal_home_url_string:
* *
* Raptor home page URL. * Rasqal home page URL.
*/ */
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 20008 #define RASQAL_RAPTOR_VERSION 20008
skipping to change at line 403 skipping to change at line 403
* @RASQAL_LITERAL_BOOLEAN: Boolean literal xsd:boolean. * @RASQAL_LITERAL_BOOLEAN: Boolean literal xsd:boolean.
* @RASQAL_LITERAL_INTEGER: Integer literal xsd:integer. * @RASQAL_LITERAL_INTEGER: Integer literal xsd:integer.
* @RASQAL_LITERAL_DOUBLE: Double floating point literal xsd:double. * @RASQAL_LITERAL_DOUBLE: Double floating point literal xsd:double.
* @RASQAL_LITERAL_FLOAT: Floating point literal xsd:float. * @RASQAL_LITERAL_FLOAT: Floating point literal xsd:float.
* @RASQAL_LITERAL_DECIMAL: Decimal integer xsd:decimal. * @RASQAL_LITERAL_DECIMAL: Decimal integer xsd:decimal.
* @RASQAL_LITERAL_DATETIME: Date/Time literal xsd:dateTime. * @RASQAL_LITERAL_DATETIME: Date/Time literal xsd:dateTime.
* @RASQAL_LITERAL_UDT: User defined typed literal with unknown datatype UR I * @RASQAL_LITERAL_UDT: User defined typed literal with unknown datatype UR I
* @RASQAL_LITERAL_PATTERN: Pattern literal for a regex. * @RASQAL_LITERAL_PATTERN: Pattern literal for a regex.
* @RASQAL_LITERAL_QNAME: XML Qname literal. * @RASQAL_LITERAL_QNAME: XML Qname literal.
* @RASQAL_LITERAL_VARIABLE: Variable literal. * @RASQAL_LITERAL_VARIABLE: Variable literal.
* @RASQAL_LITERAL_DATE: Date literal xsd:date.
* @RASQAL_LITERAL_INTEGER_SUBTYPE: Internal. * @RASQAL_LITERAL_INTEGER_SUBTYPE: Internal.
* @RASQAL_LITERAL_UNKNOWN: Internal. * @RASQAL_LITERAL_UNKNOWN: Internal.
* @RASQAL_LITERAL_FIRST_XSD: Internal. * @RASQAL_LITERAL_FIRST_XSD: Internal.
* @RASQAL_LITERAL_LAST_XSD: Internal. * @RASQAL_LITERAL_LAST_XSD: Internal.
* @RASQAL_LITERAL_LAST: Internal. * @RASQAL_LITERAL_LAST: Internal.
* *
* Types of literal. * Types of literal.
* *
* The order in the enumeration is significant as it encodes * The order in the enumeration is significant as it encodes
* the SPARQL term ordering conditions: * the SPARQL term ordering conditions:
skipping to change at line 451 skipping to change at line 452
/* internal */ /* internal */
RASQAL_LITERAL_FIRST_XSD = RASQAL_LITERAL_XSD_STRING, RASQAL_LITERAL_FIRST_XSD = RASQAL_LITERAL_XSD_STRING,
/* internal */ /* internal */
RASQAL_LITERAL_LAST_XSD = RASQAL_LITERAL_DATETIME, RASQAL_LITERAL_LAST_XSD = RASQAL_LITERAL_DATETIME,
RASQAL_LITERAL_UDT, RASQAL_LITERAL_UDT,
RASQAL_LITERAL_PATTERN, RASQAL_LITERAL_PATTERN,
RASQAL_LITERAL_QNAME, RASQAL_LITERAL_QNAME,
RASQAL_LITERAL_VARIABLE, RASQAL_LITERAL_VARIABLE,
/* internal */ /* internal */
RASQAL_LITERAL_INTEGER_SUBTYPE, RASQAL_LITERAL_INTEGER_SUBTYPE,
RASQAL_LITERAL_DATE,
/* internal */ /* internal */
RASQAL_LITERAL_LAST = RASQAL_LITERAL_INTEGER_SUBTYPE RASQAL_LITERAL_LAST = RASQAL_LITERAL_DATE
} rasqal_literal_type; } rasqal_literal_type;
#define RASQAL_LITERAL_UDT_DEFINED 1 #define RASQAL_LITERAL_UDT_DEFINED 1
/** /**
* rasqal_row: * rasqal_row:
* *
* Rasqal Result Row class. * Rasqal Result Row class.
*/ */
typedef struct rasqal_row_s rasqal_row; typedef struct rasqal_row_s rasqal_row;
skipping to change at line 479 skipping to change at line 481
typedef struct rasqal_xsd_decimal_s rasqal_xsd_decimal; typedef struct rasqal_xsd_decimal_s rasqal_xsd_decimal;
/** /**
* RASQAL_XSD_DATETIME_NO_TZ: * RASQAL_XSD_DATETIME_NO_TZ:
* *
* Sentinel XSD Decimal timezone value indicating no timezone is present. * Sentinel XSD Decimal timezone value indicating no timezone is present.
*/ */
#define RASQAL_XSD_DATETIME_NO_TZ (9999) #define RASQAL_XSD_DATETIME_NO_TZ (9999)
/** /**
* rasqal_xsd_date:
* @year: year
* @month: month 1-12
* @day: 1-31
* @timezone_minutes: minutes +/- against UTC or RASQAL_XSD_DATETIME_NO_TZ
if there is no timezone in the dateTime.
* @time_on_timeline: time on timeline of first instant of date in timezone
* @have_tz: timezone flag: 'Z' if Zulu, 'Y' if has other timezone offset i
n @timezone_minutes, 'N' if there is no timezone
*
* XML schema date datatype (xsd:date)
*
* Examples of timezone fields:
* "2010-01-02" : timezone_minutes RASQAL_XSD_DATETIME_NO_TZ, have_tz 'N'
* "2010-01-02Z" : timezone_minutes 0, have_tz 'Z'
* "2010-01-02+00:00" : timezone_minutes 0, have_tz 'Y'
* "2010-01-02-01:00" : timezone_minutes -60, have_tz 'Y'
*/
typedef struct {
signed int year;
/* the following fields are integer values not characters */
unsigned char month;
unsigned char day;
signed short timezone_minutes;
time_t time_on_timeline;
char have_tz;
} rasqal_xsd_date;
/**
* rasqal_xsd_datetime: * rasqal_xsd_datetime:
* @year: year * @year: year
* @month: month 1-12 * @month: month 1-12
* @day: 0-31 * @day: 1-31
* @hour: hour 0-23 * @hour: hour 0-23
* @minute: minute 0-59 * @minute: minute 0-59
* @second: second 0-60 (yes 60 is allowed for leap seconds) * @second: second 0-60 (yes 60 is allowed for leap seconds)
* @microseconds: microseconds * @microseconds: microseconds
* @timezone_minutes: minutes +/- against UTC or RASQAL_XSD_DATETIME_NO_TZ * @timezone_minutes: minutes +/- against UTC or RASQAL_XSD_DATETIME_NO_TZ
if there isno timezone in the dateTime. if there is no timezone in the dateTime.
* @time_on_timeline: time on timeline
* @have_tz: timezone flag: 'Z' if Zulu, 'Y' if has other timezone offset i
n @timezone_minutes, 'N' if there is no timezone
* *
* XML Schema dateTime datatype (xsd:dateTime) * XML Schema dateTime datatype (xsd:dateTime)
* *
* Signed types are required for normalization process where a value * Signed types are required for normalization process where a value
* can be negative temporarily. * can be negative temporarily.
*
* Examples of timezone fields:
* "2010-01-02T01:02:03" : timezone_minutes RASQAL_XSD_DATETIME_NO_TZ, hav
e_tz 'N'
* "2010-01-02T01:02:03Z" : timezone_minutes 0, have_tz 'Z'
* "2010-01-02T01:02:03+00:00" : timezone_minutes 0, have_tz 'Y'
* "2010-01-02T01:02:03-01:00" : timezone_minutes -60, have_tz 'Y'
*/ */
typedef struct { typedef struct {
signed int year; signed int year;
unsigned char month; unsigned char month;
unsigned char day; unsigned char day;
/* the following fields are integer values not characters */ /* the following fields are integer values not characters */
signed char hour; signed char hour;
signed char minute; signed char minute;
signed char second; signed char second;
signed int microseconds; signed int microseconds;
signed short timezone_minutes; signed short timezone_minutes;
time_t time_on_timeline;
char have_tz;
} rasqal_xsd_datetime; } rasqal_xsd_datetime;
/** /**
* rasqal_literal: * rasqal_literal:
* @world: world object pointer * @world: world object pointer
* @usage: Usage count. * @usage: Usage count.
* @type: Type of literal. * @type: Type of literal.
* @string: String form of literal for literal types UTF-8 string, pattern, qname, blank, double, float, decimal, datetime. * @string: String form of literal for literal types UTF-8 string, pattern, qname, blank, double, float, decimal, datetime.
* @string_len: Length of @string. * @string_len: Length of @string.
* @value: Alternate value content. * @value: Alternate value content.
skipping to change at line 547 skipping to change at line 586
/* double and float */ /* double and float */
double floating; double floating;
/* uri (can be temporarily NULL if a qname, see flags below) */ /* uri (can be temporarily NULL if a qname, see flags below) */
raptor_uri* uri; raptor_uri* uri;
/* variable */ /* variable */
rasqal_variable* variable; rasqal_variable* variable;
/* decimal */ /* decimal */
rasqal_xsd_decimal* decimal; rasqal_xsd_decimal* decimal;
/* datetime */ /* datetime */
rasqal_xsd_datetime* datetime; rasqal_xsd_datetime* datetime;
/* date */
rasqal_xsd_date* date;
} value; } value;
/* for string */ /* for string */
const char *language; const char *language;
raptor_uri *datatype; raptor_uri *datatype;
/* various flags for literal types: /* various flags for literal types:
* pattern regex flags * pattern regex flags
* string datatype of qname * string datatype of qname
* uri qname of URI not yet expanded (temporary) * uri qname of URI not yet expanded (temporary)
skipping to change at line 657 skipping to change at line 698
* @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_MD5: Expression for SPARQL 1.1 MD5()
* @RASQAL_EXPR_SHA1: Expression for SPARQL 1.1 SHA1() * @RASQAL_EXPR_SHA1: Expression for SPARQL 1.1 SHA1()
* @RASQAL_EXPR_SHA224: Expression for SPARQL 1.1 SHA224() * @RASQAL_EXPR_SHA224: Expression for SPARQL 1.1 SHA224()
* @RASQAL_EXPR_SHA256: Expression for SPARQL 1.1 SHA256() * @RASQAL_EXPR_SHA256: Expression for SPARQL 1.1 SHA256()
* @RASQAL_EXPR_SHA384: Expression for SPARQL 1.1 SHA384() * @RASQAL_EXPR_SHA384: Expression for SPARQL 1.1 SHA384()
* @RASQAL_EXPR_SHA512: Expression for SPARQL 1.1 SHA512() * @RASQAL_EXPR_SHA512: Expression for SPARQL 1.1 SHA512()
* @RASQAL_EXPR_STRBEFORE: Expression for SPARQL 1.1 STRBEFORE() * @RASQAL_EXPR_STRBEFORE: Expression for SPARQL 1.1 STRBEFORE()
* @RASQAL_EXPR_STRAFTER: Expression for SPARQL 1.1 STRAFTER() * @RASQAL_EXPR_STRAFTER: Expression for SPARQL 1.1 STRAFTER()
* @RASQAL_EXPR_REPLACE: Expression for SPARQL 1.1 REPLACE() * @RASQAL_EXPR_REPLACE: Expression for SPARQL 1.1 REPLACE()
* @RASQAL_EXPR_UUID: Expression for SPARQL 1.1 UUID()
* @RASQAL_EXPR_STRUUID: Expression for SPARQL 1.1 STRUUID()
* @RASQAL_EXPR_UNKNOWN: Internal * @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,
skipping to change at line 757 skipping to change at line 800
RASQAL_EXPR_FLOOR, RASQAL_EXPR_FLOOR,
RASQAL_EXPR_MD5, RASQAL_EXPR_MD5,
RASQAL_EXPR_SHA1, RASQAL_EXPR_SHA1,
RASQAL_EXPR_SHA224, RASQAL_EXPR_SHA224,
RASQAL_EXPR_SHA256, RASQAL_EXPR_SHA256,
RASQAL_EXPR_SHA384, RASQAL_EXPR_SHA384,
RASQAL_EXPR_SHA512, RASQAL_EXPR_SHA512,
RASQAL_EXPR_STRBEFORE, RASQAL_EXPR_STRBEFORE,
RASQAL_EXPR_STRAFTER, RASQAL_EXPR_STRAFTER,
RASQAL_EXPR_REPLACE, RASQAL_EXPR_REPLACE,
RASQAL_EXPR_UUID,
RASQAL_EXPR_STRUUID,
/* internal */ /* internal */
RASQAL_EXPR_LAST = RASQAL_EXPR_REPLACE RASQAL_EXPR_LAST = RASQAL_EXPR_STRUUID
} 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 1213 skipping to change at line 1258
RASQAL_API RASQAL_API
rasqal_expression* rasqal_query_get_group_condition(rasqal_query* query, in t idx); rasqal_expression* rasqal_query_get_group_condition(rasqal_query* query, in t idx);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_having_conditions_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_having_conditions_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
rasqal_expression* rasqal_query_get_having_condition(rasqal_query* query, i nt idx); rasqal_expression* rasqal_query_get_having_condition(rasqal_query* query, i nt idx);
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_construct_triples_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_construct_triples_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
rasqal_triple* rasqal_query_get_construct_triple(rasqal_query* query, int i dx); rasqal_triple* rasqal_query_get_construct_triple(rasqal_query* query, int i dx);
RASQAL_API RASQAL_API RASQAL_DEPRECATED
void rasqal_query_graph_pattern_visit(rasqal_query* query, rasqal_graph_pat tern_visit_fn visit_fn, void* data); void rasqal_query_graph_pattern_visit(rasqal_query* query, rasqal_graph_pat tern_visit_fn visit_fn, void* data);
RASQAL_API RASQAL_API
int rasqal_query_graph_pattern_visit2(rasqal_query* query, rasqal_graph_pat
tern_visit_fn visit_fn, void* data);
RASQAL_API
int rasqal_query_write(raptor_iostream* iostr, rasqal_query* query, raptor_ uri* format_uri, raptor_uri* base_uri); int rasqal_query_write(raptor_iostream* iostr, rasqal_query* query, raptor_ uri* format_uri, raptor_uri* base_uri);
/* update */ /* update */
RASQAL_API RASQAL_API
raptor_sequence* rasqal_query_get_update_operations_sequence(rasqal_query* query); raptor_sequence* rasqal_query_get_update_operations_sequence(rasqal_query* query);
RASQAL_API RASQAL_API
rasqal_update_operation* rasqal_query_get_update_operation(rasqal_query* qu ery, int idx); rasqal_update_operation* rasqal_query_get_update_operation(rasqal_query* qu ery, int idx);
/* results */ /* results */
int rasqal_query_set_store_results(rasqal_query* query, int store_results); int rasqal_query_set_store_results(rasqal_query* query, int store_results);
skipping to change at line 1687 skipping to change at line 1734
int rasqal_xsd_decimal_is_zero(rasqal_xsd_decimal* d); int rasqal_xsd_decimal_is_zero(rasqal_xsd_decimal* d);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_abs(rasqal_xsd_decimal* result, rasqal_xsd_decimal* a); int rasqal_xsd_decimal_abs(rasqal_xsd_decimal* result, rasqal_xsd_decimal* a);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_round(rasqal_xsd_decimal* result, rasqal_xsd_decimal * a); int rasqal_xsd_decimal_round(rasqal_xsd_decimal* result, rasqal_xsd_decimal * a);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_ceil(rasqal_xsd_decimal* result, rasqal_xsd_decimal* a); int rasqal_xsd_decimal_ceil(rasqal_xsd_decimal* result, rasqal_xsd_decimal* a);
RASQAL_API RASQAL_API
int rasqal_xsd_decimal_floor(rasqal_xsd_decimal* result, rasqal_xsd_decimal * a); int rasqal_xsd_decimal_floor(rasqal_xsd_decimal* result, rasqal_xsd_decimal * a);
/* date functions */
RASQAL_API
rasqal_xsd_date* rasqal_new_xsd_date(rasqal_world* world, const char *date_
string);
RASQAL_API
void rasqal_free_xsd_date(rasqal_xsd_date* d);
RASQAL_API
char* rasqal_xsd_date_to_counted_string(const rasqal_xsd_date *date, size_t
*len_p);
RASQAL_API
char* rasqal_xsd_date_to_string(const rasqal_xsd_date *d);
RASQAL_API
int rasqal_xsd_date_equals(const rasqal_xsd_date *d1, const rasqal_xsd_date
*d2, int *incomparible_p);
RASQAL_API
int rasqal_xsd_date_compare(const rasqal_xsd_date *d1, const rasqal_xsd_dat
e *d2, int *incomparible_p);
/* datetime functions */ /* datetime functions */
RASQAL_API RASQAL_API
rasqal_xsd_datetime* rasqal_new_xsd_datetime(rasqal_world* world, const cha r *datetime_string); rasqal_xsd_datetime* rasqal_new_xsd_datetime(rasqal_world* world, const cha r *datetime_string);
RASQAL_API RASQAL_API
rasqal_xsd_datetime* rasqal_new_xsd_datetime_from_unixtime(rasqal_world* wo rld, time_t secs); rasqal_xsd_datetime* rasqal_new_xsd_datetime_from_unixtime(rasqal_world* wo rld, time_t secs);
RASQAL_API RASQAL_API
rasqal_xsd_datetime* rasqal_new_xsd_datetime_from_timeval(rasqal_world* wor ld, struct timeval *tv); rasqal_xsd_datetime* rasqal_new_xsd_datetime_from_timeval(rasqal_world* wor ld, struct timeval *tv);
RASQAL_API RASQAL_API
rasqal_xsd_datetime* rasqal_new_xsd_datetime_from_xsd_date(rasqal_world* wo
rld, rasqal_xsd_date *date);
RASQAL_API
void rasqal_free_xsd_datetime(rasqal_xsd_datetime* dt); void rasqal_free_xsd_datetime(rasqal_xsd_datetime* dt);
RASQAL_API RASQAL_API
char* rasqal_xsd_datetime_to_counted_string(const rasqal_xsd_datetime *dt, size_t *len_p); char* rasqal_xsd_datetime_to_counted_string(const rasqal_xsd_datetime *dt, size_t *len_p);
RASQAL_API RASQAL_API
char* rasqal_xsd_datetime_to_string(const rasqal_xsd_datetime *dt); char* rasqal_xsd_datetime_to_string(const rasqal_xsd_datetime *dt);
RASQAL_API RASQAL_API
int rasqal_xsd_datetime_equals2(const rasqal_xsd_datetime *dt1, const rasqa
l_xsd_datetime *dt2, int *incomparible_p);
RASQAL_API RASQAL_DEPRECATED
int rasqal_xsd_datetime_equals(const rasqal_xsd_datetime *dt1, const rasqal _xsd_datetime *dt2); int rasqal_xsd_datetime_equals(const rasqal_xsd_datetime *dt1, const rasqal _xsd_datetime *dt2);
RASQAL_API RASQAL_API
int rasqal_xsd_datetime_compare2(const rasqal_xsd_datetime *dt1, const rasq
al_xsd_datetime *dt2, int *incomparible_p);
RASQAL_API RASQAL_DEPRECATED
int rasqal_xsd_datetime_compare(const rasqal_xsd_datetime *dt1, const rasqa l_xsd_datetime *dt2); int rasqal_xsd_datetime_compare(const rasqal_xsd_datetime *dt1, const rasqa l_xsd_datetime *dt2);
RASQAL_API RASQAL_API
rasqal_xsd_decimal* rasqal_xsd_datetime_get_seconds_as_decimal(rasqal_world * world, rasqal_xsd_datetime* dt); rasqal_xsd_decimal* rasqal_xsd_datetime_get_seconds_as_decimal(rasqal_world * world, rasqal_xsd_datetime* dt);
RASQAL_API RASQAL_API
int rasqal_xsd_datetime_set_from_timeval(rasqal_xsd_datetime *dt, struct ti meval *tv); int rasqal_xsd_datetime_set_from_timeval(rasqal_xsd_datetime *dt, struct ti meval *tv);
RASQAL_API RASQAL_API
int rasqal_xsd_datetime_set_from_unixtime(rasqal_xsd_datetime* dt, time_t c lock); int rasqal_xsd_datetime_set_from_unixtime(rasqal_xsd_datetime* dt, time_t c lock);
RASQAL_API RASQAL_API
time_t rasqal_xsd_datetime_get_as_unixtime(rasqal_xsd_datetime* dt); time_t rasqal_xsd_datetime_get_as_unixtime(rasqal_xsd_datetime* dt);
RASQAL_API RASQAL_API
struct timeval* rasqal_xsd_datetime_get_as_timeval(rasqal_xsd_datetime *dt) ; struct timeval* rasqal_xsd_datetime_get_as_timeval(rasqal_xsd_datetime *dt) ;
RASQAL_API RASQAL_API
char* rasqal_xsd_datetime_get_timezone_as_counted_string(rasqal_xsd_datetim e *dt, size_t *len_p); char* rasqal_xsd_datetime_get_timezone_as_counted_string(rasqal_xsd_datetim e *dt, size_t *len_p);
RASQAL_API RASQAL_API
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);
/* regex utilities */
RASQAL_API
char* rasqal_regex_replace(rasqal_world* world, raptor_locator* locator, co
nst char* pattern, const char* regex_flags, const char* subject, size_t sub
ject_len, const char* replace, size_t replace_len, size_t* result_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 unsigned 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
 End of changes. 29 change blocks. 
16 lines changed or deleted 101 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/