From ce959a36a7b1be57a2835b647540f5ba15c7735e Mon Sep 17 00:00:00 2001 From: Thomas Bushnell <thomas@gnu.org> Date: Fri, 30 Apr 1999 11:03:52 +0000 Subject: 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. --- libstore/store.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'libstore/store.h') 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. */ -- cgit v1.2.3