|
@ -228,6 +228,15 @@ void opt_register_table(const struct opt_table *table, const char *desc); |
|
|
_opt_register((names), OPT_CB_ARG((cb), OPT_EARLY, (show),(arg)), \ |
|
|
_opt_register((names), OPT_CB_ARG((cb), OPT_EARLY, (show),(arg)), \ |
|
|
(arg), (desc)) |
|
|
(arg), (desc)) |
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* opt_unregister - unregister an option. |
|
|
|
|
|
* @names: the names it was registered with. |
|
|
|
|
|
* |
|
|
|
|
|
* This undoes opt_register[_early]_[no]arg. Returns true if the option was |
|
|
|
|
|
* found, otherwise false. |
|
|
|
|
|
*/ |
|
|
|
|
|
bool opt_unregister(const char *names); |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
* opt_parse - parse arguments. |
|
|
* opt_parse - parse arguments. |
|
|
* @argc: pointer to argc |
|
|
* @argc: pointer to argc |
|
|