index 0abf0cb467d3d0a66fb3f99008537bce2f8848de..179b5d05a470a9f59e13b73c9826edfed9fa184e 100644 (file)
--- a/src/include/core/store.h
+++ b/src/include/core/store.h
sdb_store_matcher_t *
sdb_store_query_prepare(sdb_ast_node_t *ast);
+/*
+ * sdb_store_query_execute:
+ * Execute a previously prepared query. The query result will be written to
+ * 'buf' and any errors to 'errbuf'.
+ *
+ * Returns:
+ * - the result type (to be used by the server reply)
+ * - a negative value on error
+ */
+int
+sdb_store_query_execute(sdb_store_matcher_t *m,
+ sdb_strbuf_t *buf, sdb_strbuf_t *errbuf);
+
/*
* sdb_store_expr_create:
* Creates an arithmetic expression implementing the specified operator on the