summaryrefslogtreecommitdiff
path: root/libstore
AgeCommit message (Collapse)Author
1996-09-04(main): Use new interface to store_argp.Miles Bader
1996-09-04(main): Add new args to store_*_create calls.Miles Bader
1996-09-04(parse_opt): --layer isn't implemented, so say so.Miles Bader
(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.
1996-08-21.Miles Bader
1996-08-21(free_hook): Free H->params->args if necessary.Miles Bader
(parse_opt): Initialize and fill in H->params->args when appropriate. <argz.h>: New include.
1996-08-21(struct store_argp_params): Add return_args, args, & args_len fields.Miles Bader
1996-08-21(store_device_open): Don't call store_device_create if device_open fails.Miles Bader
1996-07-20.Miles Bader
1996-07-19Deal with NAME_LENGTH being 0.Miles Bader
1996-07-19(store_std_leaf_decode): Decode name too.Miles Bader
1996-07-17Initial revisionRoland McGrath
1996-06-17(parse_opt): Use argp_failure.Miles Bader
1996-05-23<error.h>: New include.Miles Bader
1996-05-23(parse_opt): Honor ARGP_NO_ERRS.Miles Bader
1996-05-22(parse_opt):Miles Bader
Use error instead of ERR for non-parsing errors. Rename ERR to PERR.
1996-05-22(main): Delete most everything and use store arg parsing.Miles Bader
(options, doc, args_doc): Variables removed.
1996-05-22(store_clone): Copy the flags by passing them to _make_store.Miles Bader
Use CLASS field instead of METHS field.
1996-05-22(store_std_leaf_allocate_encoding): Renamed fromMiles Bader
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.
1996-05-22Initial revisionMiles Bader
1996-05-22(SRCS): Add argp.c, null.c, flags.c, std.c, & kids.c.Miles Bader
1996-05-22(store_set_children): Function moved to kids.c.Miles Bader
1996-05-22(open_machdev): Function removed.Miles Bader
(parse_opt): Use store_device_open instead of open_machdev. (open_file, parse_opt): Add FLAGS arg to various function calls.
1996-05-22(_make_store): CLASS param removed, METHS param renamed CLASS; all callersMiles Bader
changed. FLAGS param added. (store_free): Change uses of METHS field to CLASS.
1996-05-22(ileave_allocate_encoding, ileave_encode, ileave_decode,Miles Bader
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.
1996-05-22(store_device_open, dev_decode): New functions.Miles Bader
(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.
1996-05-22(store_file_open, file_decode): New functions.Miles Bader
(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.
1996-05-22(store_decode):Miles Bader
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.
1996-05-22(store_write): Return an error if STORE is readonly.Miles Bader
(store_read, store_read): References to METHS field changed to CLASS.
1996-05-21(store_create): Add FLAGS & CLASSES params.Miles Bader
1996-05-21(struct store): Remove CLASS field. METHS field renamed CLASS.Miles Bader
(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.
1996-05-15(store_create): Steal SOURCE instead of cloning it.Miles Bader
1996-05-15(store_argp): New declaration.Miles Bader
(struct store_argp_params): New type.
1996-05-14Initial revisionMiles Bader
1996-05-11(parse_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.Miles Bader
1996-05-10(storeread, storecat): Remove explicit dependency on program object file.Miles Bader
Put include of ../Makeconf before dependencies.
1996-05-10(main): Use store_run, not off_t, vectors; tweak accordingly.Miles Bader
1996-05-10(store_clone): Clone children too.Miles Bader
1996-05-10(_store_derive): Use store_run, not off_t, vectors; tweak accordingly.Miles Bader
1996-05-10(store_device_create, _store_device_create):Miles Bader
Use store_run, not off_t, vectors; tweak accordingly.
1996-05-10(store_file_create, _store_file_create):Miles Bader
Use store_run, not off_t, vectors; tweak accordingly.
1996-05-10(_make_store):Miles Bader
Initialize CHILDREN & NUM_CHILDREN. Use store_run, not off_t, vectors; tweak accordingly. (store_free): Free all children too.
1996-05-10(store_ileave_create, store_concat_create):Miles Bader
Use store_run, not off_t, vectors; tweak accordingly. Use store_set_children. (stripe_read, stripe_write): Get stripes from CHILDREN, not HOOK. (stripe_clone): Function removed.
1996-05-10(store_find_first_run, store_next_run, store_write, store_read):Miles Bader
Use store_run, not off_t, vectors; tweak accordingly. Rename variables called `RUNS' to `RUN', because although they're always vectors, they're used more often for their first element.
1996-05-10(store_default_leaf_encode): Convert from the store_run vector to a off_tMiles Bader
vector for encoding.
1996-05-10(store_default_leaf_decode):Miles Bader
Convert the slice of the offset vector we're using into a vector of store_runs to pass to CREATE. Change type of CREATE accordingly.
1996-05-10(store_set_runs): Use store_run, not off_t, vectors; tweak accordingly.Miles Bader
(store_set_children): New function.
1996-05-10(struct store_run): New type.Miles Bader
(struct store): RUNS is a vector of runs, not offsets. (_store_device_create, _store_file_create, _make_store, store_set_runs, store_default_leaf_decode): Update declaration. (store_set_children): New declaration.
1996-05-10Rename *S_LEN to NUM_*S.Miles Bader
1996-05-10(store_create): Use the real file_get_storage_info.Miles Bader
(fgsi): Function removed.
1996-05-10(struct store):Miles Bader
Add CHILDREN & NUM_CHILDREN fields. Rename RUNS_LEN to NUM_RUNS (all uses changed).