searches the module list and returns pointer to the "name" function or * 0 if not found * flags parameter is OR value of all flags that must match */
| 514 | * flags parameter is OR value of all flags that must match |
| 515 | */ |
| 516 | cmd_function find_export(const char* name, int flags) |
| 517 | { |
| 518 | const cmd_export_t* cmd; |
| 519 | |
| 520 | cmd = find_mod_cmd_export_t(name, flags); |
| 521 | if (cmd==0) |
| 522 | return 0; |
| 523 | |
| 524 | return cmd->function; |
| 525 | } |
| 526 | |
| 527 | |
| 528 |
no test coverage detected