Searched refs:function_table (Results 1 – 2 of 2) sorted by relevance
79 function_t function_table[] = { variable98 for (unsigned int i = 0; i < sizeof(function_table)/sizeof(function_t); i++) { in main()99 if (strcmp(argv[1], function_table[i].cmd_name) == 0) { in main()100 err = (*function_table[i].func)(argc-1, argv+1); in main()
588 function_t function_table[] = { variable731 for (size_t j = 0; j < sizeof(function_table)/sizeof(function_t); j++) { in processOptions()732 if (strcmp(argv[i], function_table[j].name) == 0) { in processOptions()733 command = &function_table[j]; in processOptions()