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 20010 | #define RAPTOR_VERSION 20011 | |||
/** | /** | |||
* RAPTOR_VERSION_STRING: | * RAPTOR_VERSION_STRING: | |||
* | * | |||
* Raptor library version string | * Raptor library version string | |||
*/ | */ | |||
#define RAPTOR_VERSION_STRING "2.0.10" | #define RAPTOR_VERSION_STRING "2.0.11" | |||
/** | /** | |||
* 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 10 | #define RAPTOR_VERSION_RELEASE 11 | |||
/** | /** | |||
* 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 1319 | skipping to change at line 1319 | |||
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); | |||
RAPTOR_API | RAPTOR_API | |||
char* raptor_uri_uri_string_to_filename_fragment(const unsigned char *uri_s tring, unsigned char **fragment_p); | char* raptor_uri_uri_string_to_filename_fragment(const unsigned char *uri_s tring, unsigned char **fragment_p); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_uri_uri_string_is_file_uri(const unsigned char* uri_string); | int raptor_uri_uri_string_is_file_uri(const unsigned char* uri_string); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_stringbuffer_append_uri_escaped_counted_string(raptor_stringbuff er* sb, const char* string, size_t length, int space_is_plus); | int raptor_stringbuffer_append_uri_escaped_counted_string(raptor_stringbuff er* sb, const char* string, size_t length, int space_is_plus); | |||
RAPTOR_API | RAPTOR_API | |||
char* raptor_uri_uri_string_to_counted_filename_fragment(const unsigned cha r *uri_string, size_t* len_p, unsigned char **fragment_p, size_t* fragment_ len_p); | char* raptor_uri_uri_string_to_counted_filename_fragment(const unsigned cha r *uri_string, size_t* len_p, unsigned char **fragment_p, size_t* fragment_ len_p); | |||
RAPTOR_API | ||||
int raptor_uri_uri_string_is_absolute(const unsigned char* uri_string); | ||||
/** | /** | |||
* RAPTOR_RDF_MS_URI: | * RAPTOR_RDF_MS_URI: | |||
* | * | |||
* RDF Namespace URI (rdf:). | * RDF Namespace URI (rdf:). | |||
* | * | |||
* Copy with raptor_uri_copy() to use. | * Copy with raptor_uri_copy() to use. | |||
*/ | */ | |||
#define RAPTOR_RDF_MS_URI raptor_rdf_namespace_uri | #define RAPTOR_RDF_MS_URI raptor_rdf_namespace_uri | |||
skipping to change at line 1425 | skipping to change at line 1427 | |||
RAPTOR_API | RAPTOR_API | |||
const unsigned char* raptor_qname_get_value(raptor_qname* name); | const unsigned char* raptor_qname_get_value(raptor_qname* name); | |||
RAPTOR_API | RAPTOR_API | |||
const unsigned char* raptor_qname_get_counted_value(raptor_qname* name, siz e_t* length_p); | const unsigned char* raptor_qname_get_counted_value(raptor_qname* name, siz e_t* length_p); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_qname_write(raptor_qname *qname, raptor_iostream* iostr); | int raptor_qname_write(raptor_qname *qname, raptor_iostream* iostr); | |||
/* QName String utility functions */ | /* QName String utility functions */ | |||
RAPTOR_API | RAPTOR_API | |||
raptor_uri* raptor_qname_string_to_uri(raptor_namespace_stack *nstack, con st unsigned char *name, size_t name_len); | raptor_uri* raptor_qname_string_to_uri(raptor_namespace_stack *nstack, con st unsigned char *name, size_t name_len); | |||
RAPTOR_API | ||||
unsigned char* raptor_qname_format_as_xml(const raptor_qname *qname, size_t | ||||
*length_p); | ||||
/* XML Namespaces Stack class */ | /* XML Namespaces Stack class */ | |||
RAPTOR_API | RAPTOR_API | |||
raptor_namespace* raptor_new_namespace_from_uri(raptor_namespace_stack *nst ack, const unsigned char *prefix, raptor_uri* ns_uri, int depth); | raptor_namespace* raptor_new_namespace_from_uri(raptor_namespace_stack *nst ack, const unsigned char *prefix, raptor_uri* ns_uri, int depth); | |||
RAPTOR_API | RAPTOR_API | |||
raptor_namespace_stack* raptor_new_namespaces(raptor_world* world, int defa ults); | raptor_namespace_stack* raptor_new_namespaces(raptor_world* world, int defa ults); | |||
RAPTOR_API | RAPTOR_API | |||
int raptor_namespaces_init(raptor_world* world, raptor_namespace_stack *nst ack, int defaults); | int raptor_namespaces_init(raptor_world* world, raptor_namespace_stack *nst ack, int defaults); | |||
RAPTOR_API | RAPTOR_API | |||
void raptor_namespaces_clear(raptor_namespace_stack *nstack); | void raptor_namespaces_clear(raptor_namespace_stack *nstack); | |||
End of changes. 5 change blocks. | ||||
3 lines changed or deleted | 8 lines changed or added | |||