aboutsummaryrefslogtreecommitdiff
path: root/libstore
Commit message (Collapse)AuthorAgeFilesLines
...
* (zero_open):Miles Bader1996-09-241-1/+5
| | | | | | | When no size is specified, use the maximum off_t value, not the maximum size_t value. <limits.h>: New include.
* (zero_open, zero_validate_name):Miles Bader1996-09-231-6/+35
| | | | | | | | New functions. (zero_class): Use them. (store_zero_class): Renamed from zero_class; export.
* (store_ileave_class):Miles Bader1996-09-231-10/+8
| | | | | | | | Renamed from ileave_class; export. (store_concat_class): Renamed from concat_class; export. (ileave_decode, concat_decode): Make CLASSES arg const.
* (main):Miles Bader1996-09-231-4/+4
| | | | Use new PARAMS var for passing args to STORE_ARGP.
* (_make_store):Miles Bader1996-09-231-26/+49
| | | | | | | | | | | | | | | | | | | | | 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.
* (store_std_classes):Miles Bader1996-09-231-8/+7
| | | | | | Make an initialized array. (_store_add_std_class): Function removed.
* (store_remap_class):Miles Bader1996-09-231-5/+4
| | | | | | Renamed from remap_class; export. (remap_decode): Make CLASSES arg const.
* (query_class):Miles Bader1996-09-231-1/+4
| | | | | | | | New variable. (store_query_class): Renamed from query_class; export. (store_open): Make NAME const.
* (_make_store):Miles Bader1996-09-231-1/+1
| | | | Make CLASS arg const.
* (store_decode_children):Miles Bader1996-09-231-1/+2
| | | | Change CLASSES to **.
* (_store_file_create):Miles Bader1996-09-231-9/+19
| | | | | | | | | | | | 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.
* (store_encode):Miles Bader1996-09-231-1/+1
| | | | Make CLASS var const.
* (dev_open):Miles Bader1996-09-231-6/+14
| | | | | | | | New function. (store_device_class): Renamed from dev_class; export. (dev_class): Point to it.
* (store_decode):Miles Bader1996-09-231-5/+7
| | | | Change CLASSES to be a vector of class pointers.
* (store_create):Miles Bader1996-09-231-1/+2
| | | | Make CLASSES arg const.
* (parse_opt):Miles Bader1996-09-231-25/+80
| | | | | | | | | | | | | | | | | | | | | 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.
* .Miles Bader1996-09-231-0/+68
|
* .Miles Bader1996-09-141-0/+64
|
* (SRCS): Add remap.c, replace null.c by zero.c.Miles Bader1996-09-141-1/+1
|
* (main):Miles Bader1996-09-141-9/+29
| | | | | | Limit reads to 1M, and iterate until done. Use store_parsed_name to get store name for errors. Add program description.
* (file_read, file_write, file_byte_read, file_byte_write):Miles Bader1996-09-141-11/+16
| | | | Use void * for buffers, not char *.
* (store_enc_return, store_return): New functions.Miles Bader1996-09-141-0/+19
|
* (store_std_leaf_allocate_encoding): NUM_OFFSETS is NUM_RUNS * 2.Miles Bader1996-09-141-1/+24
| | | | (store_return): New function.
* (store_with_decoded_runs): New function.Miles Bader1996-09-141-18/+38
| | | | (store_std_leaf_decode): Call it.
* (store_parsed_name): New function.Miles Bader1996-09-141-5/+44
| | | | | (store_parsed_append_args, store_parsed_open, struct store_parsed): Use `device' instead of `machdev'.
* (ileave_class, concat_class): Initialize the REMAP field.Miles Bader1996-09-141-5/+15
| | | | | (stripe_remap): New function. (stripe_read, stripe_write): Use void * for buffers, not char *.
* (store_write, store_read): Use void * for buffers, not char *.Miles Bader1996-09-141-4/+4
|
* (store_with_decoded_runs): New declaration.Miles Bader1996-09-141-6/+67
| | | | | | | | | | | | (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_write, dev_read): Use void * for buffers, not char *.Miles Bader1996-09-141-2/+2
|
* Initial checkinMiles Bader1996-09-142-0/+352
|
* File replaced by zero.cMiles Bader1996-09-141-109/+0
|
* .Miles Bader1996-09-081-0/+1
|
* (options, parse_opt): Change short option names around.Miles Bader1996-09-081-6/+6
|
* .Miles Bader1996-09-081-0/+4
|
* (dev_read, dev_write): Don't print debugging messages.Miles Bader1996-09-081-1/+19
|
* .Miles Bader1996-09-041-0/+37
|
* (SRCS): Add open.c.Miles Bader1996-09-041-1/+1
|
* (struct store): Make log2_* fields unsigned.Miles Bader1996-09-041-26/+32
| | | | | | | | | | | (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.
* New file.Miles Bader1996-09-041-0/+56
|
* (main): Use new interface to store_argp.Miles Bader1996-09-041-3/+5
|
* (main): Add new args to store_*_create calls.Miles Bader1996-09-041-3/+3
|
* (parse_opt): --layer isn't implemented, so say so.Miles Bader1996-09-041-133/+107
| | | | | | | | | | | | | | | (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.
* .Miles Bader1996-08-212-0/+17
|
* (free_hook): Free H->params->args if necessary.Miles Bader1996-08-211-14/+44
| | | | | (parse_opt): Initialize and fill in H->params->args when appropriate. <argz.h>: New include.
* (struct store_argp_params): Add return_args, args, & args_len fields.Miles Bader1996-08-211-0/+7
|
* (store_device_open): Don't call store_device_create if device_open fails.Miles Bader1996-08-211-5/+6
|
* .Miles Bader1996-07-201-0/+5
|
* Deal with NAME_LENGTH being 0.Miles Bader1996-07-191-6/+12
|
* (store_std_leaf_decode): Decode name too.Miles Bader1996-07-191-1/+10
|
* Initial revisionRoland McGrath1996-07-171-0/+147
|