Age | Commit message (Collapse) | Author |
|
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.
|
|
Make CLASSES arg const.
|
|
Correctly check for non-default type.
(options, parse_opt):
Add --store-type/-T & (hidden) --machdev/-m options, remove --device/-d
option.
(find_class):
Change CLASSES to be a vector of class pointers.
(struct store_parsed):
Change CLASSES field to be a pointer to a vector of class pointers.
Make some fields const.
Rmove DEVICE field, add TYPE, DEFAULT_TYPE and CLASSES fields.
(store_parsed_free):
Free PARSED->type if it exists.
(store_parsed_append_args):
Use --store-type=... instead of --device.
(store_parsed_open):
Remove CLASSES argument.
When --store-type is specified, search CLASSES for that type, and call it's
open function.
|
|
|
|
Declaration removed.
(trivfs_append_args):
New declaration.
|
|
|
|
Initialize ARGZ with the program name, and call trivfs_append_args instead
of trivfs_get_options.
|
|
Initialize ARGZ with the program name, and call trivfs_append_args instead
of trivfs_get_options.
|
|
|
|
Replace get-options.c with apend-args.c.
(HURDLIBS):
Add shouldbeinlibc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Limit reads to 1M, and iterate until done.
Use store_parsed_name to get store name for errors.
Add program description.
|
|
Use void * for buffers, not char *.
|
|
|
|
(store_return): New function.
|
|
(store_std_leaf_decode): Call it.
|
|
(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 *.
|
|
|
|
|
|
|
|
|
|
|
|
(dev_open, dev_close): Remove ifdef'd-out code for allocating
DEV's buffer with valloc; other things depend on it being vm_allocated.
|
|
<version.h>: New include.
|
|
|
|
|
|
(install, $(prefix)/dev/MAKEDEV): Targets removed.
|
|
|
|
|