diff options
author | Dave Beckett <dave@dajobe.org> | 2010-01-17 18:59:04 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-01-17 18:59:04 -0800 |
commit | f14a7e0914cca09809740707bcadec20d1c6d570 (patch) | |
tree | 18c65f375b13d920879b7d569f420eec7e1f5d31 /src/raptor.h | |
parent | 150ef9fea15cf0763ef929a7a8c8db430bab2327 (diff) | |
download | raptor-f14a7e0914cca09809740707bcadec20d1c6d570.tar.gz |
Remove unused typedefs for old URI handler code
raptor_new_uri_func, raptor_new_uri_from_uri_local_name_func,
raptor_new_uri_relative_to_base_func,
raptor_new_uri_for_rdf_concept_func, raptor_free_uri_func,
raptor_uri_equals_func, raptor_uri_compare_func,
raptor_uri_copy_func, raptor_uri_as_string_func,
raptor_uri_as_counted_string_func: Deleted.
Diffstat (limited to 'src/raptor.h')
-rw-r--r-- | src/raptor.h | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/src/raptor.h b/src/raptor.h index 4733dbdd..9c68e5f7 100644 --- a/src/raptor.h +++ b/src/raptor.h @@ -453,120 +453,6 @@ typedef struct { /** - * raptor_new_uri_func: - * @context: URI context data - * @uri_string: URI string - * - * Handler function for implementing raptor_new_uri(). - * - * Return value: new URI object or NULL on failure - */ -typedef raptor_uri* (*raptor_new_uri_func) (void *context, const unsigned char *uri_string); - -/** - * raptor_new_uri_from_uri_local_name_func: - * @context: URI context data - * @uri: URI object - * @local_name: local name string - * - * Handler function for implementing raptor_new_uri_from_uri_local_name(). - * - * Return value: new URI object or NULL on failure - */ -typedef raptor_uri* (*raptor_new_uri_from_uri_local_name_func) (void *context, raptor_uri *uri, const unsigned char *local_name); - -/** - * raptor_new_uri_relative_to_base_func: - * @context: URI context data - * @base_uri: base URI object - * @uri_string: relative URI string - * - * Handler function for implementing raptor_new_uri_relative_to_base(). - * - * Return value: new URI object or NULL on failure - */ -typedef raptor_uri* (*raptor_new_uri_relative_to_base_func) (void *context, raptor_uri *base_uri, const unsigned char *uri_string); - -/** - * raptor_new_uri_for_rdf_concept_func: - * @context: URI context data - * @name: RDF term - * - * Handler function for implementing raptor_new_uri_for_rdf_concept(). - * - * Return value: new URI object or NULL on failure - */ -typedef raptor_uri* (*raptor_new_uri_for_rdf_concept_func) (void *context, const char *name); - -/** - * raptor_free_uri_func: - * @context: URI context data - * @uri: URI object - * - * Handler function for implementing raptor_free_uri(). - */ -typedef void (*raptor_free_uri_func) (void *context, raptor_uri *uri); - -/** - * raptor_uri_equals_func: - * @context: URI context data - * @uri1: URI object 1 - * @uri2: URI object 2 - * - * Handler function for implementing raptor_uri_equals(). - * - * Return value: non-0 if the URIs are equal - */ -typedef int (*raptor_uri_equals_func) (void *context, raptor_uri* uri1, raptor_uri* uri2); - -/** - * raptor_uri_compare_func: - * @context: URI context data - * @uri1: URI object 1 - * @uri2: URI object 2 - * - * Handler function for implementing raptor_uri_equals(). - * - * Return value: -1 if uri1 < uri2, 0 if equal, 1 if uri1 > uri2 - */ -typedef int (*raptor_uri_compare_func) (void *context, raptor_uri* uri1, raptor_uri* uri2); - -/** - * raptor_uri_copy_func: - * @context: URI context data - * @uri: URI object - * - * Handler function for implementing raptor_uri_copy(). - * - * Return value: new URI object or NULL on failure - */ -typedef raptor_uri* (*raptor_uri_copy_func) (void *context, raptor_uri *uri); - -/** - * raptor_uri_as_string_func: - * @context: URI context data - * @uri: URI object - * - * Handler function for implementing raptor_uri_as_string(). - * - * Return value: shared string representation of the URI - */ -typedef unsigned char* (*raptor_uri_as_string_func)(void *context, raptor_uri *uri); - -/** - * raptor_uri_as_counted_string_func: - * @context: URI context data - * @uri: URI object - * @len_p: length - * - * Handler function for implementing raptor_uri_as_counted_string(). - * - * Return value: shared string representation of the URI - */ -typedef unsigned char* (*raptor_uri_as_counted_string_func)(void *context, raptor_uri *uri, size_t* len_p); - - -/** * raptor_message_handler: * @user_data: user data * @locator: location associated with message or NULL |