mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-10 17:52:36 +01:00
network: Add network_info_get_known
This commit is contained in:
parent
8ed043533a
commit
fb1296e9c0
@ -1253,6 +1253,11 @@ void network_info_foreach(network_info_foreach_func_t function,
|
|||||||
function(entry->data, user_data);
|
function(entry->data, user_data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const struct l_queue *network_info_get_known()
|
||||||
|
{
|
||||||
|
return networks;
|
||||||
|
}
|
||||||
|
|
||||||
bool network_info_has_hidden(void)
|
bool network_info_has_hidden(void)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
@ -80,4 +80,5 @@ bool network_info_add_known(const char *ssid, enum security security);
|
|||||||
bool network_info_forget_known(const char *ssid, enum security security);
|
bool network_info_forget_known(const char *ssid, enum security security);
|
||||||
void network_info_foreach(network_info_foreach_func_t function,
|
void network_info_foreach(network_info_foreach_func_t function,
|
||||||
void *user_data);
|
void *user_data);
|
||||||
|
const struct l_queue *network_info_get_known();
|
||||||
bool network_info_has_hidden(void);
|
bool network_info_has_hidden(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user