| 22 | #include "cmds.h" |
| 23 | |
| 24 | const cmd_export_t* find_cmd_export_t(const char* name, int flags) |
| 25 | { |
| 26 | const cmd_export_t* cmd; |
| 27 | |
| 28 | cmd = find_core_cmd_export_t(name, flags); |
| 29 | if (!cmd) |
| 30 | cmd = find_mod_cmd_export_t(name, flags); |
| 31 | |
| 32 | return cmd; |
| 33 | } |
| 34 | |
| 35 | /* Checks if the module function is called with the right number of parameters |
| 36 | * and all mandatory parameters are given |
no test coverage detected