3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

client: add commands for known networks

This commit is contained in:
Tim Kourt 2017-04-21 11:14:53 -07:00 committed by Denis Kenzior
parent 0be4a82946
commit 8cdfd1e460

View File

@ -33,9 +33,25 @@ static struct proxy_interface_type known_networks_interface_type = {
.interface = IWD_KNOWN_NETWORKS_INTREFACE,
};
static void cmd_list(const char *entity, char *args)
{
}
static void cmd_forget(const char *entity, char *args)
{
}
static const struct command known_networks_commands[] = {
{ NULL, "list", NULL, cmd_list, "List known networks", true },
{ NULL, "forget", "<network name> [security]",
cmd_forget, "Forget known network"},
{ }
};
static struct command_family known_networks_command_family = {
.caption = "Known Networks",
.name = "known-networks",
.command_list = known_networks_commands,
};
static int known_networks_command_family_init(void)