diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-04-30 11:03:52 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-04-30 11:03:52 +0000 |
commit | ce959a36a7b1be57a2835b647540f5ba15c7735e (patch) | |
tree | c6196184b1cea4f7e023c8fc2615524e43211210 /libstore/store.h | |
parent | 91c0bb0d6d1e8f55bb9f10b3a9068c9677ede0ee (diff) |
1998-09-06 OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>
* bunzip2.c: New file.
* store.h (store_bunzip2_create): New declarations.
(store_bunzip2_open): Likewise.
(store_bunzip2_class): Likewise.
* std.c (store_std_classes): Add store_bunzip2_class.
* Makefile (SRCS): Add bunzip2.c.
(UNZIP_OBJS): Add do-bunzip2.o.
Diffstat (limited to 'libstore/store.h')
-rw-r--r-- | libstore/store.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libstore/store.h b/libstore/store.h index 88f5d635..f0b20b9e 100644 --- a/libstore/store.h +++ b/libstore/store.h @@ -444,6 +444,20 @@ error_t store_gunzip_open (const char *name, int flags, const struct store_class *const *classes, struct store **store); +/* Return a new store in STORE which contains a snapshot of the uncompressed + contents of the store FROM; FROM is consumed. BLOCK_SIZE is the desired + block size of the result. */ +error_t store_bunzip2_create (struct store *from, int flags, + struct store **store); + +/* Open the bunzip2 NAME -- which consists of another store-class name, a ':', + and a name for that store class to open -- and return the corresponding + store in STORE. CLASSES is used to select classes specified by the type + name; if it is 0, STORE_STD_CLASSES is used. */ +error_t store_bunzip2_open (const char *name, int flags, + const struct store_class *const *classes, + struct store **store); + /* Return a new store in STORE that multiplexes multiple physical volumes from PHYS as one larger virtual volume. SWAP_VOLS is a function that will be called whenever the volume currently active isn't correct. PHYS is @@ -467,6 +481,7 @@ extern const struct store_class store_remap_class; extern const struct store_class store_query_class; extern const struct store_class store_copy_class; extern const struct store_class store_gunzip_class; +extern const struct store_class store_bunzip2_class; extern const struct store_class store_typed_open_class; /* The following are not included in STORE_STD_CLASSES. */ |