Age | Commit message (Collapse) | Author |
|
Assert that block_size & blocks_per_page are powers of two (which should be
enforced elsewhere).
Include <assert.h>
Update FSF address.
|
|
New variable.
(UTILS_OBJS):
Variable removed.
(VPATH, CPPFLAGS):
Search for stuff in ../exec for unzip junk.
(SRCS):
Remove storeread.c & storecat.c.
Add typed.c, copy.c, and gunzip.c.
(OBJS):
Don't use $(UTILS_OBJS).
Do use $(UNZIP_OBJS).
(storeread, storecat):
Rules removed.
Update FSF address.
|
|
Add store_copy_class, store_gunzip_class, and store_typed_open_class.
Update FSF address.
|
|
Renamed from _make_store.
Return an error_t code, and add an additional argument STORE to return the
new store; all uses changed.
(store_zero_create):
SIZE is off_t, not size_t.
(store_concat_open, store_children_name, store_open_children):
New declarations.
(store_copy_create, store_copy_open, store_buffer_create, store_gunzip_create,
store_gunzip_open):
New declarations.
(struct store):
BLOCKS & SIZE are off_t, not size_t.
(store_copy_class, store_gunzip_class, store_typed_open_class):
New declarations.
Update FSF address.
|
|
Use _store_create instead of _make_store.
Update FSF address.
|
|
SIZE is off_t, not size_t.
Update FSF address.
|
|
|
|
Limit reads to the amount available.
Deallocate memory returned when reading part of a multiple-segment read.
|
|
|
|
|
|
|
|
|
|
Use MOD_FLAGS arg to dopen.
(dopen):
Add MOD_FLAGS param, and detect read-only devices.
|
|
|
|
Make doc string come after options.
|
|
Add &STORE_TASK_CLASS.
|
|
Add task.c.
Change store.c to xinl.c.
|
|
New declaration.
(store_task_create, _store_task_create, store_open):
New declarations.
|
|
|
|
Correctly check for unenforcable runs.
|
|
|
|
|
|
* store.h: Add extern inline protection.
* store.c: New file.
* Makefile (SRCS): Add store.c.
|
|
|
|
Init set_flags & clear_flags fields.
(stripe_set_flags, stripe_clear_flags):
Remove functions.
|
|
Zero SOURCE->end before calling _store_derive.
Turn off STORE_ENFORCED flag in source if munging it.
(store_remap_class):
Init set_flags & clear_flags fields.
|
|
New decls.
|
|
New funcs.
|
|
Set STORE_INNOCUOUS flags.
|
|
Add special handling of STORE_INACTIVE in FLAGS.
Free *STORE when store_set_flags fails.
Make CLASSES arg const.
|
|
Add common backend flags from children to parent's flags.
(stripe_set_flags, stripe_clear_flags):
New functions.
|
|
New macros.
(store_is_securely_returnable):
New function.
<fcntl.h>:
New include.
|
|
Use dopen.
Set *STORE's name appropriately.
(store_device_class):
Add dev_set_flags & dev_clear_flags.
(dopen, dclose, enforced):
New functions.
(dev_set_flags, dev_clear_flags):
New functions.
|
|
Copy name field.
|
|
|
|
|
|
When no size is specified, use the maximum off_t value, not the maximum
size_t value.
<limits.h>:
New include.
|
|
New functions.
(zero_class):
Use them.
(store_zero_class):
Renamed from zero_class; export.
|
|
Renamed from ileave_class; export.
(store_concat_class):
Renamed from concat_class; export.
(ileave_decode, concat_decode):
Make CLASSES arg const.
|
|
Use new PARAMS var for passing args to STORE_ARGP.
|
|
Make CLASS arg const.
(_store_add_std_class):
Declaration removed.
(STORE_STD_CLASS):
Macro removed.
(struct store_argp_params):
New type.
(store_open):
Make NAME const.
(struct store_class):
Add OPEN and PARSE fields.
(struct store):
Make CLASS field const.
(store_parsed_open):
Remove CLASSES argument.
(struct store_class, struct store_argp_params, store_create, store_open,
store_decode, store_decode_children):
Change CLASSES args to be a pointer to a vector of class pointers.
|
|
Make an initialized array.
(_store_add_std_class):
Function removed.
|
|
Renamed from remap_class; export.
(remap_decode):
Make CLASSES arg const.
|
|
New variable.
(store_query_class):
Renamed from query_class; export.
(store_open):
Make NAME const.
|
|
Make CLASS arg const.
|
|
Change CLASSES to **.
|
|
Make CLASS arg const.
(store_file_class):
Renamed from file_class; export.
(store_file_byte_class):
Renamed from file_byte_class; export.
(file_class):
Point to it.
(fhile_open):
New function.
|
|
Make CLASS var const.
|
|
New function.
(store_device_class):
Renamed from dev_class; export.
(dev_class):
Point to it.
|
|
Change CLASSES to be a vector of class pointers.
|