raptor.h | raptor.h | |||
---|---|---|---|---|
/* -*- Mode: c; c-basic-offset: 2 -*- | /* -*- Mode: c; c-basic-offset: 2 -*- | |||
* | * | |||
* raptor.h - Redland Parser Toolkit for RDF (Raptor) interfaces and defini tion | * raptor.h - Redland Parser Toolkit for RDF (Raptor) interfaces and defini tion | |||
* | * | |||
* $Id: raptor.h,v 1.137 2004/10/24 13:47:58 cmdjb Exp $ | * $Id: raptor.h,v 1.138 2004/10/28 21:39:26 cmdjb Exp $ | |||
* | * | |||
* Copyright (C) 2000-2004, David Beckett http://purl.org/net/dajobe/ | * Copyright (C) 2000-2004, David Beckett http://purl.org/net/dajobe/ | |||
* Institute for Learning and Research Technology http://www.ilrt.bristol.a c.uk/ | * Institute for Learning and Research Technology http://www.ilrt.bristol.a c.uk/ | |||
* University of Bristol, UK http://www.bristol.ac.uk/ | * University of Bristol, UK http://www.bristol.ac.uk/ | |||
* | * | |||
* This package is Free Software and part of Redland http://librdf.org/ | * This package is Free Software and part of Redland http://librdf.org/ | |||
* | * | |||
* It is licensed under the following three licenses as alternatives: | * It is licensed under the following three licenses as alternatives: | |||
* 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version | * 1. GNU Lesser General Public License (LGPL) V2.1 or any newer version | |||
* 2. GNU General Public License (GPL) V2 or any newer version | * 2. GNU General Public License (GPL) V2 or any newer version | |||
skipping to change at line 320 | skipping to change at line 320 | |||
/* Identifier functions */ | /* Identifier functions */ | |||
RAPTOR_API raptor_identifier* raptor_new_identifier(raptor_identifier_type type, raptor_uri *uri, raptor_uri_source uri_source, const unsigned char *i d, const unsigned char *literal, raptor_uri *literal_datatype, const unsign ed char *literal_language); | RAPTOR_API raptor_identifier* raptor_new_identifier(raptor_identifier_type type, raptor_uri *uri, raptor_uri_source uri_source, const unsigned char *i d, const unsigned char *literal, raptor_uri *literal_datatype, const unsign ed char *literal_language); | |||
RAPTOR_API int raptor_copy_identifier(raptor_identifier *dest, raptor_ident ifier *src); | RAPTOR_API int raptor_copy_identifier(raptor_identifier *dest, raptor_ident ifier *src); | |||
RAPTOR_API void raptor_free_identifier(raptor_identifier *identifier); | RAPTOR_API void raptor_free_identifier(raptor_identifier *identifier); | |||
/* Utility functions */ | /* Utility functions */ | |||
RAPTOR_API int raptor_print_ntriples_string(FILE *stream, const unsigned ch ar *string, const char delim); | RAPTOR_API int raptor_print_ntriples_string(FILE *stream, const unsigned ch ar *string, const char delim); | |||
RAPTOR_API unsigned char* raptor_ntriples_string_as_utf8_string(raptor_pars er* rdf_parser, unsigned char *src, int len, size_t *dest_lenp); | RAPTOR_API unsigned char* raptor_ntriples_string_as_utf8_string(raptor_pars er* rdf_parser, unsigned char *src, int len, size_t *dest_lenp); | |||
RAPTOR_API const char* raptor_ntriples_term_as_string (raptor_ntriples_term _type term); | RAPTOR_API const char* raptor_ntriples_term_as_string (raptor_ntriples_term _type term); | |||
RAPTOR_API size_t raptor_xml_escape_string(const unsigned char *string, siz e_t len, unsigned char *buffer, size_t length, char quote, raptor_simple_me ssage_handler error_handler, void *error_data); | RAPTOR_API int raptor_xml_escape_string(const unsigned char *string, size_t len, unsigned char *buffer, size_t length, char quote, raptor_simple_messa ge_handler error_handler, void *error_data); | |||
RAPTOR_API char* raptor_vsnprintf(const char *message, va_list arguments); | RAPTOR_API char* raptor_vsnprintf(const char *message, va_list arguments); | |||
/* raptor_xml_writer.c */ | /* raptor_xml_writer.c */ | |||
/* NOT PUBLIC YET - SEE raptor_internal.h */ | /* NOT PUBLIC YET - SEE raptor_internal.h */ | |||
/* raptor_rfc2396.c */ | /* raptor_rfc2396.c */ | |||
RAPTOR_API void raptor_uri_resolve_uri_reference (const unsigned char *base _uri, const unsigned char *reference_uri, char unsigned *buffer, size_t len gth); | RAPTOR_API void raptor_uri_resolve_uri_reference (const unsigned char *base _uri, const unsigned char *reference_uri, char unsigned *buffer, size_t len gth); | |||
/* raptor_uri.c */ | /* raptor_uri.c */ | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||