X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fsparql.h;h=71365fb214c5f7942d3a3953e8b72c36d3d326e8;hb=efd54375eddf0c86bffd64d70d0fa309cfc9f312;hp=257b3e3a64e37a4503838da59c87fa236896d2db;hpb=90d0517a535806d6b076f7c9812f8292a037cd06;p=mp-sparql-moved-to-github.git diff --git a/src/sparql.h b/src/sparql.h index 257b3e3..71365fb 100644 --- a/src/sparql.h +++ b/src/sparql.h @@ -31,6 +31,27 @@ YAZ_EXPORT int yaz_sparql_from_rpn_wrbuf(yaz_sparql_t s, WRBUF addinfo, WRBUF w, Z_RPNQuery *q); + +YAZ_EXPORT +int yaz_sparql_from_uri_stream(yaz_sparql_t s, + WRBUF addinfo, + void (*pr)(const char *buf, void *client_data), + void *client_data, + const char *uri, const char *schema); + +YAZ_EXPORT +int yaz_sparql_from_uri_wrbuf(yaz_sparql_t s, WRBUF addinfo, WRBUF w, + const char *uri, const char *schema); + +YAZ_EXPORT +int yaz_sparql_lookup_schema(yaz_sparql_t s, const char *schema); + +YAZ_EXPORT +void yaz_sparql_include(yaz_sparql_t s, yaz_sparql_t u); + +YAZ_EXPORT +void yaz_sparql_explain_indexes( yaz_sparql_t s, WRBUF w, int indent); + YAZ_END_CDECL #endif