From f340d22e82760166d24a037d8466501217b06a3e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 18 Feb 2007 20:08:45 +0000 Subject: API updates (removed SLV2Value (binary compatibility nightmare waiting to happen) and added consistent SLV2Plugins and SLV2Strings). Documentation cleanups. git-svn-id: http://svn.drobilla.net/lad/slv2@314 a436a847-0d15-0410-975c-d299462d15a1 --- slv2/query.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'slv2/query.h') diff --git a/slv2/query.h b/slv2/query.h index 3faba15..ea78735 100644 --- a/slv2/query.h +++ b/slv2/query.h @@ -82,11 +82,15 @@ rasqal_query_results* slv2_plugin_query(SLV2Plugin* plugin, const char* sparql_str); -SLV2Value +SLV2Strings slv2_plugin_simple_query(SLV2Plugin* plugin, const char* sparql_str, const char* variable); +unsigned +slv2_plugin_query_count(SLV2Plugin* plugin, + const char* sparql_str); + #if 0 /** Run a SPARQL query on a plugin's data file and return variable matches. * @@ -96,7 +100,7 @@ slv2_plugin_simple_query(SLV2Plugin* plugin, * * Returned is a list of all matches for the query variable \a var_name. */ -SLV2Value +SLV2Strings slv2_query_get_results(const SLV2Plugin* p, const char* query_string, const char* var_name); -- cgit v1.2.1