Lines Matching refs:cmd_desc
667 struct cmd_desc { struct
669 void (*cmd_func)(int, char **, const struct cmd_desc *); argument
670 const char *cmd_desc; argument
677 static void do_help(int argc, char **argv, const struct cmd_desc *cmd); argument
689 static void do_add_key(int argc, char **argv, const struct cmd_desc *cmd) in do_add_key()
755 static void do_set_policy(int argc, char **argv, const struct cmd_desc *cmd) in do_set_policy()
795 static void do_get_policy(int argc, char **argv, const struct cmd_desc *cmd) in do_get_policy()
842 const struct cmd_desc *cmd) in do_new_session()
868 const struct cmd_desc cmd_list[] = {
877 static void do_help(int argc, char **argv, const struct cmd_desc *UNUSED(cmd)) in do_help()
879 const struct cmd_desc *p; in do_help()
899 printf(" %-20s %s\n", p->cmd_name, p->cmd_desc); in do_help()
908 const struct cmd_desc *cmd; in main()