Age | Commit message (Collapse) | Author |
|
Make const.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parse arguments before getting device master port.
|
|
trivfs_add_port_bucket, trivfs_remove_control_port_class,
trivfs_remove_protid_port_class, trivfs_remove_port_bucket):
New declarations.
|
|
|
|
|
|
trivfs_cntl_portclasses, trivfs_cntl_nportclasses):
Variables removed.
(main):
Don't set port class/bucket variables, use
trivfs_add_{protid,control}_port_class insteadd.
|
|
|
|
New function (was nested in main).
(doc):
Make an initialized array.
(fsys_port_class, root_port_class, port_bucket, trivfs_protid_portclasses,
trivfs_protid_nportclasses, trivfs_cntl_portclasses,
trivfs_cntl_nportclasses):
Variables removed.
(argp, argp_kids):
New variables (were nested in main).
(main):
Don't set or use port class/bucket variables, let trivfs_startup do it.
Add FSYS variable.
(trivfs_goaway):
Get ROOT_PORT_CLASS from FSYS.
|
|
|
|
Make doc string come after options.
|
|
Add iohelp & shouldbeinlibc.
|
|
New function.
(main):
Use argp instead of getopt.
Don't use old trivfs port class/bucket variables.
Don't create our own port classes/bucket, let trivfs_startup do it.
(argp_program_version, argp):
New variables.
(trivfs_protid_portclasses, trivfs_cntl_portclasses,
trivfs_protid_nportclasses, trivfs_cntl_nportclasses):
Variables removed.
(options):
Use argp structures instead of getopt ones.
<getopt.h>:
Include removed.
<version.h>:
New include.
<argp.h>:
New include.
|
|
trivfs_cntl_portclasses, trivfs_protid_nportclasses,
trivfs_cntl_nportclasses):
Variables removed.
(main):
Don't use them.
|
|
Add &STORE_TASK_CLASS.
|
|
Add task.c.
Change store.c to xinl.c.
|
|
New declaration.
(store_task_create, _store_task_create, store_open):
New declarations.
|
|
|
|
Correctly check for unenforcable runs.
|
|
Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
|
|
|
|
Add FLAGS argument back.
(parser_init):
Once again pass FLAGS argument to parser_convert.
Initialize PARSER->state after calling parser_convert.
|
|
|
|
|
|
Remove FLAGS argument & use PARSER->state.flags.
(parser_init):
Set PARSER->state.flags.
Don't pass FLAGS argument to parser_convert.
Make check whether PARSER has the prog name in argv[0] at the proper place.
|
|
|
|
|
|
Correctly leave space at top of stack for account for GNU per-thread
variables.
|
|
|
|
|
|
Macros removed.
|
|
Remove __ prefixes from references to getopt functions and variables (OPT*).
(argp_version_parser, parser_finalize):
Use _ instead of gettext.
(gettext):
Macro removed.
|
|
|
|
|
|
New macro.
|
|
Add help_filter field.
(struct argp_state):
Add pstate field.
|
|
Add argp field.
(convert_options):
Set it.
(__argp_input):
New function.
(parser_init):
Set PARSER->state.pstate.
|
|
Add STATE param.
(argp_doc):
Deal with help filters.
Add STATE param.
(struct hol_entry):
Add argp field.
(struct pentry_state):
Add state field.
(hol_add_cluster):
Add ARGP argument.
(print_header):
Filter STR if necesary.
(usage_argful_short_opt):
Use space.
(__argp_state_help):
Call _help instead of __argp_help.
(filter_doc):
New function.
(space):
New function.
(__argp_help):
Now a wrapper that calls _help.
(hol_entry_help):
Add STATE param.
Do user filtering if necessary.
(struct hol_cluster):
Add argp field.
(make_hol):
Make this first parameter ARGP instead of OPT.
Set each entry's argp field.
(argp_hol):
Passin ARGP to make_hol, not ARGP->options.
Pass ARGP to hol_add_cluster.
(_help):
Renamed from __argp_help.
Add STATE argument, which pass on appropiately.
|
|
|
|
|
|
hol_entry_help):
Call gettext in appropriate places.
[!_] (_): New macro.
[!_ && HAVE_LIBINTL_H] <libintl.h>: New include.
|
|
Call gettext in appropriate places.
|
|
|
|
|
|
Initialize rpcs, flags, & count fields in RET.
|