diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2002-12-03 17:47:06 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2002-12-03 17:47:06 +0000 |
commit | f56926743a89f4aa10302b5837aebaf5817a4e01 (patch) | |
tree | 98dc8f09cd60212c10adc5cb9318416de8bf3403 /libstore/unknown.c | |
parent | 08d35f341d827556553d93d705f78a5319aa0619 (diff) |
doc/
2002-12-03 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Store I/O): Add store_set_size.
libstore/
2002-10-01 Ludovic Courtès <ludovic.courtes@utbm.fr>
* store.h: New type store_set_size_meth_t: New type. New
prototype store_set_size.
(struct store_class): Added a set_size () method.
* rdwr.c (store_set_size): New function.
* file.c (file_store_set_size): New function.
(store_file_class): Add file_store_set_size.
* concat.c (concat_set_size): New function.
(store_concat_class): concat_set_size.
* copy.c (copy_set_size): New function.
(store_copy_class): copy_set_size.
* device.c (device_set_size): New function.
(store_device_class): device_set_size.
* memobj.c (memobj_set_size): New function.
(store_memobj_class): memobj_set_size.
* mvol.c (mvol_set_size): New function.
(store_mvol_class): mvol_set_size.
* nbd.c (nbd_set_size): New function.
(store_nbd_class): nbd_set_size.
* remap.c (remap_set_size): New function.
(store_remap_class): remap_set_size.
* stripe.c (stripe_set_size): New function.
(store_stripe_class): stripe_set_size.
* unknown.c (unknown_set_size): New function.
(store_unknown_class): unknown_set_size.
* zero.c (zero_set_size): New function.
(store_zero_class): zero_set_size.
Diffstat (limited to 'libstore/unknown.c')
-rw-r--r-- | libstore/unknown.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libstore/unknown.c b/libstore/unknown.c index f72a0667..8b7f4268 100644 --- a/libstore/unknown.c +++ b/libstore/unknown.c @@ -42,6 +42,12 @@ nowrite (struct store *store, } static error_t +noset_size (struct store *store, size_t newsize) +{ + return EFTYPE; +} + +static error_t noflags (struct store *store, int flags) { return EINVAL; @@ -211,6 +217,7 @@ const struct store_class store_unknown_class = -1, "unknown", read: noread, write: nowrite, + set_size: noset_size, allocate_encoding: unknown_allocate_encoding, encode: unknown_encode, decode: store_unknown_decode, |