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.79 2003/07/28 22:21:40 cmdjb Exp $ | * $Id: raptor.h,v 1.80 2003/08/21 16:55:48 cmdjb Exp $ | |||
* | * | |||
* Copyright (C) 2000-2003 David Beckett - http://purl.org/net/dajobe/ | * Copyright (C) 2000-2003 David Beckett - http://purl.org/net/dajobe/ | |||
* Institute for Learning and Research Technology - http://www.ilrt.org/ | * Institute for Learning and Research Technology - http://www.ilrt.org/ | |||
* University of Bristol - http://www.bristol.ac.uk/ | * University of Bristol - http://www.bristol.ac.uk/ | |||
* | * | |||
* This package is Free Software or Open Source available under the | * This package is Free Software or Open Source available under the | |||
* following licenses (these are alternatives): | * following licenses (these are alternatives): | |||
* 1. GNU Lesser General Public License (LGPL) | * 1. GNU Lesser General Public License (LGPL) | |||
* 2. GNU General Public License (GPL) | * 2. GNU General Public License (GPL) | |||
* 3. Mozilla Public License (MPL) | * 3. Mozilla Public License (MPL) | |||
skipping to change at line 226 | skipping to change at line 226 | |||
RAPTOR_API raptor_uri* raptor_new_uri_from_id(raptor_uri *base_uri, const u nsigned char *id); | RAPTOR_API raptor_uri* raptor_new_uri_from_id(raptor_uri *base_uri, const u nsigned char *id); | |||
RAPTOR_API raptor_uri* raptor_new_uri_for_rdf_concept(const char *name); | RAPTOR_API raptor_uri* raptor_new_uri_for_rdf_concept(const char *name); | |||
RAPTOR_API void raptor_free_uri(raptor_uri *uri); | RAPTOR_API void raptor_free_uri(raptor_uri *uri); | |||
RAPTOR_API int raptor_uri_equals(raptor_uri* uri1, raptor_uri* uri2); | RAPTOR_API int raptor_uri_equals(raptor_uri* uri1, raptor_uri* uri2); | |||
RAPTOR_API raptor_uri* raptor_uri_copy(raptor_uri *uri); | RAPTOR_API raptor_uri* raptor_uri_copy(raptor_uri *uri); | |||
RAPTOR_API char* raptor_uri_as_string(raptor_uri *uri); | RAPTOR_API char* raptor_uri_as_string(raptor_uri *uri); | |||
RAPTOR_API char* raptor_uri_as_counted_string(raptor_uri *uri, size_t* len_ p); | RAPTOR_API char* raptor_uri_as_counted_string(raptor_uri *uri, size_t* len_ p); | |||
/* Make an xml:base-compatible URI from an existing one */ | /* Make an xml:base-compatible URI from an existing one */ | |||
RAPTOR_API raptor_uri* raptor_new_uri_for_xmlbase(raptor_uri* old_uri); | RAPTOR_API raptor_uri* raptor_new_uri_for_xmlbase(raptor_uri* old_uri); | |||
/* Make a URI suitable for retrieval (no fragment, has path) from an existi | ||||
ng one */ | ||||
RAPTOR_API raptor_uri* raptor_new_uri_for_retrieval(raptor_uri* old_uri); | ||||
/* Identifier functions */ | /* Identifier functions */ | |||
RAPTOR_API raptor_identifier* raptor_new_identifier(raptor_identifier_type type, raptor_uri *uri, raptor_uri_source uri_source, unsigned char *id); | RAPTOR_API raptor_identifier* raptor_new_identifier(raptor_identifier_type type, raptor_uri *uri, raptor_uri_source uri_source, unsigned char *id); | |||
RAPTOR_API void raptor_init_identifier(raptor_identifier *identifier, rapto r_identifier_type type, raptor_uri *uri, raptor_uri_source uri_source, unsi gned char *id); | RAPTOR_API void raptor_init_identifier(raptor_identifier *identifier, rapto r_identifier_type type, raptor_uri *uri, raptor_uri_source uri_source, unsi gned char *id); | |||
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 char *strin g, const char delim); | RAPTOR_API int raptor_print_ntriples_string(FILE *stream, const char *strin g, const char delim); | |||
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); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 4 lines changed or added | |||