2 * Common hostapd/wpa_supplicant command line interface functionality
3 * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
5 * This software may be distributed under the terms of the BSD license.
6 * See README for more details.
12 #include "utils/list.h"
14 struct cli_txt_entry {
19 void cli_txt_list_free(struct cli_txt_entry *e);
20 void cli_txt_list_flush(struct dl_list *list);
22 struct cli_txt_entry *
23 cli_txt_list_get(struct dl_list *txt_list, const char *txt);
25 void cli_txt_list_del(struct dl_list *txt_list, const char *txt);
26 void cli_txt_list_del_addr(struct dl_list *txt_list, const char *txt);
27 void cli_txt_list_del_word(struct dl_list *txt_list, const char *txt,
30 int cli_txt_list_add(struct dl_list *txt_list, const char *txt);
31 int cli_txt_list_add_addr(struct dl_list *txt_list, const char *txt);
32 int cli_txt_list_add_word(struct dl_list *txt_list, const char *txt,
35 char ** cli_txt_list_array(struct dl_list *txt_list);