|
Packit Service |
a1bd4f |
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
Packit |
5756e2 |
/*
|
|
Packit |
5756e2 |
* Copyright (C) 2017 Intel Corporation
|
|
Packit |
5756e2 |
*/
|
|
Packit |
5756e2 |
|
|
Packit |
5756e2 |
#ifndef __NETWORKMANAGER_IWD_MANAGER_H__
|
|
Packit |
5756e2 |
#define __NETWORKMANAGER_IWD_MANAGER_H__
|
|
Packit |
5756e2 |
|
|
Packit |
5756e2 |
#include "devices/nm-device.h"
|
|
Packit |
5756e2 |
#include "nm-wifi-utils.h"
|
|
Packit Service |
a1bd4f |
#include "nm-wifi-ap.h"
|
|
Packit Service |
a1bd4f |
|
|
Packit Service |
a1bd4f |
#define NM_IWD_BUS_TYPE G_BUS_TYPE_SYSTEM
|
|
Packit Service |
a1bd4f |
#define NM_IWD_SERVICE "net.connman.iwd"
|
|
Packit Service |
a1bd4f |
|
|
Packit Service |
a1bd4f |
#define NM_IWD_AGENT_MANAGER_INTERFACE "net.connman.iwd.AgentManager"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_WIPHY_INTERFACE "net.connman.iwd.Adapter"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_DEVICE_INTERFACE "net.connman.iwd.Device"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_NETWORK_INTERFACE "net.connman.iwd.Network"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_AGENT_INTERFACE "net.connman.iwd.Agent"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_WSC_INTERFACE "net.connman.iwd.WiFiSimpleConfiguration"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_KNOWN_NETWORK_INTERFACE "net.connman.iwd.KnownNetwork"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_SIGNAL_AGENT_INTERFACE "net.connman.iwd.SignalLevelAgent"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_AP_INTERFACE "net.connman.iwd.AccessPoint"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_ADHOC_INTERFACE "net.connman.iwd.AdHoc"
|
|
Packit Service |
a1bd4f |
#define NM_IWD_STATION_INTERFACE "net.connman.iwd.Station"
|
|
Packit Service |
a1bd4f |
|
|
Packit Service |
a1bd4f |
#define NM_TYPE_IWD_MANAGER (nm_iwd_manager_get_type())
|
|
Packit Service |
a1bd4f |
#define NM_IWD_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), NM_TYPE_IWD_MANAGER, NMIwdManager))
|
|
Packit Service |
a1bd4f |
#define NM_IWD_MANAGER_CLASS(klass) \
|
|
Packit Service |
a1bd4f |
(G_TYPE_CHECK_CLASS_CAST((klass), NM_TYPE_IWD_MANAGER, NMIwdManagerClass))
|
|
Packit Service |
a1bd4f |
#define NM_IS_IWD_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), NM_TYPE_IWD_MANAGER))
|
|
Packit Service |
a1bd4f |
#define NM_IS_IWD_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NM_TYPE_IWD_MANAGER))
|
|
Packit Service |
a1bd4f |
#define NM_IWD_MANAGER_GET_CLASS(obj) \
|
|
Packit Service |
a1bd4f |
(G_TYPE_INSTANCE_GET_CLASS((obj), NM_TYPE_IWD_MANAGER, NMIwdManagerClass))
|
|
Packit Service |
a1bd4f |
|
|
Packit Service |
a1bd4f |
typedef struct _NMIwdManager NMIwdManager;
|
|
Packit |
5756e2 |
typedef struct _NMIwdManagerClass NMIwdManagerClass;
|
|
Packit |
5756e2 |
|
|
Packit Service |
a1bd4f |
GType nm_iwd_manager_get_type(void);
|
|
Packit Service |
a1bd4f |
|
|
Packit Service |
a1bd4f |
NMIwdManager *nm_iwd_manager_get(void);
|
|
Packit |
5756e2 |
|
|
Packit Service |
a1bd4f |
gboolean nm_iwd_manager_is_known_network(NMIwdManager * self,
|
|
Packit Service |
a1bd4f |
const char * name,
|
|
Packit Service |
a1bd4f |
NMIwdNetworkSecurity security);
|
|
Packit |
5756e2 |
|
|
Packit Service |
a1bd4f |
NMSettingsConnection *nm_iwd_manager_get_ap_mirror_connection(NMIwdManager *self, NMWifiAP *ap);
|
|
Packit |
5756e2 |
|
|
Packit Service |
a1bd4f |
GDBusProxy *
|
|
Packit Service |
a1bd4f |
nm_iwd_manager_get_dbus_interface(NMIwdManager *self, const char *path, const char *name);
|
|
Packit |
5756e2 |
|
|
Packit |
5756e2 |
#endif /* __NETWORKMANAGER_IWD_MANAGER_H__ */
|