003 File Manager
Current Path:
/usr/src/contrib/wpa/src/common
usr
/
src
/
contrib
/
wpa
/
src
/
common
/
📁
..
📄
cli.c
(5.73 KB)
📄
cli.h
(1.32 KB)
📄
common_module_tests.c
(13.56 KB)
📄
ctrl_iface_common.c
(4.51 KB)
📄
ctrl_iface_common.h
(1.28 KB)
📄
defs.h
(11 KB)
📄
dhcp.h
(6.95 KB)
📄
dpp.c
(262.26 KB)
📄
dpp.h
(17.72 KB)
📄
dragonfly.c
(5.74 KB)
📄
dragonfly.h
(951 B)
📄
eapol_common.h
(2.48 KB)
📄
gas.c
(6.13 KB)
📄
gas.h
(1.49 KB)
📄
gas_server.c
(13.17 KB)
📄
gas_server.h
(1.19 KB)
📄
hw_features_common.c
(15.15 KB)
📄
hw_features_common.h
(1.78 KB)
📄
ieee802_11_common.c
(46.43 KB)
📄
ieee802_11_common.h
(7.55 KB)
📄
ieee802_11_defs.h
(72.71 KB)
📄
ieee802_1x_defs.h
(1.93 KB)
📄
ocv.c
(4.51 KB)
📄
ocv.h
(1001 B)
📄
privsep_commands.h
(2.25 KB)
📄
qca-vendor-attr.h
(685 B)
📄
qca-vendor.h
(297.31 KB)
📄
sae.c
(38.69 KB)
📄
sae.h
(2.54 KB)
📄
tnc.h
(3.69 KB)
📄
version.h
(329 B)
📄
wpa_common.c
(69.07 KB)
📄
wpa_common.h
(16.49 KB)
📄
wpa_ctrl.c
(18.05 KB)
📄
wpa_ctrl.h
(24.43 KB)
📄
wpa_helpers.c
(5.96 KB)
📄
wpa_helpers.h
(1.31 KB)
Editing: cli.h
/* * Common hostapd/wpa_supplicant command line interface functionality * Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi> * * This software may be distributed under the terms of the BSD license. * See README for more details. */ #ifndef CLI_H #define CLI_H #include "utils/list.h" extern const char *const cli_license; extern const char *const cli_full_license; struct cli_txt_entry { struct dl_list list; char *txt; }; void cli_txt_list_free(struct cli_txt_entry *e); void cli_txt_list_flush(struct dl_list *list); struct cli_txt_entry * cli_txt_list_get(struct dl_list *txt_list, const char *txt); void cli_txt_list_del(struct dl_list *txt_list, const char *txt); void cli_txt_list_del_addr(struct dl_list *txt_list, const char *txt); void cli_txt_list_del_word(struct dl_list *txt_list, const char *txt, int separator); int cli_txt_list_add(struct dl_list *txt_list, const char *txt); int cli_txt_list_add_addr(struct dl_list *txt_list, const char *txt); int cli_txt_list_add_word(struct dl_list *txt_list, const char *txt, int separator); char ** cli_txt_list_array(struct dl_list *txt_list); int get_cmd_arg_num(const char *str, int pos); int write_cmd(char *buf, size_t buflen, const char *cmd, int argc, char *argv[]); #define max_args 10 int tokenize_cmd(char *cmd, char *argv[]); #endif /* CLI_H */
Upload File
Create Folder