Home
last modified time | relevance | path

Searched refs:command_handlers (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/test/util-tests/tests/libnvpair_json/
H A Dprint_json.c479 command_t command_handlers[] = { variable
520 for (ch = 0; command_handlers[ch].cmd_name[0] != '\0'; ch++) { in command_call()
521 if (strcmp(command, command_handlers[ch].cmd_name) != 0) in command_call()
524 if (argc > command_handlers[ch].cmd_max_args || in command_call()
525 argc < command_handlers[ch].cmd_min_args) { in command_call()
530 command_handlers[ch].cmd_min_args, in command_call()
531 command_handlers[ch].cmd_max_args, in command_call()
537 return (command_handlers[ch].cmd_func(lw, in command_call()
538 command_handlers[ch].cmd_array_mode, argc, argv)); in command_call()