| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
(store_parsed_append_args, store_parsed_open, struct store_parsed):
Use `device' instead of `machdev'.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
(parse_opt): Use store_device_open instead of open_machdev.
(open_file, parse_opt): Add FLAGS arg to various function calls.
|
|
|