Couldn't find wdiff. Falling back to builtin diff colouring...
raptor2.h | raptor2.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
*/ | */ | |||
#define RAPTOR_V2_AVAILABLE 1 | #define RAPTOR_V2_AVAILABLE 1 | |||
/** | /** | |||
* RAPTOR_VERSION: | * RAPTOR_VERSION: | |||
* | * | |||
* Raptor library version number | * Raptor library version number | |||
* | * | |||
* Format: major * 10000 + minor * 100 + release | * Format: major * 10000 + minor * 100 + release | |||
*/ | */ | |||
#define RAPTOR_VERSION 20004 | #define RAPTOR_VERSION 20005 | |||
/** | /** | |||
* RAPTOR_VERSION_STRING: | * RAPTOR_VERSION_STRING: | |||
* | * | |||
* Raptor library version string | * Raptor library version string | |||
*/ | */ | |||
#define RAPTOR_VERSION_STRING "2.0.4" | #define RAPTOR_VERSION_STRING "2.0.5" | |||
/** | /** | |||
* RAPTOR_VERSION_MAJOR: | * RAPTOR_VERSION_MAJOR: | |||
* | * | |||
* Raptor library major version | * Raptor library major version | |||
*/ | */ | |||
#define RAPTOR_VERSION_MAJOR 2 | #define RAPTOR_VERSION_MAJOR 2 | |||
/** | /** | |||
* RAPTOR_VERSION_MINOR: | * RAPTOR_VERSION_MINOR: | |||
* | * | |||
* Raptor library minor version | * Raptor library minor version | |||
*/ | */ | |||
#define RAPTOR_VERSION_MINOR 0 | #define RAPTOR_VERSION_MINOR 0 | |||
/** | /** | |||
* RAPTOR_VERSION_RELEASE: | * RAPTOR_VERSION_RELEASE: | |||
* | * | |||
* Raptor library release | * Raptor library release | |||
*/ | */ | |||
#define RAPTOR_VERSION_RELEASE 4 | #define RAPTOR_VERSION_RELEASE 5 | |||
/** | /** | |||
* RAPTOR_API: | * RAPTOR_API: | |||
* | * | |||
* Macro for wrapping API function call declarations. | * Macro for wrapping API function call declarations. | |||
* | * | |||
*/ | */ | |||
#ifndef RAPTOR_API | #ifndef RAPTOR_API | |||
# ifdef WIN32 | # ifdef WIN32 | |||
# ifdef __GNUC__ | # ifdef __GNUC__ | |||
skipping to change at line 138 | skipping to change at line 138 | |||
#endif | #endif | |||
/** | /** | |||
* raptor_uri: | * raptor_uri: | |||
* | * | |||
* Raptor URI Class. | * Raptor URI Class. | |||
*/ | */ | |||
typedef struct raptor_uri_s raptor_uri; | typedef struct raptor_uri_s raptor_uri; | |||
/* Public statics */ | /* Public statics */ | |||
/** | ||||
* raptor_short_copyright_string: | ||||
* | ||||
* Short copyright string (one line). | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const char * const raptor_short_copyright_string; | extern const char * const raptor_short_copyright_string; | |||
/** | ||||
* raptor_copyright_string: | ||||
* | ||||
* Copyright string (multiple lines). | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const char * const raptor_copyright_string; | extern const char * const raptor_copyright_string; | |||
/** | ||||
* raptor_version_string: | ||||
* | ||||
* Raptor version as a string. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const char * const raptor_version_string; | extern const char * const raptor_version_string; | |||
/** | ||||
* raptor_version_major: | ||||
* | ||||
* Raptor major version number. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned int raptor_version_major; | extern const unsigned int raptor_version_major; | |||
/** | ||||
* raptor_version_minor: | ||||
* | ||||
* Raptor minor version number. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned int raptor_version_minor; | extern const unsigned int raptor_version_minor; | |||
/** | ||||
* raptor_version_release: | ||||
* | ||||
* Raptor release version number. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned int raptor_version_release; | extern const unsigned int raptor_version_release; | |||
/** | ||||
* raptor_version_decimal: | ||||
* | ||||
* Raptor version as a decimal number. | ||||
* | ||||
* Format: major * 10000 + minor * 100 + release | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned int raptor_version_decimal; | extern const unsigned int raptor_version_decimal; | |||
/** | ||||
* raptor_license_string: | ||||
* | ||||
* Raptor license string. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const char * const raptor_license_string; | extern const char * const raptor_license_string; | |||
/** | ||||
* raptor_home_url_string: | ||||
* | ||||
* Raptor home page URL. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const char * const raptor_home_url_string; | extern const char * const raptor_home_url_string; | |||
/** | ||||
* raptor_xml_namespace_uri: | ||||
* | ||||
* XML Namespace (xml:) URI string. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned char * const raptor_xml_namespace_uri; | extern const unsigned char * const raptor_xml_namespace_uri; | |||
/** | ||||
* raptor_rdf_namespace_uri: | ||||
* | ||||
* RDF Namespace (rdf:) URI string. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned char * const raptor_rdf_namespace_uri; | extern const unsigned char * const raptor_rdf_namespace_uri; | |||
/** | ||||
* raptor_rdf_namespace_uri_len: | ||||
* | ||||
* Length of #raptor_rdf_namespace_uri string | ||||
*/ | ||||
RAPTOR_API | ||||
extern const unsigned int raptor_rdf_namespace_uri_len; | ||||
/** | ||||
* raptor_rdf_schema_namespace_uri: | ||||
* | ||||
* RDF Schema (rdfs:) Namespace URI string. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned char * const raptor_rdf_schema_namespace_uri; | extern const unsigned char * const raptor_rdf_schema_namespace_uri; | |||
/** | ||||
* raptor_xmlschema_datatypes_namespace_uri: | ||||
* | ||||
* XML Schema datatypes (xsd:) namespace URI string. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned char * const raptor_xmlschema_datatypes_namespace_uri ; | extern const unsigned char * const raptor_xmlschema_datatypes_namespace_uri ; | |||
RAPTOR_API | ||||
extern const unsigned char * const raptor_owl_namespace_uri; | ||||
/** | /** | |||
* raptor_rdf_namespace_uri_len: | * raptor_owl_namespace_uri: | |||
* | * | |||
* Length of #raptor_rdf_namespace_uri string | * OWL (owl:) Namespace URI string. | |||
*/ | */ | |||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned int raptor_rdf_namespace_uri_len; | extern const unsigned char * const raptor_owl_namespace_uri; | |||
/** | ||||
* raptor_xml_literal_datatype_uri_string: | ||||
* | ||||
* XML Literal datatype (rdf:XMLLiteral) URI string. | ||||
*/ | ||||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned char * const raptor_xml_literal_datatype_uri_string; | extern const unsigned char * const raptor_xml_literal_datatype_uri_string; | |||
/** | /** | |||
* raptor_xml_literal_datatype_uri_string_len: | * raptor_xml_literal_datatype_uri_string_len: | |||
* | * | |||
* Length of #raptor_xml_literal_datatype_uri_string | * Length of #raptor_xml_literal_datatype_uri_string | |||
*/ | */ | |||
RAPTOR_API | RAPTOR_API | |||
extern const unsigned int raptor_xml_literal_datatype_uri_string_len; | extern const unsigned int raptor_xml_literal_datatype_uri_string_len; | |||
skipping to change at line 1169 | skipping to change at line 1259 | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_xml_escape_string_any_write(const unsigned char *string, size_t len, char quote, int xml_version, raptor_iostream* iostr); | int raptor_xml_escape_string_any_write(const unsigned char *string, size_t len, char quote, int xml_version, raptor_iostream* iostr); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_xml_escape_string(raptor_world *world, const unsigned char *stri ng, size_t len, unsigned char *buffer, size_t length, char quote); | int raptor_xml_escape_string(raptor_world *world, const unsigned char *stri ng, size_t len, unsigned char *buffer, size_t length, char quote); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_xml_escape_string_write(const unsigned char *string, size_t len, char quote, raptor_iostream* iostr); | int raptor_xml_escape_string_write(const unsigned char *string, size_t len, char quote, raptor_iostream* iostr); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_xml_name_check(const unsigned char *string, size_t length, int x ml_version); | int raptor_xml_name_check(const unsigned char *string, size_t length, int x ml_version); | |||
/* portable vsnprintf utility function */ | /* portable vsnprintf utility function */ | |||
RAPTOR_API RAPTOR_DEPRECATED | ||||
char* raptor_vsnprintf(const char *format, va_list arguments) RAPTOR_PRINTF _FORMAT(1, 0); | ||||
RAPTOR_API | RAPTOR_API | |||
char* raptor_vsnprintf(const char *message, va_list arguments) RAPTOR_PRINT F_FORMAT(1, 0); | int raptor_vsnprintf2(char *buffer, size_t size, const char *format, va_lis t arguments) RAPTOR_PRINTF_FORMAT(3, 0); | |||
RAPTOR_API | ||||
int raptor_snprintf(char *buffer, size_t size, const char *format, ...) RAP TOR_PRINTF_FORMAT(3, 4); | ||||
RAPTOR_API | ||||
int raptor_vasprintf(char **ret, const char *format, va_list arguments) RAP TOR_PRINTF_FORMAT(2, 0); | ||||
/* RFC2396 URI resolving functions */ | /* RFC2396 URI resolving functions */ | |||
RAPTOR_API | RAPTOR_API | |||
size_t raptor_uri_resolve_uri_reference(const unsigned char *base_uri, cons t unsigned char *reference_uri, unsigned char* buffer, size_t length); | size_t raptor_uri_resolve_uri_reference(const unsigned char *base_uri, cons t unsigned char *reference_uri, unsigned char* buffer, size_t length); | |||
/* URI String utility functions */ | /* URI String utility functions */ | |||
RAPTOR_API | RAPTOR_API | |||
unsigned char* raptor_uri_filename_to_uri_string(const char *filename); | unsigned char* raptor_uri_filename_to_uri_string(const char *filename); | |||
RAPTOR_API | RAPTOR_API | |||
char* raptor_uri_uri_string_to_filename(const unsigned char *uri_string); | char* raptor_uri_uri_string_to_filename(const unsigned char *uri_string); | |||
skipping to change at line 1409 | skipping to change at line 1505 | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_unicode_is_xml11_namestartchar(raptor_unichar c); | int raptor_unicode_is_xml11_namestartchar(raptor_unichar c); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_unicode_is_xml10_namestartchar(raptor_unichar c); | int raptor_unicode_is_xml10_namestartchar(raptor_unichar c); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_unicode_is_xml11_namechar(raptor_unichar c); | int raptor_unicode_is_xml11_namechar(raptor_unichar c); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_unicode_is_xml10_namechar(raptor_unichar c); | int raptor_unicode_is_xml10_namechar(raptor_unichar c); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_unicode_check_utf8_string(const unsigned char *string, size_t le ngth); | int raptor_unicode_check_utf8_string(const unsigned char *string, size_t le ngth); | |||
RAPTOR_API | ||||
int raptor_unicode_utf8_strlen(const unsigned char *string, size_t length); | ||||
RAPTOR_API | ||||
size_t raptor_unicode_utf8_substr(unsigned char* dest, size_t* dest_length_ p, const unsigned char* src, size_t src_length, int startingLoc, int length ); | ||||
/* Stringbuffer Class */ | /* Stringbuffer Class */ | |||
RAPTOR_API | RAPTOR_API | |||
raptor_stringbuffer* raptor_new_stringbuffer(void); | raptor_stringbuffer* raptor_new_stringbuffer(void); | |||
RAPTOR_API | RAPTOR_API | |||
void raptor_free_stringbuffer(raptor_stringbuffer *stringbuffer); | void raptor_free_stringbuffer(raptor_stringbuffer *stringbuffer); | |||
/* methods */ | /* methods */ | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_stringbuffer_append_counted_string(raptor_stringbuffer* stringbu ffer, const unsigned char *string, size_t length, int do_copy); | int raptor_stringbuffer_append_counted_string(raptor_stringbuffer* stringbu ffer, const unsigned char *string, size_t length, int do_copy); | |||
End of changes. 24 change blocks. | ||||
9 lines changed or deleted | 109 lines changed or added | |||