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

network: Add network_info_get_known

This commit is contained in:
Denis Kenzior 2018-07-02 12:57:11 -05:00
parent 8ed043533a
commit fb1296e9c0
2 changed files with 6 additions and 0 deletions

View File

@ -1253,6 +1253,11 @@ void network_info_foreach(network_info_foreach_func_t function,
function(entry->data, user_data);
}
const struct l_queue *network_info_get_known()
{
return networks;
}
bool network_info_has_hidden(void)
{
return false;

View File

@ -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);
void network_info_foreach(network_info_foreach_func_t function,
void *user_data);
const struct l_queue *network_info_get_known();
bool network_info_has_hidden(void);