summaryrefslogtreecommitdiff
path: root/libstore/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libstore/open.c')
-rw-r--r--libstore/open.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libstore/open.c b/libstore/open.c
index b12ec334..37c40514 100644
--- a/libstore/open.c
+++ b/libstore/open.c
@@ -31,7 +31,8 @@
store_set_flags. A reference to the open file is created (but may be
destroyed with store_close_source). */
error_t
-store_open (char *name, int flags, struct store_class *classes,
+store_open (const char *name, int flags,
+ const struct store_class *const *classes,
struct store **store)
{
error_t err;
@@ -54,3 +55,5 @@ store_open (char *name, int flags, struct store_class *classes,
return err;
}
+struct store_class
+store_query_class = { -1, "query", open: store_open };