Lines Matching refs:cmds
522 static verbcmd cmds[] = {
539 static int num_cmds = sizeof (cmds) / sizeof (verbcmd);
547 cmds[TOKEN_IDX].verb = TOKEN_VERB;
548 cmds[TOKEN_IDX].summary = TOKEN_SUMM;
549 cmds[TOKEN_IDX].synopsis = TOKEN_SYN;
551 cmds[SETPIN_IDX].verb = SETPIN_VERB;
552 cmds[SETPIN_IDX].summary = SETPIN_SUMM;
553 cmds[SETPIN_IDX].synopsis = SETPIN_SYN;
555 cmds[LIST_IDX].verb = LIST_VERB;
556 cmds[LIST_IDX].summary = LIST_SUMM;
557 cmds[LIST_IDX].synopsis = LIST_SYN;
559 cmds[DELETE_IDX].verb = DELETE_VERB;
560 cmds[DELETE_IDX].summary = DELETE_SUMM;
561 cmds[DELETE_IDX].synopsis = DELETE_SYN;
563 cmds[IMPORT_IDX].verb = IMPORT_VERB;
564 cmds[IMPORT_IDX].summary = IMPORT_SUMM;
565 cmds[IMPORT_IDX].synopsis = IMPORT_SYN;
567 cmds[EXPORT_IDX].verb = EXPORT_VERB;
568 cmds[EXPORT_IDX].summary = EXPORT_SUMM;
569 cmds[EXPORT_IDX].synopsis = EXPORT_SYN;
571 cmds[GENCERT_IDX].verb = GENCERT_VERB;
572 cmds[GENCERT_IDX].summary = GENCERT_SUMM;
573 cmds[GENCERT_IDX].synopsis = GENCERT_SYN;
575 cmds[GENCSR_IDX].verb = GENCSR_VERB;
576 cmds[GENCSR_IDX].summary = GENCSR_SUMM;
577 cmds[GENCSR_IDX].synopsis = GENCSR_SYN;
579 cmds[DOWNLOAD_IDX].verb = DOWNLOAD_VERB;
580 cmds[DOWNLOAD_IDX].summary = DOWNLOAD_SUMM;
581 cmds[DOWNLOAD_IDX].synopsis = DOWNLOAD_SYN;
583 cmds[GENKEY_IDX].verb = GENKEY_VERB;
584 cmds[GENKEY_IDX].summary = GENKEY_SUMM;
585 cmds[GENKEY_IDX].synopsis = GENKEY_SYN;
587 cmds[SIGNCSR_IDX].verb = SIGNCSR_VERB;
588 cmds[SIGNCSR_IDX].summary = SIGNCSR_SUMM;
589 cmds[SIGNCSR_IDX].synopsis = SIGNCSR_SYN;
591 cmds[INITTOKEN_IDX].verb = INITTOKEN_VERB;
592 cmds[INITTOKEN_IDX].summary = INITTOKEN_SUMM;
593 cmds[INITTOKEN_IDX].synopsis = INITTOKEN_SYN;
595 cmds[GENKEYPAIR_IDX].verb = GENKEYPAIR_VERB;
596 cmds[GENKEYPAIR_IDX].summary = GENKEYPAIR_SUMM;
597 cmds[GENKEYPAIR_IDX].synopsis = GENKEYPAIR_SYN;
599 cmds[HELP_IDX].verb = HELP_VERB;
600 cmds[HELP_IDX].summary = HELP_SUMM;
601 cmds[HELP_IDX].synopsis = HELP_SYN;
627 cmds[i].verb, cmds[i].summary);
634 (void) fprintf(stdout, "\t%s\n", cmds[idx].synopsis);
763 if (strcmp(cmds[i].verb, pk_argv[0]) == 0) {
778 rv = (*cmds[found].action)(pk_argc, pk_argv);