Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching defs:txt

88 	char *txt;
127 os_free(e->txt);
141 const char *txt)
145 if (os_strcmp(e->txt, txt) == 0)
152 static void cli_txt_list_del(struct dl_list *txt_list, const char *txt)
155 e = cli_txt_list_get(txt_list, txt);
161 static void cli_txt_list_del_addr(struct dl_list *txt_list, const char *txt)
165 if (hwaddr_aton(txt, addr) < 0)
173 static void cli_txt_list_del_word(struct dl_list *txt_list, const char *txt,
178 end = os_strchr(txt, separator);
180 end = txt + os_strlen(txt);
181 buf = dup_binstr(txt, end - txt);
190 static int cli_txt_list_add(struct dl_list *txt_list, const char *txt)
193 e = cli_txt_list_get(txt_list, txt);
199 e->txt = os_strdup(txt);
200 if (e->txt == NULL) {
210 static int cli_txt_list_add_addr(struct dl_list *txt_list, const char *txt)
214 if (hwaddr_aton(txt, addr) < 0)
222 static int cli_txt_list_add_word(struct dl_list *txt_list, const char *txt,
228 end = os_strchr(txt, separator);
230 end = txt + os_strlen(txt);
231 buf = dup_binstr(txt, end - txt);
252 res[i] = os_strdup(e->txt);
3432 size_t len = 8 + os_strlen(e->txt);
3436 os_snprintf(res[i], len, "ifname=%s", e->txt);
3441 res[i] = os_strdup(e->txt);
3994 char txt[200];
4011 ret = os_snprintf(txt, sizeof(txt), "ifname=%s", pos);
4012 if (!os_snprintf_error(sizeof(txt), ret))
4013 cli_txt_list_add(&ifnames, txt);