Age | Commit message (Collapse) | Author |
|
(store_parsed_append_args, store_parsed_open, struct store_parsed):
Use `device' instead of `machdev'.
|
|
(stripe_remap): New function.
(stripe_read, stripe_write): Use void * for buffers, not char *.
|
|
|
|
(store_remap_create): New declaration.
(struct store_class): Add remap field.
(store_remap): New declaration.
(store_enc_return, store_return): New declarations.
(store_zero_create): Renamed from store_null_create.
(STORAGE_REMAP, STORAGE_ZERO):
New macros (temporary, to avoid touching hurd/hurd_types.h).
(store_write_meth_t, store_read_meth_t, store_read, store_write):
Make type of buffer void *, not char *.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(STORE_NO_FILEIO): New macro.
(STORE_HARD_READONLY, STORE_ENFORCED): Values changed.
(STORE_GENERIC_FLAGS): Add STORE_NO_FILEIO.
(struct store_argp_params): Type removed.
(store_parsed_Free, store_parsed_open, store_parsed_append_args):
New declarations.
(struct store_parsed): New incomplete type.
(store_open): New declaration.
|
|
|
|
|
|
|
|
(struct store_parsed): New type.
(store_parsed_free, store_parsed_append_args, store_parsed_open): New functions.
(parse_opt):
Use new store_parsed structure instead of the old store_parse_hook, and just
fill in the names rather than doing the open here.
Don't take a struct store_argp_params as input any more; instead just take
the address of a location in which to return a store_parsed structure.
(struct store_parse_hook): Type removed.
(free_hook, open_file): Functions removed.
(options): --machdev/-m renamed to --device/-D.
<assert.h>: New include.
<stdlib.h>, <fcntl.h>: Includes removed.
|
|
|
|
(parse_opt): Initialize and fill in H->params->args when appropriate.
<argz.h>: New include.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Use error instead of ERR for non-parsing errors.
Rename ERR to PERR.
|
|
(options, doc, args_doc): Variables removed.
|
|
Use CLASS field instead of METHS field.
|
|
store_default_leaf_allocate_encoding. Make STORE const.
(store_std_leaf_encode): Renamed from store_default_leaf_encode.
Make STORE const. Get class id from store->class->id.
(store_encode): Use CLASS field instead of METHS field.
|
|
|
|
|
|
|
|
(parse_opt): Use store_device_open instead of open_machdev.
(open_file, parse_opt): Add FLAGS arg to various function calls.
|
|
changed. FLAGS param added.
(store_free): Change uses of METHS field to CLASS.
|
|
concat_allocate_encoding, concat_encode, concat_decode): New functions.
(concat_class): New variable.
(ileave_class): Renamed from stripe_class. More fields added.
(store_ileave_create, store_concat_create): CLASS param removed, METHS param
renamed CLASS; all callers changed. FLAGS param added.
|
|
(store_device_create): Always set STORE_ENFORCED.
(device_class): Renamed from device_meths. Add more fields. Make std with
_STORE_STD_CLASS.
(store_device_create, _store_device_create): CLASS param removed, METHS param
renamed CLASS; all callers changed. FLAGS param added.
<hurd.h>: New include.
|
|
(store_file_create): Always set STORE_ENFORCED.
(file_class): Renamed from file_meths. Add more fields. Make std with
_STORE_STD_CLASS.
(file_byte_class): Renamed from file_byte_meths.
(store_file_create, _store_file_create): CLASS param removed, METHS param
renamed CLASS; all callers changed. FLAGS param added.
<fcntl.h>, <hurd.h>: New includes.
|
|
Add CLASSES param, use it instead of big hardwired switch statement.
(store_default_leaf_decode):
Use typedef for CREATE param. Pass in FLAGS arg when calling it.
|
|
(store_read, store_read): References to METHS field changed to CLASS.
|
|
|
|
(STORE_IMMUTABLE_FLAGS, STORE_GENERIC_FLAGS, STORE_BACKEND_SPEC_BASE,
STORE_BACKEND_FLAGS, STORE_READONLY, STORE_HARD_READONLY, STORE_ENFORCED):
New macros.
(struct store_class):
Renamed from store_meths; all uses changed.
Add ID, NAME, DECODE, SET_FLAGS, CLEAR_FLAGS, and NEXT fields.
(store_std_leaf_decode): Renamed from store_default_leaf_decode.
(store_std_leaf_create_t): New type.
(_STORE_STD_CLASS): New macro.
(struct store_argp_params): READONLY field deleted, FLAGS field added.
(store_allocate_child_encodings, store_encode_children, store_decode_children,
store_set_flags, store_clear_flags, store_file_open, store_device_open,
store_null_create, store_std_classes, _store_add_std_class,
store_allocate_child_encodings, store_encode_children,
store_decode_children): New declarations
(store_decode, store_create, store_device_create, _store_device_create,
store_file_create, _store_file_create, store_ileave_create,
store_concat_create, _make_store): Declarations updated.
|
|
|
|
(struct store_argp_params): New type.
|
|
|
|
|
|
Put include of ../Makeconf before dependencies.
|