mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2025-01-05 12:52:37 +01:00
61 lines
2.2 KiB
C
61 lines
2.2 KiB
C
/*
|
|
*
|
|
* Wireless daemon for Linux
|
|
*
|
|
* Copyright (C) 2013-2015 Intel Corporation. All rights reserved.
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*
|
|
*/
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct netdev;
|
|
|
|
bool network_seen(uint32_t type, const char *ssid);
|
|
bool network_connected(uint32_t type, const char *ssid);
|
|
double network_rankmod(uint32_t type, const char *ssid);
|
|
|
|
struct network *network_create(struct netdev *device,
|
|
uint8_t *ssid, uint8_t ssid_len,
|
|
enum security security);
|
|
|
|
bool __iwd_network_append_properties(const struct network *network,
|
|
struct l_dbus_message_builder *builder);
|
|
|
|
const char *network_get_ssid(struct network *network);
|
|
struct netdev *network_get_netdev(struct network *network);
|
|
const char *network_get_path(struct network *network);
|
|
enum security network_get_security(struct network *network);
|
|
const unsigned char *network_get_psk(struct network *network);
|
|
struct l_settings *network_get_settings(struct network *network);
|
|
|
|
bool network_settings_load(struct network *network);
|
|
void network_settings_close(struct network *network);
|
|
void network_sync_psk(struct network *network);
|
|
|
|
int network_autoconnect(struct network *network, struct scan_bss *bss);
|
|
void network_connect_failed(struct network *network);
|
|
bool network_bss_add(struct network *network, struct scan_bss *bss);
|
|
bool network_bss_list_isempty(struct network *network);
|
|
void network_bss_list_clear(struct network *network);
|
|
|
|
bool network_register(struct network *network, const char *path);
|
|
|
|
void network_remove(struct network *network);
|
|
|
|
void network_init();
|
|
void network_exit();
|