Lines Matching defs:str
49 static void cli_event(const char *str);
323 static char ** hostapd_complete_stations(const char *str, int pos)
325 int arg = get_cmd_arg_num(str, pos);
799 static char ** hostapd_cli_complete_help(const char *str, int pos)
801 int arg = get_cmd_arg_num(str, pos);
1007 static char ** hostapd_complete_interface(const char *str, int pos)
1009 int arg = get_cmd_arg_num(str, pos);
1045 static char ** hostapd_complete_set(const char *str, int pos)
1047 int arg = get_cmd_arg_num(str, pos);
1103 static char ** hostapd_complete_get(const char *str, int pos)
1105 int arg = get_cmd_arg_num(str, pos);
1514 char ** (*completion)(const char *str, int pos);
1766 static void cli_event(const char *str)
1770 start = os_strchr(str, '>');
1884 static char ** hostapd_cli_cmd_completion(const char *cmd, const char *str,
1893 return hostapd_cli_commands[i].completion(str, pos);
1906 static char ** hostapd_cli_edit_completion_cb(void *ctx, const char *str,
1913 end = os_strchr(str, ' ');
1914 if (end == NULL || str + pos < end)
1920 os_memcpy(cmd, str, pos);
1921 cmd[end - str] = '\0';
1922 res = hostapd_cli_cmd_completion(cmd, str, pos);