| 111 | #ifndef RTE_EXEC_ENV_WINDOWS |
| 112 | |
| 113 | static int |
| 114 | list_commands(const char *cmd __rte_unused, const char *params __rte_unused, |
| 115 | struct rte_tel_data *d) |
| 116 | { |
| 117 | int i; |
| 118 | |
| 119 | rte_tel_data_start_array(d, RTE_TEL_STRING_VAL); |
| 120 | rte_spinlock_lock(&callback_sl); |
| 121 | for (i = 0; i < num_callbacks; i++) |
| 122 | rte_tel_data_add_array_string(d, callbacks[i].cmd); |
| 123 | rte_spinlock_unlock(&callback_sl); |
| 124 | return 0; |
| 125 | } |
| 126 | |
| 127 | static int |
| 128 | json_info(const char *cmd __rte_unused, const char *params __rte_unused, |
nothing calls this directly
no test coverage detected