diff options
author | David Robillard <d@drobilla.net> | 2007-02-18 20:08:45 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-18 20:08:45 +0000 |
commit | f340d22e82760166d24a037d8466501217b06a3e (patch) | |
tree | fbc725a1b959d2e3ad634f078f1045cf26519ebd /slv2/query.h | |
parent | a80e895b0b23d478807377360b85b4bb1d7073b7 (diff) | |
download | lilv-f340d22e82760166d24a037d8466501217b06a3e.tar.gz lilv-f340d22e82760166d24a037d8466501217b06a3e.tar.bz2 lilv-f340d22e82760166d24a037d8466501217b06a3e.zip |
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
Diffstat (limited to 'slv2/query.h')
-rw-r--r-- | slv2/query.h | 8 |
1 files changed, 6 insertions, 2 deletions
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); |