version 1.31, 2016/03/03 14:15:22 |
version 1.32, 2016/10/10 21:51:39 |
|
|
* Show options. |
* Show options. |
*/ |
*/ |
|
|
enum cmd_retval cmd_show_options_exec(struct cmd *, struct cmd_q *); |
static enum cmd_retval cmd_show_options_exec(struct cmd *, struct cmd_q *); |
|
|
enum cmd_retval cmd_show_options_one(struct cmd *, struct cmd_q *, |
static enum cmd_retval cmd_show_options_one(struct cmd *, struct cmd_q *, |
struct options *, int); |
struct options *, int); |
enum cmd_retval cmd_show_options_all(struct cmd *, struct cmd_q *, |
static enum cmd_retval cmd_show_options_all(struct cmd *, struct cmd_q *, |
struct options *, enum options_table_scope); |
struct options *, enum options_table_scope); |
|
|
const struct cmd_entry cmd_show_options_entry = { |
const struct cmd_entry cmd_show_options_entry = { |
.name = "show-options", |
.name = "show-options", |
|
|
.exec = cmd_show_options_exec |
.exec = cmd_show_options_exec |
}; |
}; |
|
|
enum cmd_retval |
static enum cmd_retval |
cmd_show_options_exec(struct cmd *self, struct cmd_q *cmdq) |
cmd_show_options_exec(struct cmd *self, struct cmd_q *cmdq) |
{ |
{ |
struct args *args = self->args; |
struct args *args = self->args; |
|
|
return (cmd_show_options_one(self, cmdq, oo, quiet)); |
return (cmd_show_options_one(self, cmdq, oo, quiet)); |
} |
} |
|
|
enum cmd_retval |
static enum cmd_retval |
cmd_show_options_one(struct cmd *self, struct cmd_q *cmdq, |
cmd_show_options_one(struct cmd *self, struct cmd_q *cmdq, |
struct options *oo, int quiet) |
struct options *oo, int quiet) |
{ |
{ |
|
|
return (CMD_RETURN_NORMAL); |
return (CMD_RETURN_NORMAL); |
} |
} |
|
|
enum cmd_retval |
static enum cmd_retval |
cmd_show_options_all(struct cmd *self, struct cmd_q *cmdq, struct options *oo, |
cmd_show_options_all(struct cmd *self, struct cmd_q *cmdq, struct options *oo, |
enum options_table_scope scope) |
enum options_table_scope scope) |
{ |
{ |