diff options
author | Miles Bader <miles@gnu.org> | 1996-09-23 16:57:03 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-09-23 16:57:03 +0000 |
commit | 3f7736a99d36d8660ca6f5e9201cd4fedbdf9daa (patch) | |
tree | 52082f55da19e486ff2a8dcce0088bde35012c8c /libstore | |
parent | 3dcadd49ffe5039053014aabf7d504516036f6c2 (diff) |
(query_class):
New variable.
(store_query_class):
Renamed from query_class; export.
(store_open):
Make NAME const.
Diffstat (limited to 'libstore')
-rw-r--r-- | libstore/open.c | 5 |
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 }; |