summaryrefslogtreecommitdiff
path: root/libstore/argp.c
AgeCommit message (Collapse)Author
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(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-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(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-14Initial revisionMiles Bader