/*
* Type Definitions for Gjs (https://gjs.guide/)
*
* These type definitions are automatically generated, do not edit them by hand.
* If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gir
*/
import './nm-1.0-ambient.d.ts';
import './nm-1.0-import.d.ts';
/**
* NM-1.0
*/
import type Gio from '@girs/gio-2.0';
import type GObject from '@girs/gobject-2.0';
import type GLib from '@girs/glib-2.0';
/**
* Indicates the 802.11 mode an access point or device is currently in.
*/
export enum TODO_80211Mode {
/**
* the device or access point mode is unknown
*/
UNKNOWN,
/**
* for both devices and access point objects, indicates
* the object is part of an Ad-Hoc 802.11 network without a central
* coordinating access point.
*/
ADHOC,
/**
* the device or access point is in infrastructure mode.
* For devices, this indicates the device is an 802.11 client/station. For
* access point objects, this indicates the object is an access point that
* provides connectivity to clients.
*/
INFRA,
/**
* the device is an access point/hotspot. Not valid for
* access point objects; used only for hotspot mode on the local machine.
*/
AP,
/**
* the device is a 802.11s mesh point. Since: 1.20.
*/
MESH,
}
/**
* #NMActiveConnectionState values indicate the state of a connection to a
* specific network while it is starting, connected, or disconnecting from that
* network.
*/
export enum ActiveConnectionState {
/**
* the state of the connection is unknown
*/
UNKNOWN,
/**
* a network connection is being prepared
*/
ACTIVATING,
/**
* there is a connection to the network
*/
ACTIVATED,
/**
* the network connection is being
* torn down and cleaned up
*/
DEACTIVATING,
/**
* the network connection is disconnected
* and will be removed
*/
DEACTIVATED,
}
/**
* Active connection state reasons.
*/
export enum ActiveConnectionStateReason {
/**
* The reason for the active connection
* state change is unknown.
*/
UNKNOWN,
/**
* No reason was given for the active
* connection state change.
*/
NONE,
/**
* The active connection changed
* state because the user disconnected it.
*/
USER_DISCONNECTED,
/**
* The active connection
* changed state because the device it was using was disconnected.
*/
DEVICE_DISCONNECTED,
/**
* The service providing the
* VPN connection was stopped.
*/
SERVICE_STOPPED,
/**
* The IP config of the active
* connection was invalid.
*/
IP_CONFIG_INVALID,
/**
* The connection attempt to
* the VPN service timed out.
*/
CONNECT_TIMEOUT,
/**
* A timeout occurred
* while starting the service providing the VPN connection.
*/
SERVICE_START_TIMEOUT,
/**
* Starting the service
* providing the VPN connection failed.
*/
SERVICE_START_FAILED,
/**
* Necessary secrets for the
* connection were not provided.
*/
NO_SECRETS,
/**
* Authentication to the
* server failed.
*/
LOGIN_FAILED,
/**
* The connection was
* deleted from settings.
*/
CONNECTION_REMOVED,
/**
* Master connection of this
* connection failed to activate.
*/
DEPENDENCY_FAILED,
/**
* Could not create the
* software device link.
*/
DEVICE_REALIZE_FAILED,
/**
* The device this connection
* depended on disappeared.
*/
DEVICE_REMOVED,
}
/**
* Errors returned from the secret-agent manager.
*
* These errors may be returned from operations that could cause secrets to be
* requested (such as nm_client_activate_connection()), and correspond to D-Bus
* errors in the "org.freedesktop.NetworkManager.AgentManager" namespace.
*/
export enum AgentManagerError {
/**
* unknown or unspecified error
*/
FAILED,
/**
* The caller does not have permission
* to register a secret agent, or is trying to register the same secret agent
* twice.
*/
PERMISSIONDENIED,
/**
* The identifier is not a valid
* secret agent identifier.
*/
INVALIDIDENTIFIER,
/**
* The caller tried to unregister an agent
* that was not registered.
*/
NOTREGISTERED,
/**
* No secret agent returned secrets for this
* request
*/
NOSECRETS,
/**
* The user canceled the secrets request.
*/
USERCANCELED,
}
/**
* #NMCapability names the numbers in the Capabilities property.
* Capabilities are positive numbers. They are part of stable API
* and a certain capability number is guaranteed not to change.
*
* The range 0x7000 - 0x7FFF of capabilities is guaranteed not to be
* used by upstream NetworkManager. It could thus be used for downstream
* extensions.
*/
export enum Capability {
/**
* Teams can be managed. This means the team device plugin
* is loaded.
*/
TEAM,
/**
* OpenVSwitch can be managed. This means the OVS device plugin
* is loaded. Since: 1.24.
*/
OVS,
}
/**
* Describes errors that may result from operations involving a #NMClient.
*
* D-Bus operations may also return errors from other domains, including
* #NMManagerError, #NMSettingsError, #NMAgentManagerError, and #NMConnectionError.
*/
export enum ClientError {
/**
* unknown or unclassified error
*/
FAILED,
/**
* an operation that requires NetworkManager
* failed because NetworkManager is not running
*/
MANAGER_NOT_RUNNING,
/**
* NetworkManager claimed that an
* operation succeeded, but the object that was allegedly created (eg,
* #NMRemoteConnection, #NMActiveConnection) was apparently destroyed before
* #NMClient could create a representation of it.
*/
OBJECT_CREATION_FAILED,
}
/**
* #NMClientPermission values indicate various permissions that NetworkManager
* clients can obtain to perform certain tasks on behalf of the current user.
*/
export enum ClientPermission {
/**
* unknown or no permission
*/
NONE,
/**
* controls whether networking
* can be globally enabled or disabled
*/
ENABLE_DISABLE_NETWORK,
/**
* controls whether Wi-Fi can be
* globally enabled or disabled
*/
ENABLE_DISABLE_WIFI,
/**
* controls whether WWAN (3G) can be
* globally enabled or disabled
*/
ENABLE_DISABLE_WWAN,
/**
* controls whether WiMAX can be
* globally enabled or disabled
*/
ENABLE_DISABLE_WIMAX,
/**
* controls whether the client can ask
* NetworkManager to sleep and wake
*/
SLEEP_WAKE,
/**
* controls whether networking connections
* can be started, stopped, and changed
*/
NETWORK_CONTROL,
/**
* controls whether a password
* protected Wi-Fi hotspot can be created
*/
WIFI_SHARE_PROTECTED,
/**
* controls whether an open Wi-Fi hotspot
* can be created
*/
WIFI_SHARE_OPEN,
/**
* controls whether connections
* that are available to all users can be modified
*/
SETTINGS_MODIFY_SYSTEM,
/**
* controls whether connections
* owned by the current user can be modified
*/
SETTINGS_MODIFY_OWN,
/**
* controls whether the
* persistent hostname can be changed
*/
SETTINGS_MODIFY_HOSTNAME,
/**
* modify persistent global
* DNS configuration
*/
SETTINGS_MODIFY_GLOBAL_DNS,
/**
* controls access to Reload.
*/
RELOAD,
/**
* permission to create checkpoints.
*/
CHECKPOINT_ROLLBACK,
/**
* controls whether device
* statistics can be globally enabled or disabled
*/
ENABLE_DISABLE_STATISTICS,
/**
* controls whether
* connectivity check can be enabled or disabled
*/
ENABLE_DISABLE_CONNECTIVITY_CHECK,
/**
* controls whether wifi scans can be performed
*/
WIFI_SCAN,
/**
* a reserved boundary value
*/
LAST,
}
/**
* #NMClientPermissionResult values indicate what authorizations and permissions
* the user requires to obtain a given #NMClientPermission
*/
export enum ClientPermissionResult {
/**
* unknown or no authorization
*/
UNKNOWN,
/**
* the permission is available
*/
YES,
/**
* authorization is necessary before the
* permission is available
*/
AUTH,
/**
* permission to perform the operation is
* denied by system policy
*/
NO,
}
/**
* Describes errors that may result from operations involving a #NMConnection
* or its #NMSettings.
*
* These errors may be returned directly from #NMConnection and #NMSetting
* methods, or may be returned from D-Bus operations (eg on #NMClient or
* #NMDevice), where they correspond to errors in the
* "org.freedesktop.NetworkManager.Settings.Connection" namespace.
*/
export enum ConnectionError {
/**
* unknown or unclassified error
*/
FAILED,
/**
* the #NMConnection object
* did not contain the specified #NMSetting object
*/
SETTINGNOTFOUND,
/**
* the #NMConnection did not contain the
* requested #NMSetting property
*/
PROPERTYNOTFOUND,
/**
* an operation which requires a secret
* was attempted on a non-secret property
*/
PROPERTYNOTSECRET,
/**
* the #NMConnection object is missing an
* #NMSetting which is required for its configuration. The error message will
* always be prefixed with "<setting-name>: ", where "<setting-name>" is the
* name of the setting that is missing.
*/
MISSINGSETTING,
/**
* the #NMConnection object contains an
* invalid or inappropriate #NMSetting. The error message will always be
* prefixed with "<setting-name>: ", where "<setting-name>" is the name of the
* setting that is invalid.
*/
INVALIDSETTING,
/**
* the #NMConnection object is invalid
* because it is missing a required property. The error message will always be
* prefixed with "<setting-name>.<property-name>: ", where "<setting-name>" is
* the name of the setting with the missing property, and "<property-name>" is
* the property that is missing.
*/
MISSINGPROPERTY,
/**
* the #NMConnection object is invalid
* because a property has an invalid value. The error message will always be
* prefixed with "<setting-name>.<property-name>: ", where "<setting-name>" is
* the name of the setting with the invalid property, and "<property-name>" is
* the property that is invalid.
*/
INVALIDPROPERTY,
}
export enum ConnectionMultiConnect {
/**
* indicates that the per-connection
* setting is unspecified. In this case, it will fallback to the default
* value, which is %NM_CONNECTION_MULTI_CONNECT_SINGLE.
*/
DEFAULT,
/**
* the connection profile can only
* be active once at each moment. Activating a profile that is already active,
* will first deactivate it.
*/
SINGLE,
/**
* the profile can
* be manually activated multiple times on different devices. However,
* regarding autoconnect, the profile will autoconnect only if it is
* currently not connected otherwise.
*/
MANUAL_MULTIPLE,
/**
* the profile can autoactivate
* and be manually activated multiple times together.
*/
MULTIPLE,
}
export enum ConnectivityState {
/**
* Network connectivity is unknown. This means the
* connectivity checks are disabled (e.g. on server installations) or has
* not run yet. The graphical shell should assume the Internet connection
* might be available and not present a captive portal window.
*/
UNKNOWN,
/**
* The host is not connected to any network. There's
* no active connection that contains a default route to the internet and
* thus it makes no sense to even attempt a connectivity check. The graphical
* shell should use this state to indicate the network connection is unavailable.
*/
NONE,
/**
* The Internet connection is hijacked by a captive
* portal gateway. The graphical shell may open a sandboxed web browser window
* (because the captive portals typically attempt a man-in-the-middle attacks
* against the https connections) for the purpose of authenticating to a gateway
* and retrigger the connectivity check with CheckConnectivity() when the
* browser window is dismissed.
*/
PORTAL,
/**
* The host is connected to a network, does not appear
* to be able to reach the full Internet, but a captive portal has not been
* detected.
*/
LIMITED,
/**
* The host is connected to a network, and
* appears to be able to reach the full Internet.
*/
FULL,
}
/**
* Cryptography-related errors that can be returned from some nm-utils methods,
* and some #NMSetting8021x operations.
*/
export enum CryptoError {
/**
* generic failure
*/
FAILED,
/**
* the certificate or key data provided
* was invalid
*/
INVALID_DATA,
/**
* the password was invalid
*/
INVALID_PASSWORD,
/**
* the data uses an unknown cipher
*/
UNKNOWN_CIPHER,
/**
* decryption failed
*/
DECRYPTION_FAILED,
/**
* encryption failed
*/
ENCRYPTION_FAILED,
}
/**
* Device-related errors.
*
* These errors may be returned directly from #NMDevice methods, or may be
* returned from D-Bus operations (where they correspond to errors in the
* "org.freedesktop.NetworkManager.Device" namespace).
*/
export enum DeviceError {
/**
* unknown or unclassified error
*/
FAILED,
/**
* NetworkManager failed to create the device
*/
CREATIONFAILED,
/**
* the specified connection is not valid
*/
INVALIDCONNECTION,
/**
* the specified connection is not
* compatible with this device.
*/
INCOMPATIBLECONNECTION,
/**
* the device does not have an active connection
*/
NOTACTIVE,
/**
* the requested operation is only valid on
* software devices.
*/
NOTSOFTWARE,
/**
* the requested operation is not allowed at
* this time.
*/
NOTALLOWED,
/**
* the "specific object" in the
* activation request (eg, the #NMAccessPoint or #NMWimaxNsp) was not
* found.
*/
SPECIFICOBJECTNOTFOUND,
/**
* the version id did not match.
*/
VERSIONIDMISMATCH,
/**
* the requested operation could not
* be completed due to missing dependencies.
*/
MISSINGDEPENDENCIES,
/**
* invalid argument. Since: 1.16.
*/
INVALIDARGUMENT,
}
export enum DeviceState {
/**
* the device's state is unknown
*/
UNKNOWN,
/**
* the device is recognized, but not managed by
* NetworkManager
*/
UNMANAGED,
/**
* the device is managed by NetworkManager, but
* is not available for use. Reasons may include the wireless switched off,
* missing firmware, no ethernet carrier, missing supplicant or modem manager,
* etc.
*/
UNAVAILABLE,
/**
* the device can be activated, but is currently
* idle and not connected to a network.
*/
DISCONNECTED,
/**
* the device is preparing the connection to the
* network. This may include operations like changing the MAC address,
* setting physical link properties, and anything else required to connect
* to the requested network.
*/
PREPARE,
/**
* the device is connecting to the requested network.
* This may include operations like associating with the Wi-Fi AP, dialing
* the modem, connecting to the remote Bluetooth device, etc.
*/
CONFIG,
/**
* the device requires more information to continue
* connecting to the requested network. This includes secrets like WiFi
* passphrases, login passwords, PIN codes, etc.
*/
NEED_AUTH,
/**
* the device is requesting IPv4 and/or IPv6
* addresses and routing information from the network.
*/
IP_CONFIG,
/**
* the device is checking whether further action is
* required for the requested network connection. This may include checking
* whether only local network access is available, whether a captive portal
* is blocking access to the Internet, etc.
*/
IP_CHECK,
/**
* the device is waiting for a secondary
* connection (like a VPN) which must activated before the device can be
* activated
*/
SECONDARIES,
/**
* the device has a network connection, either local
* or global.
*/
ACTIVATED,
/**
* a disconnection from the current network
* connection was requested, and the device is cleaning up resources used for
* that connection. The network connection may still be valid.
*/
DEACTIVATING,
/**
* the device failed to connect to the requested
* network and is cleaning up the connection request
*/
FAILED,
}
/**
* Device state change reason codes
*/
export enum DeviceStateReason {
/**
* No reason given
*/
NONE,
/**
* Unknown error
*/
UNKNOWN,
/**
* Device is now managed
*/
NOW_MANAGED,
/**
* Device is now unmanaged
*/
NOW_UNMANAGED,
/**
* The device could not be readied for configuration
*/
CONFIG_FAILED,
/**
* IP configuration could not be reserved (no available address, timeout, etc)
*/
IP_CONFIG_UNAVAILABLE,
/**
* The IP config is no longer valid
*/
IP_CONFIG_EXPIRED,
/**
* Secrets were required, but not provided
*/
NO_SECRETS,
/**
* 802.1x supplicant disconnected
*/
SUPPLICANT_DISCONNECT,
/**
* 802.1x supplicant configuration failed
*/
SUPPLICANT_CONFIG_FAILED,
/**
* 802.1x supplicant failed
*/
SUPPLICANT_FAILED,
/**
* 802.1x supplicant took too long to authenticate
*/
SUPPLICANT_TIMEOUT,
/**
* PPP service failed to start
*/
PPP_START_FAILED,
/**
* PPP service disconnected
*/
PPP_DISCONNECT,
/**
* PPP failed
*/
PPP_FAILED,
/**
* DHCP client failed to start
*/
DHCP_START_FAILED,
/**
* DHCP client error
*/
DHCP_ERROR,
/**
* DHCP client failed
*/
DHCP_FAILED,
/**
* Shared connection service failed to start
*/
SHARED_START_FAILED,
/**
* Shared connection service failed
*/
SHARED_FAILED,
/**
* AutoIP service failed to start
*/
AUTOIP_START_FAILED,
/**
* AutoIP service error
*/
AUTOIP_ERROR,
/**
* AutoIP service failed
*/
AUTOIP_FAILED,
/**
* The line is busy
*/
MODEM_BUSY,
/**
* No dial tone
*/
MODEM_NO_DIAL_TONE,
/**
* No carrier could be established
*/
MODEM_NO_CARRIER,
/**
* The dialing request timed out
*/
MODEM_DIAL_TIMEOUT,
/**
* The dialing attempt failed
*/
MODEM_DIAL_FAILED,
/**
* Modem initialization failed
*/
MODEM_INIT_FAILED,
/**
* Failed to select the specified APN
*/
GSM_APN_FAILED,
/**
* Not searching for networks
*/
GSM_REGISTRATION_NOT_SEARCHING,
/**
* Network registration denied
*/
GSM_REGISTRATION_DENIED,
/**
* Network registration timed out
*/
GSM_REGISTRATION_TIMEOUT,
/**
* Failed to register with the requested network
*/
GSM_REGISTRATION_FAILED,
/**
* PIN check failed
*/
GSM_PIN_CHECK_FAILED,
/**
* Necessary firmware for the device may be missing
*/
FIRMWARE_MISSING,
/**
* The device was removed
*/
REMOVED,
/**
* NetworkManager went to sleep
*/
SLEEPING,
/**
* The device's active connection disappeared
*/
CONNECTION_REMOVED,
/**
* Device disconnected by user or client
*/
USER_REQUESTED,
/**
* Carrier/link changed
*/
CARRIER,
/**
* The device's existing connection was assumed
*/
CONNECTION_ASSUMED,
/**
* The supplicant is now available
*/
SUPPLICANT_AVAILABLE,
/**
* The modem could not be found
*/
MODEM_NOT_FOUND,
/**
* The Bluetooth connection failed or timed out
*/
BT_FAILED,
/**
* GSM Modem's SIM Card not inserted
*/
GSM_SIM_NOT_INSERTED,
/**
* GSM Modem's SIM Pin required
*/
GSM_SIM_PIN_REQUIRED,
/**
* GSM Modem's SIM Puk required
*/
GSM_SIM_PUK_REQUIRED,
/**
* GSM Modem's SIM wrong
*/
GSM_SIM_WRONG,
/**
* InfiniBand device does not support connected mode
*/
INFINIBAND_MODE,
/**
* A dependency of the connection failed
*/
DEPENDENCY_FAILED,
/**
* Problem with the RFC 2684 Ethernet over ADSL bridge
*/
BR2684_FAILED,
/**
* ModemManager not running
*/
MODEM_MANAGER_UNAVAILABLE,
/**
* The Wi-Fi network could not be found
*/
SSID_NOT_FOUND,
/**
* A secondary connection of the base connection failed
*/
SECONDARY_CONNECTION_FAILED,
/**
* DCB or FCoE setup failed
*/
DCB_FCOE_FAILED,
/**
* teamd control failed
*/
TEAMD_CONTROL_FAILED,
/**
* Modem failed or no longer available
*/
MODEM_FAILED,
/**
* Modem now ready and available
*/
MODEM_AVAILABLE,
/**
* SIM PIN was incorrect
*/
SIM_PIN_INCORRECT,
/**
* New connection activation was enqueued
*/
NEW_ACTIVATION,
/**
* the device's parent changed
*/
PARENT_CHANGED,
/**
* the device parent's management changed
*/
PARENT_MANAGED_CHANGED,
/**
* problem communicating with Open vSwitch database
*/
OVSDB_FAILED,
/**
* a duplicate IP address was detected
*/
IP_ADDRESS_DUPLICATE,
/**
* The selected IP method is not supported
*/
IP_METHOD_UNSUPPORTED,
/**
* configuration of SR-IOV parameters failed
*/
SRIOV_CONFIGURATION_FAILED,
/**
* The Wi-Fi P2P peer could not be found
*/
PEER_NOT_FOUND,
}
/**
* #NMDeviceType values indicate the type of hardware represented by a
* device object.
*/
export enum DeviceType {
/**
* unknown device
*/
UNKNOWN,
/**
* a wired ethernet device
*/
ETHERNET,
/**
* an 802.11 Wi-Fi device
*/
WIFI,
/**
* not used
*/
UNUSED1,
/**
* not used
*/
UNUSED2,
/**
* a Bluetooth device supporting PAN or DUN access protocols
*/
BT,
/**
* an OLPC XO mesh networking device
*/
OLPC_MESH,
/**
* an 802.16e Mobile WiMAX broadband device
*/
WIMAX,
/**
* a modem supporting analog telephone, CDMA/EVDO,
* GSM/UMTS, or LTE network access protocols
*/
MODEM,
/**
* an IP-over-InfiniBand device
*/
INFINIBAND,
/**
* a bond master interface
*/
BOND,
/**
* an 802.1Q VLAN interface
*/
VLAN,
/**
* ADSL modem
*/
ADSL,
/**
* a bridge master interface
*/
BRIDGE,
/**
* generic support for unrecognized device types
*/
GENERIC,
/**
* a team master interface
*/
TEAM,
/**
* a TUN or TAP interface
*/
TUN,
/**
* a IP tunnel interface
*/
IP_TUNNEL,
/**
* a MACVLAN interface
*/
MACVLAN,
/**
* a VXLAN interface
*/
VXLAN,
/**
* a VETH interface
*/
VETH,
/**
* a MACsec interface
*/
MACSEC,
/**
* a dummy interface
*/
DUMMY,
/**
* a PPP interface
*/
PPP,
/**
* a Open vSwitch interface
*/
OVS_INTERFACE,
/**
* a Open vSwitch port
*/
OVS_PORT,
/**
* a Open vSwitch bridge
*/
OVS_BRIDGE,
/**
* a IEEE 802.15.4 (WPAN) MAC Layer Device
*/
WPAN,
/**
* 6LoWPAN interface
*/
TODO_6LOWPAN,
/**
* a WireGuard interface
*/
WIREGUARD,
/**
* an 802.11 Wi-Fi P2P device. Since: 1.16.
*/
WIFI_P2P,
/**
* A VRF (Virtual Routing and Forwarding) interface. Since: 1.24.
*/
VRF,
/**
* a loopback interface. Since: 1.42.
*/
LOOPBACK,
}
/**
* The tunneling mode.
*/
export enum IPTunnelMode {
/**
* Unknown/unset tunnel mode
*/
UNKNOWN,
/**
* IP in IP tunnel
*/
IPIP,
/**
* GRE tunnel
*/
GRE,
/**
* SIT tunnel
*/
SIT,
/**
* ISATAP tunnel
*/
ISATAP,
/**
* VTI tunnel
*/
VTI,
/**
* IPv6 in IPv6 tunnel
*/
IP6IP6,
/**
* IPv4 in IPv6 tunnel
*/
IPIP6,
/**
* IPv6 GRE tunnel
*/
IP6GRE,
/**
* IPv6 VTI tunnel
*/
VTI6,
/**
* GRETAP tunnel
*/
GRETAP,
/**
* IPv6 GRETAP tunnel
*/
IP6GRETAP,
}
/**
* The type of the callback for %NMKeyfileReadHandler and %NMKeyfileWriteHandler.
* Depending on the type, you can interpret %NMKeyfileHandlerData.
*/
export enum KeyfileHandlerType {
/**
* a warning.
*/
WARN,
/**
* for handling certificates while writing
* a connection to keyfile.
*/
WRITE_CERT,
}
/**
* The severity level of %NM_KEYFILE_HANDLER_TYPE_WARN events.
*/
export enum KeyfileWarnSeverity {
/**
* debug message
*/
DEBUG,
/**
* info message
*/
INFO,
/**
* info message about a missing file
*/
INFO_MISSING_FILE,
/**
* a warning message
*/
WARN,
}
/**
* Errors related to the main "network management" interface of NetworkManager.
* These may be returned from #NMClient methods that invoke D-Bus operations on
* the "org.freedesktop.NetworkManager" interface, and correspond to D-Bus
* errors in that namespace.
*/
export enum ManagerError {
/**
* unknown or unclassified error
*/
FAILED,
/**
* Permission denied.
*/
PERMISSIONDENIED,
/**
* The requested connection is not known.
*/
UNKNOWNCONNECTION,
/**
* The requested device is not known.
*/
UNKNOWNDEVICE,
/**
* The requested connection cannot be
* activated at this time.
*/
CONNECTIONNOTAVAILABLE,
/**
* The request could not be completed
* because a required connection is not active.
*/
CONNECTIONNOTACTIVE,
/**
* The connection to be activated was
* already active on another device.
*/
CONNECTIONALREADYACTIVE,
/**
* An activation request failed due to a
* dependency being unavailable.
*/
DEPENDENCYFAILED,
/**
* The manager is already in the requested
* sleep/wake state.
*/
ALREADYASLEEPORAWAKE,
/**
* The network is already
* enabled/disabled.
*/
ALREADYENABLEDORDISABLED,
/**
* Unknown log level in SetLogging
*/
UNKNOWNLOGLEVEL,
/**
* Unknown log domain in SetLogging
*/
UNKNOWNLOGDOMAIN,
/**
* Invalid arguments for D-Bus request
*/
INVALIDARGUMENTS,
/**
* A plug-in was needed to complete the
* activation but is not available.
*/
MISSINGPLUGIN,
}
/**
* The NMMetered enum has two different purposes: one is to configure
* "connection.metered" setting of a connection profile in #NMSettingConnection, and
* the other is to express the actual metered state of the #NMDevice at a given moment.
*
* For the connection profile only #NM_METERED_UNKNOWN, #NM_METERED_NO
* and #NM_METERED_YES are allowed.
*
* The device's metered state at runtime is determined by the profile
* which is currently active. If the profile explicitly specifies #NM_METERED_NO
* or #NM_METERED_YES, then the device's metered state is as such.
* If the connection profile leaves it undecided at #NM_METERED_UNKNOWN (the default),
* then NetworkManager tries to guess the metered state, for example based on the
* device type or on DHCP options (like Android devices exposing a "ANDROID_METERED"
* DHCP vendor option). This then leads to either #NM_METERED_GUESS_NO or #NM_METERED_GUESS_YES.
*
* Most applications probably should treat the runtime state #NM_METERED_GUESS_YES
* like #NM_METERED_YES, and all other states as not metered.
*
* Note that the per-device metered states are then combined to a global metered
* state. This is basically the metered state of the device with the best default
* route. However, that generalization of a global metered state may not be correct
* if the default routes for IPv4 and IPv6 are on different devices, or if policy
* routing is configured. In general, the global metered state tries to express whether
* the traffic is likely metered, but since that depends on the traffic itself,
* there is not one answer in all cases. Hence, an application may want to consider
* the per-device's metered states.
*/
export enum Metered {
/**
* The metered status is unknown
*/
UNKNOWN,
/**
* Metered, the value was explicitly configured
*/
YES,
/**
* Not metered, the value was explicitly configured
*/
NO,
/**
* Metered, the value was guessed
*/
GUESS_YES,
/**
* Not metered, the value was guessed
*/
GUESS_NO,
}
/**
* The result of a checkpoint Rollback() operation for a specific device.
*/
export enum RollbackResult {
/**
* the rollback succeeded.
*/
OK,
/**
* the device no longer exists.
*/
ERR_NO_DEVICE,
/**
* the device is now unmanaged.
*/
ERR_DEVICE_UNMANAGED,
/**
* other errors during rollback.
*/
ERR_FAILED,
}
/**
* #NMSecretAgentError values are passed by secret agents back to NetworkManager
* when they encounter problems retrieving secrets on behalf of NM. They
* correspond to errors in the "org.freedesktop.NetworkManager.SecretManager"
* namespace.
*
* Client APIs such as nm_client_activate_connection() will not see these error
* codes; instead, the secret agent manager will translate them to the
* corresponding #NMAgentManagerError codes.
*/
export enum SecretAgentError {
/**
* unknown or unclassified error
*/
FAILED,
/**
* the caller (ie, NetworkManager) is
* not authorized to make this request
*/
PERMISSIONDENIED,
/**
* the connection for which secrets
* were requested is invalid
*/
INVALIDCONNECTION,
/**
* the request was canceled by the user
*/
USERCANCELED,
/**
* the agent canceled the request
* because it was requested to do so by NetworkManager
*/
AGENTCANCELED,
/**
* the agent cannot find any secrets for this
* connection
*/
NOSECRETS,
}
/**
* #NMSetting8021xCKFormat values indicate the general type of a certificate
* or private key
*/
export enum Setting8021xCKFormat {
/**
* unknown file format
*/
UNKNOWN,
/**
* file contains an X.509 format certificate
*/
X509,
/**
* file contains an old-style OpenSSL PEM
* or DER private key
*/
RAW_KEY,
/**
* file contains a PKCS#12 certificate
* and private key
*/
PKCS12,
}
/**
* #NMSetting8021xCKScheme values indicate how a certificate or private key is
* stored in the setting properties, either as a blob of the item's data, or as
* a path to a certificate or private key file on the filesystem
*/
export enum Setting8021xCKScheme {
/**
* unknown certificate or private key
* scheme
*/
UNKNOWN,
/**
* certificate or key is stored as the raw
* item data
*/
BLOB,
/**
* certificate or key is stored as a path
* to a file containing the certificate or key data
*/
PATH,
/**
* certificate or key is stored as a
* URI of an object on a PKCS#11 token
*/
PKCS11,
}
/**
* These flags modify the comparison behavior when comparing two settings or
* two connections.
*/
export enum SettingCompareFlags {
/**
* match all properties exactly
*/
EXACT,
/**
* match only important attributes, like SSID,
* type, security settings, etc. Does not match, for example, connection ID
* or UUID.
*/
FUZZY,
/**
* ignore the connection's ID
*/
IGNORE_ID,
/**
* ignore all secrets
*/
IGNORE_SECRETS,
/**
* ignore secrets for which
* the secret's flags indicate the secret is owned by a user secret agent
* (ie, the secret's flag includes `NM_SETTING_SECRET_FLAG_AGENT_OWNED)`
*/
IGNORE_AGENT_OWNED_SECRETS,
/**
* ignore secrets for which
* the secret's flags indicate the secret should not be saved to persistent
* storage (ie, the secret's flag includes `NM_SETTING_SECRET_FLAG_NOT_SAVED)`
*/
IGNORE_NOT_SAVED_SECRETS,
/**
* if this flag is set,
* nm_setting_diff() and nm_connection_diff() will also include properties that
* are set to their default value. See also `NM_SETTING_COMPARE_FLAG_DIFF_RESULT_NO_DEFAULT`.
*/
DIFF_RESULT_WITH_DEFAULT,
/**
* if this flag is set,
* nm_setting_diff() and nm_connection_diff() will not include properties that
* are set to their default value. This is the opposite of
* `NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT`. If both flags are set together,
* `NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT` wins. If both flags are unset,
* this means to exclude default properties if there is a setting to compare,
* but include all properties, if the setting 'b' is missing. This is the legacy
* behaviour of libnm-util, where nm_setting_diff() behaved differently depending
* on whether the setting 'b' was available. If `NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT`
* is set, nm_setting_diff() will also set the flags `NM_SETTING_DIFF_RESULT_IN_A_DEFAULT`
* and `NM_SETTING_DIFF_RESULT_IN_B_DEFAULT,` if the values are default values.
*/
DIFF_RESULT_NO_DEFAULT,
/**
* ignore the connection's timestamp
*/
IGNORE_TIMESTAMP,
}
/**
* #NMSettingConnectionAutoconnectSlaves values indicate whether slave connections
* should be activated when master is activated.
*/
export enum SettingConnectionAutoconnectSlaves {
/**
* default value
*/
DEFAULT,
/**
* slaves are not brought up when
* master is activated
*/
NO,
/**
* slaves are brought up when
* master is activated
*/
YES,
}
/**
* #NMSettingConnectionDnsOverTls values indicate whether DNSOverTls should be enabled.
*/
export enum SettingConnectionDnsOverTls {
/**
* default value
*/
DEFAULT,
/**
* disable DNSOverTls
*/
NO,
/**
* enable opportunistic mode
*/
OPPORTUNISTIC,
/**
* enable strict mode
*/
YES,
}
/**
* #NMSettingConnectionLldp values indicate whether LLDP should be enabled.
*/
export enum SettingConnectionLldp {
/**
* default value
*/
DEFAULT,
/**
* disable LLDP
*/
DISABLE,
/**
* enable reception of LLDP frames
*/
ENABLE_RX,
}
/**
* #NMSettingConnectionLlmnr values indicate whether LLMNR should be enabled.
*/
export enum SettingConnectionLlmnr {
/**
* default value
*/
DEFAULT,
/**
* disable LLMNR
*/
NO,
/**
* support only resolving, do not register hostname
*/
RESOLVE,
/**
* enable LLMNR
*/
YES,
}
/**
* #NMSettingConnectionMdns values indicate whether mDNS should be enabled.
*/
export enum SettingConnectionMdns {
/**
* default value
*/
DEFAULT,
/**
* disable mDNS
*/
NO,
/**
* support only resolving, do not register hostname
*/
RESOLVE,
/**
* enable mDNS
*/
YES,
}
/**
* These values indicate the result of a setting difference operation.
*/
export enum SettingDiffResult {
/**
* unknown result
*/
UNKNOWN,
/**
* the property is present in setting A
*/
IN_A,
/**
* the property is present in setting B
*/
IN_B,
/**
* the property is present in
* setting A but is set to the default value. This flag is only set,
* if you specify `NM_SETTING_COMPARE_FLAG_DIFF_RESULT_WITH_DEFAULT`.
*/
IN_A_DEFAULT,
/**
* analog to `NM_SETTING_DIFF_RESULT_IN_A_DEFAULT`.
*/
IN_B_DEFAULT,
}
/**
* #NMSettingIP4LinkLocal values indicate whether IPv4 link-local address protocol should be enabled.
*/
export enum SettingIP4LinkLocal {
/**
* Allow fallback to a globally configured default. If unspecified,
* fallback to "auto". Note that if "ipv4.method" is "disabled", this always implies link-local
* addresses disabled too.
*/
DEFAULT,
/**
* Special value which enables LL if "ipv4.method" is set to
* "link-local".
*/
AUTO,
/**
* Disable IPv4 link-local protocol.
*/
DISABLED,
/**
* Enable the IPv4 link-local protocol regardless what other protocols
* such as DHCP or manually assigned IP addresses might be active.
*/
ENABLED,
}
/**
* #NMSettingIP6ConfigAddrGenMode controls how the Interface Identifier for
* RFC4862 Stateless Address Autoconfiguration is created.
*/
export enum SettingIP6ConfigAddrGenMode {
/**
* The Interface Identifier is derived
* from the interface hardware address.
*/
EUI64,
/**
* The Interface Identifier
* is created by using a cryptographically secure hash of a secret host-specific
* key along with the connection identification and the network address as
* specified by RFC7217.
*/
STABLE_PRIVACY,
/**
* Fallback to the global
* default, and if unspecified use "eui64". Since: 1.40.
*/
DEFAULT_OR_EUI64,
/**
* Fallback to the global
* default, and if unspecified use "stable-privacy". Since: 1.40.
*/
DEFAULT,
}
/**
* #NMSettingIP6ConfigPrivacy values indicate if and how IPv6 Privacy
* Extensions are used (RFC4941).
*/
export enum SettingIP6ConfigPrivacy {
/**
* unknown or no value specified
*/
UNKNOWN,
/**
* IPv6 Privacy Extensions are disabled
*/
DISABLED,
/**
* IPv6 Privacy Extensions
* are enabled, but public addresses are preferred over temporary addresses
*/
PREFER_PUBLIC_ADDR,
/**
* IPv6 Privacy Extensions
* are enabled and temporary addresses are preferred over public addresses
*/
PREFER_TEMP_ADDR,
}
/**
* Controls if and how the MAC address of a device is randomzied.
*/
export enum SettingMacRandomization {
/**
* the default value, which unless
* overridden by user-controlled defaults configuration, is "never".
*/
DEFAULT,
/**
* the device's MAC address is always used.
*/
NEVER,
/**
* a random MAC address is used.
*/
ALWAYS,
}
/**
* #NMSettingMacsecMode controls how the CAK (Connectivity Association Key) used
* in MKA (MACsec Key Agreement) is obtained.
*/
export enum SettingMacsecMode {
/**
* The CAK is pre-shared
*/
PSK,
/**
* The CAK is the result of participation in EAP
*/
EAP,
}
/**
* #NMSettingMacsecValidation specifies a validation mode for incoming frames.
*/
export enum SettingMacsecValidation {
/**
* All incoming frames are accepted if
* possible
*/
DISABLE,
/**
* Non protected, invalid, or impossible to
* verify frames are accepted and counted as "invalid"
*/
CHECK,
/**
* Non protected, invalid, or impossible to
* verify frames are dropped
*/
STRICT,
}
export enum SettingMacvlanMode {
/**
* unknown/unset mode
*/
UNKNOWN,
/**
* Virtual Ethernet Port Aggregator mode
*/
VEPA,
/**
* bridge mode
*/
BRIDGE,
/**
* private mode
*/
PRIVATE,
/**
* passthru mode
*/
PASSTHRU,
/**
* source mode
*/
SOURCE,
}
/**
* The Proxy method.
*/
export enum SettingProxyMethod {
/**
* No Proxy for the Connection
*/
NONE,
/**
* DHCP obtained Proxy/ Manual override
*/
AUTO,
}
/**
* The parity setting of a serial port.
*/
export enum SettingSerialParity {
/**
* No parity bits (default)
*/
NONE,
/**
* Even parity
*/
EVEN,
/**
* Odd parity
*/
ODD,
}
/**
* #NMSettingTunMode values indicate the device type (TUN/TAP)
*/
export enum SettingTunMode {
/**
* an unknown device type
*/
UNKNOWN,
/**
* a TUN device
*/
TUN,
/**
* a TAP device
*/
TAP,
}
/**
* These flags indicate whether wireless powersave must be enabled.
*/
export enum SettingWirelessPowersave {
/**
* use the default value
*/
DEFAULT,
/**
* don't touch existing setting
*/
IGNORE,
/**
* disable powersave
*/
DISABLE,
/**
* enable powersave
*/
ENABLE,
}
/**
* These flags indicate whether FILS must be enabled.
*/
export enum SettingWirelessSecurityFils {
/**
* use the default value
*/
DEFAULT,
/**
* disable FILS
*/
DISABLE,
/**
* enable FILS if the supplicant and the AP support it
*/
OPTIONAL,
/**
* require FILS and fail if not available
*/
REQUIRED,
}
/**
* These flags indicate whether PMF must be enabled.
*/
export enum SettingWirelessSecurityPmf {
/**
* use the default value
*/
DEFAULT,
/**
* disable PMF
*/
DISABLE,
/**
* enable PMF if the supplicant and the AP support it
*/
OPTIONAL,
/**
* require PMF and fail if not available
*/
REQUIRED,
}
/**
* Errors related to the settings/persistent configuration interface of
* NetworkManager.
*
* These may be returned from #NMClient methods that invoke D-Bus operations on
* the "org.freedesktop.NetworkManager.Settings" interface, and correspond to
* D-Bus errors in that namespace.
*/
export enum SettingsError {
/**
* unknown or unclassified error
*/
FAILED,
/**
* permission denied
*/
PERMISSIONDENIED,
/**
* the requested operation is not supported by any
* active settings backend
*/
NOTSUPPORTED,
/**
* the connection was invalid
*/
INVALIDCONNECTION,
/**
* attempted to modify a read-only connection
*/
READONLYCONNECTION,
/**
* a connection with that UUID already exists
*/
UUIDEXISTS,
/**
* attempted to set an invalid hostname
*/
INVALIDHOSTNAME,
/**
* invalid arguments
*/
INVALIDARGUMENTS,
}
/**
* #NMSriovVFVlanProtocol indicates the VLAN protocol to use.
*/
export enum SriovVFVlanProtocol {
/**
* use 802.1Q
*/
TODO_1Q,
/**
* use 802.1ad
*/
TODO_1AD,
}
/**
* #NMState values indicate the current overall networking state.
*/
export enum State {
/**
* Networking state is unknown. This indicates a daemon error
* that makes it unable to reasonably assess the state. In such event the
* applications are expected to assume Internet connectivity might be present
* and not disable controls that require network access.
* The graphical shells may hide the network accessibility indicator altogether
* since no meaningful status indication can be provided.
*/
UNKNOWN,
/**
* Networking is not enabled, the system is being suspended or
* resumed from suspend.
*/
ASLEEP,
/**
* There is no active network connection.
* The graphical shell should indicate no network connectivity and the
* applications should not attempt to access the network.
*/
DISCONNECTED,
/**
* Network connections are being cleaned up.
* The applications should tear down their network sessions.
*/
DISCONNECTING,
/**
* A network connection is being started
* The graphical shell should indicate the network is being connected while
* the applications should still make no attempts to connect the network.
*/
CONNECTING,
/**
* There is only local IPv4 and/or IPv6 connectivity,
* but no default route to access the Internet. The graphical shell should
* indicate no network connectivity.
*/
CONNECTED_LOCAL,
/**
* There is only site-wide IPv4 and/or IPv6 connectivity.
* This means a default route is available, but the Internet connectivity check
* (see "Connectivity" property) did not succeed. The graphical shell should
* indicate limited network connectivity.
*/
CONNECTED_SITE,
/**
* There is global IPv4 and/or IPv6 Internet connectivity
* This means the Internet connectivity check succeeded, the graphical shell should
* indicate full network connectivity.
*/
CONNECTED_GLOBAL,
}
/**
* An boolean value that can be overridden by a default.
*/
export enum Ternary {
/**
* use the globally-configured default value.
*/
DEFAULT,
/**
* the option is disabled.
*/
FALSE,
/**
* the option is enabled.
*/
TRUE,
}
/**
* Describes generic security mechanisms that 802.11 access points may offer.
* Used with nm_utils_security_valid() for checking whether a given access
* point is compatible with a network device.
*/
export enum UtilsSecurityType {
/**
* unknown or invalid security, placeholder and not used
*/
INVALID,
/**
* unencrypted and open
*/
NONE,
/**
* static WEP keys are used for encryption
*/
STATIC_WEP,
/**
* Cisco LEAP is used for authentication and for generating the
* dynamic WEP keys automatically
*/
LEAP,
/**
* standard 802.1x is used for authentication and
* generating the dynamic WEP keys automatically
*/
DYNAMIC_WEP,
/**
* WPA1 is used with Pre-Shared Keys (PSK)
*/
WPA_PSK,
/**
* WPA1 is used with 802.1x authentication
*/
WPA_ENTERPRISE,
/**
* WPA2/RSN is used with Pre-Shared Keys (PSK)
*/
WPA2_PSK,
/**
* WPA2 is used with 802.1x authentication
*/
WPA2_ENTERPRISE,
/**
* is used with WPA3 Enterprise
*/
SAE,
/**
* is used with Enhanced Open
*/
OWE,
/**
* is used with WPA3 Enterprise Suite-B 192 bit mode. Since: 1.30.
*/
WPA3_SUITE_B_192,
}
/**
* %_NM_VERSION_INFO_CAPABILITY_UNUSED: a dummy capability. It has no meaning,
* don't use it.
* Currently no enum values are defined. These capabilities are exposed
* on D-Bus in the "VersionInfo" bit field.
*/
export enum VersionInfoCapability {
UNUSED,
}
/**
* A selector for traffic priority maps; these map Linux SKB priorities
* to 802.1p priorities used in VLANs.
*/
export enum VlanPriorityMap {
/**
* map for incoming data
*/
INGRESS_MAP,
/**
* map for outgoing data
*/
EGRESS_MAP,
}
/**
* VPN connection states
*/
export enum VpnConnectionState {
/**
* The state of the VPN connection is
* unknown.
*/
UNKNOWN,
/**
* The VPN connection is preparing to
* connect.
*/
PREPARE,
/**
* The VPN connection needs authorization
* credentials.
*/
NEED_AUTH,
/**
* The VPN connection is being established.
*/
CONNECT,
/**
* The VPN connection is getting an IP
* address.
*/
IP_CONFIG_GET,
/**
* The VPN connection is active.
*/
ACTIVATED,
/**
* The VPN connection failed.
*/
FAILED,
/**
* The VPN connection is disconnected.
*/
DISCONNECTED,
}
/**
* VPN connection state reasons
*/
export enum VpnConnectionStateReason {
/**
* The reason for the VPN connection
* state change is unknown.
*/
UNKNOWN,
/**
* No reason was given for the VPN
* connection state change.
*/
NONE,
/**
* The VPN connection changed
* state because the user disconnected it.
*/
USER_DISCONNECTED,
/**
* The VPN connection
* changed state because the device it was using was disconnected.
*/
DEVICE_DISCONNECTED,
/**
* The service providing the
* VPN connection was stopped.
*/
SERVICE_STOPPED,
/**
* The IP config of the VPN
* connection was invalid.
*/
IP_CONFIG_INVALID,
/**
* The connection attempt to
* the VPN service timed out.
*/
CONNECT_TIMEOUT,
/**
* A timeout occurred
* while starting the service providing the VPN connection.
*/
SERVICE_START_TIMEOUT,
/**
* Starting the service
* starting the service providing the VPN connection failed.
*/
SERVICE_START_FAILED,
/**
* Necessary secrets for the VPN
* connection were not provided.
*/
NO_SECRETS,
/**
* Authentication to the VPN
* server failed.
*/
LOGIN_FAILED,
/**
* The connection was
* deleted from settings.
*/
CONNECTION_REMOVED,
}
/**
* Returned by the VPN service plugin to indicate errors. These codes correspond
* to errors in the "org.freedesktop.NetworkManager.VPN.Error" namespace.
*/
export enum VpnPluginError {
/**
* unknown or unclassified error
*/
FAILED,
/**
* the plugin is already starting,
* and another connect request was received
*/
STARTINGINPROGRESS,
/**
* the plugin is already connected, and
* another connect request was received
*/
ALREADYSTARTED,
/**
* the plugin is already stopping,
* and another stop request was received
*/
STOPPINGINPROGRESS,
/**
* the plugin is already stopped, and
* another disconnect request was received
*/
ALREADYSTOPPED,
/**
* the operation could not be performed in
* this state
*/
WRONGSTATE,
/**
* the operation could not be performed as
* the request contained malformed arguments, or arguments of unexpected type.
* Usually means that one of the VPN setting data items or secrets was not of
* the expected type (ie int, string, bool, etc).
*/
BADARGUMENTS,
/**
* a child process failed to launch
*/
LAUNCHFAILED,
/**
* the operation could not be performed
* because the connection was invalid. Usually means that the connection's
* VPN setting was missing some required data item or secret.
*/
INVALIDCONNECTION,
/**
* the operation could not be
* performed as the plugin does not support interactive operations, such as
* ConnectInteractive() or NewSecrets()
*/
INTERACTIVENOTSUPPORTED,
}
/**
* VPN plugin failure reasons
*/
export enum VpnPluginFailure {
/**
* Login failed.
*/
LOGIN_FAILED,
/**
* Connect failed.
*/
CONNECT_FAILED,
/**
* Invalid IP configuration returned from
* the VPN plugin.
*/
BAD_IP_CONFIG,
}
/**
* VPN daemon states
*/
export enum VpnServiceState {
/**
* The state of the VPN plugin is unknown.
*/
UNKNOWN,
/**
* The VPN plugin is initialized.
*/
INIT,
/**
* Not used.
*/
SHUTDOWN,
/**
* The plugin is attempting to connect to a VPN server.
*/
STARTING,
/**
* The plugin has connected to a VPN server.
*/
STARTED,
/**
* The plugin is disconnecting from the VPN server.
*/
STOPPING,
/**
* The plugin has disconnected from the VPN server.
*/
STOPPED,
}
/**
* The #NMWepKeyType values specify how any WEP keys present in the setting
* are interpreted. There are no standards governing how to hash the various WEP
* key/passphrase formats into the actual WEP key. Unfortunately some WEP keys
* can be interpreted in multiple ways, requiring the setting to specify how to
* interpret the any WEP keys. For example, the key "732f2d712e4a394a375d366931"
* is both a valid Hexadecimal WEP key and a WEP passphrase. Further, many
* ASCII keys are also valid WEP passphrases, but since passphrases and ASCII
* keys are hashed differently to determine the actual WEP key the type must be
* specified.
*/
export enum WepKeyType {
/**
* unknown WEP key type
*/
UNKNOWN,
/**
* indicates a hexadecimal or ASCII formatted WEP key.
* Hex keys are either 10 or 26 hexadecimal characters (ie "5f782f2f5f" or
* "732f2d712e4a394a375d366931"), while ASCII keys are either 5 or 13 ASCII
* characters (ie "abcde" or "blahblah99$*1").
*/
KEY,
/**
* indicates a WEP passphrase (ex "I bought a duck
* on my way back from the market 235Q&^%^*%") instead of a hexadecimal or ASCII
* key. Passphrases are between 8 and 64 characters inclusive and are hashed
* the actual WEP key using the MD5 hash algorithm.
*/
PASSPHRASE,
}
/**
* WiMAX network type.
*/
export enum WimaxNspNetworkType {
/**
* unknown network type
*/
UNKNOWN,
/**
* home network
*/
HOME,
/**
* partner network
*/
PARTNER,
/**
* roaming partner network
*/
ROAMING_PARTNER,
}
/**
* 802.11 access point flags.
* @bitfield
*/
export enum TODO_80211ApFlags {
/**
* access point has no special capabilities
*/
NONE,
/**
* access point requires authentication and
* encryption (usually means WEP)
*/
PRIVACY,
/**
* access point supports some WPS method
*/
WPS,
/**
* access point supports push-button WPS
*/
WPS_PBC,
/**
* access point supports PIN-based WPS
*/
WPS_PIN,
}
/**
* 802.11 access point security and authentication flags. These flags describe
* the current security requirements of an access point as determined from the
* access point's beacon.
* @bitfield
*/
export enum TODO_80211ApSecurityFlags {
/**
* the access point has no special security requirements
*/
NONE,
/**
* 40/64-bit WEP is supported for
* pairwise/unicast encryption
*/
PAIR_WEP40,
/**
* 104/128-bit WEP is supported for
* pairwise/unicast encryption
*/
PAIR_WEP104,
/**
* TKIP is supported for pairwise/unicast encryption
*/
PAIR_TKIP,
/**
* AES/CCMP is supported for pairwise/unicast encryption
*/
PAIR_CCMP,
/**
* 40/64-bit WEP is supported for group/broadcast
* encryption
*/
GROUP_WEP40,
/**
* 104/128-bit WEP is supported for
* group/broadcast encryption
*/
GROUP_WEP104,
/**
* TKIP is supported for group/broadcast encryption
*/
GROUP_TKIP,
/**
* AES/CCMP is supported for group/broadcast
* encryption
*/
GROUP_CCMP,
/**
* WPA/RSN Pre-Shared Key encryption is
* supported
*/
KEY_MGMT_PSK,
/**
* 802.1x authentication and key management
* is supported
*/
KEY_MGMT_802_1X,
/**
* WPA/RSN Simultaneous Authentication of Equals is
* supported
*/
KEY_MGMT_SAE,
/**
* WPA/RSN Opportunistic Wireless Encryption is
* supported
*/
KEY_MGMT_OWE,
/**
* WPA/RSN Opportunistic Wireless Encryption
* transition mode is supported. Since: 1.26.
*/
KEY_MGMT_OWE_TM,
/**
* WPA3 Enterprise Suite-B 192 bit mode
* is supported. Since: 1.30.
*/
KEY_MGMT_EAP_SUITE_B_192,
}
/**
* Flags describing the current activation state.
* @bitfield
*/
export enum ActivationStateFlags {
/**
* an alias for numeric zero, no flags set.
*/
NONE,
/**
* the device is a master.
*/
IS_MASTER,
/**
* the device is a slave.
*/
IS_SLAVE,
/**
* layer2 is activated and ready.
*/
LAYER2_READY,
/**
* IPv4 setting is completed.
*/
IP4_READY,
/**
* IPv6 setting is completed.
*/
IP6_READY,
/**
* The master has any slave devices attached.
* This only makes sense if the device is a master.
*/
MASTER_HAS_SLAVES,
/**
* the lifetime
* of the activation is bound to the visibility of the connection profile,
* which in turn depends on "connection.permissions" and whether a session
* for the user exists. Since: 1.16.
*/
LIFETIME_BOUND_TO_PROFILE_VISIBILITY,
/**
* the active connection was generated to
* represent an external configuration of a networking device. Since: 1.26.
*/
EXTERNAL,
}
/**
* #NMBluetoothCapabilities values indicate the usable capabilities of a
* Bluetooth device.
* @bitfield
*/
export enum BluetoothCapabilities {
/**
* device has no usable capabilities
*/
NONE,
/**
* device provides Dial-Up Networking capability
*/
DUN,
/**
* device provides Network Access Point capability
*/
NAP,
}
/**
* The flags for CheckpointCreate call
* @bitfield
*/
export enum CheckpointCreateFlags {
/**
* no flags
*/
NONE,
/**
* when creating
* a new checkpoint, destroy all existing ones.
*/
DESTROY_ALL,
/**
* upon rollback,
* delete any new connection added after the checkpoint. Since: 1.6.
*/
DELETE_NEW_CONNECTIONS,
/**
* upon rollback,
* disconnect any new device appeared after the checkpoint. Since: 1.6.
*/
DISCONNECT_NEW_DEVICES,
/**
* by default, creating
* a checkpoint fails if there are already existing checkoints that
* reference the same devices. With this flag, creation of such
* checkpoints is allowed, however, if an older checkpoint
* that references overlapping devices gets rolled back, it will
* automatically destroy this checkpoint during rollback. This
* allows to create several overlapping checkpoints in parallel,
* and rollback to them at will. With the special case that
* rolling back to an older checkpoint will invalidate all
* overlapping younger checkpoints. This opts-in that the
* checkpoint can be automatically destroyed by the rollback
* of an older checkpoint. Since: 1.12.
*/
ALLOW_OVERLAPPING,
/**
* during rollback,
* by default externally added ports attached to bridge devices are preserved.
* With this flag, the rollback detaches all external ports.
* This only has an effect for bridge ports. Before 1.38, this was the default
* behavior. Since: 1.38.
*/
NO_PRESERVE_EXTERNAL_PORTS,
}
export enum ClientInstanceFlags {
/**
* special value to indicate no flags.
*/
NONE,
/**
* by default, NMClient
* will fetch the permissions via "GetPermissions" and refetch them when
* "CheckPermissions" signal gets received. By setting this flag, this behavior
* can be disabled. You can toggle this flag to enable and disable automatic
* fetching of the permissions. Watch also nm_client_get_permissions_state()
* to know whether the permissions are up to date.
*/
NO_AUTO_FETCH_PERMISSIONS,
/**
* as #NMClient is an GInitable
* and GAsyncInitable, nm_client_get_instance_flags() returns this flag
* once initialization completed with success. This flag cannot be set
* as NM_CLIENT_INSTANCE_FLAGS property. Since: 1.42.
*/
INITIALIZED_GOOD,
/**
* like `NM_CLIENT_INSTANCE_FLAGS_INITIALIZED_GOOD`
* indicates that the instance completed initialization with failure. In that
* case the instance is unusable. Since: 1.42.
*/
INITIALIZED_BAD,
}
/**
* These flags determine which properties are serialized when calling
* nm_connection_to_dbus().
* @bitfield
*/
export enum ConnectionSerializationFlags {
/**
* serialize all properties (including secrets)
*/
ALL,
/**
* serialize properties that are
* not secrets. Since 1.32.
*/
WITH_NON_SECRET,
/**
* this is a deprecated alias for
* `NM_CONNECTION_SERIALIZE_WITH_NON_SECRET`.
*/
NO_SECRETS,
/**
* serialize all secrets. This flag is
* ignored if any of `NM_CONNECTION_SERIALIZE_WITH_SECRETS_AGENT_OWNED,`
* `NM_CONNECTION_SERIALIZE_WITH_SECRETS_SYSTEM_OWNED` or
* `NM_CONNECTION_SERIALIZE_WITH_SECRETS_NOT_SAVED` is set. Since 1.32.
*/
WITH_SECRETS,
/**
* a deprecated alias for
* `NM_CONNECTION_SERIALIZE_WITH_SECRETS`.
*/
ONLY_SECRETS,
/**
* serialize agent-owned
* secrets. Since: 1.20.
*/
WITH_SECRETS_AGENT_OWNED,
/**
* serialize system-owned
* secrets. Since: 1.32.
*/
WITH_SECRETS_SYSTEM_OWNED,
/**
* serialize secrets that
* are marked as never saved. Since: 1.32.
*/
WITH_SECRETS_NOT_SAVED,
}
/**
* General device capability flags.
* @bitfield
*/
export enum DeviceCapabilities {
/**
* device has no special capabilities
*/
NONE,
/**
* NetworkManager supports this device
*/
NM_SUPPORTED,
/**
* this device can indicate carrier status
*/
CARRIER_DETECT,
/**
* this device is a software device
*/
IS_SOFTWARE,
/**
* this device supports single-root I/O virtualization
*/
SRIOV,
}
/**
* Flags for a network interface.
* @bitfield
*/
export enum DeviceInterfaceFlags {
/**
* the interface is enabled from the
* administrative point of view. Corresponds to kernel IFF_UP.
*/
UP,
/**
* the physical link is up. Corresponds
* to kernel IFF_LOWER_UP.
*/
LOWER_UP,
/**
* receive all packets. Corresponds to
* kernel IFF_PROMISC. Since: 1.32.
*/
PROMISC,
/**
* the interface has carrier. In most
* cases this is equal to the value of `NM_DEVICE_INTERFACE_FLAG_LOWER_UP`.
* However some devices have a non-standard carrier detection mechanism.
*/
CARRIER,
/**
* the flag to indicate device
* LLDP status. Since: 1.32.
*/
LLDP_CLIENT_ENABLED,
}
/**
* #NMDeviceModemCapabilities values indicate the generic radio access
* technology families a modem device supports. For more information on the
* specific access technologies the device supports use the ModemManager D-Bus
* API.
* @bitfield
*/
export enum DeviceModemCapabilities {
/**
* modem has no usable capabilities
*/
NONE,
/**
* modem uses the analog wired telephone
* network and is not a wireless/cellular device
*/
POTS,
/**
* modem supports at least one of CDMA
* 1xRTT, EVDO revision 0, EVDO revision A, or EVDO revision B
*/
CDMA_EVDO,
/**
* modem supports at least one of GSM,
* GPRS, EDGE, UMTS, HSDPA, HSUPA, or HSPA+ packet switched data capability
*/
GSM_UMTS,
/**
* modem has LTE data capability
*/
LTE,
/**
* modem has 5GNR data capability (Since: 1.36)
*/
TODO_5GNR,
}
/**
* Flags for the Reapply() D-Bus call of a device and
* nm_device_reapply_async().
* @bitfield
*/
export enum DeviceReapplyFlags {
/**
* no flag set.
*/
NONE,
/**
* during reapply,
* preserve external IP addresses and routes.
*/
PRESERVE_EXTERNAL_IP,
}
/**
* 802.11 specific device encryption and authentication capabilities.
* @bitfield
*/
export enum DeviceWifiCapabilities {
/**
* device has no encryption/authentication capabilities
*/
NONE,
/**
* device supports 40/64-bit WEP encryption
*/
CIPHER_WEP40,
/**
* device supports 104/128-bit WEP encryption
*/
CIPHER_WEP104,
/**
* device supports TKIP encryption
*/
CIPHER_TKIP,
/**
* device supports AES/CCMP encryption
*/
CIPHER_CCMP,
/**
* device supports WPA1 authentication
*/
WPA,
/**
* device supports WPA2/RSN authentication
*/
RSN,
/**
* device supports Access Point mode
*/
AP,
/**
* device supports Ad-Hoc mode
*/
ADHOC,
/**
* device reports frequency capabilities
*/
FREQ_VALID,
/**
* device supports 2.4GHz frequencies
*/
FREQ_2GHZ,
/**
* device supports 5GHz frequencies
*/
FREQ_5GHZ,
/**
* device supports acting as a mesh point. Since: 1.20.
*/
MESH,
/**
* device supports WPA2/RSN in an IBSS network. Since: 1.22.
*/
IBSS_RSN,
}
/**
* #NMDhcpHostnameFlags describe flags related to the DHCP hostname and
* FQDN.
* @bitfield
*/
export enum DhcpHostnameFlags {
/**
* no flag set. The default value from
* Networkmanager global configuration is used. If such value is unset
* or still zero, the DHCP request will use standard FQDN flags, i.e.
* %NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE and
* %NM_DHCP_HOSTNAME_FLAG_FQDN_ENCODED for IPv4 and
* %NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE for IPv6.
*/
NONE,
/**
* whether the server should
* do the A RR (FQDN-to-address) DNS updates.
*/
FQDN_SERV_UPDATE,
/**
* if set, the FQDN is encoded
* using canonical wire format. Otherwise it uses the deprecated
* ASCII encoding. This flag is allowed only for DHCPv4.
*/
FQDN_ENCODED,
/**
* when not set, request the
* server to perform updates (the PTR RR and possibly the A RR
* based on the %NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE flag). If
* this is set, the %NM_DHCP_HOSTNAME_FLAG_FQDN_SERV_UPDATE flag
* should be cleared.
*/
FQDN_NO_UPDATE,
/**
* when set, no FQDN flags are
* sent in the DHCP FQDN option. When cleared and all other FQDN
* flags are zero, standard FQDN flags are sent. This flag is
* incompatible with any other FQDN flag.
*/
FQDN_CLEAR_FLAGS,
}
/**
* Compare flags for nm_ip_address_cmp_full().
* @bitfield
*/
export enum IPAddressCmpFlags {
/**
* no flags.
*/
NONE,
/**
* when comparing two addresses,
* also consider their attributes. Warning: note that attributes are GVariants
* and they don't have a total order. In other words, if the address differs only
* by their attributes, the returned compare order is not total. In that case,
* the return value merely indicates equality (zero) or inequality.
*/
WITH_ATTRS,
}
export enum IPRoutingRuleAsStringFlags {
/**
* no flags selected.
*/
NONE,
/**
* whether to allow parsing
* IPv4 addresses.
*/
AF_INET,
/**
* whether to allow parsing
* IPv6 addresses. If both `NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET` and
* `NM_IP_ROUTING_RULE_AS_STRING_FLAGS_AF_INET6` are unset, it's the same
* as setting them both.
*/
AF_INET6,
/**
* if set, ensure that the
* rule verfies or fail.
*/
VALIDATE,
}
/**
* IP tunnel flags.
* @bitfield
*/
export enum IPTunnelFlags {
/**
* no flag
*/
NONE,
/**
* don't add encapsulation limit
* if one isn't present in inner packet
*/
IP6_IGN_ENCAP_LIMIT,
/**
* copy the traffic class field
* from the inner packet
*/
IP6_USE_ORIG_TCLASS,
/**
* copy the flowlabel from the
* inner packet
*/
IP6_USE_ORIG_FLOWLABEL,
/**
* used for Mobile IPv6
*/
IP6_MIP6_DEV,
/**
* copy DSCP from the outer packet
*/
IP6_RCV_DSCP_COPY,
/**
* copy fwmark from inner packet
*/
IP6_USE_ORIG_FWMARK,
}
/**
* Flags for customizing nm_keyfile_read() and nm_keyfile_write().
*
* Currently no flags are implemented.
* @bitfield
*/
export enum KeyfileHandlerFlags {
/**
* no flags set.
*/
NONE,
}
/**
* Flags for the manager Reload() call.
* @bitfield
*/
export enum ManagerReloadFlags {
/**
* reload the NetworkManager.conf configuration
* from disk. Note that this does not include connections, which can be
* reloaded via Setting's ReloadConnections().
*/
CONF,
/**
* update DNS configuration, which usually
* involves writing /etc/resolv.conf anew.
*/
DNS_RC,
/**
* means to restart the DNS plugin. This
* is for example useful when using dnsmasq plugin, which uses additional
* configuration in /etc/NetworkManager/dnsmasq.d. If you edit those files,
* you can restart the DNS plugin. This action shortly interrupts name
* resolution.
*/
DNS_FULL,
}
export enum MptcpFlags {
/**
* The default, meaning that no MPTCP flags are set.
*/
NONE,
/**
* don't configure MPTCP endpoints on the device.
*/
DISABLED,
/**
* MPTCP is enabled and endpoints will be configured.
* This flag is implied if any of the other flags indicate that
* MPTCP is enabled and therefore in most cases unnecessary.
* Note that if "/proc/sys/net/mptcp/enabled" sysctl is disabled, MPTCP
* handling is disabled despite this flag. This can be overruled with the
* "also-without-sysctl" flag.
* Note that by default interfaces that don't have a default route are
* excluded from having MPTCP endpoints configured. This can be overruled
* with the "also-without-default-route" and this affects endpoints
* per address family.
*/
ENABLED,
/**
* even if MPTCP handling is enabled
* via the "enabled" flag, it is ignored unless "/proc/sys/net/mptcp/enabled"
* is on. With this flag, MPTCP endpoints will be configured regardless
* of the sysctl setting.
*/
ALSO_WITHOUT_SYSCTL,
/**
* even if MPTCP handling is enabled
* via the "enabled" flag, it is ignored per-address family unless NetworkManager
* configures a default route. With this flag, NetworkManager will also configure
* MPTCP endpoints if there is no default route. This takes effect per-address
* family.
*/
ALSO_WITHOUT_DEFAULT_ROUTE,
/**
* Flag for the MPTCP endpoint. The endpoint will be
* announced/signaled to each peer via an MPTCP ADD_ADDR sub-option.
*/
SIGNAL,
/**
* Flag for the MPTCP endpoint. If additional subflow creation
* is allowed by the MPTCP limits, the MPTCP path manager will try to create an
* additional subflow using this endpoint as the source address after the MPTCP connection
* is established.
*/
SUBFLOW,
/**
* Flag for the MPTCP endpoint. If this is a subflow endpoint, the
* subflows created using this endpoint will have the backup flag set during the connection
* process. This flag instructs the peer to only send data on a given subflow when all
* non-backup subflows are unavailable. This does not affect outgoing data,
* where subflow priority is determined by the backup/non-backup flag received
* from the peer
*/
BACKUP,
/**
* Flag for the MPTCP endpoint. If this is a subflow endpoint and additional
* subflow creation is allowed by the MPTCP limits, the MPTCP path manager will try to create an
* additional subflow for each known peer address, using this endpoint as the source address.
* This will occur after the MPTCP connection is established. If the peer did not announce
* any additional addresses using the MPTCP ADD_ADDR sub-option, this will behave the same
* as a plain subflow endpoint. When the peer does announce addresses, each received ADD_ADDR
* sub-option will trigger creation of an additional subflow to generate a full mesh topology.
*/
FULLMESH,
}
/**
* Flags related to radio interfaces.
* @bitfield
*/
export enum RadioFlags {
/**
* an alias for numeric zero, no flags set.
*/
NONE,
/**
* A Wireless LAN device or rfkill switch
* is detected in the system.
*/
WLAN_AVAILABLE,
/**
* A Wireless WAN device or rfkill switch
* is detected in the system.
*/
WWAN_AVAILABLE,
}
/**
* #NMSecretAgentCapabilities indicate various capabilities of the agent.
* @bitfield
*/
export enum SecretAgentCapabilities {
/**
* the agent supports no special capabilities
*/
NONE,
/**
* the agent supports passing hints to
* VPN plugin authentication dialogs.
*/
VPN_HINTS,
/**
* bounds checking value; should not be used.
*/
LAST,
}
/**
* #NMSecretAgentGetSecretsFlags values modify the behavior of a GetSecrets request.
* @bitfield
*/
export enum SecretAgentGetSecretsFlags {
/**
* no special behavior; by default no
* user interaction is allowed and requests for secrets are fulfilled from
* persistent storage, or if no secrets are available an error is returned.
*/
NONE,
/**
* allows the request to
* interact with the user, possibly prompting via UI for secrets if any are
* required, or if none are found in persistent storage.
*/
ALLOW_INTERACTION,
/**
* explicitly prompt for new
* secrets from the user. This flag signals that NetworkManager thinks any
* existing secrets are invalid or wrong. This flag implies that interaction
* is allowed.
*/
REQUEST_NEW,
/**
* set if the request was
* initiated by user-requested action via the D-Bus interface, as opposed to
* automatically initiated by NetworkManager in response to (for example) scan
* results or carrier changes.
*/
USER_REQUESTED,
/**
* indicates that WPS enrollment
* is active with PBC method. The agent may suggest that the user pushes a button
* on the router instead of supplying a PSK.
*/
WPS_PBC_ACTIVE,
/**
* Internal flag, not part of
* the D-Bus API.
*/
ONLY_SYSTEM,
/**
* Internal flag, not part of
* the D-Bus API.
*/
NO_ERRORS,
}
/**
* #NMSetting8021xAuthFlags values indicate which authentication settings
* should be used.
*
* Before 1.22, this was wrongly marked as a enum and not as a flags
* type.
* @bitfield
*/
export enum Setting8021xAuthFlags {
/**
* No flags
*/
NONE,
/**
* Disable TLSv1.0
*/
TLS_1_0_DISABLE,
/**
* Disable TLSv1.1
*/
TLS_1_1_DISABLE,
/**
* Disable TLSv1.2
*/
TLS_1_2_DISABLE,
/**
* Disable TLS time checks. Since 1.42.
*/
TLS_DISABLE_TIME_CHECKS,
/**
* Disable TLSv1.3. Since 1.42.
*/
TLS_1_3_DISABLE,
/**
* Enable TLSv1.0. Since 1.42.
*/
TLS_1_0_ENABLE,
/**
* Enable TLSv1.1. Since 1.42.
*/
TLS_1_1_ENABLE,
/**
* Enable TLSv1.2. Since 1.42.
*/
TLS_1_2_ENABLE,
/**
* Enable TLSv1.3. Since 1.42.
*/
TLS_1_3_ENABLE,
/**
* All supported flags
*/
ALL,
}
/**
* DCB feature flags.
* @bitfield
*/
export enum SettingDcbFlags {
/**
* no flag
*/
NONE,
/**
* the feature is enabled
*/
ENABLE,
/**
* the feature is advertised
*/
ADVERTISE,
/**
* the feature is willing to change based on
* peer configuration advertisements
*/
WILLING,
}
/**
* These flags indicate specific behavior related to handling of a secret. Each
* secret has a corresponding set of these flags which indicate how the secret
* is to be stored and/or requested when it is needed.
* @bitfield
*/
export enum SettingSecretFlags {
/**
* the system is responsible for providing and
* storing this secret (default)
*/
NONE,
/**
* a user secret agent is responsible
* for providing and storing this secret; when it is required agents will be
* asked to retrieve it
*/
AGENT_OWNED,
/**
* this secret should not be saved, but
* should be requested from the user each time it is needed
*/
NOT_SAVED,
/**
* in situations where it cannot be
* automatically determined that the secret is required (some VPNs and PPP
* providers don't require all secrets) this flag indicates that the specific
* secret is not required
*/
NOT_REQUIRED,
}
/**
* Options for #NMSettingWired:wake-on-lan. Note that not all options
* are supported by all devices.
* @bitfield
*/
export enum SettingWiredWakeOnLan {
/**
* Wake on PHY activity
*/
PHY,
/**
* Wake on unicast messages
*/
UNICAST,
/**
* Wake on multicast messages
*/
MULTICAST,
/**
* Wake on broadcast messages
*/
BROADCAST,
/**
* Wake on ARP
*/
ARP,
/**
* Wake on magic packet
*/
MAGIC,
/**
* Use the default value
*/
DEFAULT,
/**
* Don't change configured settings
*/
IGNORE,
}
/**
* Configure the use of WPS by a connection while it activates.
*
* Note: prior to 1.16, this was a GEnum type instead of a GFlags type
* although, with the same numeric values.
* @bitfield
*/
export enum SettingWirelessSecurityWpsMethod {
/**
* Attempt whichever method AP supports
*/
DEFAULT,
/**
* WPS can not be used.
*/
DISABLED,
/**
* Use WPS, any method
*/
AUTO,
/**
* use WPS push-button method
*/
PBC,
/**
* use PIN method
*/
PIN,
}
/**
* Options for #NMSettingWireless:wake-on-wlan. Note that not all options
* are supported by all devices.
* @bitfield
*/
export enum SettingWirelessWakeOnWLan {
/**
* Wake on any activity
*/
ANY,
/**
* Wake on disconnect
*/
DISCONNECT,
/**
* Wake on magic packet
*/
MAGIC,
/**
* Wake on GTK rekey failure
*/
GTK_REKEY_FAILURE,
/**
* Wake on EAP identity request
*/
EAP_IDENTITY_REQUEST,
/**
* Wake on 4way handshake
*/
TODO_4WAY_HANDSHAKE,
/**
* Wake on rfkill release
*/
RFKILL_RELEASE,
TCP,
/**
* Wake on all events. This does not
* include the exclusive flags `NM_SETTING_WIRELESS_WAKE_ON_WLAN_DEFAULT` or
* `NM_SETTING_WIRELESS_WAKE_ON_WLAN_IGNORE`.
*/
ALL,
/**
* Use the default value
*/
DEFAULT,
/**
* Don't change configured settings
*/
IGNORE,
}
/**
* Numeric flags for the "flags" argument of AddConnection2() D-Bus API.
* @bitfield
*/
export enum SettingsAddConnection2Flags {
/**
* an alias for numeric zero, no flags set.
*/
NONE,
/**
* to persist the connection to disk.
*/
TO_DISK,
/**
* to make the connection in-memory only.
*/
IN_MEMORY,
/**
* usually, when the connection
* has autoconnect enabled and gets added, it becomes eligible to autoconnect
* right away. Setting this flag, disables autoconnect until the connection
* is manually activated.
*/
BLOCK_AUTOCONNECT,
}
/**
* Flags describing the current activation state.
* @bitfield
*/
export enum SettingsConnectionFlags {
/**
* an alias for numeric zero, no flags set.
*/
NONE,
/**
* the connection is not saved to disk.
* That either means, that the connection is in-memory only and currently
* is not backed by a file. Or, that the connection is backed by a file,
* but has modifications in-memory that were not persisted to disk.
*/
UNSAVED,
/**
* A connection is "nm-generated" if
* it was generated by NetworkManger. If the connection gets modified or saved
* by the user, the flag gets cleared. A nm-generated is also unsaved
* and has no backing file as it is in-memory only.
*/
NM_GENERATED,
/**
* The connection will be deleted
* when it disconnects. That is for in-memory connections (unsaved), which are
* currently active but deleted on disconnect. Volatile connections are
* always unsaved, but they are also no backing file on disk and are entirely
* in-memory only.
*/
VOLATILE,
/**
* the profile was generated to represent
* an external configuration of a networking device. Since: 1.26.
*/
EXTERNAL,
}
export enum SettingsUpdate2Flags {
/**
* an alias for numeric zero, no flags set.
*/
NONE,
/**
* to persist the connection to disk.
*/
TO_DISK,
/**
* makes the profile in-memory.
* Note that such profiles are stored in keyfile format under /run.
* If the file is already in-memory, the file in /run is updated in-place.
* Otherwise, the previous storage for the profile is left unchanged
* on disk, and the in-memory copy shadows it.
* Note that the original filename of the previous persistent storage (if any)
* is remembered. That means, when later persisting the profile again to disk,
* the file on disk will be overwritten again.
* Likewise, when finally deleting the profile, both the storage from /run
* and persistent storage are deleted (or if the persistent storage does not
* allow deletion, and nmmeta file is written to mark the UUID as deleted).
*/
IN_MEMORY,
/**
* this is almost the same
* as %NM_SETTINGS_UPDATE2_FLAG_IN_MEMORY, with one difference: when later deleting
* the profile, the original profile will not be deleted. Instead a nmmeta
* file is written to /run to indicate that the profile is gone.
* Note that if such a nmmeta tombstone file exists and hides a file in persistent
* storage, then when re-adding the profile with the same UUID, then the original
* storage is taken over again.
*/
IN_MEMORY_DETACHED,
/**
* this is like %NM_SETTINGS_UPDATE2_FLAG_IN_MEMORY,
* but if the connection has a corresponding file on persistent storage, the file
* will be deleted right away. If the profile is later again persisted to disk,
* a new, unused filename will be chosen.
*/
IN_MEMORY_ONLY,
/**
* This can be specified with either
* %NM_SETTINGS_UPDATE2_FLAG_IN_MEMORY, %NM_SETTINGS_UPDATE2_FLAG_IN_MEMORY_DETACHED
* or %NM_SETTINGS_UPDATE2_FLAG_IN_MEMORY_ONLY.
* After making the connection in-memory only, the connection is marked
* as volatile. That means, if the connection is currently not active
* it will be deleted right away. Otherwise, it is marked to for deletion
* once the connection deactivates. A volatile connection cannot autoactivate
* again (because it's about to be deleted), but a manual activation will
* clear the volatile flag.
*/
VOLATILE,
/**
* usually, when the connection
* has autoconnect enabled and is modified, it becomes eligible to autoconnect
* right away. Setting this flag, disables autoconnect until the connection
* is manually activated.
*/
BLOCK_AUTOCONNECT,
/**
* when a profile gets modified that is
* currently active, then these changes don't take effect for the active
* device unless the profile gets reactivated or the configuration reapplied.
* There are two exceptions: by default "connection.zone" and "connection.metered"
* properties take effect immediately. Specify this flag to prevent these
* properties to take effect, so that the change is restricted to modify
* the profile. Since: 1.20.
*/
NO_REAPPLY,
}
export enum TeamLinkWatcherArpPingFlags {
/**
* the arp_ping link watcher
* option 'validate_active' is enabled (set to true).
*/
VALIDATE_ACTIVE,
/**
* the arp_ping link watcher
* option 'validate_inactive' is enabled (set to true).
*/
VALIDATE_INACTIVE,
/**
* the arp_ping link watcher option
* 'send_always' is enabled (set to true).
*/
SEND_ALWAYS,
}
/**
* #NMVlanFlags values control the behavior of the VLAN interface.
* @bitfield
*/
export enum VlanFlags {
/**
* indicates that this interface should reorder
* outgoing packet headers to look more like a non-VLAN Ethernet interface
*/
REORDER_HEADERS,
/**
* indicates that this interface should use GVRP to register
* itself with its switch
*/
GVRP,
/**
* indicates that this interface's operating
* state is tied to the underlying network interface but other details
* (like routing) are not.
*/
LOOSE_BINDING,
/**
* indicates that this interface should use MVRP to register
* itself with its switch
*/
MVRP,
}
/**
* Flags that indicate certain capabilities of the plugin to editor programs.
* @bitfield
*/
export enum VpnEditorPluginCapability {
/**
* unknown or no capability
*/
NONE,
/**
* the plugin can import new connections
*/
IMPORT,
/**
* the plugin can export connections
*/
EXPORT,
/**
* the plugin supports IPv6 addressing
*/
IPV6,
}
export const ACCESS_POINT_BSSID: string | null
export const ACCESS_POINT_FLAGS: string | null
export const ACCESS_POINT_FREQUENCY: string | null
export const ACCESS_POINT_HW_ADDRESS: string | null
export const ACCESS_POINT_LAST_SEEN: string | null
export const ACCESS_POINT_MAX_BITRATE: string | null
export const ACCESS_POINT_MODE: string | null
export const ACCESS_POINT_RSN_FLAGS: string | null
export const ACCESS_POINT_SSID: string | null
export const ACCESS_POINT_STRENGTH: string | null
export const ACCESS_POINT_WPA_FLAGS: string | null
export const ACTIVE_CONNECTION_CONNECTION: string | null
export const ACTIVE_CONNECTION_DEFAULT: string | null
export const ACTIVE_CONNECTION_DEFAULT6: string | null
export const ACTIVE_CONNECTION_DEVICES: string | null
export const ACTIVE_CONNECTION_DHCP4_CONFIG: string | null
export const ACTIVE_CONNECTION_DHCP6_CONFIG: string | null
export const ACTIVE_CONNECTION_ID: string | null
export const ACTIVE_CONNECTION_IP4_CONFIG: string | null
export const ACTIVE_CONNECTION_IP6_CONFIG: string | null
export const ACTIVE_CONNECTION_MASTER: string | null
export const ACTIVE_CONNECTION_SPECIFIC_OBJECT_PATH: string | null
export const ACTIVE_CONNECTION_STATE: string | null
export const ACTIVE_CONNECTION_STATE_FLAGS: string | null
export const ACTIVE_CONNECTION_TYPE: string | null
export const ACTIVE_CONNECTION_UUID: string | null
export const ACTIVE_CONNECTION_VPN: string | null
export const BRIDGE_VLAN_VID_MAX: number
export const BRIDGE_VLAN_VID_MIN: number
export const CHECKPOINT_CREATED: string | null
export const CHECKPOINT_DEVICES: string | null
export const CHECKPOINT_ROLLBACK_TIMEOUT: string | null
export const CLIENT_ACTIVATING_CONNECTION: string | null
export const CLIENT_ACTIVE_CONNECTIONS: string | null
export const CLIENT_ACTIVE_CONNECTION_ADDED: string | null
export const CLIENT_ACTIVE_CONNECTION_REMOVED: string | null
export const CLIENT_ALL_DEVICES: string | null
export const CLIENT_ANY_DEVICE_ADDED: string | null
export const CLIENT_ANY_DEVICE_REMOVED: string | null
export const CLIENT_CAN_MODIFY: string | null
export const CLIENT_CAPABILITIES: string | null
export const CLIENT_CHECKPOINTS: string | null
export const CLIENT_CONNECTIONS: string | null
export const CLIENT_CONNECTION_ADDED: string | null
export const CLIENT_CONNECTION_REMOVED: string | null
export const CLIENT_CONNECTIVITY: string | null
export const CLIENT_CONNECTIVITY_CHECK_AVAILABLE: string | null
export const CLIENT_CONNECTIVITY_CHECK_ENABLED: string | null
export const CLIENT_CONNECTIVITY_CHECK_URI: string | null
export const CLIENT_DBUS_CONNECTION: string | null
export const CLIENT_DBUS_NAME_OWNER: string | null
export const CLIENT_DEVICES: string | null
export const CLIENT_DEVICE_ADDED: string | null
export const CLIENT_DEVICE_REMOVED: string | null
export const CLIENT_DNS_CONFIGURATION: string | null
export const CLIENT_DNS_MODE: string | null
export const CLIENT_DNS_RC_MANAGER: string | null
export const CLIENT_HOSTNAME: string | null
export const CLIENT_INSTANCE_FLAGS: string | null
export const CLIENT_METERED: string | null
export const CLIENT_NETWORKING_ENABLED: string | null
export const CLIENT_NM_RUNNING: string | null
export const CLIENT_PERMISSIONS_STATE: string | null
export const CLIENT_PERMISSION_CHANGED: string | null
export const CLIENT_PRIMARY_CONNECTION: string | null
export const CLIENT_RADIO_FLAGS: string | null
export const CLIENT_STARTUP: string | null
export const CLIENT_STATE: string | null
export const CLIENT_VERSION: string | null
export const CLIENT_VERSION_INFO: string | null
export const CLIENT_WIMAX_ENABLED: string | null
export const CLIENT_WIMAX_HARDWARE_ENABLED: string | null
export const CLIENT_WIRELESS_ENABLED: string | null
export const CLIENT_WIRELESS_HARDWARE_ENABLED: string | null
export const CLIENT_WWAN_ENABLED: string | null
export const CLIENT_WWAN_HARDWARE_ENABLED: string | null
export const CONNECTION_CHANGED: string | null
export const CONNECTION_NORMALIZE_PARAM_IP4_CONFIG_METHOD: string | null
export const CONNECTION_NORMALIZE_PARAM_IP6_CONFIG_METHOD: string | null
export const CONNECTION_SECRETS_CLEARED: string | null
export const CONNECTION_SECRETS_UPDATED: string | null
export const DBUS_INTERFACE: string | null
export const DBUS_INTERFACE_DNS_MANAGER: string | null
export const DBUS_INTERFACE_SETTINGS: string | null
export const DBUS_INTERFACE_SETTINGS_CONNECTION: string | null
export const DBUS_INTERFACE_SETTINGS_CONNECTION_SECRETS: string | null
export const DBUS_INTERFACE_VPN: string | null
export const DBUS_INTERFACE_VPN_CONNECTION: string | null
export const DBUS_INVALID_VPN_CONNECTION: string | null
export const DBUS_NO_ACTIVE_VPN_CONNECTION: string | null
export const DBUS_NO_VPN_CONNECTIONS: string | null
export const DBUS_PATH: string | null
export const DBUS_PATH_AGENT_MANAGER: string | null
export const DBUS_PATH_DNS_MANAGER: string | null
export const DBUS_PATH_SECRET_AGENT: string | null
export const DBUS_PATH_SETTINGS: string | null
export const DBUS_PATH_SETTINGS_CONNECTION: string | null
export const DBUS_PATH_VPN: string | null
export const DBUS_PATH_VPN_CONNECTION: string | null
export const DBUS_SERVICE: string | null
export const DBUS_VPN_ALREADY_STARTED: string | null
export const DBUS_VPN_ALREADY_STOPPED: string | null
export const DBUS_VPN_BAD_ARGUMENTS: string | null
export const DBUS_VPN_ERROR_PREFIX: string | null
export const DBUS_VPN_INTERACTIVE_NOT_SUPPORTED: string | null
export const DBUS_VPN_SIGNAL_CONNECT_FAILED: string | null
export const DBUS_VPN_SIGNAL_IP4_CONFIG: string | null
export const DBUS_VPN_SIGNAL_IP_CONFIG_BAD: string | null
export const DBUS_VPN_SIGNAL_LAUNCH_FAILED: string | null
export const DBUS_VPN_SIGNAL_LOGIN_BANNER: string | null
export const DBUS_VPN_SIGNAL_LOGIN_FAILED: string | null
export const DBUS_VPN_SIGNAL_STATE_CHANGE: string | null
export const DBUS_VPN_SIGNAL_VPN_CONFIG_BAD: string | null
export const DBUS_VPN_STARTING_IN_PROGRESS: string | null
export const DBUS_VPN_STOPPING_IN_PROGRESS: string | null
export const DBUS_VPN_WRONG_STATE: string | null
export const DEVICE_6LOWPAN_HW_ADDRESS: string | null
export const DEVICE_6LOWPAN_PARENT: string | null
export const DEVICE_ACTIVE_CONNECTION: string | null
export const DEVICE_ADSL_CARRIER: string | null
export const DEVICE_AUTOCONNECT: string | null
export const DEVICE_AVAILABLE_CONNECTIONS: string | null
export const DEVICE_BOND_CARRIER: string | null
export const DEVICE_BOND_HW_ADDRESS: string | null
export const DEVICE_BOND_SLAVES: string | null
export const DEVICE_BRIDGE_CARRIER: string | null
export const DEVICE_BRIDGE_HW_ADDRESS: string | null
export const DEVICE_BRIDGE_SLAVES: string | null
export const DEVICE_BT_CAPABILITIES: string | null
export const DEVICE_BT_HW_ADDRESS: string | null
export const DEVICE_BT_NAME: string | null
export const DEVICE_CAPABILITIES: string | null
export const DEVICE_DEVICE_TYPE: string | null
export const DEVICE_DHCP4_CONFIG: string | null
export const DEVICE_DHCP6_CONFIG: string | null
export const DEVICE_DRIVER: string | null
export const DEVICE_DRIVER_VERSION: string | null
export const DEVICE_DUMMY_HW_ADDRESS: string | null
export const DEVICE_ETHERNET_CARRIER: string | null
export const DEVICE_ETHERNET_HW_ADDRESS: string | null
export const DEVICE_ETHERNET_PERMANENT_HW_ADDRESS: string | null
export const DEVICE_ETHERNET_S390_SUBCHANNELS: string | null
export const DEVICE_ETHERNET_SPEED: string | null
export const DEVICE_FIRMWARE_MISSING: string | null
export const DEVICE_FIRMWARE_VERSION: string | null
export const DEVICE_GENERIC_HW_ADDRESS: string | null
export const DEVICE_GENERIC_TYPE_DESCRIPTION: string | null
export const DEVICE_HW_ADDRESS: string | null
export const DEVICE_INFINIBAND_CARRIER: string | null
export const DEVICE_INFINIBAND_HW_ADDRESS: string | null
export const DEVICE_INTERFACE: string | null
export const DEVICE_INTERFACE_FLAGS: string | null
export const DEVICE_IP4_CONFIG: string | null
export const DEVICE_IP4_CONNECTIVITY: string | null
export const DEVICE_IP6_CONFIG: string | null
export const DEVICE_IP6_CONNECTIVITY: string | null
export const DEVICE_IP_INTERFACE: string | null
export const DEVICE_IP_TUNNEL_ENCAPSULATION_LIMIT: string | null
export const DEVICE_IP_TUNNEL_FLAGS: string | null
export const DEVICE_IP_TUNNEL_FLOW_LABEL: string | null
export const DEVICE_IP_TUNNEL_INPUT_KEY: string | null
export const DEVICE_IP_TUNNEL_LOCAL: string | null
export const DEVICE_IP_TUNNEL_MODE: string | null
export const DEVICE_IP_TUNNEL_OUTPUT_KEY: string | null
export const DEVICE_IP_TUNNEL_PARENT: string | null
export const DEVICE_IP_TUNNEL_PATH_MTU_DISCOVERY: string | null
export const DEVICE_IP_TUNNEL_REMOTE: string | null
export const DEVICE_IP_TUNNEL_TOS: string | null
export const DEVICE_IP_TUNNEL_TTL: string | null
export const DEVICE_LLDP_NEIGHBORS: string | null
export const DEVICE_MACSEC_CIPHER_SUITE: string | null
export const DEVICE_MACSEC_ENCODING_SA: string | null
export const DEVICE_MACSEC_ENCRYPT: string | null
export const DEVICE_MACSEC_ES: string | null
export const DEVICE_MACSEC_HW_ADDRESS: string | null
export const DEVICE_MACSEC_ICV_LENGTH: string | null
export const DEVICE_MACSEC_INCLUDE_SCI: string | null
export const DEVICE_MACSEC_PARENT: string | null
export const DEVICE_MACSEC_PROTECT: string | null
export const DEVICE_MACSEC_REPLAY_PROTECT: string | null
export const DEVICE_MACSEC_SCB: string | null
export const DEVICE_MACSEC_SCI: string | null
export const DEVICE_MACSEC_VALIDATION: string | null
export const DEVICE_MACSEC_WINDOW: string | null
export const DEVICE_MACVLAN_HW_ADDRESS: string | null
export const DEVICE_MACVLAN_MODE: string | null
export const DEVICE_MACVLAN_NO_PROMISC: string | null
export const DEVICE_MACVLAN_PARENT: string | null
export const DEVICE_MACVLAN_TAP: string | null
export const DEVICE_MANAGED: string | null
export const DEVICE_METERED: string | null
export const DEVICE_MODEM_APN: string | null
export const DEVICE_MODEM_CURRENT_CAPABILITIES: string | null
export const DEVICE_MODEM_DEVICE_ID: string | null
export const DEVICE_MODEM_MODEM_CAPABILITIES: string | null
export const DEVICE_MODEM_OPERATOR_CODE: string | null
export const DEVICE_MTU: string | null
export const DEVICE_NM_PLUGIN_MISSING: string | null
export const DEVICE_OLPC_MESH_ACTIVE_CHANNEL: string | null
export const DEVICE_OLPC_MESH_COMPANION: string | null
export const DEVICE_OLPC_MESH_HW_ADDRESS: string | null
export const DEVICE_OVS_BRIDGE_SLAVES: string | null
export const DEVICE_OVS_PORT_SLAVES: string | null
export const DEVICE_PATH: string | null
export const DEVICE_PHYSICAL_PORT_ID: string | null
export const DEVICE_PORTS: string | null
export const DEVICE_PRODUCT: string | null
export const DEVICE_REAL: string | null
export const DEVICE_STATE: string | null
export const DEVICE_STATE_REASON: string | null
export const DEVICE_TEAM_CARRIER: string | null
export const DEVICE_TEAM_CONFIG: string | null
export const DEVICE_TEAM_HW_ADDRESS: string | null
export const DEVICE_TEAM_SLAVES: string | null
export const DEVICE_TUN_GROUP: string | null
export const DEVICE_TUN_HW_ADDRESS: string | null
export const DEVICE_TUN_MODE: string | null
export const DEVICE_TUN_MULTI_QUEUE: string | null
export const DEVICE_TUN_NO_PI: string | null
export const DEVICE_TUN_OWNER: string | null
export const DEVICE_TUN_VNET_HDR: string | null
export const DEVICE_UDI: string | null
export const DEVICE_VENDOR: string | null
export const DEVICE_VETH_PEER: string | null
export const DEVICE_VLAN_CARRIER: string | null
export const DEVICE_VLAN_HW_ADDRESS: string | null
export const DEVICE_VLAN_PARENT: string | null
export const DEVICE_VLAN_VLAN_ID: string | null
export const DEVICE_VRF_TABLE: string | null
export const DEVICE_VXLAN_AGEING: string | null
export const DEVICE_VXLAN_CARRIER: string | null
export const DEVICE_VXLAN_DST_PORT: string | null
export const DEVICE_VXLAN_GROUP: string | null
export const DEVICE_VXLAN_HW_ADDRESS: string | null
export const DEVICE_VXLAN_ID: string | null
export const DEVICE_VXLAN_L2MISS: string | null
export const DEVICE_VXLAN_L3MISS: string | null
export const DEVICE_VXLAN_LEARNING: string | null
export const DEVICE_VXLAN_LIMIT: string | null
export const DEVICE_VXLAN_LOCAL: string | null
export const DEVICE_VXLAN_PARENT: string | null
export const DEVICE_VXLAN_PROXY: string | null
export const DEVICE_VXLAN_RSC: string | null
export const DEVICE_VXLAN_SRC_PORT_MAX: string | null
export const DEVICE_VXLAN_SRC_PORT_MIN: string | null
export const DEVICE_VXLAN_TOS: string | null
export const DEVICE_VXLAN_TTL: string | null
export const DEVICE_WIFI_ACCESS_POINTS: string | null
export const DEVICE_WIFI_ACTIVE_ACCESS_POINT: string | null
export const DEVICE_WIFI_BITRATE: string | null
export const DEVICE_WIFI_CAPABILITIES: string | null
export const DEVICE_WIFI_HW_ADDRESS: string | null
export const DEVICE_WIFI_LAST_SCAN: string | null
export const DEVICE_WIFI_MODE: string | null
export const DEVICE_WIFI_P2P_HW_ADDRESS: string | null
export const DEVICE_WIFI_P2P_PEERS: string | null
export const DEVICE_WIFI_P2P_WFDIES: string | null
export const DEVICE_WIFI_PERMANENT_HW_ADDRESS: string | null
export const DEVICE_WIMAX_ACTIVE_NSP: string | null
export const DEVICE_WIMAX_BSID: string | null
export const DEVICE_WIMAX_CENTER_FREQUENCY: string | null
export const DEVICE_WIMAX_CINR: string | null
export const DEVICE_WIMAX_HW_ADDRESS: string | null
export const DEVICE_WIMAX_NSPS: string | null
export const DEVICE_WIMAX_RSSI: string | null
export const DEVICE_WIMAX_TX_POWER: string | null
export const DEVICE_WIREGUARD_FWMARK: string | null
export const DEVICE_WIREGUARD_LISTEN_PORT: string | null
export const DEVICE_WIREGUARD_PUBLIC_KEY: string | null
export const DEVICE_WPAN_HW_ADDRESS: string | null
export const DHCP_CONFIG_FAMILY: string | null
export const DHCP_CONFIG_OPTIONS: string | null
export const ETHTOOL_OPTNAME_COALESCE_ADAPTIVE_RX: string | null
export const ETHTOOL_OPTNAME_COALESCE_ADAPTIVE_TX: string | null
export const ETHTOOL_OPTNAME_COALESCE_PKT_RATE_HIGH: string | null
export const ETHTOOL_OPTNAME_COALESCE_PKT_RATE_LOW: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_FRAMES: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_FRAMES_HIGH: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_FRAMES_IRQ: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_FRAMES_LOW: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_USECS: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_USECS_HIGH: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_USECS_IRQ: string | null
export const ETHTOOL_OPTNAME_COALESCE_RX_USECS_LOW: string | null
export const ETHTOOL_OPTNAME_COALESCE_SAMPLE_INTERVAL: string | null
export const ETHTOOL_OPTNAME_COALESCE_STATS_BLOCK_USECS: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_FRAMES: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_FRAMES_HIGH: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_FRAMES_IRQ: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_FRAMES_LOW: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_USECS: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_USECS_HIGH: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_USECS_IRQ: string | null
export const ETHTOOL_OPTNAME_COALESCE_TX_USECS_LOW: string | null
export const ETHTOOL_OPTNAME_FEATURE_ESP_HW_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_ESP_TX_CSUM_HW_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_FCOE_MTU: string | null
export const ETHTOOL_OPTNAME_FEATURE_GRO: string | null
export const ETHTOOL_OPTNAME_FEATURE_GSO: string | null
export const ETHTOOL_OPTNAME_FEATURE_HIGHDMA: string | null
export const ETHTOOL_OPTNAME_FEATURE_HW_TC_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_L2_FWD_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_LOOPBACK: string | null
export const ETHTOOL_OPTNAME_FEATURE_LRO: string | null
export const ETHTOOL_OPTNAME_FEATURE_MACSEC_HW_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_NTUPLE: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX: string | null
export const ETHTOOL_OPTNAME_FEATURE_RXHASH: string | null
export const ETHTOOL_OPTNAME_FEATURE_RXVLAN: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_ALL: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_FCS: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_GRO_HW: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_GRO_LIST: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_UDP_GRO_FORWARDING: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_UDP_TUNNEL_PORT_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_VLAN_FILTER: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_VLAN_STAG_FILTER: string | null
export const ETHTOOL_OPTNAME_FEATURE_RX_VLAN_STAG_HW_PARSE: string | null
export const ETHTOOL_OPTNAME_FEATURE_SG: string | null
export const ETHTOOL_OPTNAME_FEATURE_TLS_HW_RECORD: string | null
export const ETHTOOL_OPTNAME_FEATURE_TLS_HW_RX_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_TLS_HW_TX_OFFLOAD: string | null
export const ETHTOOL_OPTNAME_FEATURE_TSO: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX: string | null
export const ETHTOOL_OPTNAME_FEATURE_TXVLAN: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_CHECKSUM_FCOE_CRC: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_CHECKSUM_IPV4: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_CHECKSUM_IPV6: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_CHECKSUM_IP_GENERIC: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_CHECKSUM_SCTP: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_ESP_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_FCOE_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_GRE_CSUM_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_GRE_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_GSO_LIST: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_GSO_PARTIAL: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_GSO_ROBUST: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_IPXIP4_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_IPXIP6_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_NOCACHE_COPY: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_SCATTER_GATHER: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_SCATTER_GATHER_FRAGLIST: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_SCTP_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_TCP6_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_TCP_ECN_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_TCP_MANGLEID_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_TCP_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_TUNNEL_REMCSUM_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_UDP_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_UDP_TNL_CSUM_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_UDP_TNL_SEGMENTATION: string | null
export const ETHTOOL_OPTNAME_FEATURE_TX_VLAN_STAG_HW_INSERT: string | null
export const ETHTOOL_OPTNAME_PAUSE_AUTONEG: string | null
export const ETHTOOL_OPTNAME_PAUSE_RX: string | null
export const ETHTOOL_OPTNAME_PAUSE_TX: string | null
export const ETHTOOL_OPTNAME_RING_RX: string | null
export const ETHTOOL_OPTNAME_RING_RX_JUMBO: string | null
export const ETHTOOL_OPTNAME_RING_RX_MINI: string | null
export const ETHTOOL_OPTNAME_RING_TX: string | null
export const IP_ADDRESS_ATTRIBUTE_LABEL: string | null
export const IP_CONFIG_ADDRESSES: string | null
export const IP_CONFIG_DOMAINS: string | null
export const IP_CONFIG_FAMILY: string | null
export const IP_CONFIG_GATEWAY: string | null
export const IP_CONFIG_NAMESERVERS: string | null
export const IP_CONFIG_ROUTES: string | null
export const IP_CONFIG_SEARCHES: string | null
export const IP_CONFIG_WINS_SERVERS: string | null
export const IP_ROUTE_ATTRIBUTE_ADVMSS: string | null
export const IP_ROUTE_ATTRIBUTE_CWND: string | null
export const IP_ROUTE_ATTRIBUTE_FROM: string | null
export const IP_ROUTE_ATTRIBUTE_INITCWND: string | null
export const IP_ROUTE_ATTRIBUTE_INITRWND: string | null
export const IP_ROUTE_ATTRIBUTE_LOCK_ADVMSS: string | null
export const IP_ROUTE_ATTRIBUTE_LOCK_CWND: string | null
export const IP_ROUTE_ATTRIBUTE_LOCK_INITCWND: string | null
export const IP_ROUTE_ATTRIBUTE_LOCK_INITRWND: string | null
export const IP_ROUTE_ATTRIBUTE_LOCK_MTU: string | null
export const IP_ROUTE_ATTRIBUTE_LOCK_WINDOW: string | null
export const IP_ROUTE_ATTRIBUTE_MTU: string | null
export const IP_ROUTE_ATTRIBUTE_ONLINK: string | null
export const IP_ROUTE_ATTRIBUTE_QUICKACK: string | null
export const IP_ROUTE_ATTRIBUTE_RTO_MIN: string | null
export const IP_ROUTE_ATTRIBUTE_SCOPE: string | null
export const IP_ROUTE_ATTRIBUTE_SRC: string | null
export const IP_ROUTE_ATTRIBUTE_TABLE: string | null
export const IP_ROUTE_ATTRIBUTE_TOS: string | null
export const IP_ROUTE_ATTRIBUTE_TYPE: string | null
export const IP_ROUTE_ATTRIBUTE_WEIGHT: string | null
export const IP_ROUTE_ATTRIBUTE_WINDOW: string | null
export const LLDP_ATTR_CHASSIS_ID: string | null
export const LLDP_ATTR_CHASSIS_ID_TYPE: string | null
export const LLDP_ATTR_DESTINATION: string | null
export const LLDP_ATTR_IEEE_802_1_PPVID: string | null
export const LLDP_ATTR_IEEE_802_1_PPVIDS: string | null
export const LLDP_ATTR_IEEE_802_1_PPVID_FLAGS: string | null
export const LLDP_ATTR_IEEE_802_1_PVID: string | null
export const LLDP_ATTR_IEEE_802_1_VID: string | null
export const LLDP_ATTR_IEEE_802_1_VLANS: string | null
export const LLDP_ATTR_IEEE_802_1_VLAN_NAME: string | null
export const LLDP_ATTR_IEEE_802_3_MAC_PHY_CONF: string | null
export const LLDP_ATTR_IEEE_802_3_MAX_FRAME_SIZE: string | null
export const LLDP_ATTR_IEEE_802_3_POWER_VIA_MDI: string | null
export const LLDP_ATTR_MANAGEMENT_ADDRESSES: string | null
export const LLDP_ATTR_MUD_URL: string | null
export const LLDP_ATTR_PORT_DESCRIPTION: string | null
export const LLDP_ATTR_PORT_ID: string | null
export const LLDP_ATTR_PORT_ID_TYPE: string | null
export const LLDP_ATTR_RAW: string | null
export const LLDP_ATTR_SYSTEM_CAPABILITIES: string | null
export const LLDP_ATTR_SYSTEM_DESCRIPTION: string | null
export const LLDP_ATTR_SYSTEM_NAME: string | null
export const LLDP_DEST_NEAREST_BRIDGE: string | null
export const LLDP_DEST_NEAREST_CUSTOMER_BRIDGE: string | null
export const LLDP_DEST_NEAREST_NON_TPMR_BRIDGE: string | null
/**
* Evaluates to the major version number of NetworkManager which this source
* is compiled against.
*/
export const MAJOR_VERSION: number
/**
* Evaluates to the micro version number of NetworkManager which this source
* compiled against.
*/
export const MICRO_VERSION: number
/**
* Evaluates to the minor version number of NetworkManager which this source
* is compiled against.
*/
export const MINOR_VERSION: number
export const OBJECT_CLIENT: string | null
export const OBJECT_PATH: string | null
export const REMOTE_CONNECTION_DBUS_CONNECTION: string | null
export const REMOTE_CONNECTION_FILENAME: string | null
export const REMOTE_CONNECTION_FLAGS: string | null
export const REMOTE_CONNECTION_PATH: string | null
export const REMOTE_CONNECTION_UNSAVED: string | null
export const REMOTE_CONNECTION_VISIBLE: string | null
export const SECRET_AGENT_OLD_AUTO_REGISTER: string | null
export const SECRET_AGENT_OLD_CAPABILITIES: string | null
export const SECRET_AGENT_OLD_DBUS_CONNECTION: string | null
export const SECRET_AGENT_OLD_IDENTIFIER: string | null
export const SECRET_AGENT_OLD_REGISTERED: string | null
export const SETTING_6LOWPAN_PARENT: string | null
export const SETTING_6LOWPAN_SETTING_NAME: string | null
export const SETTING_802_1X_ALTSUBJECT_MATCHES: string | null
export const SETTING_802_1X_ANONYMOUS_IDENTITY: string | null
export const SETTING_802_1X_AUTH_TIMEOUT: string | null
export const SETTING_802_1X_CA_CERT: string | null
export const SETTING_802_1X_CA_CERT_PASSWORD: string | null
export const SETTING_802_1X_CA_CERT_PASSWORD_FLAGS: string | null
export const SETTING_802_1X_CA_PATH: string | null
export const SETTING_802_1X_CERT_SCHEME_PREFIX_PATH: string | null
export const SETTING_802_1X_CERT_SCHEME_PREFIX_PKCS11: string | null
export const SETTING_802_1X_CLIENT_CERT: string | null
export const SETTING_802_1X_CLIENT_CERT_PASSWORD: string | null
export const SETTING_802_1X_CLIENT_CERT_PASSWORD_FLAGS: string | null
export const SETTING_802_1X_DOMAIN_MATCH: string | null
export const SETTING_802_1X_DOMAIN_SUFFIX_MATCH: string | null
export const SETTING_802_1X_EAP: string | null
export const SETTING_802_1X_IDENTITY: string | null
export const SETTING_802_1X_OPTIONAL: string | null
export const SETTING_802_1X_PAC_FILE: string | null
export const SETTING_802_1X_PASSWORD: string | null
export const SETTING_802_1X_PASSWORD_FLAGS: string | null
export const SETTING_802_1X_PASSWORD_RAW: string | null
export const SETTING_802_1X_PASSWORD_RAW_FLAGS: string | null
export const SETTING_802_1X_PHASE1_AUTH_FLAGS: string | null
export const SETTING_802_1X_PHASE1_FAST_PROVISIONING: string | null
export const SETTING_802_1X_PHASE1_PEAPLABEL: string | null
export const SETTING_802_1X_PHASE1_PEAPVER: string | null
export const SETTING_802_1X_PHASE2_ALTSUBJECT_MATCHES: string | null
export const SETTING_802_1X_PHASE2_AUTH: string | null
export const SETTING_802_1X_PHASE2_AUTHEAP: string | null
export const SETTING_802_1X_PHASE2_CA_CERT: string | null
export const SETTING_802_1X_PHASE2_CA_CERT_PASSWORD: string | null
export const SETTING_802_1X_PHASE2_CA_CERT_PASSWORD_FLAGS: string | null
export const SETTING_802_1X_PHASE2_CA_PATH: string | null
export const SETTING_802_1X_PHASE2_CLIENT_CERT: string | null
export const SETTING_802_1X_PHASE2_CLIENT_CERT_PASSWORD: string | null
export const SETTING_802_1X_PHASE2_CLIENT_CERT_PASSWORD_FLAGS: string | null
export const SETTING_802_1X_PHASE2_DOMAIN_MATCH: string | null
export const SETTING_802_1X_PHASE2_DOMAIN_SUFFIX_MATCH: string | null
export const SETTING_802_1X_PHASE2_PRIVATE_KEY: string | null
export const SETTING_802_1X_PHASE2_PRIVATE_KEY_PASSWORD: string | null
export const SETTING_802_1X_PHASE2_PRIVATE_KEY_PASSWORD_FLAGS: string | null
export const SETTING_802_1X_PHASE2_SUBJECT_MATCH: string | null
export const SETTING_802_1X_PIN: string | null
export const SETTING_802_1X_PIN_FLAGS: string | null
export const SETTING_802_1X_PRIVATE_KEY: string | null
export const SETTING_802_1X_PRIVATE_KEY_PASSWORD: string | null
export const SETTING_802_1X_PRIVATE_KEY_PASSWORD_FLAGS: string | null
export const SETTING_802_1X_SETTING_NAME: string | null
export const SETTING_802_1X_SUBJECT_MATCH: string | null
export const SETTING_802_1X_SYSTEM_CA_CERTS: string | null
export const SETTING_ADSL_ENCAPSULATION: string | null
export const SETTING_ADSL_ENCAPSULATION_LLC: string | null
export const SETTING_ADSL_ENCAPSULATION_VCMUX: string | null
export const SETTING_ADSL_PASSWORD: string | null
export const SETTING_ADSL_PASSWORD_FLAGS: string | null
export const SETTING_ADSL_PROTOCOL: string | null
export const SETTING_ADSL_PROTOCOL_IPOATM: string | null
export const SETTING_ADSL_PROTOCOL_PPPOA: string | null
export const SETTING_ADSL_PROTOCOL_PPPOE: string | null
export const SETTING_ADSL_SETTING_NAME: string | null
export const SETTING_ADSL_USERNAME: string | null
export const SETTING_ADSL_VCI: string | null
export const SETTING_ADSL_VPI: string | null
export const SETTING_BLUETOOTH_BDADDR: string | null
export const SETTING_BLUETOOTH_SETTING_NAME: string | null
export const SETTING_BLUETOOTH_TYPE: string | null
/**
* Connection type describing a connection to devices that support the Bluetooth
* DUN profile.
*/
export const SETTING_BLUETOOTH_TYPE_DUN: string | null
/**
* Connection type describing a Bluetooth NAP (Network Access Point),
* which accepts PANU clients.
*/
export const SETTING_BLUETOOTH_TYPE_NAP: string | null
/**
* Connection type describing PANU connection to a Bluetooth NAP (Network
* Access Point).
*/
export const SETTING_BLUETOOTH_TYPE_PANU: string | null
export const SETTING_BOND_OPTIONS: string | null
export const SETTING_BOND_OPTION_ACTIVE_SLAVE: string | null
export const SETTING_BOND_OPTION_AD_ACTOR_SYSTEM: string | null
export const SETTING_BOND_OPTION_AD_ACTOR_SYS_PRIO: string | null
export const SETTING_BOND_OPTION_AD_SELECT: string | null
export const SETTING_BOND_OPTION_AD_USER_PORT_KEY: string | null
export const SETTING_BOND_OPTION_ALL_SLAVES_ACTIVE: string | null
export const SETTING_BOND_OPTION_ARP_ALL_TARGETS: string | null
export const SETTING_BOND_OPTION_ARP_INTERVAL: string | null
export const SETTING_BOND_OPTION_ARP_IP_TARGET: string | null
export const SETTING_BOND_OPTION_ARP_VALIDATE: string | null
export const SETTING_BOND_OPTION_BALANCE_SLB: string | null
export const SETTING_BOND_OPTION_DOWNDELAY: string | null
export const SETTING_BOND_OPTION_FAIL_OVER_MAC: string | null
export const SETTING_BOND_OPTION_LACP_RATE: string | null
export const SETTING_BOND_OPTION_LP_INTERVAL: string | null
export const SETTING_BOND_OPTION_MIIMON: string | null
export const SETTING_BOND_OPTION_MIN_LINKS: string | null
export const SETTING_BOND_OPTION_MODE: string | null
export const SETTING_BOND_OPTION_NUM_GRAT_ARP: string | null
export const SETTING_BOND_OPTION_NUM_UNSOL_NA: string | null
export const SETTING_BOND_OPTION_PACKETS_PER_SLAVE: string | null
export const SETTING_BOND_OPTION_PEER_NOTIF_DELAY: string | null
export const SETTING_BOND_OPTION_PRIMARY: string | null
export const SETTING_BOND_OPTION_PRIMARY_RESELECT: string | null
export const SETTING_BOND_OPTION_RESEND_IGMP: string | null
export const SETTING_BOND_OPTION_TLB_DYNAMIC_LB: string | null
export const SETTING_BOND_OPTION_UPDELAY: string | null
export const SETTING_BOND_OPTION_USE_CARRIER: string | null
export const SETTING_BOND_OPTION_XMIT_HASH_POLICY: string | null
export const SETTING_BOND_PORT_QUEUE_ID: string | null
export const SETTING_BOND_PORT_SETTING_NAME: string | null
export const SETTING_BOND_SETTING_NAME: string | null
export const SETTING_BRIDGE_AGEING_TIME: string | null
export const SETTING_BRIDGE_FORWARD_DELAY: string | null
export const SETTING_BRIDGE_GROUP_ADDRESS: string | null
export const SETTING_BRIDGE_GROUP_FORWARD_MASK: string | null
export const SETTING_BRIDGE_HELLO_TIME: string | null
export const SETTING_BRIDGE_MAC_ADDRESS: string | null
export const SETTING_BRIDGE_MAX_AGE: string | null
export const SETTING_BRIDGE_MULTICAST_HASH_MAX: string | null
export const SETTING_BRIDGE_MULTICAST_LAST_MEMBER_COUNT: string | null
export const SETTING_BRIDGE_MULTICAST_LAST_MEMBER_INTERVAL: string | null
export const SETTING_BRIDGE_MULTICAST_MEMBERSHIP_INTERVAL: string | null
export const SETTING_BRIDGE_MULTICAST_QUERIER: string | null
export const SETTING_BRIDGE_MULTICAST_QUERIER_INTERVAL: string | null
export const SETTING_BRIDGE_MULTICAST_QUERY_INTERVAL: string | null
export const SETTING_BRIDGE_MULTICAST_QUERY_RESPONSE_INTERVAL: string | null
export const SETTING_BRIDGE_MULTICAST_QUERY_USE_IFADDR: string | null
export const SETTING_BRIDGE_MULTICAST_ROUTER: string | null
export const SETTING_BRIDGE_MULTICAST_SNOOPING: string | null
export const SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_COUNT: string | null
export const SETTING_BRIDGE_MULTICAST_STARTUP_QUERY_INTERVAL: string | null
export const SETTING_BRIDGE_PORT_HAIRPIN_MODE: string | null
export const SETTING_BRIDGE_PORT_PATH_COST: string | null
export const SETTING_BRIDGE_PORT_PRIORITY: string | null
export const SETTING_BRIDGE_PORT_SETTING_NAME: string | null
export const SETTING_BRIDGE_PORT_VLANS: string | null
export const SETTING_BRIDGE_PRIORITY: string | null
export const SETTING_BRIDGE_SETTING_NAME: string | null
export const SETTING_BRIDGE_STP: string | null
export const SETTING_BRIDGE_VLANS: string | null
export const SETTING_BRIDGE_VLAN_DEFAULT_PVID: string | null
export const SETTING_BRIDGE_VLAN_FILTERING: string | null
export const SETTING_BRIDGE_VLAN_PROTOCOL: string | null
export const SETTING_BRIDGE_VLAN_STATS_ENABLED: string | null
export const SETTING_CDMA_MTU: string | null
export const SETTING_CDMA_NUMBER: string | null
export const SETTING_CDMA_PASSWORD: string | null
export const SETTING_CDMA_PASSWORD_FLAGS: string | null
export const SETTING_CDMA_SETTING_NAME: string | null
export const SETTING_CDMA_USERNAME: string | null
export const SETTING_CONNECTION_AUTH_RETRIES: string | null
export const SETTING_CONNECTION_AUTOCONNECT: string | null
export const SETTING_CONNECTION_AUTOCONNECT_PRIORITY: string | null
export const SETTING_CONNECTION_AUTOCONNECT_PRIORITY_DEFAULT: number
export const SETTING_CONNECTION_AUTOCONNECT_PRIORITY_MAX: number
export const SETTING_CONNECTION_AUTOCONNECT_PRIORITY_MIN: number
export const SETTING_CONNECTION_AUTOCONNECT_RETRIES: string | null
export const SETTING_CONNECTION_AUTOCONNECT_SLAVES: string | null
export const SETTING_CONNECTION_DNS_OVER_TLS: string | null
export const SETTING_CONNECTION_GATEWAY_PING_TIMEOUT: string | null
export const SETTING_CONNECTION_ID: string | null
export const SETTING_CONNECTION_INTERFACE_NAME: string | null
export const SETTING_CONNECTION_LLDP: string | null
export const SETTING_CONNECTION_LLMNR: string | null
export const SETTING_CONNECTION_MASTER: string | null
export const SETTING_CONNECTION_MDNS: string | null
export const SETTING_CONNECTION_METERED: string | null
export const SETTING_CONNECTION_MPTCP_FLAGS: string | null
export const SETTING_CONNECTION_MUD_URL: string | null
export const SETTING_CONNECTION_MULTI_CONNECT: string | null
export const SETTING_CONNECTION_PERMISSIONS: string | null
export const SETTING_CONNECTION_READ_ONLY: string | null
export const SETTING_CONNECTION_SECONDARIES: string | null
export const SETTING_CONNECTION_SETTING_NAME: string | null
export const SETTING_CONNECTION_SLAVE_TYPE: string | null
export const SETTING_CONNECTION_STABLE_ID: string | null
export const SETTING_CONNECTION_TIMESTAMP: string | null
export const SETTING_CONNECTION_TYPE: string | null
export const SETTING_CONNECTION_UUID: string | null
export const SETTING_CONNECTION_WAIT_ACTIVATION_DELAY: string | null
export const SETTING_CONNECTION_WAIT_DEVICE_TIMEOUT: string | null
export const SETTING_CONNECTION_ZONE: string | null
export const SETTING_DCB_APP_FCOE_FLAGS: string | null
export const SETTING_DCB_APP_FCOE_MODE: string | null
export const SETTING_DCB_APP_FCOE_PRIORITY: string | null
export const SETTING_DCB_APP_FIP_FLAGS: string | null
export const SETTING_DCB_APP_FIP_PRIORITY: string | null
export const SETTING_DCB_APP_ISCSI_FLAGS: string | null
export const SETTING_DCB_APP_ISCSI_PRIORITY: string | null
/**
* Indicates that the FCoE controller should use "fabric" mode (default)
*/
export const SETTING_DCB_FCOE_MODE_FABRIC: string | null
/**
* Indicates that the FCoE controller should use "VN2VN" mode.
*/
export const SETTING_DCB_FCOE_MODE_VN2VN: string | null
export const SETTING_DCB_PRIORITY_BANDWIDTH: string | null
export const SETTING_DCB_PRIORITY_FLOW_CONTROL: string | null
export const SETTING_DCB_PRIORITY_FLOW_CONTROL_FLAGS: string | null
export const SETTING_DCB_PRIORITY_GROUP_BANDWIDTH: string | null
export const SETTING_DCB_PRIORITY_GROUP_FLAGS: string | null
export const SETTING_DCB_PRIORITY_GROUP_ID: string | null
export const SETTING_DCB_PRIORITY_STRICT_BANDWIDTH: string | null
export const SETTING_DCB_PRIORITY_TRAFFIC_CLASS: string | null
export const SETTING_DCB_SETTING_NAME: string | null
export const SETTING_DNS_OPTION_ATTEMPTS: string | null
export const SETTING_DNS_OPTION_DEBUG: string | null
export const SETTING_DNS_OPTION_EDNS0: string | null
export const SETTING_DNS_OPTION_INET6: string | null
export const SETTING_DNS_OPTION_IP6_BYTESTRING: string | null
export const SETTING_DNS_OPTION_IP6_DOTINT: string | null
export const SETTING_DNS_OPTION_NDOTS: string | null
export const SETTING_DNS_OPTION_NO_CHECK_NAMES: string | null
export const SETTING_DNS_OPTION_NO_IP6_DOTINT: string | null
export const SETTING_DNS_OPTION_NO_RELOAD: string | null
export const SETTING_DNS_OPTION_NO_TLD_QUERY: string | null
export const SETTING_DNS_OPTION_ROTATE: string | null
export const SETTING_DNS_OPTION_SINGLE_REQUEST: string | null
export const SETTING_DNS_OPTION_SINGLE_REQUEST_REOPEN: string | null
export const SETTING_DNS_OPTION_TIMEOUT: string | null
export const SETTING_DNS_OPTION_TRUST_AD: string | null
export const SETTING_DNS_OPTION_USE_VC: string | null
export const SETTING_DUMMY_SETTING_NAME: string | null
export const SETTING_ETHTOOL_SETTING_NAME: string | null
export const SETTING_GENERIC_SETTING_NAME: string | null
export const SETTING_GSM_APN: string | null
export const SETTING_GSM_AUTO_CONFIG: string | null
export const SETTING_GSM_DEVICE_ID: string | null
export const SETTING_GSM_HOME_ONLY: string | null
export const SETTING_GSM_MTU: string | null
export const SETTING_GSM_NETWORK_ID: string | null
export const SETTING_GSM_NUMBER: string | null
export const SETTING_GSM_PASSWORD: string | null
export const SETTING_GSM_PASSWORD_FLAGS: string | null
export const SETTING_GSM_PIN: string | null
export const SETTING_GSM_PIN_FLAGS: string | null
export const SETTING_GSM_SETTING_NAME: string | null
export const SETTING_GSM_SIM_ID: string | null
export const SETTING_GSM_SIM_OPERATOR_ID: string | null
export const SETTING_GSM_USERNAME: string | null
export const SETTING_HOSTNAME_FROM_DHCP: string | null
export const SETTING_HOSTNAME_FROM_DNS_LOOKUP: string | null
export const SETTING_HOSTNAME_ONLY_FROM_DEFAULT: string | null
export const SETTING_HOSTNAME_PRIORITY: string | null
export const SETTING_HOSTNAME_SETTING_NAME: string | null
export const SETTING_INFINIBAND_MAC_ADDRESS: string | null
export const SETTING_INFINIBAND_MTU: string | null
export const SETTING_INFINIBAND_PARENT: string | null
export const SETTING_INFINIBAND_P_KEY: string | null
export const SETTING_INFINIBAND_SETTING_NAME: string | null
export const SETTING_INFINIBAND_TRANSPORT_MODE: string | null
export const SETTING_IP4_CONFIG_DHCP_CLIENT_ID: string | null
export const SETTING_IP4_CONFIG_DHCP_FQDN: string | null
export const SETTING_IP4_CONFIG_DHCP_VENDOR_CLASS_IDENTIFIER: string | null
export const SETTING_IP4_CONFIG_LINK_LOCAL: string | null
/**
* IPv4 configuration should be automatically determined via a method appropriate
* for the hardware interface, ie DHCP or PPP or some other device-specific
* manner.
*/
export const SETTING_IP4_CONFIG_METHOD_AUTO: string | null
/**
* This connection does not use or require IPv4 address and it should be disabled.
*/
export const SETTING_IP4_CONFIG_METHOD_DISABLED: string | null
/**
* IPv4 configuration should be automatically configured for link-local-only
* operation.
*/
export const SETTING_IP4_CONFIG_METHOD_LINK_LOCAL: string | null
/**
* All necessary IPv4 configuration (addresses, prefix, DNS, etc) is specified
* in the setting's properties.
*/
export const SETTING_IP4_CONFIG_METHOD_MANUAL: string | null
/**
* This connection specifies configuration that allows other computers to
* connect through it to the default network (usually the Internet). The
* connection's interface will be assigned a private address, and a DHCP server,
* caching DNS server, and Network Address Translation (NAT) functionality will
* be started on this connection's interface to allow other devices to connect
* through that interface to the default network.
*/
export const SETTING_IP4_CONFIG_METHOD_SHARED: string | null
export const SETTING_IP4_CONFIG_SETTING_NAME: string | null
export const SETTING_IP6_CONFIG_ADDR_GEN_MODE: string | null
export const SETTING_IP6_CONFIG_DHCP_DUID: string | null
export const SETTING_IP6_CONFIG_IP6_PRIVACY: string | null
/**
* IPv6 configuration should be automatically determined via a method appropriate
* for the hardware interface, ie router advertisements, DHCP, or PPP or some
* other device-specific manner.
*/
export const SETTING_IP6_CONFIG_METHOD_AUTO: string | null
/**
* IPv6 configuration should be automatically determined via DHCPv6 only and
* router advertisements should be ignored.
*/
export const SETTING_IP6_CONFIG_METHOD_DHCP: string | null
/**
* IPv6 is disabled for the connection.
*/
export const SETTING_IP6_CONFIG_METHOD_DISABLED: string | null
/**
* IPv6 is not required or is handled by some other mechanism, and NetworkManager
* should not configure IPv6 for this connection.
*/
export const SETTING_IP6_CONFIG_METHOD_IGNORE: string | null
/**
* IPv6 configuration should be automatically configured for link-local-only
* operation.
*/
export const SETTING_IP6_CONFIG_METHOD_LINK_LOCAL: string | null
/**
* All necessary IPv6 configuration (addresses, prefix, DNS, etc) is specified
* in the setting's properties.
*/
export const SETTING_IP6_CONFIG_METHOD_MANUAL: string | null
/**
* This connection specifies configuration that allows other computers to
* connect through it to the default network (usually the Internet). The
* connection's interface will be assigned a private address, and router
* advertisements, a caching DNS server, and Network Address Translation (NAT)
* functionality will be started on this connection's interface to allow other
* devices to connect through that interface to the default network. (not yet
* supported for IPv6)
*/
export const SETTING_IP6_CONFIG_METHOD_SHARED: string | null
export const SETTING_IP6_CONFIG_MTU: string | null
export const SETTING_IP6_CONFIG_RA_TIMEOUT: string | null
export const SETTING_IP6_CONFIG_SETTING_NAME: string | null
export const SETTING_IP6_CONFIG_TOKEN: string | null
export const SETTING_IP_CONFIG_ADDRESSES: string | null
export const SETTING_IP_CONFIG_AUTO_ROUTE_EXT_GW: string | null
export const SETTING_IP_CONFIG_DAD_TIMEOUT: string | null
export const SETTING_IP_CONFIG_DAD_TIMEOUT_MAX: number
export const SETTING_IP_CONFIG_DHCP_HOSTNAME: string | null
export const SETTING_IP_CONFIG_DHCP_HOSTNAME_FLAGS: string | null
export const SETTING_IP_CONFIG_DHCP_IAID: string | null
export const SETTING_IP_CONFIG_DHCP_REJECT_SERVERS: string | null
export const SETTING_IP_CONFIG_DHCP_SEND_HOSTNAME: string | null
export const SETTING_IP_CONFIG_DHCP_TIMEOUT: string | null
export const SETTING_IP_CONFIG_DNS: string | null
export const SETTING_IP_CONFIG_DNS_OPTIONS: string | null
export const SETTING_IP_CONFIG_DNS_PRIORITY: string | null
export const SETTING_IP_CONFIG_DNS_SEARCH: string | null
export const SETTING_IP_CONFIG_GATEWAY: string | null
export const SETTING_IP_CONFIG_IGNORE_AUTO_DNS: string | null
export const SETTING_IP_CONFIG_IGNORE_AUTO_ROUTES: string | null
export const SETTING_IP_CONFIG_MAY_FAIL: string | null
export const SETTING_IP_CONFIG_METHOD: string | null
export const SETTING_IP_CONFIG_NEVER_DEFAULT: string | null
export const SETTING_IP_CONFIG_REQUIRED_TIMEOUT: string | null
export const SETTING_IP_CONFIG_ROUTES: string | null
export const SETTING_IP_CONFIG_ROUTE_METRIC: string | null
export const SETTING_IP_CONFIG_ROUTE_TABLE: string | null
export const SETTING_IP_CONFIG_ROUTING_RULES: string | null
export const SETTING_IP_TUNNEL_ENCAPSULATION_LIMIT: string | null
export const SETTING_IP_TUNNEL_FLAGS: string | null
export const SETTING_IP_TUNNEL_FLOW_LABEL: string | null
export const SETTING_IP_TUNNEL_FWMARK: string | null
export const SETTING_IP_TUNNEL_INPUT_KEY: string | null
export const SETTING_IP_TUNNEL_LOCAL: string | null
export const SETTING_IP_TUNNEL_MODE: string | null
export const SETTING_IP_TUNNEL_MTU: string | null
export const SETTING_IP_TUNNEL_OUTPUT_KEY: string | null
export const SETTING_IP_TUNNEL_PARENT: string | null
export const SETTING_IP_TUNNEL_PATH_MTU_DISCOVERY: string | null
export const SETTING_IP_TUNNEL_REMOTE: string | null
export const SETTING_IP_TUNNEL_SETTING_NAME: string | null
export const SETTING_IP_TUNNEL_TOS: string | null
export const SETTING_IP_TUNNEL_TTL: string | null
export const SETTING_LOOPBACK_MTU: string | null
export const SETTING_LOOPBACK_SETTING_NAME: string | null
export const SETTING_MACSEC_ENCRYPT: string | null
export const SETTING_MACSEC_MKA_CAK: string | null
export const SETTING_MACSEC_MKA_CAK_FLAGS: string | null
export const SETTING_MACSEC_MKA_CAK_LENGTH: number
export const SETTING_MACSEC_MKA_CKN: string | null
export const SETTING_MACSEC_MKA_CKN_LENGTH: number
export const SETTING_MACSEC_MODE: string | null
export const SETTING_MACSEC_PARENT: string | null
export const SETTING_MACSEC_PORT: string | null
export const SETTING_MACSEC_SEND_SCI: string | null
export const SETTING_MACSEC_SETTING_NAME: string | null
export const SETTING_MACSEC_VALIDATION: string | null
export const SETTING_MACVLAN_MODE: string | null
export const SETTING_MACVLAN_PARENT: string | null
export const SETTING_MACVLAN_PROMISCUOUS: string | null
export const SETTING_MACVLAN_SETTING_NAME: string | null
export const SETTING_MACVLAN_TAP: string | null
export const SETTING_MATCH_DRIVER: string | null
export const SETTING_MATCH_INTERFACE_NAME: string | null
export const SETTING_MATCH_KERNEL_COMMAND_LINE: string | null
export const SETTING_MATCH_PATH: string | null
export const SETTING_MATCH_SETTING_NAME: string | null
export const SETTING_NAME: string | null
export const SETTING_OLPC_MESH_CHANNEL: string | null
export const SETTING_OLPC_MESH_DHCP_ANYCAST_ADDRESS: string | null
export const SETTING_OLPC_MESH_SETTING_NAME: string | null
export const SETTING_OLPC_MESH_SSID: string | null
export const SETTING_OVS_BRIDGE_DATAPATH_TYPE: string | null
export const SETTING_OVS_BRIDGE_FAIL_MODE: string | null
export const SETTING_OVS_BRIDGE_MCAST_SNOOPING_ENABLE: string | null
export const SETTING_OVS_BRIDGE_RSTP_ENABLE: string | null
export const SETTING_OVS_BRIDGE_SETTING_NAME: string | null
export const SETTING_OVS_BRIDGE_STP_ENABLE: string | null
export const SETTING_OVS_DPDK_DEVARGS: string | null
export const SETTING_OVS_DPDK_N_RXQ: string | null
export const SETTING_OVS_DPDK_N_RXQ_DESC: string | null
export const SETTING_OVS_DPDK_N_TXQ_DESC: string | null
export const SETTING_OVS_DPDK_SETTING_NAME: string | null
export const SETTING_OVS_EXTERNAL_IDS_DATA: string | null
export const SETTING_OVS_EXTERNAL_IDS_SETTING_NAME: string | null
export const SETTING_OVS_INTERFACE_OFPORT_REQUEST: string | null
export const SETTING_OVS_INTERFACE_SETTING_NAME: string | null
export const SETTING_OVS_INTERFACE_TYPE: string | null
export const SETTING_OVS_OTHER_CONFIG_DATA: string | null
export const SETTING_OVS_OTHER_CONFIG_SETTING_NAME: string | null
export const SETTING_OVS_PATCH_PEER: string | null
export const SETTING_OVS_PATCH_SETTING_NAME: string | null
export const SETTING_OVS_PORT_BOND_DOWNDELAY: string | null
export const SETTING_OVS_PORT_BOND_MODE: string | null
export const SETTING_OVS_PORT_BOND_UPDELAY: string | null
export const SETTING_OVS_PORT_LACP: string | null
export const SETTING_OVS_PORT_SETTING_NAME: string | null
export const SETTING_OVS_PORT_TAG: string | null
export const SETTING_OVS_PORT_TRUNKS: string | null
export const SETTING_OVS_PORT_VLAN_MODE: string | null
export const SETTING_PARAM_FUZZY_IGNORE: number
export const SETTING_PARAM_REQUIRED: number
export const SETTING_PARAM_SECRET: number
export const SETTING_PPPOE_PARENT: string | null
export const SETTING_PPPOE_PASSWORD: string | null
export const SETTING_PPPOE_PASSWORD_FLAGS: string | null
export const SETTING_PPPOE_SERVICE: string | null
export const SETTING_PPPOE_SETTING_NAME: string | null
export const SETTING_PPPOE_USERNAME: string | null
export const SETTING_PPP_BAUD: string | null
export const SETTING_PPP_CRTSCTS: string | null
export const SETTING_PPP_LCP_ECHO_FAILURE: string | null
export const SETTING_PPP_LCP_ECHO_INTERVAL: string | null
export const SETTING_PPP_MPPE_STATEFUL: string | null
export const SETTING_PPP_MRU: string | null
export const SETTING_PPP_MTU: string | null
export const SETTING_PPP_NOAUTH: string | null
export const SETTING_PPP_NOBSDCOMP: string | null
export const SETTING_PPP_NODEFLATE: string | null
export const SETTING_PPP_NO_VJ_COMP: string | null
export const SETTING_PPP_REFUSE_CHAP: string | null
export const SETTING_PPP_REFUSE_EAP: string | null
export const SETTING_PPP_REFUSE_MSCHAP: string | null
export const SETTING_PPP_REFUSE_MSCHAPV2: string | null
export const SETTING_PPP_REFUSE_PAP: string | null
export const SETTING_PPP_REQUIRE_MPPE: string | null
export const SETTING_PPP_REQUIRE_MPPE_128: string | null
export const SETTING_PPP_SETTING_NAME: string | null
export const SETTING_PROXY_BROWSER_ONLY: string | null
export const SETTING_PROXY_METHOD: string | null
export const SETTING_PROXY_PAC_SCRIPT: string | null
export const SETTING_PROXY_PAC_URL: string | null
export const SETTING_PROXY_SETTING_NAME: string | null
export const SETTING_SERIAL_BAUD: string | null
export const SETTING_SERIAL_BITS: string | null
export const SETTING_SERIAL_PARITY: string | null
export const SETTING_SERIAL_SEND_DELAY: string | null
export const SETTING_SERIAL_SETTING_NAME: string | null
export const SETTING_SERIAL_STOPBITS: string | null
export const SETTING_SRIOV_AUTOPROBE_DRIVERS: string | null
export const SETTING_SRIOV_SETTING_NAME: string | null
export const SETTING_SRIOV_TOTAL_VFS: string | null
export const SETTING_SRIOV_VFS: string | null
export const SETTING_TC_CONFIG_QDISCS: string | null
export const SETTING_TC_CONFIG_SETTING_NAME: string | null
export const SETTING_TC_CONFIG_TFILTERS: string | null
export const SETTING_TEAM_CONFIG: string | null
export const SETTING_TEAM_LINK_WATCHERS: string | null
export const SETTING_TEAM_MCAST_REJOIN_COUNT: string | null
export const SETTING_TEAM_MCAST_REJOIN_INTERVAL: string | null
export const SETTING_TEAM_NOTIFY_MCAST_COUNT_ACTIVEBACKUP_DEFAULT: number
export const SETTING_TEAM_NOTIFY_PEERS_COUNT: string | null
export const SETTING_TEAM_NOTIFY_PEERS_COUNT_ACTIVEBACKUP_DEFAULT: number
export const SETTING_TEAM_NOTIFY_PEERS_INTERVAL: string | null
export const SETTING_TEAM_PORT_CONFIG: string | null
export const SETTING_TEAM_PORT_LACP_KEY: string | null
export const SETTING_TEAM_PORT_LACP_PRIO: string | null
export const SETTING_TEAM_PORT_LACP_PRIO_DEFAULT: number
export const SETTING_TEAM_PORT_LINK_WATCHERS: string | null
export const SETTING_TEAM_PORT_PRIO: string | null
export const SETTING_TEAM_PORT_QUEUE_ID: string | null
export const SETTING_TEAM_PORT_QUEUE_ID_DEFAULT: number
export const SETTING_TEAM_PORT_SETTING_NAME: string | null
export const SETTING_TEAM_PORT_STICKY: string | null
export const SETTING_TEAM_RUNNER: string | null
export const SETTING_TEAM_RUNNER_ACTIVE: string | null
export const SETTING_TEAM_RUNNER_ACTIVEBACKUP: string | null
export const SETTING_TEAM_RUNNER_AGG_SELECT_POLICY: string | null
export const SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_BANDWIDTH: string | null
export const SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_COUNT: string | null
export const SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO: string | null
export const SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_LACP_PRIO_STABLE: string | null
export const SETTING_TEAM_RUNNER_AGG_SELECT_POLICY_PORT_CONFIG: string | null
export const SETTING_TEAM_RUNNER_BROADCAST: string | null
export const SETTING_TEAM_RUNNER_FAST_RATE: string | null
export const SETTING_TEAM_RUNNER_HWADDR_POLICY: string | null
export const SETTING_TEAM_RUNNER_HWADDR_POLICY_BY_ACTIVE: string | null
export const SETTING_TEAM_RUNNER_HWADDR_POLICY_ONLY_ACTIVE: string | null
export const SETTING_TEAM_RUNNER_HWADDR_POLICY_SAME_ALL: string | null
export const SETTING_TEAM_RUNNER_LACP: string | null
export const SETTING_TEAM_RUNNER_LOADBALANCE: string | null
export const SETTING_TEAM_RUNNER_MIN_PORTS: string | null
export const SETTING_TEAM_RUNNER_RANDOM: string | null
export const SETTING_TEAM_RUNNER_ROUNDROBIN: string | null
export const SETTING_TEAM_RUNNER_SYS_PRIO: string | null
export const SETTING_TEAM_RUNNER_SYS_PRIO_DEFAULT: number
export const SETTING_TEAM_RUNNER_TX_BALANCER: string | null
export const SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL: string | null
export const SETTING_TEAM_RUNNER_TX_BALANCER_INTERVAL_DEFAULT: number
export const SETTING_TEAM_RUNNER_TX_HASH: string | null
export const SETTING_TEAM_SETTING_NAME: string | null
export const SETTING_TUN_GROUP: string | null
export const SETTING_TUN_MODE: string | null
export const SETTING_TUN_MULTI_QUEUE: string | null
export const SETTING_TUN_OWNER: string | null
export const SETTING_TUN_PI: string | null
export const SETTING_TUN_SETTING_NAME: string | null
export const SETTING_TUN_VNET_HDR: string | null
export const SETTING_USER_DATA: string | null
export const SETTING_USER_SETTING_NAME: string | null
export const SETTING_VETH_PEER: string | null
export const SETTING_VETH_SETTING_NAME: string | null
export const SETTING_VLAN_EGRESS_PRIORITY_MAP: string | null
export const SETTING_VLAN_FLAGS: string | null
export const SETTING_VLAN_ID: string | null
export const SETTING_VLAN_INGRESS_PRIORITY_MAP: string | null
export const SETTING_VLAN_PARENT: string | null
export const SETTING_VLAN_PROTOCOL: string | null
export const SETTING_VLAN_SETTING_NAME: string | null
export const SETTING_VPN_DATA: string | null
export const SETTING_VPN_PERSISTENT: string | null
export const SETTING_VPN_SECRETS: string | null
export const SETTING_VPN_SERVICE_TYPE: string | null
export const SETTING_VPN_SETTING_NAME: string | null
export const SETTING_VPN_TIMEOUT: string | null
export const SETTING_VPN_USER_NAME: string | null
export const SETTING_VRF_SETTING_NAME: string | null
export const SETTING_VRF_TABLE: string | null
export const SETTING_VXLAN_AGEING: string | null
export const SETTING_VXLAN_DESTINATION_PORT: string | null
export const SETTING_VXLAN_ID: string | null
export const SETTING_VXLAN_L2_MISS: string | null
export const SETTING_VXLAN_L3_MISS: string | null
export const SETTING_VXLAN_LEARNING: string | null
export const SETTING_VXLAN_LIMIT: string | null
export const SETTING_VXLAN_LOCAL: string | null
export const SETTING_VXLAN_PARENT: string | null
export const SETTING_VXLAN_PROXY: string | null
export const SETTING_VXLAN_REMOTE: string | null
export const SETTING_VXLAN_RSC: string | null
export const SETTING_VXLAN_SETTING_NAME: string | null
export const SETTING_VXLAN_SOURCE_PORT_MAX: string | null
export const SETTING_VXLAN_SOURCE_PORT_MIN: string | null
export const SETTING_VXLAN_TOS: string | null
export const SETTING_VXLAN_TTL: string | null
/**
* The mac address of the peer to connect to.
*/
export const SETTING_WIFI_P2P_PEER: string | null
export const SETTING_WIFI_P2P_SETTING_NAME: string | null
export const SETTING_WIFI_P2P_WFD_IES: string | null
export const SETTING_WIFI_P2P_WPS_METHOD: string | null
export const SETTING_WIMAX_MAC_ADDRESS: string | null
export const SETTING_WIMAX_NETWORK_NAME: string | null
export const SETTING_WIMAX_SETTING_NAME: string | null
export const SETTING_WIRED_ACCEPT_ALL_MAC_ADDRESSES: string | null
export const SETTING_WIRED_AUTO_NEGOTIATE: string | null
export const SETTING_WIRED_CLONED_MAC_ADDRESS: string | null
export const SETTING_WIRED_DUPLEX: string | null
export const SETTING_WIRED_GENERATE_MAC_ADDRESS_MASK: string | null
export const SETTING_WIRED_MAC_ADDRESS: string | null
export const SETTING_WIRED_MAC_ADDRESS_BLACKLIST: string | null
export const SETTING_WIRED_MTU: string | null
export const SETTING_WIRED_PORT: string | null
export const SETTING_WIRED_S390_NETTYPE: string | null
export const SETTING_WIRED_S390_OPTIONS: string | null
export const SETTING_WIRED_S390_SUBCHANNELS: string | null
export const SETTING_WIRED_SETTING_NAME: string | null
export const SETTING_WIRED_SPEED: string | null
export const SETTING_WIRED_WAKE_ON_LAN: string | null
export const SETTING_WIRED_WAKE_ON_LAN_PASSWORD: string | null
export const SETTING_WIREGUARD_FWMARK: string | null
export const SETTING_WIREGUARD_IP4_AUTO_DEFAULT_ROUTE: string | null
export const SETTING_WIREGUARD_IP6_AUTO_DEFAULT_ROUTE: string | null
export const SETTING_WIREGUARD_LISTEN_PORT: string | null
export const SETTING_WIREGUARD_MTU: string | null
export const SETTING_WIREGUARD_PEERS: string | null
export const SETTING_WIREGUARD_PEER_ROUTES: string | null
export const SETTING_WIREGUARD_PRIVATE_KEY: string | null
export const SETTING_WIREGUARD_PRIVATE_KEY_FLAGS: string | null
export const SETTING_WIREGUARD_SETTING_NAME: string | null
export const SETTING_WIRELESS_AP_ISOLATION: string | null
export const SETTING_WIRELESS_BAND: string | null
export const SETTING_WIRELESS_BSSID: string | null
export const SETTING_WIRELESS_CHANNEL: string | null
export const SETTING_WIRELESS_CLONED_MAC_ADDRESS: string | null
export const SETTING_WIRELESS_GENERATE_MAC_ADDRESS_MASK: string | null
export const SETTING_WIRELESS_HIDDEN: string | null
export const SETTING_WIRELESS_MAC_ADDRESS: string | null
export const SETTING_WIRELESS_MAC_ADDRESS_BLACKLIST: string | null
export const SETTING_WIRELESS_MAC_ADDRESS_RANDOMIZATION: string | null
export const SETTING_WIRELESS_MODE: string | null
/**
* Indicates Ad-Hoc mode where no access point is expected to be present.
*/
export const SETTING_WIRELESS_MODE_ADHOC: string | null
/**
* Indicates AP/master mode where the wireless device is started as an access
* point/hotspot.
*/
export const SETTING_WIRELESS_MODE_AP: string | null
/**
* Indicates infrastructure mode where an access point is expected to be present
* for this connection.
*/
export const SETTING_WIRELESS_MODE_INFRA: string | null
/**
* Indicates that the connection should create a mesh point.
*/
export const SETTING_WIRELESS_MODE_MESH: string | null
export const SETTING_WIRELESS_MTU: string | null
export const SETTING_WIRELESS_POWERSAVE: string | null
export const SETTING_WIRELESS_RATE: string | null
export const SETTING_WIRELESS_SECURITY_AUTH_ALG: string | null
export const SETTING_WIRELESS_SECURITY_FILS: string | null
export const SETTING_WIRELESS_SECURITY_GROUP: string | null
export const SETTING_WIRELESS_SECURITY_KEY_MGMT: string | null
export const SETTING_WIRELESS_SECURITY_LEAP_PASSWORD: string | null
export const SETTING_WIRELESS_SECURITY_LEAP_PASSWORD_FLAGS: string | null
export const SETTING_WIRELESS_SECURITY_LEAP_USERNAME: string | null
export const SETTING_WIRELESS_SECURITY_PAIRWISE: string | null
export const SETTING_WIRELESS_SECURITY_PMF: string | null
export const SETTING_WIRELESS_SECURITY_PROTO: string | null
export const SETTING_WIRELESS_SECURITY_PSK: string | null
export const SETTING_WIRELESS_SECURITY_PSK_FLAGS: string | null
export const SETTING_WIRELESS_SECURITY_SETTING_NAME: string | null
export const SETTING_WIRELESS_SECURITY_WEP_KEY0: string | null
export const SETTING_WIRELESS_SECURITY_WEP_KEY1: string | null
export const SETTING_WIRELESS_SECURITY_WEP_KEY2: string | null
export const SETTING_WIRELESS_SECURITY_WEP_KEY3: string | null
export const SETTING_WIRELESS_SECURITY_WEP_KEY_FLAGS: string | null
export const SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE: string | null
export const SETTING_WIRELESS_SECURITY_WEP_TX_KEYIDX: string | null
export const SETTING_WIRELESS_SECURITY_WPS_METHOD: string | null
export const SETTING_WIRELESS_SEEN_BSSIDS: string | null
export const SETTING_WIRELESS_SETTING_NAME: string | null
export const SETTING_WIRELESS_SSID: string | null
export const SETTING_WIRELESS_TX_POWER: string | null
export const SETTING_WIRELESS_WAKE_ON_WLAN: string | null
export const SETTING_WPAN_CHANNEL: string | null
export const SETTING_WPAN_CHANNEL_DEFAULT: number
export const SETTING_WPAN_MAC_ADDRESS: string | null
export const SETTING_WPAN_PAGE: string | null
export const SETTING_WPAN_PAGE_DEFAULT: number
export const SETTING_WPAN_PAN_ID: string | null
export const SETTING_WPAN_SETTING_NAME: string | null
export const SETTING_WPAN_SHORT_ADDRESS: string | null
export const SRIOV_VF_ATTRIBUTE_MAC: string | null
export const SRIOV_VF_ATTRIBUTE_MAX_TX_RATE: string | null
export const SRIOV_VF_ATTRIBUTE_MIN_TX_RATE: string | null
export const SRIOV_VF_ATTRIBUTE_SPOOF_CHECK: string | null
export const SRIOV_VF_ATTRIBUTE_TRUST: string | null
export const TEAM_LINK_WATCHER_ARP_PING: string | null
export const TEAM_LINK_WATCHER_ETHTOOL: string | null
export const TEAM_LINK_WATCHER_NSNA_PING: string | null
/**
* The maximum length of hardware addresses handled by NetworkManager itself,
* nm_utils_hwaddr_len(), and nm_utils_hwaddr_aton().
*/
export const UTILS_HWADDR_LEN_MAX: number
export const VLAN_FLAGS_ALL: number
export const VPN_CONNECTION_BANNER: string | null
export const VPN_CONNECTION_VPN_STATE: string | null
export const VPN_DBUS_PLUGIN_INTERFACE: string | null
export const VPN_DBUS_PLUGIN_PATH: string | null
export const VPN_EDITOR_PLUGIN_DESCRIPTION: string | null
export const VPN_EDITOR_PLUGIN_NAME: string | null
export const VPN_EDITOR_PLUGIN_SERVICE: string | null
export const VPN_PLUGIN_CAN_PERSIST: string | null
export const VPN_PLUGIN_CONFIG_BANNER: string | null
export const VPN_PLUGIN_CONFIG_EXT_GATEWAY: string | null
export const VPN_PLUGIN_CONFIG_HAS_IP4: string | null
export const VPN_PLUGIN_CONFIG_HAS_IP6: string | null
export const VPN_PLUGIN_CONFIG_MTU: string | null
export const VPN_PLUGIN_CONFIG_PROXY_PAC: string | null
export const VPN_PLUGIN_CONFIG_TUNDEV: string | null
export const VPN_PLUGIN_INFO_FILENAME: string | null
export const VPN_PLUGIN_INFO_KEYFILE: string | null
export const VPN_PLUGIN_INFO_KF_GROUP_CONNECTION: string | null
export const VPN_PLUGIN_INFO_KF_GROUP_GNOME: string | null
export const VPN_PLUGIN_INFO_KF_GROUP_LIBNM: string | null
export const VPN_PLUGIN_INFO_NAME: string | null
export const VPN_PLUGIN_IP4_CONFIG_ADDRESS: string | null
export const VPN_PLUGIN_IP4_CONFIG_DNS: string | null
export const VPN_PLUGIN_IP4_CONFIG_DOMAIN: string | null
export const VPN_PLUGIN_IP4_CONFIG_DOMAINS: string | null
export const VPN_PLUGIN_IP4_CONFIG_INT_GATEWAY: string | null
export const VPN_PLUGIN_IP4_CONFIG_MSS: string | null
export const VPN_PLUGIN_IP4_CONFIG_NBNS: string | null
export const VPN_PLUGIN_IP4_CONFIG_NEVER_DEFAULT: string | null
export const VPN_PLUGIN_IP4_CONFIG_PREFIX: string | null
export const VPN_PLUGIN_IP4_CONFIG_PRESERVE_ROUTES: string | null
export const VPN_PLUGIN_IP4_CONFIG_PTP: string | null
export const VPN_PLUGIN_IP4_CONFIG_ROUTES: string | null
export const VPN_PLUGIN_IP6_CONFIG_ADDRESS: string | null
export const VPN_PLUGIN_IP6_CONFIG_DNS: string | null
export const VPN_PLUGIN_IP6_CONFIG_DOMAIN: string | null
export const VPN_PLUGIN_IP6_CONFIG_DOMAINS: string | null
export const VPN_PLUGIN_IP6_CONFIG_INT_GATEWAY: string | null
export const VPN_PLUGIN_IP6_CONFIG_MSS: string | null
export const VPN_PLUGIN_IP6_CONFIG_NEVER_DEFAULT: string | null
export const VPN_PLUGIN_IP6_CONFIG_PREFIX: string | null
export const VPN_PLUGIN_IP6_CONFIG_PRESERVE_ROUTES: string | null
export const VPN_PLUGIN_IP6_CONFIG_PTP: string | null
export const VPN_PLUGIN_IP6_CONFIG_ROUTES: string | null
export const VPN_PLUGIN_OLD_DBUS_SERVICE_NAME: string | null
export const VPN_PLUGIN_OLD_STATE: string | null
export const VPN_SERVICE_PLUGIN_DBUS_SERVICE_NAME: string | null
export const VPN_SERVICE_PLUGIN_DBUS_WATCH_PEER: string | null
export const VPN_SERVICE_PLUGIN_STATE: string | null
export const WIFI_P2P_PEER_FLAGS: string | null
export const WIFI_P2P_PEER_HW_ADDRESS: string | null
export const WIFI_P2P_PEER_LAST_SEEN: string | null
export const WIFI_P2P_PEER_MANUFACTURER: string | null
export const WIFI_P2P_PEER_MODEL: string | null
export const WIFI_P2P_PEER_MODEL_NUMBER: string | null
export const WIFI_P2P_PEER_NAME: string | null
export const WIFI_P2P_PEER_SERIAL: string | null
export const WIFI_P2P_PEER_STRENGTH: string | null
export const WIFI_P2P_PEER_WFD_IES: string | null
export const WIMAX_NSP_NAME: string | null
export const WIMAX_NSP_NETWORK_TYPE: string | null
export const WIMAX_NSP_SIGNAL_QUALITY: string | null
export const WIREGUARD_PEER_ATTR_ALLOWED_IPS: string | null
export const WIREGUARD_PEER_ATTR_ENDPOINT: string | null
export const WIREGUARD_PEER_ATTR_PERSISTENT_KEEPALIVE: string | null
export const WIREGUARD_PEER_ATTR_PRESHARED_KEY: string | null
export const WIREGUARD_PEER_ATTR_PRESHARED_KEY_FLAGS: string | null
export const WIREGUARD_PEER_ATTR_PUBLIC_KEY: string | null
export const WIREGUARD_PUBLIC_KEY_LEN: number
export const WIREGUARD_SYMMETRIC_KEY_LEN: number
export function agent_manager_error_quark(): GLib.Quark
/**
* Parses the string representation of the queueing
* discipline to a %NMBridgeVlan instance.
* @param str the string representation of a bridge VLAN
* @returns the %NMBridgeVlan or %NULL
*/
export function bridge_vlan_from_str(str: string | null): BridgeVlan
/**
* Registers an error quark for #NMClient if necessary.
* @returns the error quark used for #NMClient errors.
*/
export function client_error_quark(): GLib.Quark
export function conn_wireguard_import(filename: string | null): Connection
export function connection_error_quark(): GLib.Quark
export function crypto_error_quark(): GLib.Quark
export function device_error_quark(): GLib.Quark
/**
* Checks whether `optname` is a valid option name for a coalesce setting.
* @param optname the option name to check
* @returns %TRUE, if @optname is valid
*/
export function ethtool_optname_is_coalesce(optname: string | null): boolean
/**
* Checks whether `optname` is a valid option name for an offload feature.
* @param optname the option name to check
* @returns %TRUE, if @optname is valid Note that nm_ethtool_optname_is_feature() was first added to the libnm header files in 1.14.0 but forgot to actually add to the library. This happened belatedly in 1.20.0 and the stable versions 1.18.2, 1.16.4 and 1.14.8 (with linker version "libnm_1_14_8").
*/
export function ethtool_optname_is_feature(optname: string | null): boolean
/**
* Checks whether `optname` is a valid option name for a pause setting.
* @param optname the option name to check
* @returns %TRUE, if @optname is valid
*/
export function ethtool_optname_is_pause(optname: string | null): boolean
/**
* Checks whether `optname` is a valid option name for a ring setting.
* @param optname the option name to check
* @returns %TRUE, if @optname is valid
*/
export function ethtool_optname_is_ring(optname: string | null): boolean
/**
* Validates a route attribute, i.e. checks that the attribute is a known one
* and the value is of the correct type and well-formed.
* @param name the attribute name
* @param value the attribute value
* @param family IP address family of the route
* @returns %TRUE if the attribute is valid, %FALSE otherwise
*/
export function ip_route_attribute_validate(name: string | null, value: GLib.Variant, family: number): [ /* returnType */ boolean, /* known */ boolean ]
export function ip_route_get_variant_attribute_spec(): VariantAttributeSpec
export function ip_routing_rule_from_string(str: string | null, to_string_flags: IPRoutingRuleAsStringFlags, extra_args: GLib.HashTable | null): IPRoutingRule
/**
* Tries to create a NMConnection from a keyfile. The resulting keyfile is
* not normalized and might not even verify.
* @param keyfile the keyfile from which to create the connection
* @param base_dir when reading certificates from files with relative name, the relative path is made absolute using `base_dir`. This must be an absolute path.
* @param handler_flags the #NMKeyfileHandlerFlags.
* @param handler read handler
* @returns on success, returns the created connection.
*/
export function keyfile_read(keyfile: GLib.KeyFile, base_dir: string | null, handler_flags: KeyfileHandlerFlags, handler: KeyfileReadHandler | null): Connection
/**
* `connection` should verify as a valid profile according to
* nm_connection_verify(). If it does not verify, the keyfile may
* be incomplete and the parser may not be able to fully recreate
* the original profile.
* @param connection the #NMConnection to persist to keyfile.
* @param handler_flags the #NMKeyfileHandlerFlags.
* @param handler optional handler for events and to override the default behavior.
* @returns a new #GKeyFile or %NULL on error.
*/
export function keyfile_write(connection: Connection, handler_flags: KeyfileHandlerFlags, handler: KeyfileWriteHandler | null): GLib.KeyFile
export function manager_error_quark(): GLib.Quark
/**
* Parses the string representation of the range to create a %NMRange
* instance.
* @param str the string representation of a range
* @returns the %NMRange or %NULL
*/
export function range_from_str(str: string | null): Range
export function secret_agent_error_quark(): GLib.Quark
export function settings_error_quark(): GLib.Quark
/**
* Validates a VF attribute, i.e. checks that the attribute is a known one,
* the value is of the correct type and well-formed.
* @param name the attribute name
* @param value the attribute value
* @returns %TRUE if the attribute is valid, %FALSE otherwise
*/
export function sriov_vf_attribute_validate(name: string | null, value: GLib.Variant): [ /* returnType */ boolean, /* known */ boolean ]
/**
* Given a set of device capabilities, and a desired security type to check
* against, determines whether the combination of device capabilities and
* desired security type are valid for AP/Hotspot connections.
* @param type the security type to check device capabilities against, e.g. #NMU_SEC_STATIC_WEP
* @param wifi_caps bitfield of the capabilities of the specific Wi-Fi device, e.g. #NM_WIFI_DEVICE_CAP_CIPHER_WEP40
* @returns %TRUE if the device capabilities are compatible with the desired @type, %FALSE if they are not.
*/
export function utils_ap_mode_security_valid(type: UtilsSecurityType, wifi_caps: DeviceWifiCapabilities): boolean
export function utils_base64secret_decode(base64_key: string | null, required_key_len: number, out_key: number | null): boolean
/**
* Converts the byte array `src` into a hexadecimal string. If `final_len` is
* greater than -1, the returned string is terminated at that index
* (returned_string[final_len] == '\0'),
* @param src an array of bytes
* @param final_len an index where to cut off the returned string, or -1
* @returns the textual form of @bytes
*/
export function utils_bin2hexstr(src: Uint8Array, final_len: number): string | null
/**
* Convert bonding mode from integer value to descriptive name.
* See https://www.kernel.org/doc/Documentation/networking/bonding.txt for
* available modes.
* @param mode bonding mode as a numeric value
* @returns bonding mode string, or NULL on error
*/
export function utils_bond_mode_int_to_string(mode: number): string | null
/**
* Convert bonding mode from string representation to numeric value.
* See https://www.kernel.org/doc/Documentation/networking/bonding.txt for
* available modes.
* The `mode` string can be either a descriptive name or a number (as string).
* @param mode bonding mode as string
* @returns numeric bond mode, or -1 on error
*/
export function utils_bond_mode_string_to_int(mode: string | null): number
/**
* Determines if a connection of type `virtual_type` can (in the
* general case) work with connections of type `other_type`.
*
* If `virtual_type` is %NM_TYPE_SETTING_VLAN, then this checks if
* `other_type` is a valid type for the parent of a VLAN.
*
* If `virtual_type` is a "master" type (eg, %NM_TYPE_SETTING_BRIDGE),
* then this checks if `other_type` is a valid type for a slave of that
* master.
*
* Note that even if this returns %TRUE it is not guaranteed that
* every connection of type `other_type` is
* compatible with `virtual_type;` it may depend on the exact
* configuration of the two connections, or on the capabilities of an
* underlying device driver.
* @param virtual_type a virtual connection type
* @param other_type a connection type to test against `virtual_type`
* @returns %TRUE or %FALSE
*/
export function utils_check_virtual_device_compatibility(virtual_type: GObject.GType, other_type: GObject.GType): boolean
/**
* This ensures that all NMSetting GTypes are created. For example,
* after this call, g_type_from_name("NMSettingConnection") will work.
*
* This cannot fail and does nothing if the type already exists.
*/
export function utils_ensure_gtypes(): void
/**
* Converts a string to the matching enum value.
*
* If the enum is a %G_TYPE_FLAGS the function returns the logical OR of values
* matching the comma-separated tokens in the string; if an unknown token is found
* the function returns %FALSE and stores a pointer to a newly allocated string
* containing the unrecognized token in `err_token`.
* @param type the %GType of the enum
* @param str the input string
* @returns %TRUE if the conversion was successful, %FALSE otherwise
*/
export function utils_enum_from_str(type: GObject.GType, str: string | null): [ /* returnType */ boolean, /* out_value */ number, /* err_token */ string | null ]
/**
* Returns the list of possible values for a given enum.
* @param type the %GType of the enum
* @param from the first element to be returned
* @param to the last element to be returned
* @returns a NULL-terminated dynamically-allocated array of static strings or %NULL on error
*/
export function utils_enum_get_values(type: GObject.GType, from: number, to: number): string[]
/**
* Converts an enum value to its string representation. If the enum is a
* %G_TYPE_FLAGS the function returns a comma-separated list of matching values.
* If the value has no corresponding string representation, it is converted
* to a number. For enums it is converted to a decimal number, for flags
* to an (unsigned) hex number.
* @param type the %GType of the enum
* @param value the value to be translated
* @returns a newly allocated string or %NULL
*/
export function utils_enum_to_str(type: GObject.GType, value: number): string | null
/**
* This function does a quick printable character conversion of the SSID, simply
* replacing embedded NULLs and non-printable characters with the hexadecimal
* representation of that character. Intended for debugging only, should not
* be used for display of SSIDs.
* @param ssid pointer to a buffer containing the SSID data
* @returns pointer to the escaped SSID, which uses an internal static buffer and will be overwritten by subsequent calls to this function
*/
export function utils_escape_ssid(ssid: Uint8Array): string | null
/**
* Tests if `filename` has a valid extension for an X.509 certificate file
* (".cer", ".crt", ".der", or ".pem"), and contains a certificate in a format
* recognized by NetworkManager.
* @param filename name of the file to test
* @returns %TRUE if the file is a certificate, %FALSE if it is not
*/
export function utils_file_is_certificate(filename: string | null): boolean
/**
* Tests if `filename` is a PKCS#12 file.
* @param filename name of the file to test
* @returns %TRUE if the file is PKCS#12, %FALSE if it is not
*/
export function utils_file_is_pkcs12(filename: string | null): boolean
/**
* Tests if `filename` has a valid extension for an X.509 private key file
* (".der", ".key", ".pem", or ".p12"), and contains a private key in a format
* recognized by NetworkManager.
* @param filename name of the file to test
* @returns %TRUE if the file is a private key, %FALSE if it is not
*/
export function utils_file_is_private_key(filename: string | null): [ /* returnType */ boolean, /* out_encrypted */ boolean ]
/**
* Searches for a `progname` file in a list of search `paths`.
* @param progname the helper program name, like "iptables" Must be a non-empty string, without path separator (/).
* @param try_first a custom path to try first before searching. It is silently ignored if it is empty or not an absolute path.
* @param paths a %NULL terminated list of search paths. Can be empty or %NULL, in which case only `try_first` is checked.
* @param file_test_flags the flags passed to g_file_test() when searching for `progname`. Set it to 0 to skip the g_file_test().
* @param predicate if given, pass the file name to this function for additional checks. This check is performed after the check for `file_test_flags`. You cannot omit both `file_test_flags` and `predicate`.
* @returns the full path to the helper, if found, or %NULL if not found. The returned string is not owned by the caller, but later invocations of the function might overwrite it.
*/
export function utils_file_search_in_paths(progname: string | null, try_first: string | null, paths: string | null, file_test_flags: GLib.FileTest, predicate: UtilsFileSearchInPathsPredicate): string | null
/**
* Format attributes to a string.
* @param attributes a #GHashTable mapping attribute names to #GVariant values
* @param attr_separator the attribute separator character
* @param key_value_separator character separating key and values
* @returns the string representing attributes, or %NULL in case there are no attributes
*/
export function utils_format_variant_attributes(attributes: GLib.HashTable, attr_separator: number, key_value_separator: number): string | null
/**
* Gets current time in milliseconds of CLOCK_BOOTTIME.
* @returns time in milliseconds
*/
export function utils_get_timestamp_msec(): number
/**
* Converts a hexadecimal string `hex` into an array of bytes. The optional
* separator ':' may be used between single or pairs of hexadecimal characters,
* eg "00:11" or "0:1". Any "0x" at the beginning of `hex` is ignored. `hex`
* may not start or end with ':'.
* @param hex a string of hexadecimal characters with optional ':' separators
* @returns the converted bytes, or %NULL on error
*/
export function utils_hexstr2bin(hex: string | null): GLib.Bytes
/**
* Parses `asc` and converts it to binary form in a #GByteArray. See
* nm_utils_hwaddr_aton() if you don't want a #GByteArray.
* @param asc the ASCII representation of a hardware address
* @param length the expected length in bytes of the result
* @returns a new #GByteArray, or %NULL if @asc couldn't be parsed
*/
export function utils_hwaddr_atoba(asc: string | null, length: number): Uint8Array
/**
* Parses `asc` and converts it to binary form in `buffer`.
* Bytes in `asc` can be separated by colons (:), or hyphens (-), but not mixed.
* @param asc the ASCII representation of a hardware address
* @param buffer buffer to store the result into
* @returns @buffer, or %NULL if @asc couldn't be parsed or would be shorter or longer than @length.
*/
export function utils_hwaddr_aton(asc: string | null, buffer: Uint8Array): number
/**
* Parses `asc` to see if it is a valid hardware address of the given
* length, and if so, returns it in canonical form (uppercase, with
* leading 0s as needed, and with colons rather than hyphens).
* @param asc the ASCII representation of a hardware address
* @param length the length of address that `asc` is expected to convert to (or -1 to accept any length up to %NM_UTILS_HWADDR_LEN_MAX)
* @returns the canonicalized address if @asc appears to be a valid hardware address of the indicated length, %NULL if not.
*/
export function utils_hwaddr_canonical(asc: string | null, length: number): string | null
/**
* Returns the length in octets of a hardware address of type `type`.
*
* Before 1.28, it was an error to call this function with any value other than
* ARPHRD_ETHER or ARPHRD_INFINIBAND.
* @param type the type of address; either ARPHRD_ETHER or ARPHRD_INFINIBAND
* @returns the length or zero if the type is unrecognized.
*/
export function utils_hwaddr_len(type: number): number
/**
* Generalized hardware address comparison function. Tests if `hwaddr1` and
* `hwaddr2` "equal" (or more precisely, "equivalent"), with several advantages
* over a simple memcmp():
*
* 1. If `hwaddr1`_len or `hwaddr2`_len is -1, then the corresponding address is
* assumed to be ASCII rather than binary, and will be converted to binary
* before being compared.
*
* 2. If `hwaddr1` or `hwaddr2` is %NULL, it is treated instead as though it was
* a zero-filled buffer `hwaddr1`_len or `hwaddr2`_len bytes long.
*
* 3. If `hwaddr1` and `hwaddr2` are InfiniBand hardware addresses (that is, if
* they are INFINIBAND_ALEN bytes long in binary form)
* then only the last 8 bytes are compared, since those are the only bytes
* that actually identify the hardware. (The other 12 bytes will change
* depending on the configuration of the InfiniBand fabric that the device
* is connected to.)
*
* If a passed-in ASCII hardware address cannot be parsed, or would parse to an
* address larger than %NM_UTILS_HWADDR_LEN_MAX, then it will silently fail to
* match. (This means that externally-provided address strings do not need to be
* sanity-checked before comparing them against known good addresses; they are
* guaranteed to not match if they are invalid.)
* @param hwaddr1 pointer to a binary or ASCII hardware address, or %NULL
* @param hwaddr1_len size of `hwaddr1`, or -1 if `hwaddr1` is ASCII
* @param hwaddr2 pointer to a binary or ASCII hardware address, or %NULL
* @param hwaddr2_len size of `hwaddr2`, or -1 if `hwaddr2` is ASCII
* @returns %TRUE if @hwaddr1 and @hwaddr2 are equivalent, %FALSE if they are different (or either of them is invalid).
*/
export function utils_hwaddr_matches(hwaddr1: any | null, hwaddr1_len: number, hwaddr2: any | null, hwaddr2_len: number): boolean
/**
* Converts `addr` to textual form.
* @param addr a binary hardware address
* @returns the textual form of @addr
*/
export function utils_hwaddr_ntoa(addr: Uint8Array): string | null
/**
* Parses `asc` to see if it is a valid hardware address of the given
* length.
* @param asc the ASCII representation of a hardware address
* @param length the length of address that `asc` is expected to convert to (or -1 to accept any length up to %NM_UTILS_HWADDR_LEN_MAX)
* @returns %TRUE if @asc appears to be a valid hardware address of the indicated length, %FALSE if not.
*/
export function utils_hwaddr_valid(asc: string | null, length: number): boolean
/**
* Validate the network interface name.
* @param name Name of interface
* @returns %TRUE if interface name is valid, otherwise %FALSE is returned. Before 1.20, this function did not accept %NULL as @name argument. If you want to run against older versions of libnm, don't pass %NULL.
*/
export function utils_iface_valid_name(name: string | null): boolean
/**
* Utility function to convert a #GVariant of type 'aau' representing a list of
* NetworkManager IPv4 addresses (which are tuples of address, prefix, and
* gateway) into a #GPtrArray of #NMIPAddress objects. The "gateway" field of
* the first address (if set) will be returned in `out_gateway;` the "gateway" fields
* of the other addresses are ignored.
* @param value a #GVariant of type 'aau'
* @returns a newly allocated #GPtrArray of #NMIPAddress objects
*/
export function utils_ip4_addresses_from_variant(value: GLib.Variant): [ /* returnType */ IPAddress[], /* out_gateway */ string | null ]
/**
* Utility function to convert a #GPtrArray of #NMIPAddress objects representing
* IPv4 addresses into a #GVariant of type 'aau' representing an array of
* NetworkManager IPv4 addresses (which are tuples of address, prefix, and
* gateway). The "gateway" field of the first address will get the value of
* `gateway` (if non-%NULL). In all of the other addresses, that field will be 0.
* @param addresses an array of #NMIPAddress objects
* @param gateway the gateway IP address
* @returns a new floating #GVariant representing @addresses.
*/
export function utils_ip4_addresses_to_variant(addresses: IPAddress[], gateway: string | null): GLib.Variant
/**
* Utility function to convert a #GVariant of type 'au' representing a list of
* IPv4 addresses into an array of IP address strings.
* @param value a #GVariant of type 'au'
* @returns a %NULL-terminated array of IP address strings.
*/
export function utils_ip4_dns_from_variant(value: GLib.Variant): string | null
/**
* Utility function to convert an array of IP address strings int a #GVariant of
* type 'au' representing an array of IPv4 addresses.
* @param dns an array of IP address strings
* @returns a new floating #GVariant representing @dns.
*/
export function utils_ip4_dns_to_variant(dns: string | null): GLib.Variant
/**
* When the Internet was originally set up, various ranges of IP addresses were
* segmented into three network classes: A, B, and C. This function will return
* a prefix that is associated with the IP address specified defining where it
* falls in the predefined classes.
* @param ip an IPv4 address (in network byte order)
* @returns the default class prefix for the given IP
*/
export function utils_ip4_get_default_prefix(ip: number): number
export function utils_ip4_netmask_to_prefix(netmask: number): number
export function utils_ip4_prefix_to_netmask(prefix: number): number
/**
* Utility function to convert a #GVariant of type 'aau' representing an array
* of NetworkManager IPv4 routes (which are tuples of route, prefix, next hop,
* and metric) into a #GPtrArray of #NMIPRoute objects.
* @param value #GVariant of type 'aau'
* @returns a newly allocated #GPtrArray of #NMIPRoute objects
*/
export function utils_ip4_routes_from_variant(value: GLib.Variant): IPRoute[]
/**
* Utility function to convert a #GPtrArray of #NMIPRoute objects representing
* IPv4 routes into a #GVariant of type 'aau' representing an array of
* NetworkManager IPv4 routes (which are tuples of route, prefix, next hop, and
* metric).
* @param routes an array of #NMIP4Route objects
* @returns a new floating #GVariant representing @routes.
*/
export function utils_ip4_routes_to_variant(routes: IPRoute[]): GLib.Variant
/**
* Utility function to convert a #GVariant of type 'a(ayuay)' representing a
* list of NetworkManager IPv6 addresses (which are tuples of address, prefix,
* and gateway) into a #GPtrArray of #NMIPAddress objects. The "gateway" field
* of the first address (if set) will be returned in `out_gateway;` the "gateway"
* fields of the other addresses are ignored.
* @param value a #GVariant of type 'a(ayuay)'
* @returns a newly allocated #GPtrArray of #NMIPAddress objects
*/
export function utils_ip6_addresses_from_variant(value: GLib.Variant): [ /* returnType */ IPAddress[], /* out_gateway */ string | null ]
/**
* Utility function to convert a #GPtrArray of #NMIPAddress objects representing
* IPv6 addresses into a #GVariant of type 'a(ayuay)' representing an array of
* NetworkManager IPv6 addresses (which are tuples of address, prefix, and
* gateway). The "gateway" field of the first address will get the value of
* `gateway` (if non-%NULL). In all of the other addresses, that field will be
* all 0s.
* @param addresses an array of #NMIPAddress objects
* @param gateway the gateway IP address
* @returns a new floating #GVariant representing @addresses.
*/
export function utils_ip6_addresses_to_variant(addresses: IPAddress[], gateway: string | null): GLib.Variant
/**
* Utility function to convert a #GVariant of type 'aay' representing a list of
* IPv6 addresses into an array of IP address strings. Each "ay" entry must be
* a IPv6 address in binary form (16 bytes long). Invalid entries are silently
* ignored.
* @param value a #GVariant of type 'aay'
* @returns a %NULL-terminated array of IP address strings.
*/
export function utils_ip6_dns_from_variant(value: GLib.Variant): string | null
/**
* Utility function to convert an array of IP address strings int a #GVariant of
* type 'aay' representing an array of IPv6 addresses.
*
* If a string cannot be parsed, it will be silently ignored.
* @param dns an array of IP address strings
* @returns a new floating #GVariant representing @dns.
*/
export function utils_ip6_dns_to_variant(dns: string | null): GLib.Variant
/**
* Utility function to convert a #GVariant of type 'a(ayuayu)' representing an
* array of NetworkManager IPv6 routes (which are tuples of route, prefix, next
* hop, and metric) into a #GPtrArray of #NMIPRoute objects.
* @param value #GVariant of type 'a(ayuayu)'
* @returns a newly allocated #GPtrArray of #NMIPRoute objects
*/
export function utils_ip6_routes_from_variant(value: GLib.Variant): IPRoute[]
/**
* Utility function to convert a #GPtrArray of #NMIPRoute objects representing
* IPv6 routes into a #GVariant of type 'a(ayuayu)' representing an array of
* NetworkManager IPv6 routes (which are tuples of route, prefix, next hop, and
* metric).
* @param routes an array of #NMIPRoute objects
* @returns a new floating #GVariant representing @routes.
*/
export function utils_ip6_routes_to_variant(routes: IPRoute[]): GLib.Variant
/**
* Utility function to convert a #GVariant representing a list of new-style
* NetworkManager IPv4 or IPv6 addresses (as described in the documentation for
* nm_utils_ip_addresses_to_variant()) into a #GPtrArray of #NMIPAddress
* objects.
* @param value a #GVariant of type 'aa{sv}'
* @param family an IP address family
* @returns a newly allocated #GPtrArray of #NMIPAddress objects
*/
export function utils_ip_addresses_from_variant(value: GLib.Variant, family: number): IPAddress[]
/**
* Utility function to convert a #GPtrArray of #NMIPAddress objects representing
* IPv4 or IPv6 addresses into a #GVariant of type 'aa{sv}' representing an
* array of new-style NetworkManager IP addresses. All addresses will include
* "address" (an IP address string), and "prefix" (a uint). Some addresses may
* include additional attributes.
* @param addresses an array of #NMIPAddress objects
* @returns a new floating #GVariant representing @addresses.
*/
export function utils_ip_addresses_to_variant(addresses: IPAddress[]): GLib.Variant
/**
* Utility function to convert a #GVariant representing a list of new-style
* NetworkManager IPv4 or IPv6 addresses (which are tuples of destination,
* prefix, next hop, metric, and additional attributes) into a #GPtrArray of
* #NMIPRoute objects.
* @param value a #GVariant of type 'aa{sv}'
* @param family an IP address family
* @returns a newly allocated #GPtrArray of #NMIPRoute objects
*/
export function utils_ip_routes_from_variant(value: GLib.Variant, family: number): IPRoute[]
/**
* Utility function to convert a #GPtrArray of #NMIPRoute objects representing
* IPv4 or IPv6 routes into a #GVariant of type 'aa{sv}' representing an array
* of new-style NetworkManager IP routes (which are tuples of destination,
* prefix, next hop, metric, and additional attributes).
* @param routes an array of #NMIPRoute objects
* @returns a new floating #GVariant representing @routes.
*/
export function utils_ip_routes_to_variant(routes: IPRoute[]): GLib.Variant
/**
* Checks if `ip` contains a valid IP address of the given family.
* @param family AF_INET or AF_INET6, or AF_UNSPEC to accept either
* @param ip an IP address
* @returns %TRUE or %FALSE
*/
export function utils_ipaddr_valid(family: number, ip: string | null): boolean
/**
* Different manufacturers use different mechanisms for not broadcasting the
* AP's SSID. This function attempts to detect blank/empty SSIDs using a
* number of known SSID-cloaking methods.
* @param ssid pointer to a buffer containing the SSID data
* @returns %TRUE if the SSID is "empty", %FALSE if it is not
*/
export function utils_is_empty_ssid(ssid: Uint8Array): boolean
export function utils_is_json_object(str: string | null): boolean
/**
* Checks if `str` is a UUID
* @param str a string that might be a UUID
* @returns %TRUE if @str is a UUID, %FALSE if not In older versions, nm_utils_is_uuid() did not accept %NULL as @str argument. Don't pass %NULL if you run against older versions of libnm.
*/
export function utils_is_uuid(str: string | null): boolean
/**
* Validate the network interface name.
*
* This function is a 1:1 copy of the kernel's interface validation
* function in net/core/dev.c.
* @param name Name of interface
* @returns %TRUE if interface name is valid, otherwise %FALSE is returned. Before 1.20, this function did not accept %NULL as @name argument. If you want to run against older versions of libnm, don't pass %NULL.
*/
export function utils_is_valid_iface_name(name: string | null): boolean
/**
* Parse attributes from a string.
* @param string the input string
* @param attr_separator the attribute separator character
* @param key_value_separator character separating key and values
* @param ignore_unknown whether unknown attributes should be ignored
* @param spec the attribute format specifiers
* @returns a #GHashTable mapping attribute names to #GVariant values. Warning: the variant are still floating references, owned by the hash table. If you take a reference, ensure to sink the one of the hash table first.
*/
export function utils_parse_variant_attributes(string: string | null, attr_separator: number, key_value_separator: number, ignore_unknown: boolean, spec: VariantAttributeSpec): GLib.HashTable
/**
* The only purpose of this function is to give access to g_print()
* or g_printerr() from pygobject. libnm can do debug logging by
* setting LIBNM_CLIENT_DEBUG and uses thereby g_printerr() or
* g_print(). A plain "print()" function in python is not in sync
* with these functions (it implements additional buffering). By
* using nm_utils_print(), the same logging mechanisms can be used.
*
* Also, libnm honors LIBNM_CLIENT_DEBUG_FILE environment. If this
* is set to a filename pattern (accepting "%p" for the process ID),
* then the debug log is written to that file instead. With `output_mode`
* zero, the same location will be written. Since: 1.44.
* @param output_mode if 1 it uses g_print(). If 2, it uses g_printerr(). If 0, it uses the same output as internal libnm debug logging does. That is, depending on LIBNM_CLIENT_DEBUG's "stdout" flag it uses g_print() or g_printerr() and if LIBNM_CLIENT_DEBUG_FILE is set, it writes the output to file instead
* @param msg the message to print. The function does not append a trailing newline.
*/
export function utils_print(output_mode: number, msg: string | null): void
/**
* Earlier versions of the Linux kernel added a NULL byte to the end of the
* SSID to enable easy printing of the SSID on the console or in a terminal,
* but this behavior was problematic (SSIDs are simply byte arrays, not strings)
* and thus was changed. This function compensates for that behavior at the
* cost of some compatibility with odd SSIDs that may legitimately have trailing
* NULLs, even though that is functionally pointless.
* @param ssid1 the first SSID to compare
* @param ssid2 the second SSID to compare
* @param ignore_trailing_null %TRUE to ignore one trailing NULL byte
* @returns %TRUE if the SSIDs are the same, %FALSE if they are not
*/
export function utils_same_ssid(ssid1: Uint8Array, ssid2: Uint8Array, ignore_trailing_null: boolean): boolean
/**
* Given a set of device capabilities, and a desired security type to check
* against, determines whether the combination of device, desired security
* type, and AP capabilities intersect.
*
* NOTE: this function cannot handle checking security for AP/Hotspot mode;
* use nm_utils_ap_mode_security_valid() instead.
* @param type the security type to check AP flags and device capabilities against, e.g. #NMU_SEC_STATIC_WEP
* @param wifi_caps bitfield of the capabilities of the specific Wi-Fi device, e.g. #NM_WIFI_DEVICE_CAP_CIPHER_WEP40
* @param have_ap whether the `ap_flags,` `ap_wpa,` and `ap_rsn` arguments are valid
* @param adhoc whether the capabilities being tested are from an Ad-Hoc AP (IBSS)
* @param ap_flags bitfield of AP capabilities, e.g. #NM_802_11_AP_FLAGS_PRIVACY
* @param ap_wpa bitfield of AP capabilities derived from the AP's WPA beacon, e.g. (#NM_802_11_AP_SEC_PAIR_TKIP | #NM_802_11_AP_SEC_KEY_MGMT_PSK)
* @param ap_rsn bitfield of AP capabilities derived from the AP's RSN/WPA2 beacon, e.g. (#NM_802_11_AP_SEC_PAIR_CCMP | #NM_802_11_AP_SEC_PAIR_TKIP)
* @returns %TRUE if the device capabilities and AP capabilities intersect and are compatible with the desired @type, %FALSE if they are not
*/
export function utils_security_valid(type: UtilsSecurityType, wifi_caps: DeviceWifiCapabilities, have_ap: boolean, adhoc: boolean, ap_flags: TODO_80211ApFlags, ap_wpa: TODO_80211ApSecurityFlags, ap_rsn: TODO_80211ApSecurityFlags): boolean
/**
* Converts a string to a SR-IOV virtual function object.
* @param str the input string
* @returns the virtual function object
*/
export function utils_sriov_vf_from_str(str: string | null): SriovVF
/**
* Converts a SR-IOV virtual function object to its string representation.
* @param vf the %NMSriovVF
* @param omit_index if %TRUE, the VF index will be omitted from output string
* @returns a newly allocated string or %NULL on error
*/
export function utils_sriov_vf_to_str(vf: SriovVF, omit_index: boolean): string | null
/**
* Wi-Fi SSIDs are byte arrays, they are _not_ strings. Thus, an SSID may
* contain embedded NULLs and other unprintable characters. Often it is
* useful to print the SSID out for debugging purposes, but that should be the
* _only_ use of this function. Do not use this function for any persistent
* storage of the SSID, since the printable SSID returned from this function
* cannot be converted back into the real SSID of the access point.
*
* This function does almost everything humanly possible to convert the input
* into a printable UTF-8 string, using roughly the following procedure:
*
* 1) if the input data is already UTF-8 safe, no conversion is performed
* 2) attempts to get the current system language from the LANG environment
* variable, and depending on the language, uses a table of alternative
* encodings to try. For example, if LANG=hu_HU, the table may first try
* the ISO-8859-2 encoding, and if that fails, try the Windows-1250 encoding.
* If all fallback encodings fail, replaces non-UTF-8 characters with '?'.
* 3) If the system language was unable to be determined, falls back to the
* ISO-8859-1 encoding, then to the Windows-1251 encoding.
* 4) If step 3 fails, replaces non-UTF-8 characters with '?'.
*
* Again, this function should be used for debugging and display purposes
* _only_.
* @param ssid pointer to a buffer containing the SSID data
* @returns an allocated string containing a UTF-8 representation of the SSID, which must be freed by the caller using g_free(). Returns %NULL on errors.
*/
export function utils_ssid_to_utf8(ssid: Uint8Array): string | null
/**
* Parses the tc style string action representation of the queueing
* discipline to a %NMTCAction instance. Supports a subset of the tc language.
* @param str the string representation of a action
* @returns the %NMTCAction or %NULL
*/
export function utils_tc_action_from_str(str: string | null): TCAction
/**
* Turns the %NMTCAction into a tc style string representation of the queueing
* discipline.
* @param action the %NMTCAction
* @returns formatted string or %NULL
*/
export function utils_tc_action_to_str(action: TCAction): string | null
/**
* Parses the tc style string qdisc representation of the queueing
* discipline to a %NMTCQdisc instance. Supports a subset of the tc language.
* @param str the string representation of a qdisc
* @returns the %NMTCQdisc or %NULL
*/
export function utils_tc_qdisc_from_str(str: string | null): TCQdisc
/**
* Turns the %NMTCQdisc into a tc style string representation of the queueing
* discipline.
* @param qdisc the %NMTCQdisc
* @returns formatted string or %NULL
*/
export function utils_tc_qdisc_to_str(qdisc: TCQdisc): string | null
/**
* Parses the tc style string tfilter representation of the queueing
* discipline to a %NMTCTfilter instance. Supports a subset of the tc language.
* @param str the string representation of a tfilter
* @returns the %NMTCTfilter or %NULL
*/
export function utils_tc_tfilter_from_str(str: string | null): TCTfilter
/**
* Turns the %NMTCTfilter into a tc style string representation of the queueing
* discipline.
* @param tfilter the %NMTCTfilter
* @returns formatted string or %NULL
*/
export function utils_tc_tfilter_to_str(tfilter: TCTfilter): string | null
export function utils_uuid_generate(): string | null
export function utils_version(): number
/**
* Checks if `key` is a valid WEP key
* @param key a string that might be a WEP key
* @param wep_type the #NMWepKeyType type of the WEP key
* @returns %TRUE if @key is a WEP key, %FALSE if not
*/
export function utils_wep_key_valid(key: string | null, wep_type: WepKeyType): boolean
/**
* Utility function to return 2.4 GHz Wi-Fi frequencies (802.11bg band).
* @returns zero-terminated array of frequencies numbers (in MHz)
*/
export function utils_wifi_2ghz_freqs(): number
/**
* Utility function to return 5 GHz Wi-Fi frequencies (802.11a band).
* @returns zero-terminated array of frequencies numbers (in MHz)
*/
export function utils_wifi_5ghz_freqs(): number
/**
* Utility function to translate a Wi-Fi channel to its corresponding frequency.
* @param channel channel
* @param band frequency band for wireless ("a" or "bg")
* @returns the frequency represented by the channel of the band, or -1 when the freq is invalid, or 0 when the band is invalid
*/
export function utils_wifi_channel_to_freq(channel: number, band: string | null): number
/**
* Utility function to find out next/previous Wi-Fi channel for a channel.
* @param channel current channel
* @param direction whether going downward (0 or less) or upward (1 or more)
* @param band frequency band for wireless ("a" or "bg")
* @returns the next channel in the specified direction or 0
*/
export function utils_wifi_find_next_channel(channel: number, direction: number, band: string | null): number
/**
* Utility function to translate a Wi-Fi frequency to its corresponding channel.
* @param freq frequency
* @returns the channel represented by the frequency or 0
*/
export function utils_wifi_freq_to_channel(freq: number): number
/**
* Utility function to verify Wi-Fi channel validity.
* @param channel channel
* @param band frequency band for wireless ("a" or "bg")
* @returns %TRUE or %FALSE
*/
export function utils_wifi_is_channel_valid(channel: number, band: string | null): boolean
/**
* Converts `strength` into a 4-character-wide graphical representation of
* strength suitable for printing to stdout.
*
* Previous versions used to take a guess at the terminal type and possibly
* return a wide UTF-8 encoded string. Now it always returns a 7-bit
* clean strings of one to 0 to 4 asterisks. Users that actually need
* the functionality are encouraged to make their implementations instead.
* @param strength the access point strength, from 0 to 100
* @returns the graphical representation of the access point strength
*/
export function utils_wifi_strength_bars(strength: number): string | null
/**
* Checks if `psk` is a valid WPA PSK
* @param psk a string that might be a WPA PSK
* @returns %TRUE if @psk is a WPA PSK, %FALSE if not
*/
export function utils_wpa_psk_valid(psk: string | null): boolean
/**
* Load the shared library `plugin_name` and create a new
* #NMVpnEditorPlugin instance via the #NMVpnEditorPluginFactory
* function.
*
* This is similar to nm_vpn_editor_plugin_load_from_file(), but
* it does no validation of the plugin name, instead passes it directly
* to dlopen(). If you have the full path to a plugin file,
* nm_vpn_editor_plugin_load_from_file() is preferred.
* @param plugin_name The name of the shared library to load. This path will be directly passed to dlopen() without further checks.
* @param check_service if not-null, check that the loaded plugin advertises the given service.
* @returns a new plugin instance or %NULL on error.
*/
export function vpn_editor_plugin_load(plugin_name: string | null, check_service: string | null): VpnEditorPlugin
/**
* Load the shared library `plugin_name` and create a new
* #NMVpnEditorPlugin instance via the #NMVpnEditorPluginFactory
* function.
*
* If `plugin_name` is not an absolute path name, it assumes the file
* is in the plugin directory of NetworkManager. In any case, the call
* will do certain checks on the file before passing it to dlopen.
* A consequence for that is, that you cannot omit the ".so" suffix
* as you could for nm_vpn_editor_plugin_load().
* @param plugin_name The path or name of the shared library to load. The path must either be an absolute filename to an existing file. Alternatively, it can be the name (without path) of a library in the plugin directory of NetworkManager.
* @param check_service if not-null, check that the loaded plugin advertises the given service.
* @param check_owner if non-negative, check whether the file is owned by UID `check_owner` or by root. In this case also check that the file is not writable by anybody else.
* @param check_file optional callback to validate the file prior to loading the shared library.
* @returns a new plugin instance or %NULL on error.
*/
export function vpn_editor_plugin_load_from_file(plugin_name: string | null, check_service: string | null, check_owner: number, check_file: UtilsCheckFilePredicate): VpnEditorPlugin
export function vpn_plugin_error_quark(): GLib.Quark
/**
* Hook to nm_keyfile_read().
*
* The callee may abort the reading by setting an error via nm_keyfile_handler_data_fail_with_error().
* @callback
* @param keyfile the #GKeyFile that is currently read
* @param connection the #NMConnection that is being constructed.
* @param handler_type the %NMKeyfileHandlerType that indicates which type the request is.
* @param handler_data the #NMKeyfileHandlerData. What you can do with it depends on the `handler_type`.
* @returns the callee should return TRUE, if the event was handled and/or recognized. Otherwise, a default action will be performed that depends on the @type. For %NM_KEYFILE_HANDLER_TYPE_WARN type, the default action is doing nothing.
*/
export interface KeyfileReadHandler {
(keyfile: GLib.KeyFile, connection: Connection, handler_type: KeyfileHandlerType, handler_data: KeyfileHandlerData): boolean
}
/**
* This is a hook to tweak the serialization.
*
* Handler for certain properties or events that are not entirely contained
* within the keyfile or that might be serialized differently. The `type` and
* `handler_data` arguments tell which kind of argument we have at hand.
*
* Currently only the type %NM_KEYFILE_HANDLER_TYPE_WRITE_CERT is supported.
*
* The callee may call nm_keyfile_handler_data_fail_with_error() to abort
* the writing with error.
* @callback
* @param connection the #NMConnection that is currently written.
* @param keyfile the #GKeyFile that is currently constructed.
* @param handler_type the %NMKeyfileHandlerType that indicates which type the request is.
* @param handler_data the #NMKeyfileHandlerData. What you can do with it depends on the `handler_type`.
* @returns the callee should return %TRUE if the event was handled. If the event was unhandled, a default action will be performed that depends on the @handler_type.
*/
export interface KeyfileWriteHandler {
(connection: Connection, keyfile: GLib.KeyFile, handler_type: KeyfileHandlerType, handler_data: KeyfileHandlerData): boolean
}
/**
* Called as a result of a request by NM to delete secrets. When the
* #NMSecretAgentOld subclass has finished deleting the secrets, this function
* should be called.
* @callback
* @param agent the secret agent object
* @param connection the connection for which secrets were to be deleted, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback has returned
* @param error if the deleting secrets failed, give a descriptive error here
*/
export interface SecretAgentOldDeleteSecretsFunc {
(agent: SecretAgentOld, connection: Connection, error: GLib.Error): void
}
/**
* Called as a result of a request by NM to retrieve secrets. When the
* #NMSecretAgentOld subclass has finished retrieving secrets and is ready to
* return them, or to return an error, this function should be called with
* those secrets or the error.
*
* To easily create the dictionary to return the Wi-Fi PSK, you could do
* something like this:
*
* Creating a secrets dictionary
*
* NMConnection *secrets;
* NMSettingWirelessSecurity *s_wsec;
* GVariant *secrets_dict;
*
* secrets = nm_simple_connection_new ();
* s_wsec = (NMSettingWirelessSecurity *) nm_setting_wireless_security_new ();
* g_object_set (G_OBJECT (s_wsec),
* NM_SETTING_WIRELESS_SECURITY_PSK, "my really cool PSK",
* NULL);
* nm_connection_add_setting (secrets, NM_SETTING (s_wsec));
* secrets_dict = nm_connection_to_dbus (secrets, NM_CONNECTION_SERIALIZE_ALL);
*
* (call the NMSecretAgentOldGetSecretsFunc with secrets_dict)
*
* g_object_unref (secrets);
* g_variant_unref (secrets_dict);
*
*
* @callback
* @param agent the secret agent object
* @param connection the connection for which secrets were requested, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback has returned
* @param secrets the #GVariant of type %NM_VARIANT_TYPE_CONNECTION containing the requested secrets (as created by nm_connection_to_dbus() for example). Each key in `secrets` should be the name of a #NMSetting object (like "802-11-wireless-security") and each value should be an %NM_VARIANT_TYPE_SETTING variant. The sub-dicts map string:value, where the string is the setting property name (like "psk") and the value is the secret
* @param error if the secrets request failed, give a descriptive error here
*/
export interface SecretAgentOldGetSecretsFunc {
(agent: SecretAgentOld, connection: Connection, secrets: GLib.Variant, error: GLib.Error): void
}
/**
* Called as a result of a request by NM to save secrets. When the
* #NMSecretAgentOld subclass has finished saving the secrets, this function
* should be called.
* @callback
* @param agent the secret agent object
* @param connection the connection for which secrets were to be saved, note that this object will be unrefed after the callback has returned, use g_object_ref()/g_object_unref() if you want to use this object after the callback has returned
* @param error if the saving secrets failed, give a descriptive error here
*/
export interface SecretAgentOldSaveSecretsFunc {
(agent: SecretAgentOld, connection: Connection, error: GLib.Error): void
}
export interface SettingClearSecretsWithFlagsFn {
(setting: Setting, secret: string | null, flags: SettingSecretFlags): boolean
}
export interface SettingValueIterFn {
(setting: Setting, key: string | null, value: any, flags: GObject.ParamFlags): void
}
export interface UtilsCheckFilePredicate {
(filename: string | null, stat: any | null): boolean
}
export interface UtilsFileSearchInPathsPredicate {
(filename: string | null): boolean
}
/**
* This function takes a string argument and returns either %TRUE or %FALSE.
* It is a general purpose predicate, for example used by nm_setting_option_clear_by_name().
* @callback
* @param str the name to check.
* @returns %TRUE if the predicate function matches.
*/
export interface UtilsPredicateStr {
(str: string | null): boolean
}
export interface VpnIterFunc {
(key: string | null, value: string | null): void
}
export interface _ConnectionForEachSecretFunc {
(flags: SettingSecretFlags): boolean
}
export module Connection {
// Signal callback interfaces
/**
* Signal callback interface for `changed`
*/
export interface ChangedSignalCallback {
($obj: Connection): void
}
/**
* Signal callback interface for `secrets-cleared`
*/
export interface SecretsClearedSignalCallback {
($obj: Connection): void
}
/**
* Signal callback interface for `secrets-updated`
*/
export interface SecretsUpdatedSignalCallback {
($obj: Connection, setting_name: string | null): void
}
// Constructor properties interface
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
}
}
export interface Connection {
// Owm methods of NM-1.0.NM.Connection
/**
* Adds a #NMSetting to the connection, replacing any previous #NMSetting of the
* same name which has previously been added to the #NMConnection. The
* connection takes ownership of the #NMSetting object and does not increase
* the setting object's reference count.
* @param setting the #NMSetting to add to the connection object
*/
add_setting(setting: Setting): void
/**
* Clears and frees any secrets that may be stored in the connection, to avoid
* keeping secret data in memory when not needed.
*/
clear_secrets(): void
/**
* Clears and frees secrets determined by `func`.
* @param func function to be called to determine whether a specific secret should be cleared or not. If %NULL, all secrets are cleared.
*/
clear_secrets_with_flags(func: SettingClearSecretsWithFlagsFn | null): void
/**
* Deletes all of `connection'`s settings.
*/
clear_settings(): void
/**
* Compares two #NMConnection objects for similarity, with comparison behavior
* modified by a set of flags. See nm_setting_compare() for a description of
* each flag's behavior.
* @param b a second #NMConnection to compare with the first
* @param flags compare flags, e.g. %NM_SETTING_COMPARE_FLAG_EXACT
* @returns %TRUE if the comparison succeeds, %FALSE if it does not
*/
compare(b: Connection, flags: SettingCompareFlags): boolean
/**
* Compares two #NMConnection objects for similarity, with comparison behavior
* modified by a set of flags. See nm_setting_compare() for a description of
* each flag's behavior. If the connections differ, settings and keys within
* each setting that differ are added to the returned `out_settings` hash table.
* No values are returned, only key names.
* @param b a second #NMConnection to compare with the first
* @param flags compare flags, e.g. %NM_SETTING_COMPARE_FLAG_EXACT
* @param out_settings if the connections differ, on return a hash table mapping setting names to second-level GHashTable (utf8 to guint32), which contains the key names that differ mapped to one or more of %NMSettingDiffResult as a bitfield
* @returns %TRUE if the connections contain the same values, %FALSE if they do not
*/
diff(b: Connection, flags: SettingCompareFlags, out_settings: GLib.HashTable): boolean
/**
* Print the connection (including secrets!) to stdout. For debugging
* purposes ONLY, should NOT be used for serialization of the setting,
* or machine-parsed in any way. The output format is not guaranteed to
* be stable and may change at any time.
*/
dump(): void
/**
* Iterates over the properties of each #NMSetting object in the #NMConnection,
* calling the supplied user function for each property.
* @param func user-supplied function called for each setting's property
*/
for_each_setting_value(func: SettingValueIterFn): void
/**
* A shortcut to return the type from the connection's #NMSettingConnection.
* @returns the type from the connection's 'connection' setting
*/
get_connection_type(): string | null
/**
* A shortcut to return the ID from the connection's #NMSettingConnection.
* @returns the ID from the connection's 'connection' setting
*/
get_id(): string | null
/**
* Returns the interface name as stored in NMSettingConnection:interface_name.
* If the connection contains no NMSettingConnection, it will return %NULL.
*
* For hardware devices and software devices created outside of NetworkManager,
* this name is used to match the device. for software devices created by
* NetworkManager, this is the name of the created interface.
* @returns Name of the kernel interface or %NULL
*/
get_interface_name(): string | null
/**
* Returns the connection's D-Bus path.
* @returns the D-Bus path of the connection, previously set by a call to nm_connection_set_path().
*/
get_path(): string | null
/**
* Gets the #NMSetting with the given #GType, if one has been previously added
* to the #NMConnection.
* @param setting_type the #GType of the setting object to return
* @returns the #NMSetting, or %NULL if no setting of that type was previously added to the #NMConnection
*/
get_setting(setting_type: GObject.GType): Setting
/**
* A shortcut to return any #NMSetting8021x the connection might contain.
* @returns an #NMSetting8021x if the connection contains one, otherwise %NULL
*/
get_setting_802_1x(): Setting8021x
/**
* A shortcut to return any #NMSettingAdsl the connection might contain.
* @returns an #NMSettingAdsl if the connection contains one, otherwise %NULL
*/
get_setting_adsl(): SettingAdsl
/**
* A shortcut to return any #NMSettingBluetooth the connection might contain.
* @returns an #NMSettingBluetooth if the connection contains one, otherwise %NULL
*/
get_setting_bluetooth(): SettingBluetooth
/**
* A shortcut to return any #NMSettingBond the connection might contain.
* @returns an #NMSettingBond if the connection contains one, otherwise %NULL
*/
get_setting_bond(): SettingBond
/**
* A shortcut to return any #NMSettingBridge the connection might contain.
* @returns an #NMSettingBridge if the connection contains one, otherwise %NULL
*/
get_setting_bridge(): SettingBridge
/**
* A shortcut to return any #NMSettingBridgePort the connection might contain.
* @returns an #NMSettingBridgePort if the connection contains one, otherwise %NULL
*/
get_setting_bridge_port(): SettingBridgePort
/**
* Gets the #NMSetting with the given name, if one has been previously added
* the #NMConnection.
* @param name a setting name
* @returns the #NMSetting, or %NULL if no setting with that name was previously added to the #NMConnection
*/
get_setting_by_name(name: string | null): Setting
/**
* A shortcut to return any #NMSettingCdma the connection might contain.
* @returns an #NMSettingCdma if the connection contains one, otherwise %NULL
*/
get_setting_cdma(): SettingCdma
/**
* A shortcut to return any #NMSettingConnection the connection might contain.
* @returns an #NMSettingConnection if the connection contains one, otherwise %NULL
*/
get_setting_connection(): SettingConnection
/**
* A shortcut to return any #NMSettingDcb the connection might contain.
* @returns an #NMSettingDcb if the connection contains one, otherwise NULL
*/
get_setting_dcb(): SettingDcb
/**
* A shortcut to return any #NMSettingDummy the connection might contain.
* @returns an #NMSettingDummy if the connection contains one, otherwise %NULL
*/
get_setting_dummy(): SettingDummy
/**
* A shortcut to return any #NMSettingGeneric the connection might contain.
* @returns an #NMSettingGeneric if the connection contains one, otherwise NULL
*/
get_setting_generic(): SettingGeneric
/**
* A shortcut to return any #NMSettingGsm the connection might contain.
* @returns an #NMSettingGsm if the connection contains one, otherwise %NULL
*/
get_setting_gsm(): SettingGsm
/**
* A shortcut to return any #NMSettingInfiniband the connection might contain.
* @returns an #NMSettingInfiniband if the connection contains one, otherwise %NULL
*/
get_setting_infiniband(): SettingInfiniband
/**
* A shortcut to return any #NMSettingIP4Config the connection might contain.
*
* Note that it returns the value as type #NMSettingIPConfig, since the vast
* majority of IPv4-setting-related methods are on that type, not
* #NMSettingIP4Config.
* @returns an #NMSettingIP4Config if the connection contains one, otherwise %NULL
*/
get_setting_ip4_config(): SettingIP4Config
/**
* A shortcut to return any #NMSettingIP6Config the connection might contain.
*
* Note that it returns the value as type #NMSettingIPConfig, since the vast
* majority of IPv6-setting-related methods are on that type, not
* #NMSettingIP6Config.
* @returns an #NMSettingIP6Config if the connection contains one, otherwise %NULL
*/
get_setting_ip6_config(): SettingIP6Config
/**
* A shortcut to return any #NMSettingIPTunnel the connection might contain.
* @returns an #NMSettingIPTunnel if the connection contains one, otherwise %NULL
*/
get_setting_ip_tunnel(): SettingIPTunnel
/**
* A shortcut to return any #NMSettingMacsec the connection might contain.
* @returns an #NMSettingMacsec if the connection contains one, otherwise %NULL
*/
get_setting_macsec(): SettingMacsec
/**
* A shortcut to return any #NMSettingMacvlan the connection might contain.
* @returns an #NMSettingMacvlan if the connection contains one, otherwise %NULL
*/
get_setting_macvlan(): SettingMacvlan
/**
* A shortcut to return any #NMSettingOlpcMesh the connection might contain.
* @returns an #NMSettingOlpcMesh if the connection contains one, otherwise %NULL
*/
get_setting_olpc_mesh(): SettingOlpcMesh
/**
* A shortcut to return any #NMSettingOvsBridge the connection might contain.
* @returns an #NMSettingOvsBridge if the connection contains one, otherwise %NULL
*/
get_setting_ovs_bridge(): SettingOvsBridge
/**
* A shortcut to return any #NMSettingOvsInterface the connection might contain.
* @returns an #NMSettingOvsInterface if the connection contains one, otherwise %NULL
*/
get_setting_ovs_interface(): SettingOvsInterface
/**
* A shortcut to return any #NMSettingOvsPatch the connection might contain.
* @returns an #NMSettingOvsPatch if the connection contains one, otherwise %NULL
*/
get_setting_ovs_patch(): SettingOvsPatch
/**
* A shortcut to return any #NMSettingOvsPort the connection might contain.
* @returns an #NMSettingOvsPort if the connection contains one, otherwise %NULL
*/
get_setting_ovs_port(): SettingOvsPort
/**
* A shortcut to return any #NMSettingPpp the connection might contain.
* @returns an #NMSettingPpp if the connection contains one, otherwise %NULL
*/
get_setting_ppp(): SettingPpp
/**
* A shortcut to return any #NMSettingPppoe the connection might contain.
* @returns an #NMSettingPppoe if the connection contains one, otherwise %NULL
*/
get_setting_pppoe(): SettingPppoe
/**
* A shortcut to return any #NMSettingProxy the connection might contain.
* @returns an #NMSettingProxy if the connection contains one, otherwise %NULL
*/
get_setting_proxy(): SettingProxy
/**
* A shortcut to return any #NMSettingSerial the connection might contain.
* @returns an #NMSettingSerial if the connection contains one, otherwise %NULL
*/
get_setting_serial(): SettingSerial
/**
* A shortcut to return any #NMSettingTCConfig the connection might contain.
* @returns an #NMSettingTCConfig if the connection contains one, otherwise %NULL
*/
get_setting_tc_config(): SettingTCConfig
/**
* A shortcut to return any #NMSettingTeam the connection might contain.
* @returns an #NMSettingTeam if the connection contains one, otherwise %NULL
*/
get_setting_team(): SettingTeam
/**
* A shortcut to return any #NMSettingTeamPort the connection might contain.
* @returns an #NMSettingTeamPort if the connection contains one, otherwise %NULL
*/
get_setting_team_port(): SettingTeamPort
/**
* A shortcut to return any #NMSettingTun the connection might contain.
* @returns an #NMSettingTun if the connection contains one, otherwise %NULL
*/
get_setting_tun(): SettingTun
/**
* A shortcut to return any #NMSettingVlan the connection might contain.
* @returns an #NMSettingVlan if the connection contains one, otherwise %NULL
*/
get_setting_vlan(): SettingVlan
/**
* A shortcut to return any #NMSettingVpn the connection might contain.
* @returns an #NMSettingVpn if the connection contains one, otherwise %NULL
*/
get_setting_vpn(): SettingVpn
/**
* A shortcut to return any #NMSettingVxlan the connection might contain.
* @returns an #NMSettingVxlan if the connection contains one, otherwise %NULL
*/
get_setting_vxlan(): SettingVxlan
/**
* A shortcut to return any #NMSettingWimax the connection might contain.
* @returns an #NMSettingWimax if the connection contains one, otherwise %NULL
*/
get_setting_wimax(): SettingWimax
/**
* A shortcut to return any #NMSettingWired the connection might contain.
* @returns an #NMSettingWired if the connection contains one, otherwise %NULL
*/
get_setting_wired(): SettingWired
/**
* A shortcut to return any #NMSettingWireless the connection might contain.
* @returns an #NMSettingWireless if the connection contains one, otherwise %NULL
*/
get_setting_wireless(): SettingWireless
/**
* A shortcut to return any #NMSettingWirelessSecurity the connection might contain.
* @returns an #NMSettingWirelessSecurity if the connection contains one, otherwise %NULL
*/
get_setting_wireless_security(): SettingWirelessSecurity
/**
* Retrieves the settings in `connection`.
*
* The returned array is %NULL-terminated.
* @returns a %NULL-terminated array containing every setting of @connection. If the connection has no settings, %NULL is returned.
*/
get_settings(): Setting[]
/**
* A shortcut to return the UUID from the connection's #NMSettingConnection.
* @returns the UUID from the connection's 'connection' setting
*/
get_uuid(): string | null
/**
* Returns the name that nm_device_disambiguate_names() would
* return for the virtual device that would be created for `connection`.
* Eg, "VLAN (eth1.1)".
* @returns the name of @connection's device, or %NULL if @connection is not a virtual connection type
*/
get_virtual_device_description(): string | null
/**
* A convenience function to check if the given `connection` is a particular
* type (ie wired, Wi-Fi, ppp, etc). Checks the #NMSettingConnection:type
* property of the connection and matches that against `type`.
* @param type a setting name to check the connection's type against (like %NM_SETTING_WIRELESS_SETTING_NAME or %NM_SETTING_WIRED_SETTING_NAME)
* @returns %TRUE if the connection is of the given @type, %FALSE if not
*/
is_type(type: string | null): boolean
/**
* Checks if `connection` refers to a virtual device (and thus can potentially be
* activated even if the device it refers to doesn't exist).
* @returns whether @connection refers to a virtual device
*/
is_virtual(): boolean
/**
* Returns the name of the first setting object in the connection which would
* need secrets to make a successful connection. The returned hints are only
* intended as a guide to what secrets may be required, because in some
* circumstances, there is no way to conclusively determine exactly which
* secrets are needed.
* @returns the setting name of the #NMSetting object which has invalid or missing secrets
*/
need_secrets(): [ /* returnType */ string | null, /* hints */ string[] ]
/**
* Does some basic normalization and fixup of well known inconsistencies
* and deprecated fields. If the connection was modified in any way,
* the output parameter `modified` is set %TRUE.
*
* Finally the connection will be verified and %TRUE returns if the connection
* is valid. As this function only performs some specific normalization steps
* it cannot repair all connections. If the connection has errors that
* cannot be normalized, the connection will not be modified.
* @param parameters a #GHashTable with normalization parameters to allow customization of the normalization by providing specific arguments. Unknown arguments will be ignored and the default will be used. The keys must be strings compared with g_str_equal() function. The values are opaque and depend on the parameter name.
* @returns %TRUE if the connection is valid, %FALSE if it is not
*/
normalize(parameters: GLib.HashTable | null): [ /* returnType */ boolean, /* modified */ boolean ]
/**
* Removes the #NMSetting with the given #GType from the #NMConnection. This
* operation dereferences the #NMSetting object.
* @param setting_type the #GType of the setting object to remove
*/
remove_setting(setting_type: GObject.GType): void
/**
* Replaces `connection'`s settings with `new_settings` (which must be
* syntactically valid, and describe a known type of connection, but does not
* need to result in a connection that passes nm_connection_verify()).
* @param new_settings a #GVariant of type %NM_VARIANT_TYPE_CONNECTION, with the new settings
* @returns %TRUE if connection was updated, %FALSE if @new_settings could not be deserialized (in which case @connection will be unchanged).
*/
replace_settings(new_settings: GLib.Variant): boolean
/**
* Deep-copies the settings of `new_connection` and replaces the settings of `connection`
* with the copied settings.
* @param new_connection a #NMConnection to replace the settings of `connection` with
*/
replace_settings_from_connection(new_connection: Connection): void
/**
* Sets the D-Bus path of the connection. This property is not serialized, and
* is only for the reference of the caller. Sets the #NMConnection:path
* property.
* @param path the D-Bus path of the connection as given by the settings service which provides the connection
*/
set_path(path: string | null): void
/**
* Converts the #NMConnection into a #GVariant of type
* %NM_VARIANT_TYPE_CONNECTION describing the connection, suitable for
* marshalling over D-Bus or otherwise serializing.
* @param flags serialization flags, e.g. %NM_CONNECTION_SERIALIZE_ALL
* @returns a new floating #GVariant describing the connection, its settings, and each setting's properties.
*/
to_dbus(flags: ConnectionSerializationFlags): GLib.Variant
/**
* Update the specified setting's secrets, given a dictionary of secrets
* intended for that setting (deserialized from D-Bus for example). Will also
* extract the given setting's secrets hash if given a connection dictionary.
* If `setting_name` is %NULL, expects a fully serialized #NMConnection as
* returned by nm_connection_to_dbus() and will update all secrets from all
* settings contained in `secrets`.
* @param setting_name the setting object name to which the secrets apply
* @param secrets a #GVariant of secrets, of type %NM_VARIANT_TYPE_CONNECTION or %NM_VARIANT_TYPE_SETTING
* @returns %TRUE if the secrets were successfully updated, %FALSE if the update failed (tried to update secrets for a setting that doesn't exist, etc)
*/
update_secrets(setting_name: string | null, secrets: GLib.Variant): boolean
/**
* Validates the connection and all its settings. Each setting's properties
* have allowed values, and some values are dependent on other values. For
* example, if a Wi-Fi connection is security enabled, the #NMSettingWireless
* setting object's 'security' property must contain the setting name of the
* #NMSettingWirelessSecurity object, which must also be present in the
* connection for the connection to be valid. As another example, the
* #NMSettingWired object's 'mac-address' property must be a validly formatted
* MAC address. The returned #GError contains information about which
* setting and which property failed validation, and how it failed validation.
* @returns %TRUE if the connection is valid, %FALSE if it is not
*/
verify(): boolean
/**
* Verifies the secrets in the connection.
* @returns %TRUE if the secrets are valid, %FALSE if they are not
*/
verify_secrets(): boolean
// Own virtual methods of NM-1.0.NM.Connection
vfunc_changed(): void
vfunc_secrets_cleared(): void
vfunc_secrets_updated(setting: string | null): void
// Own signals of NM-1.0.NM.Connection
connect(sigName: "changed", callback: Connection.ChangedSignalCallback): number
connect_after(sigName: "changed", callback: Connection.ChangedSignalCallback): number
emit(sigName: "changed", ...args: any[]): void
connect(sigName: "secrets-cleared", callback: Connection.SecretsClearedSignalCallback): number
connect_after(sigName: "secrets-cleared", callback: Connection.SecretsClearedSignalCallback): number
emit(sigName: "secrets-cleared", ...args: any[]): void
connect(sigName: "secrets-updated", callback: Connection.SecretsUpdatedSignalCallback): number
connect_after(sigName: "secrets-updated", callback: Connection.SecretsUpdatedSignalCallback): number
emit(sigName: "secrets-updated", setting_name: string | null, ...args: any[]): void
// Class property signals of NM-1.0.NM.Connection
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
/**
* NMConnection is the interface implemented by #NMRemoteConnection on the
* client side, and #NMSettingsConnection on the daemon side.
* @interface
*/
export class Connection extends GObject.Object {
// Own properties of NM-1.0.NM.Connection
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.Connection
constructor(config?: Connection.ConstructorProperties)
_init(config?: Connection.ConstructorProperties): void
}
export module VpnEditor {
// Signal callback interfaces
/**
* Signal callback interface for `changed`
*/
export interface ChangedSignalCallback {
($obj: VpnEditor): void
}
// Constructor properties interface
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
}
}
export interface VpnEditor {
// Owm methods of NM-1.0.NM.VpnEditor
get_widget(): GObject.Object
update_connection(connection: Connection): boolean
// Own virtual methods of NM-1.0.NM.VpnEditor
vfunc_changed(): void
vfunc_get_widget(): GObject.Object
vfunc_update_connection(connection: Connection): boolean
// Own signals of NM-1.0.NM.VpnEditor
connect(sigName: "changed", callback: VpnEditor.ChangedSignalCallback): number
connect_after(sigName: "changed", callback: VpnEditor.ChangedSignalCallback): number
emit(sigName: "changed", ...args: any[]): void
// Class property signals of NM-1.0.NM.VpnEditor
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class VpnEditor extends GObject.Object {
// Own properties of NM-1.0.NM.VpnEditor
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.VpnEditor
constructor(config?: VpnEditor.ConstructorProperties)
_init(config?: VpnEditor.ConstructorProperties): void
}
export module VpnEditorPlugin {
// Constructor properties interface
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
}
}
export interface VpnEditorPlugin {
// Own properties of NM-1.0.NM.VpnEditorPlugin
/**
* Longer description of the VPN plugin.
*/
readonly description: string | null
/**
* Short display name of the VPN plugin.
*/
readonly name: string | null
/**
* D-Bus service name of the plugin's VPN service.
*/
readonly service: string | null
// Owm methods of NM-1.0.NM.VpnEditorPlugin
export(path: string | null, connection: Connection): boolean
get_capabilities(): VpnEditorPluginCapability
get_editor(connection: Connection): VpnEditor
get_plugin_info(): VpnPluginInfo
get_suggested_filename(connection: Connection): string | null
/**
* Returns an opaque VT function table for the plugin to extend
* functionality. The actual meaning of NMVpnEditorPluginVT is not
* defined in public API of libnm, instead it must be agreed by
* both the plugin and the caller. See the header-only file
* 'nm-vpn-editor-plugin-call.h' which defines the meaning.
* @param vt_size the size of the buffer. Can be 0 to only query the size of plugin's VT.
* @returns the actual size of the @plugin's virtual function table.
*/
get_vt(vt_size: number): [ /* returnType */ number, /* vt */ VpnEditorPluginVT ]
import(path: string | null): Connection
/**
* Set or clear the plugin-info instance.
* This takes a weak reference on `plugin_info,` to avoid circular
* reference as the plugin-info might also reference the editor-plugin.
* @param plugin_info a #NMVpnPluginInfo instance or %NULL
*/
set_plugin_info(plugin_info: VpnPluginInfo | null): void
// Own virtual methods of NM-1.0.NM.VpnEditorPlugin
vfunc_export_to_file(path: string | null, connection: Connection): boolean
vfunc_get_capabilities(): VpnEditorPluginCapability
vfunc_get_editor(connection: Connection): VpnEditor
vfunc_get_suggested_filename(connection: Connection): string | null
vfunc_get_vt(out_vt_size: number): VpnEditorPluginVT
vfunc_notify_plugin_info_set(plugin_info: VpnPluginInfo): void
// Class property signals of NM-1.0.NM.VpnEditorPlugin
connect(sigName: "notify::description", callback: (($obj: VpnEditorPlugin, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::description", callback: (($obj: VpnEditorPlugin, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::description", ...args: any[]): void
connect(sigName: "notify::name", callback: (($obj: VpnEditorPlugin, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::name", callback: (($obj: VpnEditorPlugin, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::name", ...args: any[]): void
connect(sigName: "notify::service", callback: (($obj: VpnEditorPlugin, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::service", callback: (($obj: VpnEditorPlugin, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::service", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class VpnEditorPlugin extends GObject.Object {
// Own properties of NM-1.0.NM.VpnEditorPlugin
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.VpnEditorPlugin
constructor(config?: VpnEditorPlugin.ConstructorProperties)
_init(config?: VpnEditorPlugin.ConstructorProperties): void
/**
* Load the shared library `plugin_name` and create a new
* #NMVpnEditorPlugin instance via the #NMVpnEditorPluginFactory
* function.
*
* This is similar to nm_vpn_editor_plugin_load_from_file(), but
* it does no validation of the plugin name, instead passes it directly
* to dlopen(). If you have the full path to a plugin file,
* nm_vpn_editor_plugin_load_from_file() is preferred.
* @param plugin_name The name of the shared library to load. This path will be directly passed to dlopen() without further checks.
* @param check_service if not-null, check that the loaded plugin advertises the given service.
* @returns a new plugin instance or %NULL on error.
*/
static load(plugin_name: string | null, check_service: string | null): VpnEditorPlugin
/**
* Load the shared library `plugin_name` and create a new
* #NMVpnEditorPlugin instance via the #NMVpnEditorPluginFactory
* function.
*
* If `plugin_name` is not an absolute path name, it assumes the file
* is in the plugin directory of NetworkManager. In any case, the call
* will do certain checks on the file before passing it to dlopen.
* A consequence for that is, that you cannot omit the ".so" suffix
* as you could for nm_vpn_editor_plugin_load().
* @param plugin_name The path or name of the shared library to load. The path must either be an absolute filename to an existing file. Alternatively, it can be the name (without path) of a library in the plugin directory of NetworkManager.
* @param check_service if not-null, check that the loaded plugin advertises the given service.
* @param check_owner if non-negative, check whether the file is owned by UID `check_owner` or by root. In this case also check that the file is not writable by anybody else.
* @param check_file optional callback to validate the file prior to loading the shared library.
* @returns a new plugin instance or %NULL on error.
*/
static load_from_file(plugin_name: string | null, check_service: string | null, check_owner: number, check_file: UtilsCheckFilePredicate): VpnEditorPlugin
}
export module AccessPoint {
// Constructor properties interface
export interface ConstructorProperties extends Object.ConstructorProperties {
}
}
export interface AccessPoint {
// Own properties of NM-1.0.NM.AccessPoint
/**
* The BSSID of the access point.
*/
readonly bssid: string | null
/**
* The flags of the access point.
*/
readonly flags: TODO_80211ApFlags
/**
* The frequency of the access point.
*/
readonly frequency: number
/**
* Alias for #NMAccessPoint:bssid.
*/
readonly hw_address: string | null
/**
* The timestamp (in CLOCK_BOOTTIME seconds) for the last time the
* access point was found in scan results. A value of -1 means the
* access point has not been found in a scan.
*/
readonly last_seen: number
/**
* The maximum bit rate of the access point in kbit/s.
*/
readonly max_bitrate: number
/**
* The mode of the access point; either "infrastructure" (a central
* coordinator of the wireless network allowing clients to connect) or
* "ad-hoc" (a network with no central controller).
*/
readonly mode: TODO_80211Mode
/**
* The RSN flags of the access point.
*/
readonly rsn_flags: TODO_80211ApSecurityFlags
/**
* The SSID of the access point, or %NULL if it is not known.
*/
readonly ssid: GLib.Bytes
/**
* The current signal strength of the access point.
*/
readonly strength: number
/**
* The WPA flags of the access point.
*/
readonly wpa_flags: TODO_80211ApSecurityFlags
// Owm methods of NM-1.0.NM.AccessPoint
/**
* Validates a given connection against a given Wi-Fi access point to ensure that
* the connection may be activated with that AP. The connection must match the
* `ap'`s SSID, (if given) BSSID, and other attributes like security settings,
* channel, band, etc.
* @param connection an #NMConnection to validate against `ap`
* @returns %TRUE if the connection may be activated with this Wi-Fi AP, %FALSE if it cannot be.
*/
connection_valid(connection: Connection): boolean
/**
* Filters a given array of connections for a given #NMAccessPoint object and
* returns connections which may be activated with the access point. Any
* returned connections will match the `ap'`s SSID and (if given) BSSID and
* other attributes like security settings, channel, etc.
*
* To obtain the list of connections that are compatible with this access point,
* use nm_client_get_connections() and then filter the returned list for a given
* #NMDevice using nm_device_filter_connections() and finally filter that list
* with this function.
* @param connections an array of #NMConnections to filter
* @returns an array of #NMConnections that could be activated with the given @ap. The array should be freed with g_ptr_array_unref() when it is no longer required. WARNING: the transfer annotation for this function may not work correctly with bindings. See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/305. You can filter the list yourself with nm_access_point_connection_valid().
*/
filter_connections(connections: Connection[]): Connection[]
/**
* Gets the Basic Service Set ID (BSSID) of the Wi-Fi access point.
* @returns the BSSID of the access point. This is an internal string and must not be modified or freed.
*/
get_bssid(): string | null
/**
* Gets the flags of the access point.
* @returns the flags
*/
get_flags(): TODO_80211ApFlags
/**
* Gets the frequency of the access point in MHz.
* @returns the frequency in MHz
*/
get_frequency(): number
/**
* Returns the timestamp (in CLOCK_BOOTTIME seconds) for the last time the
* access point was found in scan results. A value of -1 means the access
* point has not been found in a scan.
* @returns the last seen time in seconds
*/
get_last_seen(): number
/**
* Gets the maximum bit rate of the access point in kbit/s.
* @returns the maximum bit rate (kbit/s)
*/
get_max_bitrate(): number
/**
* Gets the mode of the access point.
* @returns the mode
*/
get_mode(): TODO_80211Mode
/**
* Gets the RSN (Robust Secure Network, ie WPA version 2) flags of the access
* point.
* @returns the RSN flags
*/
get_rsn_flags(): TODO_80211ApSecurityFlags
/**
* Gets the SSID of the access point.
* @returns the #GBytes containing the SSID, or %NULL if the SSID is unknown.
*/
get_ssid(): GLib.Bytes
/**
* Gets the current signal strength of the access point as a percentage.
* @returns the signal strength (0 to 100)
*/
get_strength(): number
/**
* Gets the WPA (version 1) flags of the access point.
* @returns the WPA flags
*/
get_wpa_flags(): TODO_80211ApSecurityFlags
// Class property signals of NM-1.0.NM.AccessPoint
connect(sigName: "notify::bssid", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::bssid", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::bssid", ...args: any[]): void
connect(sigName: "notify::flags", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::flags", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::flags", ...args: any[]): void
connect(sigName: "notify::frequency", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::frequency", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::frequency", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::last-seen", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::last-seen", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::last-seen", ...args: any[]): void
connect(sigName: "notify::max-bitrate", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::max-bitrate", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::max-bitrate", ...args: any[]): void
connect(sigName: "notify::mode", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mode", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mode", ...args: any[]): void
connect(sigName: "notify::rsn-flags", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::rsn-flags", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::rsn-flags", ...args: any[]): void
connect(sigName: "notify::ssid", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ssid", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ssid", ...args: any[]): void
connect(sigName: "notify::strength", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::strength", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::strength", ...args: any[]): void
connect(sigName: "notify::wpa-flags", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wpa-flags", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wpa-flags", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: AccessPoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class AccessPoint extends Object {
// Own properties of NM-1.0.NM.AccessPoint
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.AccessPoint
constructor(config?: AccessPoint.ConstructorProperties)
_init(config?: AccessPoint.ConstructorProperties): void
}
export module ActiveConnection {
// Signal callback interfaces
/**
* Signal callback interface for `state-changed`
*/
export interface StateChangedSignalCallback {
($obj: ActiveConnection, state: number, reason: number): void
}
// Constructor properties interface
export interface ConstructorProperties extends Object.ConstructorProperties {
}
}
export interface ActiveConnection {
// Own properties of NM-1.0.NM.ActiveConnection
/**
* The connection that this is an active instance of.
*/
readonly connection: RemoteConnection
/**
* Whether the active connection is the default IPv4 one.
*/
readonly "default": boolean
/**
* Whether the active connection is the default IPv6 one.
*/
readonly default6: boolean
/**
* The devices of the active connection.
*/
readonly devices: Device[]
/**
* The IPv4 #NMDhcpConfig of the connection.
*/
readonly dhcp4_config: DhcpConfig
/**
* The IPv6 #NMDhcpConfig of the connection.
*/
readonly dhcp6_config: DhcpConfig
/**
* The active connection's ID
*/
readonly id: string | null
/**
* The IPv4 #NMIPConfig of the connection.
*/
readonly ip4_config: IPConfig
/**
* The IPv6 #NMIPConfig of the connection.
*/
readonly ip6_config: IPConfig
/**
* The master device if one exists.
*/
readonly master: Device
/**
* The path to the "specific object" of the active connection; see
* nm_active_connection_get_specific_object_path() for more details.
*/
readonly specific_object_path: string | null
/**
* The state of the active connection.
*/
readonly state: ActiveConnectionState
/**
* The state flags of the active connection.
*/
readonly state_flags: number
/**
* The active connection's type
*/
readonly type: string | null
/**
* The active connection's UUID
*/
readonly uuid: string | null
/**
* Whether the active connection is a VPN connection.
*/
readonly vpn: boolean
// Owm methods of NM-1.0.NM.ActiveConnection
/**
* Gets the #NMRemoteConnection associated with `connection`.
* @returns the #NMRemoteConnection which this #NMActiveConnection is an active instance of.
*/
get_connection(): RemoteConnection
/**
* Gets the #NMConnection's type.
* @returns the type of the #NMConnection that backs the #NMActiveConnection. This is the internal string used by the connection, and must not be modified.
*/
get_connection_type(): string | null
/**
* Whether the active connection is the default IPv4 one (that is, is used for
* the default IPv4 route and DNS information).
* @returns %TRUE if the active connection is the default IPv4 connection
*/
get_default(): boolean
/**
* Whether the active connection is the default IPv6 one (that is, is used for
* the default IPv6 route and DNS information).
* @returns %TRUE if the active connection is the default IPv6 connection
*/
get_default6(): boolean
/**
* Gets the #NMDevices used for the active connections.
* @returns the #GPtrArray containing #NMDevices. This is the internal copy used by the connection, and must not be modified.
*/
get_devices(): Device[]
/**
* Gets the current IPv4 #NMDhcpConfig (if any) associated with the
* #NMActiveConnection.
* @returns the IPv4 #NMDhcpConfig, or %NULL if the connection does not use DHCP, or is not in the %NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
*/
get_dhcp4_config(): DhcpConfig
/**
* Gets the current IPv6 #NMDhcpConfig (if any) associated with the
* #NMActiveConnection.
* @returns the IPv6 #NMDhcpConfig, or %NULL if the connection does not use DHCPv6, or is not in the %NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
*/
get_dhcp6_config(): DhcpConfig
/**
* Gets the #NMConnection's ID.
* @returns the ID of the #NMConnection that backs the #NMActiveConnection. This is the internal string used by the connection, and must not be modified.
*/
get_id(): string | null
/**
* Gets the current IPv4 #NMIPConfig associated with the #NMActiveConnection.
* @returns the IPv4 #NMIPConfig, or %NULL if the connection is not in the %NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
*/
get_ip4_config(): IPConfig
/**
* Gets the current IPv6 #NMIPConfig associated with the #NMActiveConnection.
* @returns the IPv6 #NMIPConfig, or %NULL if the connection is not in the %NM_ACTIVE_CONNECTION_STATE_ACTIVATED state.
*/
get_ip6_config(): IPConfig
/**
* Gets the master #NMDevice of the connection.
* @returns the master #NMDevice of the #NMActiveConnection.
*/
get_master(): any | null
/**
* Gets the path of the "specific object" used at activation.
*
* Currently, there is no single method that will allow you to automatically turn
* this into an appropriate #NMObject; you need to know what kind of object it
* is based on other information. (Eg, if `connection` corresponds to a Wi-Fi
* connection, then the specific object will be an #NMAccessPoint, and you can
* resolve it with nm_device_wifi_get_access_point_by_path().)
* @returns the specific object's D-Bus path. This is the internal string used by the connection, and must not be modified.
*/
get_specific_object_path(): string | null
/**
* Gets the active connection's state.
* @returns the state
*/
get_state(): ActiveConnectionState
/**
* Gets the active connection's state flags.
* @returns the state flags
*/
get_state_flags(): ActivationStateFlags
/**
* Gets the reason for active connection's state.
* @returns the reason
*/
get_state_reason(): ActiveConnectionStateReason
/**
* Gets the #NMConnection's UUID.
* @returns the UUID of the #NMConnection that backs the #NMActiveConnection. This is the internal string used by the connection, and must not be modified.
*/
get_uuid(): string | null
/**
* Whether the active connection is a VPN connection.
* @returns %TRUE if the active connection is a VPN connection
*/
get_vpn(): boolean
// Own signals of NM-1.0.NM.ActiveConnection
connect(sigName: "state-changed", callback: ActiveConnection.StateChangedSignalCallback): number
connect_after(sigName: "state-changed", callback: ActiveConnection.StateChangedSignalCallback): number
emit(sigName: "state-changed", state: number, reason: number, ...args: any[]): void
// Class property signals of NM-1.0.NM.ActiveConnection
connect(sigName: "notify::connection", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::connection", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::connection", ...args: any[]): void
connect(sigName: "notify::default", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::default", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::default", ...args: any[]): void
connect(sigName: "notify::default6", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::default6", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::default6", ...args: any[]): void
connect(sigName: "notify::devices", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::devices", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::devices", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::id", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::id", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::id", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::master", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::master", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::master", ...args: any[]): void
connect(sigName: "notify::specific-object-path", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::specific-object-path", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::specific-object-path", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-flags", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-flags", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-flags", ...args: any[]): void
connect(sigName: "notify::type", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::type", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::type", ...args: any[]): void
connect(sigName: "notify::uuid", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::uuid", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::uuid", ...args: any[]): void
connect(sigName: "notify::vpn", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vpn", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vpn", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: ActiveConnection, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class ActiveConnection extends Object {
// Own properties of NM-1.0.NM.ActiveConnection
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.ActiveConnection
constructor(config?: ActiveConnection.ConstructorProperties)
_init(config?: ActiveConnection.ConstructorProperties): void
}
export module Checkpoint {
// Constructor properties interface
export interface ConstructorProperties extends Object.ConstructorProperties {
}
}
export interface Checkpoint {
// Own properties of NM-1.0.NM.Checkpoint
/**
* The timestamp (in CLOCK_BOOTTIME milliseconds) of checkpoint creation.
*/
readonly created: number
/**
* The devices that are part of this checkpoint.
*/
readonly devices: Device[]
/**
* Timeout in seconds for automatic rollback, or zero.
*/
readonly rollback_timeout: number
// Owm methods of NM-1.0.NM.Checkpoint
/**
* Gets the timestamp (in CLOCK_BOOTTIME milliseconds) of checkpoint creation.
*
* Use nm_utils_get_timestamp_msec() to obtain current time value suitable for
* comparing to this value.
* @returns the timestamp of checkpoint creation.
*/
get_created(): number
/**
* The devices that are part of this checkpoint.
* @returns the devices list.
*/
get_devices(): Device[]
/**
* Gets the timeout in seconds for automatic rollback.
* @returns the rollback timeout.
*/
get_rollback_timeout(): number
// Class property signals of NM-1.0.NM.Checkpoint
connect(sigName: "notify::created", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::created", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::created", ...args: any[]): void
connect(sigName: "notify::devices", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::devices", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::devices", ...args: any[]): void
connect(sigName: "notify::rollback-timeout", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::rollback-timeout", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::rollback-timeout", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: Checkpoint, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class Checkpoint extends Object {
// Own properties of NM-1.0.NM.Checkpoint
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.Checkpoint
constructor(config?: Checkpoint.ConstructorProperties)
_init(config?: Checkpoint.ConstructorProperties): void
}
export module Client {
// Signal callback interfaces
/**
* Signal callback interface for `active-connection-added`
*/
export interface ActiveConnectionAddedSignalCallback {
($obj: Client, active_connection: ActiveConnection): void
}
/**
* Signal callback interface for `active-connection-removed`
*/
export interface ActiveConnectionRemovedSignalCallback {
($obj: Client, active_connection: ActiveConnection): void
}
/**
* Signal callback interface for `any-device-added`
*/
export interface AnyDeviceAddedSignalCallback {
($obj: Client, device: Device): void
}
/**
* Signal callback interface for `any-device-removed`
*/
export interface AnyDeviceRemovedSignalCallback {
($obj: Client, device: Device): void
}
/**
* Signal callback interface for `connection-added`
*/
export interface ConnectionAddedSignalCallback {
($obj: Client, connection: RemoteConnection): void
}
/**
* Signal callback interface for `connection-removed`
*/
export interface ConnectionRemovedSignalCallback {
($obj: Client, connection: RemoteConnection): void
}
/**
* Signal callback interface for `device-added`
*/
export interface DeviceAddedSignalCallback {
($obj: Client, device: Device): void
}
/**
* Signal callback interface for `device-removed`
*/
export interface DeviceRemovedSignalCallback {
($obj: Client, device: Device): void
}
/**
* Signal callback interface for `permission-changed`
*/
export interface PermissionChangedSignalCallback {
($obj: Client, permission: number, result: number): void
}
// Constructor properties interface
export interface ConstructorProperties extends Gio.AsyncInitable.ConstructorProperties, Gio.Initable.ConstructorProperties, GObject.Object.ConstructorProperties {
// Own constructor properties of NM-1.0.NM.Client
connectivity_check_enabled?: boolean | null
/**
* The #GDBusConnection to use.
*
* If this is not set during object construction, the D-Bus connection will
* automatically be chosen during async/sync initalization via g_bus_get().
*/
dbus_connection?: Gio.DBusConnection | null
/**
* #NMClientInstanceFlags for the instance. These affect behavior of #NMClient.
* This is a construct property and you may only set most flags only during
* construction.
*
* The flag %NM_CLIENT_INSTANCE_FLAGS_NO_AUTO_FETCH_PERMISSIONS can be toggled any time,
* even after constructing the instance. Note that you may want to watch NMClient:permissions-state
* property to know whether permissions are ready. Note that permissions are only fetched
* when NMClient has a D-Bus name owner.
*
* The flags %NM_CLIENT_INSTANCE_FLAGS_INITIALIZED_GOOD and %NM_CLIENT_INSTANCE_FLAGS_INITIALIZED_BAD
* cannot be set, however they will be returned by the getter after initialization completes.
*/
instance_flags?: number | null
/**
* Whether networking is enabled.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
networking_enabled?: boolean | null
/**
* Whether WiMAX functionality is enabled.
*/
wimax_enabled?: boolean | null
/**
* Whether wireless is enabled.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
wireless_enabled?: boolean | null
/**
* Whether WWAN functionality is enabled.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
wwan_enabled?: boolean | null
}
}
export interface Client extends Gio.AsyncInitable, Gio.Initable {
// Own properties of NM-1.0.NM.Client
/**
* The #NMActiveConnection of the activating connection that is
* likely to become the new #NMClient:primary-connection.
*/
readonly activating_connection: ActiveConnection
/**
* The active connections.
*/
readonly active_connections: ActiveConnection[]
/**
* List of both real devices and device placeholders.
*/
readonly all_devices: Device[]
/**
* If %TRUE, adding and modifying connections is supported.
*/
readonly can_modify: boolean
/**
* The list of capabilities numbers as guint32 or %NULL if
* there are no capabilities. The numeric value correspond
* to %NMCapability enum.
*/
readonly capabilities: number[]
/**
* The list of active checkpoints.
*/
readonly checkpoints: Checkpoint[]
/**
* The list of configured connections that are available to the user. (Note
* that this differs from the underlying D-Bus property, which may also
* contain the object paths of connections that the user does not have
* permission to read the details of.)
*/
readonly connections: RemoteConnection[]
/**
* The network connectivity state.
*/
readonly connectivity: ConnectivityState
readonly connectivity_check_available: boolean
connectivity_check_enabled: boolean
/**
* The used URI for connectivity checking.
*/
readonly connectivity_check_uri: string | null
/**
* The #GDBusConnection to use.
*
* If this is not set during object construction, the D-Bus connection will
* automatically be chosen during async/sync initalization via g_bus_get().
*/
readonly dbus_connection: Gio.DBusConnection
/**
* The name owner of the NetworkManager D-Bus service.
*/
readonly dbus_name_owner: string | null
/**
* List of real network devices. Does not include placeholder devices.
*/
readonly devices: Device[]
/**
* The current DNS configuration, represented as an array
* of #NMDnsEntry objects.
*/
readonly dns_configuration: DnsEntry[]
/**
* The current DNS processing mode.
*/
readonly dns_mode: string | null
/**
* The current resolv.conf management mode.
*/
readonly dns_rc_manager: string | null
/**
* The machine hostname stored in persistent configuration. This can be
* modified by calling nm_client_save_hostname().
*/
readonly hostname: string | null
/**
* #NMClientInstanceFlags for the instance. These affect behavior of #NMClient.
* This is a construct property and you may only set most flags only during
* construction.
*
* The flag %NM_CLIENT_INSTANCE_FLAGS_NO_AUTO_FETCH_PERMISSIONS can be toggled any time,
* even after constructing the instance. Note that you may want to watch NMClient:permissions-state
* property to know whether permissions are ready. Note that permissions are only fetched
* when NMClient has a D-Bus name owner.
*
* The flags %NM_CLIENT_INSTANCE_FLAGS_INITIALIZED_GOOD and %NM_CLIENT_INSTANCE_FLAGS_INITIALIZED_BAD
* cannot be set, however they will be returned by the getter after initialization completes.
*/
instance_flags: number
/**
* Whether the connectivity is metered.
*/
readonly metered: number
/**
* Whether networking is enabled.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
networking_enabled: boolean
/**
* Whether the daemon is running.
*/
readonly nm_running: boolean
/**
* The state of the cached permissions. The value %NM_TERNARY_DEFAULT
* means that no permissions are yet received (or not yet requested).
* %NM_TERNARY_TRUE means that permissions are received, cached and up
* to date. %NM_TERNARY_FALSE means that permissions were received and are
* cached, but in the meantime a "CheckPermissions" signal was received
* that invalidated the cached permissions.
* Note that NMClient will always emit a notify::permissions-state signal
* when a "CheckPermissions" signal got received or after new permissions
* got received (that is regardless whether the value of the permission state
* actually changed). With this you can watch the permissions-state property
* to know whether the permissions are ready. Note that while NMClient has
* no D-Bus name owner, no permissions are fetched (and this property won't
* change).
*/
readonly permissions_state: Ternary
/**
* The #NMActiveConnection of the device with the default route;
* see nm_client_get_primary_connection() for more details.
*/
readonly primary_connection: ActiveConnection
/**
* Flags for radio interfaces. See #NMRadioFlags.
*/
readonly radio_flags: number
/**
* Whether the daemon is still starting up.
*/
readonly startup: boolean
/**
* The current daemon state.
*/
readonly state: State
/**
* The NetworkManager version.
*/
readonly version: string | null
/**
* Expose version info and capabilities of NetworkManager. If non-empty,
* the first element is NM_VERSION, which encodes the version of the
* daemon as "(major << 16 | minor << 8 | micro)". The following elements
* is a bitfields of %NMVersionInfoCapabilities. If a bit is set, then
* the running NetworkManager has the respective capability.
*/
readonly version_info: number[]
/**
* Whether WiMAX functionality is enabled.
*/
wimax_enabled: boolean
/**
* Whether the WiMAX hardware is enabled.
*/
readonly wimax_hardware_enabled: boolean
/**
* Whether wireless is enabled.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
wireless_enabled: boolean
/**
* Whether the wireless hardware is enabled.
*/
readonly wireless_hardware_enabled: boolean
/**
* Whether WWAN functionality is enabled.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
wwan_enabled: boolean
/**
* Whether the WWAN hardware is enabled.
*/
readonly wwan_hardware_enabled: boolean
// Owm methods of NM-1.0.NM.Client
/**
* Asynchronously starts a connection to a particular network using the
* configuration settings from `connection` and the network device `device`.
* Certain connection types also take a "specific object" which is the object
* path of a connection- specific object, like an #NMAccessPoint for Wi-Fi
* connections, or an #NMWimaxNsp for WiMAX connections, to which you wish to
* connect. If the specific object is not given, NetworkManager can, in some
* cases, automatically determine which network to connect to given the settings
* in `connection`.
*
* If `connection` is not given for a device-based activation, NetworkManager
* picks the best available connection for the device and activates it.
*
* Note that the callback is invoked when NetworkManager has started activating
* the new connection, not when it finishes. You can use the returned
* #NMActiveConnection object (in particular, #NMActiveConnection:state) to
* track the activation to its completion.
* @param connection an #NMConnection
* @param device the #NMDevice
* @param specific_object the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of %NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a #NMAccessPoint or #NMWimaxNsp owned by `device,` which you can get using nm_object_get_path(), and which will be used to complete the details of the newly added connection.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the activation has started
*/
activate_connection_async(connection: Connection | null, device: Device | null, specific_object: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of activate_connection_async
/**
* Promisified version of {@link activate_connection_async}
*
* Asynchronously starts a connection to a particular network using the
* configuration settings from `connection` and the network device `device`.
* Certain connection types also take a "specific object" which is the object
* path of a connection- specific object, like an #NMAccessPoint for Wi-Fi
* connections, or an #NMWimaxNsp for WiMAX connections, to which you wish to
* connect. If the specific object is not given, NetworkManager can, in some
* cases, automatically determine which network to connect to given the settings
* in `connection`.
*
* If `connection` is not given for a device-based activation, NetworkManager
* picks the best available connection for the device and activates it.
*
* Note that the callback is invoked when NetworkManager has started activating
* the new connection, not when it finishes. You can use the returned
* #NMActiveConnection object (in particular, #NMActiveConnection:state) to
* track the activation to its completion.
* @param connection an #NMConnection
* @param device the #NMDevice
* @param specific_object the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of %NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a #NMAccessPoint or #NMWimaxNsp owned by `device,` which you can get using nm_object_get_path(), and which will be used to complete the details of the newly added connection.
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: the new #NMActiveConnection on success, %NULL on failure, in which case @error will be set.
*/
activate_connection_async(connection: Connection | null, device: Device | null, specific_object: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_client_activate_connection_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns the new #NMActiveConnection on success, %NULL on failure, in which case @error will be set.
*/
activate_connection_finish(result: Gio.AsyncResult): ActiveConnection
/**
* Adds a new connection using the given details (if any) as a template,
* automatically filling in missing settings with the capabilities of the given
* device and specific object. The new connection is then asynchronously
* activated as with nm_client_activate_connection_async(). Cannot be used for
* VPN connections at this time.
*
* Note that the callback is invoked when NetworkManager has started activating
* the new connection, not when it finishes. You can used the returned
* #NMActiveConnection object (in particular, #NMActiveConnection:state) to
* track the activation to its completion.
*
* This is identical to nm_client_add_and_activate_connection_async() but takes
* a further `options` parameter. Currently, the following options are supported
* by the daemon:
* * "persist": A string describing how the connection should be stored.
* The default is "disk", but it can be modified to "memory" (until
* the daemon quits) or "volatile" (will be deleted on disconnect).
* * "bind-activation": Bind the connection lifetime to something. The default is "none",
* meaning an explicit disconnect is needed. The value "dbus-client"
* means the connection will automatically be deactivated when the calling
* D-Bus client disappears from the system bus.
* @param partial an #NMConnection to add; the connection may be partially filled (or even %NULL) and will be completed by NetworkManager using the given `device` and `specific_object` before being added
* @param device the #NMDevice
* @param specific_object the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of %NULL should be used (i.e., no specific object). For Wi-Fi or WiMAX connections, pass the object path of a #NMAccessPoint or #NMWimaxNsp owned by `device,` which you can get using nm_object_get_path(), and which will be used to complete the details of the newly added connection.
* @param options a #GVariant containing a dictionary with options, or %NULL
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the activation has started
*/
add_and_activate_connection2(partial: Connection | null, device: Device | null, specific_object: string | null, options: GLib.Variant, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Gets the result of a call to nm_client_add_and_activate_connection2().
*
* You can call nm_active_connection_get_connection() on the returned
* #NMActiveConnection to find the path of the created #NMConnection.
* @param result the result passed to the #GAsyncReadyCallback
* @returns the new #NMActiveConnection on success, %NULL on failure, in which case @error will be set.
*/
add_and_activate_connection2_finish(result: Gio.AsyncResult): [ /* returnType */ ActiveConnection, /* out_result */ GLib.Variant ]
/**
* Adds a new connection using the given details (if any) as a template,
* automatically filling in missing settings with the capabilities of the given
* device and specific object. The new connection is then asynchronously
* activated as with nm_client_activate_connection_async(). Cannot be used for
* VPN connections at this time.
*
* Note that the callback is invoked when NetworkManager has started activating
* the new connection, not when it finishes. You can used the returned
* #NMActiveConnection object (in particular, #NMActiveConnection:state) to
* track the activation to its completion.
* @param partial an #NMConnection to add; the connection may be partially filled (or even %NULL) and will be completed by NetworkManager using the given `device` and `specific_object` before being added
* @param device the #NMDevice
* @param specific_object the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of %NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a #NMAccessPoint or #NMWimaxNsp owned by `device,` which you can get using nm_object_get_path(), and which will be used to complete the details of the newly added connection. If the variant is floating, it will be consumed.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the activation has started
*/
add_and_activate_connection_async(partial: Connection | null, device: Device | null, specific_object: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of add_and_activate_connection_async
/**
* Promisified version of {@link add_and_activate_connection_async}
*
* Adds a new connection using the given details (if any) as a template,
* automatically filling in missing settings with the capabilities of the given
* device and specific object. The new connection is then asynchronously
* activated as with nm_client_activate_connection_async(). Cannot be used for
* VPN connections at this time.
*
* Note that the callback is invoked when NetworkManager has started activating
* the new connection, not when it finishes. You can used the returned
* #NMActiveConnection object (in particular, #NMActiveConnection:state) to
* track the activation to its completion.
* @param partial an #NMConnection to add; the connection may be partially filled (or even %NULL) and will be completed by NetworkManager using the given `device` and `specific_object` before being added
* @param device the #NMDevice
* @param specific_object the object path of a connection-type-specific object this activation should use. This parameter is currently ignored for wired and mobile broadband connections, and the value of %NULL should be used (ie, no specific object). For Wi-Fi or WiMAX connections, pass the object path of a #NMAccessPoint or #NMWimaxNsp owned by `device,` which you can get using nm_object_get_path(), and which will be used to complete the details of the newly added connection. If the variant is floating, it will be consumed.
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: the new #NMActiveConnection on success, %NULL on failure, in which case @error will be set.
*/
add_and_activate_connection_async(partial: Connection | null, device: Device | null, specific_object: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_client_add_and_activate_connection_async().
*
* You can call nm_active_connection_get_connection() on the returned
* #NMActiveConnection to find the path of the created #NMConnection.
* @param result the result passed to the #GAsyncReadyCallback
* @returns the new #NMActiveConnection on success, %NULL on failure, in which case @error will be set.
*/
add_and_activate_connection_finish(result: Gio.AsyncResult): ActiveConnection
/**
* Call AddConnection2() D-Bus API asynchronously.
* @param settings the "a{sa{sv}}" #GVariant with the content of the setting.
* @param flags the %NMSettingsAddConnection2Flags argument.
* @param args the "a{sv}" #GVariant with extra argument or %NULL for no extra arguments.
* @param ignore_out_result this function wraps AddConnection2(), which has an additional result "a{sv}" output parameter. By setting this to %TRUE, you signal that you are not interested in that output parameter. This allows the function to fall back to AddConnection() and AddConnectionUnsaved(), which is interesting if you run against an older server version that does not yet provide AddConnection2(). By setting this to %FALSE, the function under the hood always calls AddConnection2().
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the add operation completes
*/
add_connection2(settings: GLib.Variant, flags: SettingsAddConnection2Flags, args: GLib.Variant | null, ignore_out_result: boolean, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
add_connection2_finish(result: Gio.AsyncResult): [ /* returnType */ RemoteConnection, /* out_result */ GLib.Variant ]
/**
* Requests that the remote settings service add the given settings to a new
* connection. If `save_to_disk` is %TRUE, the connection is immediately written
* to disk; otherwise it is initially only stored in memory, but may be saved
* later by calling the connection's nm_remote_connection_commit_changes()
* method.
*
* `connection` is untouched by this function and only serves as a template of
* the settings to add. The #NMRemoteConnection object that represents what
* NetworkManager actually added is returned to `callback` when the addition
* operation is complete.
*
* Note that the #NMRemoteConnection returned in `callback` may not contain
* identical settings to `connection` as NetworkManager may perform automatic
* completion and/or normalization of connection properties.
* @param connection the connection to add. Note that this object's settings will be added, not the object itself
* @param save_to_disk whether to immediately save the connection to disk
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the add operation completes
*/
add_connection_async(connection: Connection, save_to_disk: boolean, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of add_connection_async
/**
* Promisified version of {@link add_connection_async}
*
* Requests that the remote settings service add the given settings to a new
* connection. If `save_to_disk` is %TRUE, the connection is immediately written
* to disk; otherwise it is initially only stored in memory, but may be saved
* later by calling the connection's nm_remote_connection_commit_changes()
* method.
*
* `connection` is untouched by this function and only serves as a template of
* the settings to add. The #NMRemoteConnection object that represents what
* NetworkManager actually added is returned to `callback` when the addition
* operation is complete.
*
* Note that the #NMRemoteConnection returned in `callback` may not contain
* identical settings to `connection` as NetworkManager may perform automatic
* completion and/or normalization of connection properties.
* @param connection the connection to add. Note that this object's settings will be added, not the object itself
* @param save_to_disk whether to immediately save the connection to disk
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: the new #NMRemoteConnection on success, %NULL on failure, in which case @error will be set.
*/
add_connection_async(connection: Connection, save_to_disk: boolean, cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_client_add_connection_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns the new #NMRemoteConnection on success, %NULL on failure, in which case @error will be set.
*/
add_connection_finish(result: Gio.AsyncResult): RemoteConnection
/**
* Updates the network connectivity state and returns the (new)
* current state. Contrast nm_client_get_connectivity(), which returns
* the most recent known state without re-checking.
*
* This is a blocking call; use nm_client_check_connectivity_async()
* if you do not want to block.
* @param cancellable a #GCancellable
* @returns the (new) current connectivity state
*/
check_connectivity(cancellable: Gio.Cancellable | null): ConnectivityState
/**
* Asynchronously updates the network connectivity state and invokes
* `callback` when complete. Contrast nm_client_get_connectivity(),
* which (immediately) returns the most recent known state without
* re-checking, and nm_client_check_connectivity(), which blocks.
* @param cancellable a #GCancellable
* @param callback callback to call with the result
*/
check_connectivity_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of check_connectivity_async
/**
* Promisified version of {@link check_connectivity_async}
*
* Asynchronously updates the network connectivity state and invokes
* `callback` when complete. Contrast nm_client_get_connectivity(),
* which (immediately) returns the most recent known state without
* re-checking, and nm_client_check_connectivity(), which blocks.
* @param cancellable a #GCancellable
* @returns A Promise of: the (new) current connectivity state
*/
check_connectivity_async(cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Retrieves the result of an nm_client_check_connectivity_async()
* call.
* @param result the #GAsyncResult
* @returns the (new) current connectivity state
*/
check_connectivity_finish(result: Gio.AsyncResult): ConnectivityState
/**
* Resets the timeout for the checkpoint with path `checkpoint_path`
* to `timeout_add`.
* @param checkpoint_path a D-Bus path to a checkpoint
* @param add_timeout the timeout in seconds counting from now. Set to zero, to disable the timeout.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the add operation completes
*/
checkpoint_adjust_rollback_timeout(checkpoint_path: string | null, add_timeout: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Gets the result of a call to nm_client_checkpoint_adjust_rollback_timeout().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success or %FALSE on failure.
*/
checkpoint_adjust_rollback_timeout_finish(result: Gio.AsyncResult): boolean
/**
* Creates a checkpoint of the current networking configuration
* for given interfaces. An empty `devices` argument means all
* devices. If `rollback_timeout` is not zero, a rollback is
* automatically performed after the given timeout.
* @param devices a list of devices for which a checkpoint should be created.
* @param rollback_timeout the rollback timeout in seconds
* @param flags creation flags
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the add operation completes
*/
checkpoint_create(devices: Device[], rollback_timeout: number, flags: CheckpointCreateFlags, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Gets the result of a call to nm_client_checkpoint_create().
* @param result the result passed to the #GAsyncReadyCallback
* @returns the new #NMCheckpoint on success, %NULL on failure, in which case @error will be set.
*/
checkpoint_create_finish(result: Gio.AsyncResult): Checkpoint
/**
* Destroys an existing checkpoint without performing a rollback.
* @param checkpoint_path the D-Bus path for the checkpoint
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the add operation completes
*/
checkpoint_destroy(checkpoint_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Gets the result of a call to nm_client_checkpoint_destroy().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success or %FALSE on failure, in which case @error will be set.
*/
checkpoint_destroy_finish(result: Gio.AsyncResult): boolean
/**
* Performs the rollback of a checkpoint before the timeout is reached.
* @param checkpoint_path the D-Bus path to the checkpoint
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the add operation completes
*/
checkpoint_rollback(checkpoint_path: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Gets the result of a call to nm_client_checkpoint_rollback().
* @param result the result passed to the #GAsyncReadyCallback
* @returns an hash table of devices and results. Devices are represented by their original D-Bus path; each result is a #NMRollbackResult.
*/
checkpoint_rollback_finish(result: Gio.AsyncResult): GLib.HashTable
/**
* Determine whether connectivity checking is available. This
* requires that the URI of a connectivity service has been set in the
* configuration file.
* @returns %TRUE if connectivity checking is available.
*/
connectivity_check_get_available(): boolean
/**
* Determine whether connectivity checking is enabled.
* @returns %TRUE if connectivity checking is enabled.
*/
connectivity_check_get_enabled(): boolean
/**
* Get the URI that will be queried to determine if there is internet
* connectivity.
* @returns the connectivity URI in use
*/
connectivity_check_get_uri(): string | null
/**
* Enable or disable connectivity checking. Note that if a
* connectivity checking URI has not been configured, this will not
* have any effect.
* @param enabled %TRUE to enable connectivity checking
*/
connectivity_check_set_enabled(enabled: boolean): void
/**
* Call g_dbus_connection_call() on the current name owner with the specified
* arguments. Most importantly, this invokes g_dbus_connection_call() with the
* client's #GMainContext, so that the response is always in order with other
* events D-Bus events. Of course, the call uses #GTask and will invoke the
* callback on the current g_main_context_get_thread_default().
*
* This API is merely a convenient wrapper for g_dbus_connection_call(). You can
* also use g_dbus_connection_call() directly, with the same effect.
* @param object_path path of remote object
* @param interface_name D-Bus interface to invoke method on
* @param method_name the name of the method to invoke
* @param parameters a #GVariant tuple with parameters for the method or %NULL if not passing parameters
* @param reply_type the expected type of the reply (which will be a tuple), or %NULL
* @param timeout_msec the timeout in milliseconds, -1 to use the default timeout or %G_MAXINT for no timeout
* @param cancellable a #GCancellable or %NULL
* @param callback a #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation
*/
dbus_call(object_path: string | null, interface_name: string | null, method_name: string | null, parameters: GLib.Variant | null, reply_type: GLib.VariantType | null, timeout_msec: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Gets the result of a call to nm_client_dbus_call().
* @param result the result passed to the #GAsyncReadyCallback
* @returns the result #GVariant or %NULL on error.
*/
dbus_call_finish(result: Gio.AsyncResult): GLib.Variant
/**
* Like nm_client_dbus_call() but calls "Set" on the standard "org.freedesktop.DBus.Properties"
* D-Bus interface.
* @param object_path path of remote object
* @param interface_name D-Bus interface for the property to set.
* @param property_name the name of the property to set
* @param value a #GVariant with the value to set.
* @param timeout_msec the timeout in milliseconds, -1 to use the default timeout or %G_MAXINT for no timeout
* @param cancellable a #GCancellable or %NULL
* @param callback a #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation
*/
dbus_set_property(object_path: string | null, interface_name: string | null, property_name: string | null, value: GLib.Variant, timeout_msec: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Gets the result of a call to nm_client_dbus_set_property().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success or %FALSE on failure.
*/
dbus_set_property_finish(result: Gio.AsyncResult): boolean
/**
* Deactivates an active #NMActiveConnection.
* @param active the #NMActiveConnection to deactivate
* @param cancellable a #GCancellable, or %NULL
* @returns success or failure
*/
deactivate_connection(active: ActiveConnection, cancellable: Gio.Cancellable | null): boolean
/**
* Asynchronously deactivates an active #NMActiveConnection.
* @param active the #NMActiveConnection to deactivate
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the deactivation has completed
*/
deactivate_connection_async(active: ActiveConnection, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of deactivate_connection_async
/**
* Promisified version of {@link deactivate_connection_async}
*
* Asynchronously deactivates an active #NMActiveConnection.
* @param active the #NMActiveConnection to deactivate
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: success or failure
*/
deactivate_connection_async(active: ActiveConnection, cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_client_deactivate_connection_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns success or failure
*/
deactivate_connection_finish(result: Gio.AsyncResult): boolean
/**
* Gets the #NMActiveConnection corresponding to a
* currently-activating connection that is expected to become the new
* #NMClient:primary-connection upon successful activation.
* @returns the appropriate #NMActiveConnection, if any.
*/
get_activating_connection(): ActiveConnection
/**
* Gets the active connections.
* @returns a #GPtrArray containing all the active #NMActiveConnections. The returned array is owned by the client and should not be modified.
*/
get_active_connections(): ActiveConnection[]
/**
* Gets both real devices and device placeholders (eg, software devices which
* do not currently exist, but could be created automatically by NetworkManager
* if one of their NMDevice::ActivatableConnections was activated). Use
* nm_device_is_real() to determine whether each device is a real device or
* a placeholder.
*
* Use nm_device_get_type() or the NM_IS_DEVICE_XXXX() functions to determine
* what kind of device each member of the returned array is, and then you may
* use device-specific methods such as nm_device_ethernet_get_hw_address().
* @returns a #GPtrArray containing all the #NMDevices. The returned array is owned by the #NMClient object and should not be modified.
*/
get_all_devices(): Device[]
get_capabilities(): number[]
/**
* Gets all the active checkpoints.
* @returns a #GPtrArray containing all the #NMCheckpoint. The returned array is owned by the #NMClient object and should not be modified.
*/
get_checkpoints(): Checkpoint[]
/**
* Returns the first matching %NMRemoteConnection matching a given `id`.
* @param id the id of the remote connection
* @returns the remote connection object on success, or %NULL if no matching object was found. The connection is as received from D-Bus and might not validate according to nm_connection_verify().
*/
get_connection_by_id(id: string | null): RemoteConnection
/**
* Returns the %NMRemoteConnection representing the connection at `path`.
* @param path the D-Bus object path of the remote connection
* @returns the remote connection object on success, or %NULL if the object was not known The connection is as received from D-Bus and might not validate according to nm_connection_verify().
*/
get_connection_by_path(path: string | null): RemoteConnection
/**
* Returns the %NMRemoteConnection identified by `uuid`.
* @param uuid the UUID of the remote connection
* @returns the remote connection object on success, or %NULL if the object was not known The connection is as received from D-Bus and might not validate according to nm_connection_verify().
*/
get_connection_by_uuid(uuid: string | null): RemoteConnection
get_connections(): RemoteConnection[]
/**
* Gets the current network connectivity state. Contrast
* nm_client_check_connectivity() and
* nm_client_check_connectivity_async(), which re-check the
* connectivity state first before returning any information.
* @returns the current connectivity state
*/
get_connectivity(): ConnectivityState
get_context_busy_watcher(): GObject.Object
/**
* Gets the %GDBusConnection of the instance. This can be either passed when
* constructing the instance (as "dbus-connection" property), or it will be
* automatically initialized during async/sync init.
* @returns the D-Bus connection of the client, or %NULL if none is set.
*/
get_dbus_connection(): Gio.DBusConnection
get_dbus_name_owner(): string | null
/**
* Gets a #NMDevice from a #NMClient.
* @param iface the interface name to search for
* @returns the #NMDevice for the given @iface or %NULL if none is found.
*/
get_device_by_iface(iface: string | null): Device
/**
* Gets a #NMDevice from a #NMClient.
* @param object_path the object path to search for
* @returns the #NMDevice for the given @object_path or %NULL if none is found.
*/
get_device_by_path(object_path: string | null): Device
/**
* Gets all the known network devices. Use nm_device_get_type() or the
* NM_IS_DEVICE_XXXX functions to determine what kind of
* device member of the returned array is, and then you may use device-specific
* methods such as nm_device_ethernet_get_hw_address().
* @returns a #GPtrArray containing all the #NMDevices. The returned array is owned by the #NMClient object and should not be modified.
*/
get_devices(): Device[]
/**
* Gets the current DNS configuration
* @returns a #GPtrArray containing #NMDnsEntry elements or %NULL in case the value is not available. The returned array is owned by the #NMClient object and should not be modified.
*/
get_dns_configuration(): DnsEntry[]
/**
* Gets the current DNS processing mode.
* @returns the DNS processing mode, or %NULL in case the value is not available.
*/
get_dns_mode(): string | null
/**
* Gets the current DNS resolv.conf manager.
* @returns the resolv.conf manager or %NULL in case the value is not available.
*/
get_dns_rc_manager(): string | null
get_instance_flags(): ClientInstanceFlags
/**
* Gets NetworkManager current logging level and domains.
* @param level return location for logging level string
* @param domains return location for log domains string. The string is a list of domains separated by ","
* @returns %TRUE on success, %FALSE otherwise
*/
get_logging(level: string | null, domains: string | null): boolean
/**
* The #NMClient instance is permanently associated with the current
* thread default #GMainContext, referenced the time when the instance
* was created. To receive events, the user must iterate this context
* and can use it to synchronize access to the client.
*
* Note that even after #NMClient instance got destroyed, there might
* still be pending sources registered in the context. That means, to fully
* clean up, the user must continue iterating the context as long as
* the nm_client_get_context_busy_watcher() object is alive.
* @returns the #GMainContext of the client.
*/
get_main_context(): GLib.MainContext
get_metered(): Metered
/**
* Determines whether the daemon is running.
* @returns %TRUE if the daemon is running
*/
get_nm_running(): boolean
get_object_by_path(dbus_path: string | null): Object
/**
* Requests the result of a specific permission, which indicates whether the
* client can or cannot perform the action the permission represents
* @param permission the permission for which to return the result, one of #NMClientPermission
* @returns the permission's result, one of #NMClientPermissionResult
*/
get_permission_result(permission: ClientPermission): ClientPermissionResult
get_permissions_state(): Ternary
/**
* Gets the #NMActiveConnection corresponding to the primary active
* network device.
*
* In particular, when there is no VPN active, or the VPN does not
* have the default route, this returns the active connection that has
* the default route. If there is a VPN active with the default route,
* then this function returns the active connection that contains the
* route to the VPN endpoint.
*
* If there is no default route, or the default route is over a
* non-NetworkManager-recognized device, this will return %NULL.
* @returns the appropriate #NMActiveConnection, if any
*/
get_primary_connection(): ActiveConnection
/**
* Get radio flags.
* @returns the #NMRadioFlags.
*/
get_radio_flags(): RadioFlags
/**
* Tests whether the daemon is still in the process of activating
* connections at startup.
* @returns whether the daemon is still starting up
*/
get_startup(): boolean
/**
* Gets the current daemon state.
* @returns the current %NMState
*/
get_state(): State
/**
* Gets NetworkManager version.
* @returns string with the version (or %NULL if NetworkManager is not running)
*/
get_version(): string | null
/**
* If available, the first element in the array is NM_VERSION which
* encodes the daemon version as "(major << 16 | minor << 8 | micro)".
* The following elements are a bitfield of %NMVersionInfoCapabilities
* that indicate that the daemon supports a certain capability.
* @returns the list of capabilities reported by the server or %NULL if the capabilities are unknown.
*/
get_version_info(): number[]
/**
* Requests that the remote settings service load or reload the given files,
* adding or updating the connections described within.
*
* The changes to the indicated files will not yet be reflected in
* `client'`s connections array when the function returns.
*
* If all of the indicated files were successfully loaded, the
* function will return %TRUE, and `failures` will be set to %NULL. If
* NetworkManager tried to load the files, but some (or all) failed,
* then `failures` will be set to a %NULL-terminated array of the
* filenames that failed to load.
* @param filenames %NULL-terminated array of filenames to load
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success. Warning: before libnm 1.22, the boolean return value was inconsistent. That is made worse, because when running against certain server versions before 1.20, the server would return wrong values for success/failure. This means, if you use this function in libnm before 1.22, you are advised to ignore the boolean return value and only look at @failures and @error. With libnm >= 1.22, the boolean return value corresponds to whether @error was set. Note that even in the success case, you might have individual @failures. With 1.22, the return value is consistent with nm_client_load_connections_finish().
*/
load_connections(filenames: string[], cancellable: Gio.Cancellable | null): [ /* returnType */ boolean, /* failures */ string | null ]
/**
* Requests that the remote settings service asynchronously load or reload the
* given files, adding or updating the connections described within.
*
* See nm_client_load_connections() for more details.
* @param filenames %NULL-terminated array of filenames to load
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the operation completes
*/
load_connections_async(filenames: string[], cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of load_connections_async
/**
* Promisified version of {@link load_connections_async}
*
* Requests that the remote settings service asynchronously load or reload the
* given files, adding or updating the connections described within.
*
* See nm_client_load_connections() for more details.
* @param filenames %NULL-terminated array of filenames to load
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: %TRUE on success. Note that even in the success case, you might have individual @failures.
*/
load_connections_async(filenames: string[], cancellable: Gio.Cancellable | null): globalThis.Promise* failures */ string[]>
/**
* Gets the result of an nm_client_load_connections_async() call.
*
* See nm_client_load_connections() for more details.
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success. Note that even in the success case, you might have individual @failures.
*/
load_connections_finish(result: Gio.AsyncResult): [ /* returnType */ boolean, /* failures */ string[] ]
/**
* Whether networking is enabled or disabled.
* @returns %TRUE if networking is enabled, %FALSE if networking is disabled
*/
networking_get_enabled(): boolean
/**
* Enables or disables networking. When networking is disabled, all controlled
* interfaces are disconnected and deactivated. When networking is enabled,
* all controlled interfaces are available for activation.
* @param enabled %TRUE to set networking enabled, %FALSE to set networking disabled
* @returns %TRUE on success, %FALSE otherwise
*/
networking_set_enabled(enabled: boolean): boolean
/**
* Reload NetworkManager's configuration and perform certain updates, like
* flushing caches or rewriting external state to disk. This is similar to
* sending SIGHUP to NetworkManager but it allows for more fine-grained control
* over what to reload (see `flags)`. It also allows non-root access via
* PolicyKit and contrary to signals it is synchronous.
* @param flags flags indicating what to reload.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the add operation completes
*/
reload(flags: ManagerReloadFlags, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Requests that the remote settings service reload all connection
* files from disk, adding, updating, and removing connections until
* the in-memory state matches the on-disk state.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on failure
*/
reload_connections(cancellable: Gio.Cancellable | null): boolean
/**
* Requests that the remote settings service begin reloading all connection
* files from disk, adding, updating, and removing connections until the
* in-memory state matches the on-disk state.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the reload operation completes
*/
reload_connections_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of reload_connections_async
/**
* Promisified version of {@link reload_connections_async}
*
* Requests that the remote settings service begin reloading all connection
* files from disk, adding, updating, and removing connections until the
* in-memory state matches the on-disk state.
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: %TRUE on success, %FALSE on failure
*/
reload_connections_async(cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of an nm_client_reload_connections_async() call.
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success, %FALSE on failure
*/
reload_connections_finish(result: Gio.AsyncResult): boolean
/**
* Gets the result of a call to nm_client_reload().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success or %FALSE on failure.
*/
reload_finish(result: Gio.AsyncResult): boolean
/**
* Requests that the machine's persistent hostname be set to the specified value
* or cleared.
* @param hostname the new persistent hostname to set, or %NULL to clear any existing persistent hostname
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE if the request was successful, %FALSE if it failed
*/
save_hostname(hostname: string | null, cancellable: Gio.Cancellable | null): boolean
/**
* Requests that the machine's persistent hostname be set to the specified value
* or cleared.
* @param hostname the new persistent hostname to set, or %NULL to clear any existing persistent hostname
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the operation completes
*/
save_hostname_async(hostname: string | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of save_hostname_async
/**
* Promisified version of {@link save_hostname_async}
*
* Requests that the machine's persistent hostname be set to the specified value
* or cleared.
* @param hostname the new persistent hostname to set, or %NULL to clear any existing persistent hostname
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: %TRUE if the request was successful, %FALSE if it failed
*/
save_hostname_async(hostname: string | null, cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of an nm_client_save_hostname_async() call.
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE if the request was successful, %FALSE if it failed
*/
save_hostname_finish(result: Gio.AsyncResult): boolean
/**
* Sets NetworkManager logging level and/or domains.
* @param level logging level to set (%NULL or an empty string for no change)
* @param domains logging domains to set. The string should be a list of log domains separated by ",". (%NULL or an empty string for no change)
* @returns %TRUE on success, %FALSE otherwise
*/
set_logging(level: string | null, domains: string | null): boolean
/**
* The way to stop #NMClient is by unrefing it. That will cancel all
* internally pending async operations. However, as async operations in
* NMClient use GTask, hence they cannot complete right away. Instead,
* their (internal) result callback still needs to be dispatched by iterating
* the client's main context.
*
* You thus cannot stop iterating the client's main context until
* everything is wrapped up. nm_client_get_context_busy_watcher()
* helps to watch how long that will be.
*
* This function automates that waiting. Like all glib async operations
* this honors the current g_main_context_get_thread_default().
*
* In any case, to complete the shutdown, nm_client_get_main_context()
* must be iterated. If the current g_main_context_get_thread_default() is
* the same as nm_client_get_main_context(), then `integrate_maincontext`
* is ignored. In that case, the caller is required to iterate the context
* for shutdown to complete. Otherwise, if g_main_context_get_thread_default()
* differs from nm_client_get_main_context() and `integrate_maincontext`
* is %FALSE, the caller must make sure that both contexts are iterated
* until completion. Otherwise, if `integrate_maincontext` is %TRUE, then
* nm_client_get_main_context() will be integrated in g_main_context_get_thread_default().
* This means, the caller gives nm_client_get_main_context() up until the waiting
* completes, the function will acquire the context and hook it into
* g_main_context_get_thread_default().
* It is a bug to request `integrate_maincontext` while having nm_client_get_main_context()
* acquired or iterated otherwise because a context can only be acquired once
* at a time.
*
* Shutdown can only complete after all references to `client` were released.
*
* It is possible to call this function multiple times for the same client.
* But note that with `integrate_maincontext` the client's context is acquired,
* which can only be done once at a time.
*
* It is permissible to start waiting before the objects is fully initialized.
*
* The function really allows two separate things. To get a notification (callback) when
* shutdown is complete, and to integrate the client's context in another context.
* The latter case is useful if the client has a separate context and you hand it
* over to another GMainContext to wrap up.
*
* The main use is to have a NMClient and a separate GMainContext on a worker
* thread. When being done, you can hand over the cleanup of the context
* to g_main_context_default(), assuming that the main thread iterates
* the default context. In that case, you don't need to care about passing
* a callback to know when shutdown completed.
* @param integrate_maincontext whether to hook the client's maincontext in the current thread default. Otherwise, you must ensure that the client's maincontext gets iterated so that it can complete. By integrating the maincontext in the current thread default, you may instead only iterate the latter.
* @param cancellable the #GCancellable to abort the shutdown.
* @param callback a #GAsyncReadyCallback to call when the request is satisfied or %NULL if you don't care about the result of the method invocation.
*/
wait_shutdown(integrate_maincontext: boolean, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Determines whether WiMAX is enabled.
* @returns %TRUE if WiMAX is enabled
*/
wimax_get_enabled(): boolean
/**
* Determines whether the WiMAX hardware is enabled.
* @returns %TRUE if the WiMAX hardware is enabled
*/
wimax_hardware_get_enabled(): boolean
/**
* Enables or disables WiMAX devices.
* @param enabled %TRUE to enable WiMAX
*/
wimax_set_enabled(enabled: boolean): void
/**
* Determines whether the wireless is enabled.
* @returns %TRUE if wireless is enabled
*/
wireless_get_enabled(): boolean
/**
* Determines whether the wireless hardware is enabled.
* @returns %TRUE if the wireless hardware is enabled
*/
wireless_hardware_get_enabled(): boolean
/**
* Enables or disables wireless devices.
* @param enabled %TRUE to enable wireless
*/
wireless_set_enabled(enabled: boolean): void
/**
* Determines whether WWAN is enabled.
* @returns %TRUE if WWAN is enabled
*/
wwan_get_enabled(): boolean
/**
* Determines whether the WWAN hardware is enabled.
* @returns %TRUE if the WWAN hardware is enabled
*/
wwan_hardware_get_enabled(): boolean
/**
* Enables or disables WWAN devices.
* @param enabled %TRUE to enable WWAN
*/
wwan_set_enabled(enabled: boolean): void
// Own signals of NM-1.0.NM.Client
connect(sigName: "active-connection-added", callback: Client.ActiveConnectionAddedSignalCallback): number
connect_after(sigName: "active-connection-added", callback: Client.ActiveConnectionAddedSignalCallback): number
emit(sigName: "active-connection-added", active_connection: ActiveConnection, ...args: any[]): void
connect(sigName: "active-connection-removed", callback: Client.ActiveConnectionRemovedSignalCallback): number
connect_after(sigName: "active-connection-removed", callback: Client.ActiveConnectionRemovedSignalCallback): number
emit(sigName: "active-connection-removed", active_connection: ActiveConnection, ...args: any[]): void
connect(sigName: "any-device-added", callback: Client.AnyDeviceAddedSignalCallback): number
connect_after(sigName: "any-device-added", callback: Client.AnyDeviceAddedSignalCallback): number
emit(sigName: "any-device-added", device: Device, ...args: any[]): void
connect(sigName: "any-device-removed", callback: Client.AnyDeviceRemovedSignalCallback): number
connect_after(sigName: "any-device-removed", callback: Client.AnyDeviceRemovedSignalCallback): number
emit(sigName: "any-device-removed", device: Device, ...args: any[]): void
connect(sigName: "connection-added", callback: Client.ConnectionAddedSignalCallback): number
connect_after(sigName: "connection-added", callback: Client.ConnectionAddedSignalCallback): number
emit(sigName: "connection-added", connection: RemoteConnection, ...args: any[]): void
connect(sigName: "connection-removed", callback: Client.ConnectionRemovedSignalCallback): number
connect_after(sigName: "connection-removed", callback: Client.ConnectionRemovedSignalCallback): number
emit(sigName: "connection-removed", connection: RemoteConnection, ...args: any[]): void
connect(sigName: "device-added", callback: Client.DeviceAddedSignalCallback): number
connect_after(sigName: "device-added", callback: Client.DeviceAddedSignalCallback): number
emit(sigName: "device-added", device: Device, ...args: any[]): void
connect(sigName: "device-removed", callback: Client.DeviceRemovedSignalCallback): number
connect_after(sigName: "device-removed", callback: Client.DeviceRemovedSignalCallback): number
emit(sigName: "device-removed", device: Device, ...args: any[]): void
connect(sigName: "permission-changed", callback: Client.PermissionChangedSignalCallback): number
connect_after(sigName: "permission-changed", callback: Client.PermissionChangedSignalCallback): number
emit(sigName: "permission-changed", permission: number, result: number, ...args: any[]): void
// Class property signals of NM-1.0.NM.Client
connect(sigName: "notify::activating-connection", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::activating-connection", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::activating-connection", ...args: any[]): void
connect(sigName: "notify::active-connections", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connections", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connections", ...args: any[]): void
connect(sigName: "notify::all-devices", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::all-devices", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::all-devices", ...args: any[]): void
connect(sigName: "notify::can-modify", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::can-modify", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::can-modify", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::checkpoints", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::checkpoints", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::checkpoints", ...args: any[]): void
connect(sigName: "notify::connections", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::connections", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::connections", ...args: any[]): void
connect(sigName: "notify::connectivity", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::connectivity", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::connectivity", ...args: any[]): void
connect(sigName: "notify::connectivity-check-available", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::connectivity-check-available", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::connectivity-check-available", ...args: any[]): void
connect(sigName: "notify::connectivity-check-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::connectivity-check-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::connectivity-check-enabled", ...args: any[]): void
connect(sigName: "notify::connectivity-check-uri", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::connectivity-check-uri", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::connectivity-check-uri", ...args: any[]): void
connect(sigName: "notify::dbus-connection", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dbus-connection", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dbus-connection", ...args: any[]): void
connect(sigName: "notify::dbus-name-owner", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dbus-name-owner", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dbus-name-owner", ...args: any[]): void
connect(sigName: "notify::devices", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::devices", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::devices", ...args: any[]): void
connect(sigName: "notify::dns-configuration", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dns-configuration", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dns-configuration", ...args: any[]): void
connect(sigName: "notify::dns-mode", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dns-mode", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dns-mode", ...args: any[]): void
connect(sigName: "notify::dns-rc-manager", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dns-rc-manager", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dns-rc-manager", ...args: any[]): void
connect(sigName: "notify::hostname", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hostname", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hostname", ...args: any[]): void
connect(sigName: "notify::instance-flags", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::instance-flags", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::instance-flags", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::networking-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::networking-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::networking-enabled", ...args: any[]): void
connect(sigName: "notify::nm-running", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-running", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-running", ...args: any[]): void
connect(sigName: "notify::permissions-state", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::permissions-state", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::permissions-state", ...args: any[]): void
connect(sigName: "notify::primary-connection", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::primary-connection", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::primary-connection", ...args: any[]): void
connect(sigName: "notify::radio-flags", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::radio-flags", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::radio-flags", ...args: any[]): void
connect(sigName: "notify::startup", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::startup", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::startup", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::version", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::version", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::version", ...args: any[]): void
connect(sigName: "notify::version-info", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::version-info", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::version-info", ...args: any[]): void
connect(sigName: "notify::wimax-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wimax-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wimax-enabled", ...args: any[]): void
connect(sigName: "notify::wimax-hardware-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wimax-hardware-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wimax-hardware-enabled", ...args: any[]): void
connect(sigName: "notify::wireless-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wireless-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wireless-enabled", ...args: any[]): void
connect(sigName: "notify::wireless-hardware-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wireless-hardware-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wireless-hardware-enabled", ...args: any[]): void
connect(sigName: "notify::wwan-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wwan-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wwan-enabled", ...args: any[]): void
connect(sigName: "notify::wwan-hardware-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wwan-hardware-enabled", callback: (($obj: Client, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wwan-hardware-enabled", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
/**
* NMClient contains a cache of the objects of NetworkManager's D-Bus API.
* It uses #GMainContext and #GDBusConnection for that and registers to
* D-Bus signals. That means, when iterating the associated #GMainContext,
* D-Bus signals gets processed and the #NMClient instance updates and
* emits #GObject signals.
* @class
*/
export class Client extends GObject.Object {
// Own properties of NM-1.0.NM.Client
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.Client
constructor(config?: Client.ConstructorProperties)
/**
* Creates a new #NMClient synchronously.
*
* Note that this will block until a NMClient instance is fully initialized.
* This does nothing beside calling g_initable_new(). You are free to call
* g_initable_new() or g_object_new()/g_initable_init() directly for more
* control, to set GObject properties or get access to the NMClient instance
* while it is still initializing.
*
* Using the synchronous initialization creates an #NMClient instance
* that uses an internal #GMainContext. This context is invisible to the
* user. This introduces an additional overhead that is payed not
* only during object initialization, but for the entire lifetime of
* this object.
* Also, due to this internal #GMainContext, the events are no longer
* in sync with other messages from #GDBusConnection (but all events
* of the NMClient will themselves still be ordered).
* For a serious program, you should therefore avoid these problems by
* using g_async_initable_init_async() or nm_client_new_async() instead.
* The sync initialization is still useful for simple scripts or interactive
* testing for example via pygobject.
*
* Creating an #NMClient instance can only fail for two reasons. First, if you didn't
* provide a %NM_CLIENT_DBUS_CONNECTION and the call to g_bus_get()
* fails. You can avoid that by using g_initable_new() directly and
* set a D-Bus connection.
* Second, if you cancelled the creation. If you do that, then note
* that after the failure there might still be idle actions pending
* which keep nm_client_get_main_context() alive. That means,
* in that case you must continue iterating the context to avoid
* leaks. See nm_client_get_context_busy_watcher().
*
* Creating an #NMClient instance when NetworkManager is not running
* does not cause a failure.
* @constructor
* @param cancellable a #GCancellable, or %NULL
* @returns a new #NMClient or NULL on an error
*/
constructor(cancellable: Gio.Cancellable | null)
/**
* Creates a new #NMClient synchronously.
*
* Note that this will block until a NMClient instance is fully initialized.
* This does nothing beside calling g_initable_new(). You are free to call
* g_initable_new() or g_object_new()/g_initable_init() directly for more
* control, to set GObject properties or get access to the NMClient instance
* while it is still initializing.
*
* Using the synchronous initialization creates an #NMClient instance
* that uses an internal #GMainContext. This context is invisible to the
* user. This introduces an additional overhead that is payed not
* only during object initialization, but for the entire lifetime of
* this object.
* Also, due to this internal #GMainContext, the events are no longer
* in sync with other messages from #GDBusConnection (but all events
* of the NMClient will themselves still be ordered).
* For a serious program, you should therefore avoid these problems by
* using g_async_initable_init_async() or nm_client_new_async() instead.
* The sync initialization is still useful for simple scripts or interactive
* testing for example via pygobject.
*
* Creating an #NMClient instance can only fail for two reasons. First, if you didn't
* provide a %NM_CLIENT_DBUS_CONNECTION and the call to g_bus_get()
* fails. You can avoid that by using g_initable_new() directly and
* set a D-Bus connection.
* Second, if you cancelled the creation. If you do that, then note
* that after the failure there might still be idle actions pending
* which keep nm_client_get_main_context() alive. That means,
* in that case you must continue iterating the context to avoid
* leaks. See nm_client_get_context_busy_watcher().
*
* Creating an #NMClient instance when NetworkManager is not running
* does not cause a failure.
* @constructor
* @param cancellable a #GCancellable, or %NULL
* @returns a new #NMClient or NULL on an error
*/
static new(cancellable: Gio.Cancellable | null): Client
/**
* Gets the result of an nm_client_new_async() call.
* @constructor
* @param result a #GAsyncResult
* @returns a new #NMClient, or %NULL on error
*/
static new_finish(result: Gio.AsyncResult): Client
_init(config?: Client.ConstructorProperties): void
/**
* Creates a new #NMClient asynchronously.
* `callback` will be called when it is done. Use
* nm_client_new_finish() to get the result.
*
* This does nothing beside calling g_async_initable_new_async(). You are free to
* call g_async_initable_new_async() or g_object_new()/g_async_initable_init_async()
* directly for more control, to set GObject properties or get access to the NMClient
* instance while it is still initializing.
*
* Creating an #NMClient instance can only fail for two reasons. First, if you didn't
* provide a %NM_CLIENT_DBUS_CONNECTION and the call to g_bus_get()
* fails. You can avoid that by using g_async_initable_new_async() directly and
* set a D-Bus connection.
* Second, if you cancelled the creation. If you do that, then note
* that after the failure there might still be idle actions pending
* which keep nm_client_get_main_context() alive. That means,
* in that case you must continue iterating the context to avoid
* leaks. See nm_client_get_context_busy_watcher().
*
* Creating an #NMClient instance when NetworkManager is not running
* does not cause a failure.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to call when the client is created
*/
static new_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
static wait_shutdown_finish(result: Gio.AsyncResult): boolean
}
export module Device {
// Signal callback interfaces
/**
* Signal callback interface for `state-changed`
*/
export interface StateChangedSignalCallback {
($obj: Device, new_state: number, old_state: number, reason: number): void
}
// Constructor properties interface
export interface ConstructorProperties extends Object.ConstructorProperties {
// Own constructor properties of NM-1.0.NM.Device
/**
* Whether the device can auto-activate a connection.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
autoconnect?: boolean | null
}
}
export interface Device {
// Own properties of NM-1.0.NM.Device
/**
* The #NMActiveConnection object that "owns" this device during activation.
*/
readonly active_connection: ActiveConnection
/**
* Whether the device can auto-activate a connection.
*
* The property setter is a synchronous D-Bus call. This is deprecated since 1.22.
*/
autoconnect: boolean
/**
* The available connections of the device
*/
readonly available_connections: RemoteConnection[]
/**
* The capabilities of the device.
*/
readonly capabilities: DeviceCapabilities
/**
* The numeric type of the device.
*/
readonly device_type: DeviceType
/**
* The IPv4 #NMDhcpConfig of the device.
*/
readonly dhcp4_config: DhcpConfig
/**
* The IPv6 #NMDhcpConfig of the device.
*/
readonly dhcp6_config: DhcpConfig
/**
* The driver of the device.
*/
readonly driver: string | null
/**
* The version of the device driver.
*/
readonly driver_version: string | null
/**
* When %TRUE indicates the device is likely missing firmware required
* for its operation.
*/
readonly firmware_missing: boolean
/**
* The firmware version of the device.
*/
readonly firmware_version: string | null
/**
* The hardware address of the device.
*/
readonly hw_address: string | null
/**
* The interface of the device.
*/
readonly interface: string | null
/**
* The interface flags.
*/
readonly interface_flags: number
/**
* The IP interface of the device which should be used for all IP-related
* operations like addressing and routing.
*/
readonly ip_interface: string | null
/**
* The #NMIP4Config of the device.
*/
readonly ip4_config: IPConfig
/**
* The IPv4 connectivity state of the device.
*/
readonly ip4_connectivity: ConnectivityState
/**
* The IPv6 #NMIPConfig of the device.
*/
readonly ip6_config: IPConfig
/**
* The IPv6 connectivity state of the device.
*/
readonly ip6_connectivity: ConnectivityState
/**
* The LLDP neighbors.
*/
readonly lldp_neighbors: any[]
/**
* Whether the device is managed by NetworkManager.
*/
readonly managed: boolean
/**
* Whether the device is metered.
*/
readonly metered: number
/**
* The MTU of the device.
*/
readonly mtu: number
/**
* When %TRUE indicates that the NetworkManager plugin for the device
* is not installed.
*/
readonly nm_plugin_missing: boolean
/**
* The device path as exposed by the udev property ID_PATH.
*
* The string is backslash escaped (C escaping) for invalid
* characters. The escaping can be reverted with g_strcompress(),
* however the result may not be valid UTF-8.
*/
readonly path: string | null
/**
* The physical port ID of the device. (See
* nm_device_get_physical_port_id().)
*/
readonly physical_port_id: string | null
/**
* The port devices of the controller device. For devices that cannot be
* controllers this is likely to be always empty.
*/
readonly ports: any[]
/**
* The product string of the device.
*/
readonly product: string | null
/**
* Whether the device is real or is a placeholder device that could
* be created automatically by NetworkManager if one of its
* #NMDevice:available-connections was activated.
*/
readonly real: boolean
/**
* The state of the device.
*/
readonly state: DeviceState
/**
* The reason for the device state.
*/
readonly state_reason: number
/**
* An operating-system specific device hardware identifier; this is not
* unique to a specific hardware device across reboots or hotplugs. It
* is an opaque string which for some device types (Bluetooth, Modem)
* contains an identifier provided by the underlying hardware service daemon
* such as Bluez or ModemManager, and clients can use this property to
* request more information about the device from those services.
*/
readonly udi: string | null
/**
* The vendor string of the device.
*/
readonly vendor: string | null
// Owm methods of NM-1.0.NM.Device
/**
* Validates a given connection for a given #NMDevice object and returns
* whether the connection may be activated with the device. For example if
* `device` is a Wi-Fi device that supports only WEP encryption, the connection
* will only be valid if it is a Wi-Fi connection which describes a WEP or open
* network, and will not be valid if it describes a WPA network, or if it is
* an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the
* device.
*
* This function does the same as nm_device_connection_valid(), i.e. checking
* compatibility of the given device and connection. But, in addition, it sets
* GError when FALSE is returned.
* @param connection an #NMConnection to validate against `device`
* @returns %TRUE if the connection may be activated with this device, %FALSE if is incompatible with the device's capabilities and characteristics.
*/
connection_compatible(connection: Connection): boolean
/**
* Validates a given connection for a given #NMDevice object and returns
* whether the connection may be activated with the device. For example if
* `device` is a Wi-Fi device that supports only WEP encryption, the connection
* will only be valid if it is a Wi-Fi connection which describes a WEP or open
* network, and will not be valid if it describes a WPA network, or if it is
* an Ethernet, Bluetooth, WWAN, etc connection that is incompatible with the
* device.
* @param connection an #NMConnection to validate against `device`
* @returns %TRUE if the connection may be activated with this device, %FALSE if is incompatible with the device's capabilities and characteristics.
*/
connection_valid(connection: Connection): boolean
/**
* Deletes the software device. Hardware devices can't be deleted.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
delete(cancellable: Gio.Cancellable | null): boolean
/**
* Asynchronously begins deleting the software device. Hardware devices can't
* be deleted.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when delete operation completes
*/
delete_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of delete_async
/**
* Promisified version of {@link delete_async}
*
* Asynchronously begins deleting the software device. Hardware devices can't
* be deleted.
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: %TRUE on success, %FALSE on error, in which case @error will be set.
*/
delete_async(cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_device_delete_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
delete_finish(result: Gio.AsyncResult): boolean
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
/**
* Asynchronously begins disconnecting the device if currently connected, and
* prevents the device from automatically connecting to networks until the next
* manual network connection request.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the disconnect operation completes
*/
disconnect_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of disconnect_async
/**
* Promisified version of {@link disconnect_async}
*
* Asynchronously begins disconnecting the device if currently connected, and
* prevents the device from automatically connecting to networks until the next
* manual network connection request.
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect_async(cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_device_disconnect_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect_finish(result: Gio.AsyncResult): boolean
/**
* Filters a given array of connections for a given #NMDevice object and returns
* connections which may be activated with the device. For example if `device`
* is a Wi-Fi device that supports only WEP encryption, the returned array will
* contain any Wi-Fi connections in `connections` that allow connection to
* unencrypted or WEP-enabled SSIDs. The returned array will not contain
* Ethernet, Bluetooth, Wi-Fi WPA connections, or any other connection that is
* incompatible with the device. To get the full list of connections see
* nm_client_get_connections().
* @param connections an array of #NMConnections to filter
* @returns an array of #NMConnections that could be activated with the given @device. The array should be freed with g_ptr_array_unref() when it is no longer required. WARNING: the transfer annotation for this function may not work correctly with bindings. See https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/305. You can filter the list yourself with nm_device_connection_valid().
*/
filter_connections(connections: Connection[]): Connection[]
/**
* Gets the #NMActiveConnection object which owns this device during activation.
* @returns the #NMActiveConnection or %NULL if the device is not part of an active connection
*/
get_active_connection(): ActiveConnection
/**
* Fetch the currently applied connection on the device.
* @param flags the flags argument. See #NMDeviceReapplyFlags.
* @param cancellable a #GCancellable, or %NULL
* @returns a %NMConnection with the currently applied settings or %NULL on error. The connection is as received from D-Bus and might not validate according to nm_connection_verify().
*/
get_applied_connection(flags: number, cancellable: Gio.Cancellable | null): [ /* returnType */ Connection, /* version_id */ number ]
/**
* Asynchronously begins and gets the currently applied connection.
* @param flags the flags argument. See #NMDeviceReapplyFlags.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the reapply operation completes
*/
get_applied_connection_async(flags: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of get_applied_connection_async
/**
* Promisified version of {@link get_applied_connection_async}
*
* Asynchronously begins and gets the currently applied connection.
* @param flags the flags argument. See #NMDeviceReapplyFlags.
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: a currently applied %NMConnection or %NULL in case of error. The connection is as received from D-Bus and might not validate according to nm_connection_verify().
*/
get_applied_connection_async(flags: number, cancellable: Gio.Cancellable | null): globalThis.Promise* version_id */ number>
/**
* Gets the result of a call to nm_device_get_applied_connection_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns a currently applied %NMConnection or %NULL in case of error. The connection is as received from D-Bus and might not validate according to nm_connection_verify().
*/
get_applied_connection_finish(result: Gio.AsyncResult): [ /* returnType */ Connection, /* version_id */ number ]
/**
* Whether the #NMDevice can be autoconnected.
* @returns %TRUE if the device is allowed to be autoconnected
*/
get_autoconnect(): boolean
/**
* Gets the #NMRemoteConnections currently known to the daemon that could
* be activated on `device`.
* @returns the #GPtrArray containing #NMRemoteConnections. This is the internal copy used by the connection, and must not be modified.
*/
get_available_connections(): RemoteConnection[]
/**
* Gets the device' capabilities.
* @returns the capabilities
*/
get_capabilities(): DeviceCapabilities
/**
* The connectivity state of the device for given address family.
* Supported address families are %AF_INET for IPv4, %AF_INET6
* for IPv6 or %AF_UNSPEC for any.
* @param addr_family network address family
* @returns the current connectivity state
*/
get_connectivity(addr_family: number): ConnectivityState
/**
* Gets a description of `device,` based on its vendor and product names.
* @returns a description of @device. If either the vendor or the product name is unknown, this returns the interface name.
*/
get_description(): string | null
/**
* Returns the numeric type of the #NMDevice, ie Ethernet, Wi-Fi, etc.
* @returns the device type
*/
get_device_type(): DeviceType
/**
* Gets the current IPv4 #NMDhcpConfig associated with the #NMDevice.
*
* You can alternatively use nm_active_connection_get_dhcp4_config(), which also
* works with VPN connections.
* @returns the IPv4 #NMDhcpConfig, or %NULL if the device is not activated or not using DHCP.
*/
get_dhcp4_config(): DhcpConfig
/**
* Gets the current IPv6 #NMDhcpConfig associated with the #NMDevice.
*
* You can alternatively use nm_active_connection_get_dhcp6_config(), which also
* works with VPN connections.
* @returns the IPv6 #NMDhcpConfig, or %NULL if the device is not activated or not using DHCPv6.
*/
get_dhcp6_config(): DhcpConfig
/**
* Gets the driver of the #NMDevice.
* @returns the driver of the device. This is the internal string used by the device, and must not be modified.
*/
get_driver(): string | null
/**
* Gets the driver version of the #NMDevice.
* @returns the version of the device driver. This is the internal string used by the device, and must not be modified.
*/
get_driver_version(): string | null
/**
* Indicates that firmware required for the device's operation is likely
* to be missing.
* @returns %TRUE if firmware required for the device's operation is likely to be missing.
*/
get_firmware_missing(): boolean
/**
* Gets the firmware version of the #NMDevice.
* @returns the firmware version of the device. This is the internal string used by the device, and must not be modified.
*/
get_firmware_version(): string | null
/**
* Gets the current a hardware address (MAC) for the `device`.
* @returns the current MAC of the device, or %NULL. This is the internal string used by the device, and must not be modified.
*/
get_hw_address(): string | null
/**
* Gets the interface name of the #NMDevice.
* @returns the interface of the device. This is the internal string used by the device, and must not be modified.
*/
get_iface(): string | null
/**
* Gets the interface flags of the device.
* @returns the flags
*/
get_interface_flags(): DeviceInterfaceFlags
/**
* Gets the current IPv4 #NMIPConfig associated with the #NMDevice.
*
* You can alternatively use nm_active_connection_get_ip4_config(), which also
* works with VPN connections.
* @returns the IPv4 #NMIPConfig, or %NULL if the device is not activated.
*/
get_ip4_config(): IPConfig
/**
* Gets the current IPv6 #NMIPConfig associated with the #NMDevice.
*
* You can alternatively use nm_active_connection_get_ip6_config(), which also
* works with VPN connections.
* @returns the IPv6 #NMIPConfig or %NULL if the device is not activated.
*/
get_ip6_config(): IPConfig
/**
* Gets the IP interface name of the #NMDevice over which IP traffic flows
* when the device is in the ACTIVATED state.
* @returns the IP traffic interface of the device. This is the internal string used by the device, and must not be modified.
*/
get_ip_iface(): string | null
/**
* Gets the list of neighbors discovered through LLDP.
* @returns the #GPtrArray containing #NMLldpNeighbors. This is the internal copy used by the device and must not be modified. The library never modifies the returned array and thus it is safe for callers to reference and keep using it.
*/
get_lldp_neighbors(): LldpNeighbor[]
/**
* Whether the #NMDevice is managed by NetworkManager.
* @returns %TRUE if the device is managed by NetworkManager
*/
get_managed(): boolean
/**
* Gets the metered setting of a #NMDevice.
* @returns the metered setting.
*/
get_metered(): Metered
/**
* Gets the MTU of the #NMDevice.
* @returns the MTU of the device in bytes.
*/
get_mtu(): number
/**
* Indicates that the NetworkManager plugin for the device is not installed.
* @returns %TRUE if the device plugin not installed.
*/
get_nm_plugin_missing(): boolean
/**
* Gets the path of the #NMDevice as exposed by the udev property ID_PATH.
* @returns the path of the device. The string is backslash escaped (C escaping) for invalid characters. The escaping can be reverted with g_strcompress(), however the result may not be valid UTF-8.
*/
get_path(): string | null
/**
* Gets the physical port ID of the #NMDevice. If non-%NULL, this is
* an opaque string that can be used to recognize when
* seemingly-unrelated #NMDevices are actually just different virtual
* ports on a single physical port. (Eg, NPAR / SR-IOV.)
* @returns the physical port ID of the device, or %NULL if the port ID is unknown. This is the internal string used by the device and must not be modified.
*/
get_physical_port_id(): string | null
/**
* Gets the devices currently set as port of `device`.
* @returns the #GPtrArray containing #NMDevices that are slaves of @device. This is the internal copy used by the device and must not be modified.
*/
get_ports(): Device[]
/**
* Gets the product string of the #NMDevice.
* @returns the product name of the device. This is the internal string used by the device, and must not be modified. The string is backslash escaped (C escaping) for invalid characters. The escaping can be reverted with g_strcompress(), however the result may not be valid UTF-8.
*/
get_product(): string | null
/**
* Gets the (primary) #NMSetting subtype associated with connections
* that can be used on `device`.
* @returns @device's associated #NMSetting type
*/
get_setting_type(): GObject.GType
/**
* Gets the current #NMDevice state.
* @returns the current device state
*/
get_state(): DeviceState
/**
* Gets the reason for entering the current #NMDevice state.
* @returns the reason for entering the current device state
*/
get_state_reason(): DeviceStateReason
/**
* Gets a (non-localized) description of the type of device that
* `device` is.
* @returns the type description of the device. This is the internal string used by the device, and must not be modified.
*/
get_type_description(): string | null
/**
* Gets the Unique Device Identifier of the #NMDevice.
* @returns the Unique Device Identifier of the device. This identifier may be used to gather more information about the device from various operating system services like udev or sysfs.
*/
get_udi(): string | null
/**
* Gets the vendor string of the #NMDevice.
* @returns the vendor name of the device. This is the internal string used by the device, and must not be modified. The string is backslash escaped (C escaping) for invalid characters. The escaping can be reverted with g_strcompress(), however the result may not be valid UTF-8.
*/
get_vendor(): string | null
is_real(): boolean
/**
* Whether the device is a software device.
* @returns %TRUE if @device is a software device, %FALSE if it is a hardware device.
*/
is_software(): boolean
/**
* Attempts to update device with changes to the currently active connection
* made since it was last applied.
* @param connection the #NMConnection to replace the applied settings with or %NULL to reuse existing
* @param version_id zero or the expected version id of the applied connection. If specified and the version id mismatches, the call fails without modification. This allows to catch concurrent accesses.
* @param flags always set this to zero
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
reapply(connection: Connection | null, version_id: number, flags: number, cancellable: Gio.Cancellable | null): boolean
/**
* Asynchronously begins an attempt to update device with changes to the
* currently active connection made since it was last applied.
* @param connection the #NMConnection to replace the applied settings with or %NULL to reuse existing
* @param version_id zero or the expected version id of the applied connection. If specified and the version id mismatches, the call fails without modification. This allows to catch concurrent accesses.
* @param flags always set this to zero
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the reapply operation completes
*/
reapply_async(connection: Connection | null, version_id: number, flags: number, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of reapply_async
/**
* Promisified version of {@link reapply_async}
*
* Asynchronously begins an attempt to update device with changes to the
* currently active connection made since it was last applied.
* @param connection the #NMConnection to replace the applied settings with or %NULL to reuse existing
* @param version_id zero or the expected version id of the applied connection. If specified and the version id mismatches, the call fails without modification. This allows to catch concurrent accesses.
* @param flags always set this to zero
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: %TRUE on success, %FALSE on error, in which case @error will be set.
*/
reapply_async(connection: Connection | null, version_id: number, flags: number, cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_device_reapply_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
reapply_finish(result: Gio.AsyncResult): boolean
/**
* Enables or disables automatic activation of the #NMDevice.
* @param autoconnect %TRUE to enable autoconnecting
*/
set_autoconnect(autoconnect: boolean): void
/**
* Enables or disables management of #NMDevice by NetworkManager.
* @param managed %TRUE to make the device managed by NetworkManager.
*/
set_managed(managed: boolean): void
// Own signals of NM-1.0.NM.Device
connect(sigName: "state-changed", callback: Device.StateChangedSignalCallback): number
connect_after(sigName: "state-changed", callback: Device.StateChangedSignalCallback): number
emit(sigName: "state-changed", new_state: number, old_state: number, reason: number, ...args: any[]): void
// Class property signals of NM-1.0.NM.Device
connect(sigName: "notify::active-connection", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: Device, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class Device extends Object {
// Own properties of NM-1.0.NM.Device
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.Device
constructor(config?: Device.ConstructorProperties)
_init(config?: Device.ConstructorProperties): void
/**
* Generates a list of short-ish unique presentation names for the
* devices in `devices`.
* @param devices an array of #NMDevice
* @returns the device names
*/
static disambiguate_names(devices: Device[]): string[]
}
export module Device6Lowpan {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface Device6Lowpan {
// Own properties of NM-1.0.NM.Device6Lowpan
/**
* The devices's parent device.
*/
readonly parent: Device
// Owm methods of NM-1.0.NM.Device6Lowpan
get_parent(): Device
// Class property signals of NM-1.0.NM.Device6Lowpan
connect(sigName: "notify::parent", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::parent", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::parent", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: Device6Lowpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class Device6Lowpan extends Device {
// Own properties of NM-1.0.NM.Device6Lowpan
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.Device6Lowpan
constructor(config?: Device6Lowpan.ConstructorProperties)
_init(config?: Device6Lowpan.ConstructorProperties): void
}
export module DeviceAdsl {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceAdsl {
// Own properties of NM-1.0.NM.DeviceAdsl
/**
* Whether the device has carrier.
*/
readonly carrier: boolean
// Owm methods of NM-1.0.NM.DeviceAdsl
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier
*/
get_carrier(): boolean
// Class property signals of NM-1.0.NM.DeviceAdsl
connect(sigName: "notify::carrier", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceAdsl, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceAdsl extends Device {
// Own properties of NM-1.0.NM.DeviceAdsl
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceAdsl
constructor(config?: DeviceAdsl.ConstructorProperties)
_init(config?: DeviceAdsl.ConstructorProperties): void
}
export module DeviceBond {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceBond {
// Own properties of NM-1.0.NM.DeviceBond
/**
* Whether the device has carrier.
*/
readonly carrier: boolean
/**
* The devices enslaved to the bond device.
*/
readonly slaves: Device[]
// Owm methods of NM-1.0.NM.DeviceBond
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier
*/
get_carrier(): boolean
/**
* Gets the devices currently enslaved to `device`.
* @returns the #GPtrArray containing #NMDevices that are slaves of @device. This is the internal copy used by the device, and must not be modified.
*/
get_slaves(): Device[]
// Class property signals of NM-1.0.NM.DeviceBond
connect(sigName: "notify::carrier", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::slaves", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::slaves", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::slaves", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceBond, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceBond extends Device {
// Own properties of NM-1.0.NM.DeviceBond
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceBond
constructor(config?: DeviceBond.ConstructorProperties)
_init(config?: DeviceBond.ConstructorProperties): void
}
export module DeviceBridge {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceBridge {
// Own properties of NM-1.0.NM.DeviceBridge
/**
* Whether the device has carrier.
*/
readonly carrier: boolean
/**
* The devices enslaved to the bridge device.
*/
readonly slaves: Device[]
// Owm methods of NM-1.0.NM.DeviceBridge
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier
*/
get_carrier(): boolean
/**
* Gets the devices currently enslaved to `device`.
* @returns the #GPtrArray containing #NMDevices that are slaves of @device. This is the internal copy used by the device, and must not be modified.
*/
get_slaves(): Device[]
// Class property signals of NM-1.0.NM.DeviceBridge
connect(sigName: "notify::carrier", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::slaves", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::slaves", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::slaves", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceBridge extends Device {
// Own properties of NM-1.0.NM.DeviceBridge
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceBridge
constructor(config?: DeviceBridge.ConstructorProperties)
_init(config?: DeviceBridge.ConstructorProperties): void
}
export module DeviceBt {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceBt {
// Own properties of NM-1.0.NM.DeviceBt
/**
* The device's bluetooth capabilities, a combination of #NMBluetoothCapabilities.
*/
readonly bt_capabilities: BluetoothCapabilities
/**
* The name of the bluetooth device.
*/
readonly name: string | null
// Owm methods of NM-1.0.NM.DeviceBt
/**
* Returns the Bluetooth device's usable capabilities.
* @returns a combination of #NMBluetoothCapabilities
*/
get_capabilities(): BluetoothCapabilities
// Overloads of get_capabilities
/**
* Gets the device' capabilities.
* @returns the capabilities
*/
get_capabilities(): DeviceCapabilities
/**
* Gets the name of the #NMDeviceBt.
* @returns the name of the device
*/
get_name(): string | null
// Class property signals of NM-1.0.NM.DeviceBt
connect(sigName: "notify::bt-capabilities", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::bt-capabilities", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::bt-capabilities", ...args: any[]): void
connect(sigName: "notify::name", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::name", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::name", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceBt, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceBt extends Device {
// Own properties of NM-1.0.NM.DeviceBt
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceBt
constructor(config?: DeviceBt.ConstructorProperties)
_init(config?: DeviceBt.ConstructorProperties): void
}
export module DeviceDummy {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceDummy {
// Class property signals of NM-1.0.NM.DeviceDummy
connect(sigName: "notify::active-connection", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceDummy, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceDummy extends Device {
// Own properties of NM-1.0.NM.DeviceDummy
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceDummy
constructor(config?: DeviceDummy.ConstructorProperties)
_init(config?: DeviceDummy.ConstructorProperties): void
}
export module DeviceEthernet {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceEthernet {
// Own properties of NM-1.0.NM.DeviceEthernet
/**
* Whether the device has carrier.
*/
readonly carrier: boolean
/**
* The permanent hardware (MAC) address of the device.
*/
readonly perm_hw_address: string | null
/**
* Identifies subchannels of this network device used for
* communication with z/VM or s390 host.
*/
readonly s390_subchannels: string[]
/**
* The speed of the device.
*/
readonly speed: number
// Owm methods of NM-1.0.NM.DeviceEthernet
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier
*/
get_carrier(): boolean
/**
* Gets the permanent hardware (MAC) address of the #NMDeviceEthernet
* @returns the permanent hardware address. This is the internal string used by the device, and must not be modified.
*/
get_permanent_hw_address(): string | null
/**
* Return the list of s390 subchannels if the device supports them.
* @returns array of strings, each specifying one subchannel the s390 device uses to communicate to the host.
*/
get_s390_subchannels(): string[]
/**
* Gets the speed of the #NMDeviceEthernet in Mbit/s.
* @returns the speed of the device in Mbit/s
*/
get_speed(): number
// Class property signals of NM-1.0.NM.DeviceEthernet
connect(sigName: "notify::carrier", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::perm-hw-address", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::perm-hw-address", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::perm-hw-address", ...args: any[]): void
connect(sigName: "notify::s390-subchannels", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::s390-subchannels", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::s390-subchannels", ...args: any[]): void
connect(sigName: "notify::speed", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::speed", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::speed", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceEthernet, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceEthernet extends Device {
// Own properties of NM-1.0.NM.DeviceEthernet
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceEthernet
constructor(config?: DeviceEthernet.ConstructorProperties)
_init(config?: DeviceEthernet.ConstructorProperties): void
}
export module DeviceGeneric {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceGeneric {
// Own properties of NM-1.0.NM.DeviceGeneric
/**
* A description of the specific type of device this is, or %NULL
* if not known.
*/
readonly type_description: string | null
// Class property signals of NM-1.0.NM.DeviceGeneric
connect(sigName: "notify::type-description", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::type-description", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::type-description", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceGeneric, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceGeneric extends Device {
// Own properties of NM-1.0.NM.DeviceGeneric
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceGeneric
constructor(config?: DeviceGeneric.ConstructorProperties)
_init(config?: DeviceGeneric.ConstructorProperties): void
}
export module DeviceIPTunnel {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceIPTunnel {
// Own properties of NM-1.0.NM.DeviceIPTunnel
/**
* How many additional levels of encapsulation are permitted to
* be prepended to packets. This property applies only to IPv6
* tunnels.
*/
readonly encapsulation_limit: number
/**
* Tunnel flags.
*/
readonly flags: number
/**
* The flow label to assign to tunnel packets. This property
* applies only to IPv6 tunnels.
*/
readonly flow_label: number
/**
* The key used for tunneled input packets, if applicable.
*/
readonly input_key: string | null
/**
* The local endpoint of the tunnel.
*/
readonly local: string | null
/**
* The tunneling mode of the device.
*/
readonly mode: number
/**
* The key used for tunneled output packets, if applicable.
*/
readonly output_key: string | null
/**
* The devices's parent device.
*/
readonly parent: Device
/**
* Whether path MTU discovery is enabled on this tunnel.
*/
readonly path_mtu_discovery: boolean
/**
* The remote endpoint of the tunnel.
*/
readonly remote: string | null
/**
* The type of service (IPv4) or traffic class (IPv6) assigned to
* tunneled packets.
*/
readonly tos: number
/**
* The TTL assigned to tunneled packets. 0 is a special value
* meaning that packets inherit the TTL value
*/
readonly ttl: number
// Owm methods of NM-1.0.NM.DeviceIPTunnel
get_encapsulation_limit(): number
get_flags(): IPTunnelFlags
get_flow_label(): number
get_input_key(): string | null
get_local(): string | null
get_mode(): IPTunnelMode
get_output_key(): string | null
get_parent(): Device
get_path_mtu_discovery(): boolean
get_remote(): string | null
get_tos(): number
get_ttl(): number
// Class property signals of NM-1.0.NM.DeviceIPTunnel
connect(sigName: "notify::encapsulation-limit", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::encapsulation-limit", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::encapsulation-limit", ...args: any[]): void
connect(sigName: "notify::flags", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::flags", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::flags", ...args: any[]): void
connect(sigName: "notify::flow-label", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::flow-label", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::flow-label", ...args: any[]): void
connect(sigName: "notify::input-key", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::input-key", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::input-key", ...args: any[]): void
connect(sigName: "notify::local", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::local", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::local", ...args: any[]): void
connect(sigName: "notify::mode", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mode", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mode", ...args: any[]): void
connect(sigName: "notify::output-key", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::output-key", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::output-key", ...args: any[]): void
connect(sigName: "notify::parent", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::parent", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::parent", ...args: any[]): void
connect(sigName: "notify::path-mtu-discovery", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path-mtu-discovery", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path-mtu-discovery", ...args: any[]): void
connect(sigName: "notify::remote", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::remote", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::remote", ...args: any[]): void
connect(sigName: "notify::tos", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::tos", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::tos", ...args: any[]): void
connect(sigName: "notify::ttl", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ttl", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ttl", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceIPTunnel, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceIPTunnel extends Device {
// Own properties of NM-1.0.NM.DeviceIPTunnel
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceIPTunnel
constructor(config?: DeviceIPTunnel.ConstructorProperties)
_init(config?: DeviceIPTunnel.ConstructorProperties): void
}
export module DeviceInfiniband {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceInfiniband {
// Own properties of NM-1.0.NM.DeviceInfiniband
/**
* Whether the device has carrier.
*/
readonly carrier: boolean
// Owm methods of NM-1.0.NM.DeviceInfiniband
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier
*/
get_carrier(): boolean
// Class property signals of NM-1.0.NM.DeviceInfiniband
connect(sigName: "notify::carrier", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceInfiniband, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceInfiniband extends Device {
// Own properties of NM-1.0.NM.DeviceInfiniband
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceInfiniband
constructor(config?: DeviceInfiniband.ConstructorProperties)
_init(config?: DeviceInfiniband.ConstructorProperties): void
}
export module DeviceLoopback {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceLoopback {
// Class property signals of NM-1.0.NM.DeviceLoopback
connect(sigName: "notify::active-connection", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceLoopback, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceLoopback extends Device {
// Own properties of NM-1.0.NM.DeviceLoopback
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceLoopback
constructor(config?: DeviceLoopback.ConstructorProperties)
_init(config?: DeviceLoopback.ConstructorProperties): void
}
export module DeviceMacsec {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceMacsec {
// Own properties of NM-1.0.NM.DeviceMacsec
/**
* The set of cryptographic algorithms in use.
*/
readonly cipher_suite: number
/**
* The value of the Association Number (0..3) for the Security
* Association in use.
*/
readonly encoding_sa: number
/**
* Whether encryption of transmitted frames is enabled.
*/
readonly encrypt: boolean
/**
* Whether the ES (End station) bit is enabled in SecTAG for
* transmitted frames.
*/
readonly es: boolean
/**
* The length of ICV (Integrity Check Value).
*/
readonly icv_length: number
/**
* Whether the SCI is always included in SecTAG for transmitted
* frames.
*/
readonly include_sci: boolean
/**
* The devices's parent device.
*/
readonly parent: Device
/**
* Whether protection of transmitted frames is enabled.
*/
readonly protect: boolean
/**
* Whether replay protection is enabled.
*/
readonly replay_protect: boolean
/**
* Whether the SCB (Single Copy Broadcast) bit is enabled in
* SecTAG for transmitted frames.
*/
readonly scb: boolean
/**
* The Secure Channel Identifier in use.
*/
readonly sci: number
/**
* The validation mode for incoming packets (strict, check,
* disabled).
*/
readonly validation: string | null
/**
* The size of the replay window.
*/
readonly window: number
// Owm methods of NM-1.0.NM.DeviceMacsec
/**
* Gets the set of cryptographic algorithms in use
* @returns the set of cryptographic algorithms in use
*/
get_cipher_suite(): number
/**
* Gets the value of the Association Number (0..3) for the Security
* Association in use.
* @returns the current Security Association
*/
get_encoding_sa(): number
/**
* Gets whether encryption of transmitted frames is enabled
* @returns whether encryption is enabled
*/
get_encrypt(): boolean
/**
* Gets whether the ES (End station) bit is enabled in SecTAG for
* transmitted frames
* @returns whether the ES (End station) bit is enabled
*/
get_es(): boolean
/**
* Gets the length of ICV (Integrity Check Value)
* @returns the length of ICV
*/
get_icv_length(): number
/**
* Gets whether the SCI is always included in SecTAG for transmitted
* frames
* @returns whether the SCI is always included
*/
get_include_sci(): boolean
get_parent(): Device
/**
* Gets whether protection of transmitted frames is enabled
* @returns whether protection is enabled
*/
get_protect(): boolean
/**
* Gets whether replay protection is enabled
* @returns whether replay protection is enabled
*/
get_replay_protect(): boolean
/**
* Gets whether the SCB (Single Copy Broadcast) bit is enabled in
* SecTAG for transmitted frames
* @returns whether the SCB (Single Copy Broadcast) bit is enabled
*/
get_scb(): boolean
/**
* Gets the Secure Channel Identifier in use
* @returns the SCI
*/
get_sci(): number
/**
* Gets the validation mode for incoming packets (strict, check,
* disabled)
* @returns the validation mode
*/
get_validation(): string | null
/**
* Gets the size of the replay window
* @returns size of the replay window
*/
get_window(): number
// Class property signals of NM-1.0.NM.DeviceMacsec
connect(sigName: "notify::cipher-suite", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::cipher-suite", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::cipher-suite", ...args: any[]): void
connect(sigName: "notify::encoding-sa", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::encoding-sa", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::encoding-sa", ...args: any[]): void
connect(sigName: "notify::encrypt", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::encrypt", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::encrypt", ...args: any[]): void
connect(sigName: "notify::es", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::es", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::es", ...args: any[]): void
connect(sigName: "notify::icv-length", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::icv-length", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::icv-length", ...args: any[]): void
connect(sigName: "notify::include-sci", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::include-sci", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::include-sci", ...args: any[]): void
connect(sigName: "notify::parent", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::parent", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::parent", ...args: any[]): void
connect(sigName: "notify::protect", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::protect", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::protect", ...args: any[]): void
connect(sigName: "notify::replay-protect", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::replay-protect", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::replay-protect", ...args: any[]): void
connect(sigName: "notify::scb", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::scb", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::scb", ...args: any[]): void
connect(sigName: "notify::sci", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::sci", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::sci", ...args: any[]): void
connect(sigName: "notify::validation", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::validation", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::validation", ...args: any[]): void
connect(sigName: "notify::window", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::window", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::window", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceMacsec, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceMacsec extends Device {
// Own properties of NM-1.0.NM.DeviceMacsec
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceMacsec
constructor(config?: DeviceMacsec.ConstructorProperties)
_init(config?: DeviceMacsec.ConstructorProperties): void
}
export module DeviceMacvlan {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceMacvlan {
// Own properties of NM-1.0.NM.DeviceMacvlan
/**
* The MACVLAN mode.
*/
readonly mode: string | null
/**
* Whether the device has the no-promiscuos flag.
*/
readonly no_promisc: boolean
/**
* The devices's parent device.
*/
readonly parent: Device
/**
* Whether the device is a MACVTAP.
*/
readonly tap: boolean
// Owm methods of NM-1.0.NM.DeviceMacvlan
/**
* Gets the MACVLAN mode of the device.
* @returns the MACVLAN mode. This is the internal string used by the device, and must not be modified.
*/
get_mode(): string | null
/**
* Gets the no-promiscuous flag of the device.
* @returns the no-promiscuous flag of the device.
*/
get_no_promisc(): boolean
get_parent(): Device
/**
* Gets the device type (MACVLAN or MACVTAP).
* @returns %TRUE if the device is a MACVTAP, %FALSE if it is a MACVLAN.
*/
get_tap(): boolean
// Class property signals of NM-1.0.NM.DeviceMacvlan
connect(sigName: "notify::mode", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mode", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mode", ...args: any[]): void
connect(sigName: "notify::no-promisc", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::no-promisc", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::no-promisc", ...args: any[]): void
connect(sigName: "notify::parent", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::parent", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::parent", ...args: any[]): void
connect(sigName: "notify::tap", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::tap", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::tap", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceMacvlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceMacvlan extends Device {
// Own properties of NM-1.0.NM.DeviceMacvlan
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceMacvlan
constructor(config?: DeviceMacvlan.ConstructorProperties)
_init(config?: DeviceMacvlan.ConstructorProperties): void
}
export module DeviceModem {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceModem {
// Own properties of NM-1.0.NM.DeviceModem
readonly apn: string | null
/**
* The generic family of access technologies the modem currently supports
* without a firmware reload or reinitialization.
*/
readonly current_capabilities: DeviceModemCapabilities
readonly device_id: string | null
/**
* The generic family of access technologies the modem supports. Not all
* capabilities are available at the same time however; some modems require
* a firmware reload or other reinitialization to switch between eg
* CDMA/EVDO and GSM/UMTS.
*/
readonly modem_capabilities: DeviceModemCapabilities
readonly operator_code: string | null
// Owm methods of NM-1.0.NM.DeviceModem
/**
* The access point name the modem is connected to.
* @returns the APN name or %NULL if disconnected
*/
get_apn(): string | null
/**
* Returns a bitfield of the generic access technology families the modem
* supports without a firmware reload or reinitialization. This value
* represents the network types the modem can immediately connect to.
* @returns the generic access technology families the modem supports without a firmware reload or other reinitialization
*/
get_current_capabilities(): DeviceModemCapabilities
/**
* An identifier used by the modem backend (ModemManager) that aims to
* uniquely identify the a device. Can be used to match a connection to a
* particular device.
* @returns a device-id string
*/
get_device_id(): string | null
/**
* Returns a bitfield of the generic access technology families the modem
* supports. Not all capabilities are available concurrently however; some
* may require a firmware reload or reinitialization.
* @returns the generic access technology families the modem supports
*/
get_modem_capabilities(): DeviceModemCapabilities
/**
* The MCC and MNC (concatenated) of the network the modem is connected to.
* @returns the operator code or %NULL if disconnected or not a 3GPP modem.
*/
get_operator_code(): string | null
// Class property signals of NM-1.0.NM.DeviceModem
connect(sigName: "notify::apn", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::apn", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::apn", ...args: any[]): void
connect(sigName: "notify::current-capabilities", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::current-capabilities", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::current-capabilities", ...args: any[]): void
connect(sigName: "notify::device-id", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-id", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-id", ...args: any[]): void
connect(sigName: "notify::modem-capabilities", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::modem-capabilities", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::modem-capabilities", ...args: any[]): void
connect(sigName: "notify::operator-code", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::operator-code", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::operator-code", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceModem, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceModem extends Device {
// Own properties of NM-1.0.NM.DeviceModem
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceModem
constructor(config?: DeviceModem.ConstructorProperties)
_init(config?: DeviceModem.ConstructorProperties): void
}
export module DeviceOlpcMesh {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceOlpcMesh {
// Own properties of NM-1.0.NM.DeviceOlpcMesh
/**
* The device's active channel.
*/
readonly active_channel: number
/**
* The companion device.
*/
readonly companion: DeviceWifi
// Owm methods of NM-1.0.NM.DeviceOlpcMesh
/**
* Returns the active channel of the #NMDeviceOlpcMesh device.
* @returns active channel of the device
*/
get_active_channel(): number
/**
* Gets the companion device of the #NMDeviceOlpcMesh.
* @returns the companion of the device of %NULL
*/
get_companion(): DeviceWifi
// Class property signals of NM-1.0.NM.DeviceOlpcMesh
connect(sigName: "notify::active-channel", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-channel", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-channel", ...args: any[]): void
connect(sigName: "notify::companion", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::companion", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::companion", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceOlpcMesh, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceOlpcMesh extends Device {
// Own properties of NM-1.0.NM.DeviceOlpcMesh
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceOlpcMesh
constructor(config?: DeviceOlpcMesh.ConstructorProperties)
_init(config?: DeviceOlpcMesh.ConstructorProperties): void
}
export module DeviceOvsBridge {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceOvsBridge {
// Own properties of NM-1.0.NM.DeviceOvsBridge
/**
* Gets the ports currently enslaved to the device.
*/
readonly slaves: Device[]
// Owm methods of NM-1.0.NM.DeviceOvsBridge
/**
* Gets the ports currently enslaved to `device`.
* @returns the #GPtrArray containing #NMDevices that are slaves of @device. This is the internal copy used by the device, and must not be modified.
*/
get_slaves(): Device[]
// Class property signals of NM-1.0.NM.DeviceOvsBridge
connect(sigName: "notify::slaves", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::slaves", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::slaves", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceOvsBridge, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceOvsBridge extends Device {
// Own properties of NM-1.0.NM.DeviceOvsBridge
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceOvsBridge
constructor(config?: DeviceOvsBridge.ConstructorProperties)
_init(config?: DeviceOvsBridge.ConstructorProperties): void
}
export module DeviceOvsInterface {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceOvsInterface {
// Class property signals of NM-1.0.NM.DeviceOvsInterface
connect(sigName: "notify::active-connection", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceOvsInterface, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceOvsInterface extends Device {
// Own properties of NM-1.0.NM.DeviceOvsInterface
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceOvsInterface
constructor(config?: DeviceOvsInterface.ConstructorProperties)
_init(config?: DeviceOvsInterface.ConstructorProperties): void
}
export module DeviceOvsPort {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceOvsPort {
// Own properties of NM-1.0.NM.DeviceOvsPort
/**
* Gets the interfaces currently enslaved to the device.
*/
readonly slaves: Device[]
// Owm methods of NM-1.0.NM.DeviceOvsPort
/**
* Gets the interfaces currently enslaved to `device`.
* @returns the #GPtrArray containing #NMDevices that are slaves of @device. This is the internal copy used by the device, and must not be modified.
*/
get_slaves(): Device[]
// Class property signals of NM-1.0.NM.DeviceOvsPort
connect(sigName: "notify::slaves", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::slaves", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::slaves", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceOvsPort, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceOvsPort extends Device {
// Own properties of NM-1.0.NM.DeviceOvsPort
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceOvsPort
constructor(config?: DeviceOvsPort.ConstructorProperties)
_init(config?: DeviceOvsPort.ConstructorProperties): void
}
export module DevicePpp {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DevicePpp {
// Class property signals of NM-1.0.NM.DevicePpp
connect(sigName: "notify::active-connection", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DevicePpp, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DevicePpp extends Device {
// Own properties of NM-1.0.NM.DevicePpp
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DevicePpp
constructor(config?: DevicePpp.ConstructorProperties)
_init(config?: DevicePpp.ConstructorProperties): void
}
export module DeviceTeam {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceTeam {
// Own properties of NM-1.0.NM.DeviceTeam
/**
* Whether the device has carrier.
*/
readonly carrier: boolean
/**
* The current JSON configuration of the device.
*/
readonly config: string | null
/**
* The devices enslaved to the team device.
*/
readonly slaves: Device[]
// Owm methods of NM-1.0.NM.DeviceTeam
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier
*/
get_carrier(): boolean
/**
* Gets the current JSON configuration of the #NMDeviceTeam
* @returns the current configuration. This is the internal string used by the device, and must not be modified.
*/
get_config(): string | null
/**
* Gets the devices currently enslaved to `device`.
* @returns the #GPtrArray containing #NMDevices that are slaves of @device. This is the internal copy used by the device, and must not be modified.
*/
get_slaves(): Device[]
// Class property signals of NM-1.0.NM.DeviceTeam
connect(sigName: "notify::carrier", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::config", ...args: any[]): void
connect(sigName: "notify::slaves", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::slaves", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::slaves", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceTeam, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceTeam extends Device {
// Own properties of NM-1.0.NM.DeviceTeam
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceTeam
constructor(config?: DeviceTeam.ConstructorProperties)
_init(config?: DeviceTeam.ConstructorProperties): void
}
export module DeviceTun {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceTun {
// Own properties of NM-1.0.NM.DeviceTun
/**
* The gid of the tunnel group, or -1 if it has no owner.
*/
readonly group: number
/**
* The tunnel mode, either "tun" or "tap".
*/
readonly mode: string | null
/**
* The tunnel's "TUN_TAP_MQ" flag; true if callers can connect to
* the tap device multiple times, for multiple send/receive
* queues.
*/
readonly multi_queue: boolean
/**
* The tunnel's "TUN_NO_PI" flag; true if no protocol info is
* prepended to the tunnel packets.
*/
readonly no_pi: boolean
/**
* The uid of the tunnel owner, or -1 if it has no owner.
*/
readonly owner: number
/**
* The tunnel's "TUN_VNET_HDR" flag; true if the tunnel packets
* include a virtio network header.
*/
readonly vnet_hdr: boolean
// Owm methods of NM-1.0.NM.DeviceTun
/**
* Gets the tunnel group.
* @returns the gid of the tunnel group, or -1 if it has no owner.
*/
get_group(): number
/**
* Returns the TUN/TAP mode for the device.
* @returns 'tun' or 'tap'
*/
get_mode(): string | null
/**
* Returns whether the #NMDeviceTun has the IFF_MULTI_QUEUE flag.
* @returns %TRUE if the device doesn't have the flag, %FALSE otherwise
*/
get_multi_queue(): boolean
/**
* Returns whether the #NMDeviceTun has the IFF_NO_PI flag.
* @returns %TRUE if the device has the flag, %FALSE otherwise
*/
get_no_pi(): boolean
/**
* Gets the tunnel owner.
* @returns the uid of the tunnel owner, or -1 if it has no owner.
*/
get_owner(): number
/**
* Returns whether the #NMDeviceTun has the IFF_VNET_HDR flag.
* @returns %TRUE if the device has the flag, %FALSE otherwise
*/
get_vnet_hdr(): boolean
// Class property signals of NM-1.0.NM.DeviceTun
connect(sigName: "notify::group", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::group", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::group", ...args: any[]): void
connect(sigName: "notify::mode", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mode", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mode", ...args: any[]): void
connect(sigName: "notify::multi-queue", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::multi-queue", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::multi-queue", ...args: any[]): void
connect(sigName: "notify::no-pi", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::no-pi", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::no-pi", ...args: any[]): void
connect(sigName: "notify::owner", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::owner", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::owner", ...args: any[]): void
connect(sigName: "notify::vnet-hdr", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vnet-hdr", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vnet-hdr", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceTun, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceTun extends Device {
// Own properties of NM-1.0.NM.DeviceTun
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceTun
constructor(config?: DeviceTun.ConstructorProperties)
_init(config?: DeviceTun.ConstructorProperties): void
}
export module DeviceVeth {
// Constructor properties interface
export interface ConstructorProperties extends DeviceEthernet.ConstructorProperties {
}
}
export interface DeviceVeth {
// Own properties of NM-1.0.NM.DeviceVeth
/**
* The device's peer device.
*/
readonly peer: Device
// Owm methods of NM-1.0.NM.DeviceVeth
get_peer(): Device
// Class property signals of NM-1.0.NM.DeviceVeth
connect(sigName: "notify::peer", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::peer", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::peer", ...args: any[]): void
connect(sigName: "notify::carrier", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::perm-hw-address", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::perm-hw-address", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::perm-hw-address", ...args: any[]): void
connect(sigName: "notify::s390-subchannels", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::s390-subchannels", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::s390-subchannels", ...args: any[]): void
connect(sigName: "notify::speed", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::speed", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::speed", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceVeth, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceVeth extends DeviceEthernet {
// Own properties of NM-1.0.NM.DeviceVeth
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceVeth
constructor(config?: DeviceVeth.ConstructorProperties)
_init(config?: DeviceVeth.ConstructorProperties): void
}
export module DeviceVlan {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceVlan {
// Own properties of NM-1.0.NM.DeviceVlan
/**
* Whether the device has carrier.
*/
readonly carrier: boolean
/**
* The devices's parent device.
*/
readonly parent: Device
/**
* The device's VLAN ID.
*/
readonly vlan_id: number
// Owm methods of NM-1.0.NM.DeviceVlan
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier
*/
get_carrier(): boolean
get_parent(): Device
get_vlan_id(): number
// Class property signals of NM-1.0.NM.DeviceVlan
connect(sigName: "notify::carrier", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::parent", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::parent", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::parent", ...args: any[]): void
connect(sigName: "notify::vlan-id", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vlan-id", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vlan-id", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceVlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceVlan extends Device {
// Own properties of NM-1.0.NM.DeviceVlan
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceVlan
constructor(config?: DeviceVlan.ConstructorProperties)
_init(config?: DeviceVlan.ConstructorProperties): void
}
export module DeviceVrf {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceVrf {
// Own properties of NM-1.0.NM.DeviceVrf
/**
* The device's VRF table.
*/
readonly table: number
// Owm methods of NM-1.0.NM.DeviceVrf
get_table(): number
// Class property signals of NM-1.0.NM.DeviceVrf
connect(sigName: "notify::table", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::table", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::table", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceVrf, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceVrf extends Device {
// Own properties of NM-1.0.NM.DeviceVrf
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceVrf
constructor(config?: DeviceVrf.ConstructorProperties)
_init(config?: DeviceVrf.ConstructorProperties): void
}
export module DeviceVxlan {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceVxlan {
// Own properties of NM-1.0.NM.DeviceVxlan
/**
* The lifetime in seconds of FDB entries learnt by the kernel.
*/
readonly ageing: number
/**
* Whether the device has carrier.
*
* This property is not implemented yet, and the property is always FALSE.
*/
readonly carrier: boolean
/**
* The UDP destination port used to communicate with the remote VXLAN tunnel
* endpoint.
*/
readonly dst_port: number
/**
* The unicast destination IP address used in outgoing packets when the
* destination link layer address is not known in the VXLAN device
* forwarding database or the multicast IP address joined.
*/
readonly group: string | null
/**
* The device's VXLAN ID.
*/
readonly id: number
/**
* Whether netlink LL ADDR miss notifications are generated.
*/
readonly l2miss: boolean
/**
* Whether netlink IP ADDR miss notifications are generated.
*/
readonly l3miss: boolean
/**
* Whether unknown source link layer addresses and IP addresses are entered
* into the VXLAN device forwarding database.
*/
readonly learning: boolean
/**
* The maximum number of entries that can be added to the forwarding table.
*/
readonly limit: number
/**
* The source IP address to use in outgoing packets.
*/
readonly local: string | null
/**
* The devices's parent device.
*/
readonly parent: Device
/**
* Whether ARP proxy is turned on.
*/
readonly proxy: boolean
/**
* Whether route short circuit is turned on.
*/
readonly rsc: boolean
/**
* The maximum UDP source port used to communicate with the remote VXLAN
* tunnel endpoint.
*/
readonly src_port_max: number
/**
* The minimum UDP source port used to communicate with the remote VXLAN
* tunnel endpoint.
*/
readonly src_port_min: number
/**
* The TOS value to use in outgoing packets.
*/
readonly tos: number
/**
* The time-to-live value to use in outgoing packets.
*/
readonly ttl: number
// Owm methods of NM-1.0.NM.DeviceVxlan
get_ageing(): number
/**
* Whether the device has carrier.
* @returns %TRUE if the device has carrier. This property is not implemented yet, and the function always returns FALSE.
*/
get_carrier(): boolean
get_dst_port(): number
get_group(): string | null
get_id(): number
get_l2miss(): boolean
get_l3miss(): boolean
get_learning(): boolean
get_limit(): number
get_local(): string | null
get_parent(): Device
get_proxy(): boolean
get_rsc(): boolean
get_src_port_max(): number
get_src_port_min(): number
get_tos(): number
get_ttl(): number
// Class property signals of NM-1.0.NM.DeviceVxlan
connect(sigName: "notify::ageing", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ageing", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ageing", ...args: any[]): void
connect(sigName: "notify::carrier", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::carrier", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::carrier", ...args: any[]): void
connect(sigName: "notify::dst-port", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dst-port", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dst-port", ...args: any[]): void
connect(sigName: "notify::group", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::group", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::group", ...args: any[]): void
connect(sigName: "notify::id", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::id", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::id", ...args: any[]): void
connect(sigName: "notify::l2miss", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::l2miss", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::l2miss", ...args: any[]): void
connect(sigName: "notify::l3miss", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::l3miss", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::l3miss", ...args: any[]): void
connect(sigName: "notify::learning", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::learning", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::learning", ...args: any[]): void
connect(sigName: "notify::limit", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::limit", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::limit", ...args: any[]): void
connect(sigName: "notify::local", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::local", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::local", ...args: any[]): void
connect(sigName: "notify::parent", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::parent", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::parent", ...args: any[]): void
connect(sigName: "notify::proxy", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::proxy", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::proxy", ...args: any[]): void
connect(sigName: "notify::rsc", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::rsc", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::rsc", ...args: any[]): void
connect(sigName: "notify::src-port-max", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::src-port-max", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::src-port-max", ...args: any[]): void
connect(sigName: "notify::src-port-min", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::src-port-min", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::src-port-min", ...args: any[]): void
connect(sigName: "notify::tos", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::tos", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::tos", ...args: any[]): void
connect(sigName: "notify::ttl", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ttl", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ttl", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceVxlan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceVxlan extends Device {
// Own properties of NM-1.0.NM.DeviceVxlan
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceVxlan
constructor(config?: DeviceVxlan.ConstructorProperties)
_init(config?: DeviceVxlan.ConstructorProperties): void
}
export module DeviceWifi {
// Signal callback interfaces
/**
* Signal callback interface for `access-point-added`
*/
export interface AccessPointAddedSignalCallback {
($obj: DeviceWifi, ap: GObject.Object): void
}
/**
* Signal callback interface for `access-point-removed`
*/
export interface AccessPointRemovedSignalCallback {
($obj: DeviceWifi, ap: GObject.Object): void
}
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceWifi {
// Own properties of NM-1.0.NM.DeviceWifi
/**
* List of all Wi-Fi access points the device can see.
*/
readonly access_points: AccessPoint[]
/**
* The active #NMAccessPoint of the device.
*/
readonly active_access_point: AccessPoint
/**
* The bit rate of the device in kbit/s.
*/
readonly bitrate: number
/**
* The timestamp (in CLOCK_BOOTTIME seconds) for the last finished
* network scan. A value of -1 means the device never scanned for
* access points.
*/
readonly last_scan: number
/**
* The mode of the device.
*/
readonly mode: TODO_80211Mode
/**
* The hardware (MAC) address of the device.
*/
readonly perm_hw_address: string | null
/**
* The wireless capabilities of the device.
*/
readonly wireless_capabilities: DeviceWifiCapabilities
// Owm methods of NM-1.0.NM.DeviceWifi
/**
* Gets a #NMAccessPoint by path.
* @param path the object path of the access point
* @returns the access point or %NULL if none is found.
*/
get_access_point_by_path(path: string | null): AccessPoint
/**
* Gets all the scanned access points of the #NMDeviceWifi.
* @returns a #GPtrArray containing all the scanned #NMAccessPoints. The returned array is owned by the client and should not be modified.
*/
get_access_points(): AccessPoint[]
/**
* Gets the active #NMAccessPoint.
* @returns the access point or %NULL if none is active
*/
get_active_access_point(): AccessPoint
/**
* Gets the bit rate of the #NMDeviceWifi in kbit/s.
* @returns the bit rate (kbit/s)
*/
get_bitrate(): number
/**
* Gets the Wi-Fi capabilities of the #NMDeviceWifi.
* @returns the capabilities
*/
get_capabilities(): DeviceWifiCapabilities
// Overloads of get_capabilities
/**
* Gets the device' capabilities.
* @returns the capabilities
*/
get_capabilities(): DeviceCapabilities
/**
* Returns the timestamp (in CLOCK_BOOTTIME milliseconds) for the last finished
* network scan. A value of -1 means the device never scanned for access points.
*
* Use nm_utils_get_timestamp_msec() to obtain current time value suitable for
* comparing to this value.
* @returns the last scan time in milliseconds (in clock_gettime(CLOCK_BOOTTIME) scale).
*/
get_last_scan(): number
/**
* Gets the #NMDeviceWifi mode.
* @returns the mode
*/
get_mode(): TODO_80211Mode
/**
* Gets the permanent hardware (MAC) address of the #NMDeviceWifi
* @returns the permanent hardware address. This is the internal string used by the device, and must not be modified.
*/
get_permanent_hw_address(): string | null
/**
* Request NM to scan for access points on `device`. Note that the function
* returns immediately after requesting the scan, and it may take some time
* after that for the scan to complete.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
request_scan(cancellable: Gio.Cancellable | null): boolean
/**
* Request NM to scan for access points on `device`. Note that `callback` will be
* called immediately after requesting the scan, and it may take some time after
* that for the scan to complete.
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the scan has been requested
*/
request_scan_async(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Overloads of request_scan_async
/**
* Promisified version of {@link request_scan_async}
*
* Request NM to scan for access points on `device`. Note that `callback` will be
* called immediately after requesting the scan, and it may take some time after
* that for the scan to complete.
* @param cancellable a #GCancellable, or %NULL
* @returns A Promise of: %TRUE on success, %FALSE on error, in which case @error will be set.
*/
request_scan_async(cancellable: Gio.Cancellable | null): globalThis.Promise
/**
* Gets the result of a call to nm_device_wifi_request_scan_async() and
* nm_device_wifi_request_scan_options_async().
* @param result the result passed to the #GAsyncReadyCallback
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
request_scan_finish(result: Gio.AsyncResult): boolean
/**
* Request NM to scan for access points on `device`. Note that the function
* returns immediately after requesting the scan, and it may take some time
* after that for the scan to complete.
* This is the same as `nm_device_wifi_request_scan` except it accepts `options`
* for the scanning. The argument is the dictionary passed to RequestScan()
* D-Bus call. Valid options inside the dictionary are:
* 'ssids' => array of SSIDs (saay)
* @param options dictionary with options for RequestScan(), or %NULL
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
request_scan_options(options: GLib.Variant, cancellable: Gio.Cancellable | null): boolean
/**
* Request NM to scan for access points on `device`. Note that `callback` will be
* called immediately after requesting the scan, and it may take some time after
* that for the scan to complete.
* This is the same as `nm_device_wifi_request_scan_async` except it accepts `options`
* for the scanning. The argument is the dictionary passed to RequestScan()
* D-Bus call. Valid options inside the dictionary are:
* 'ssids' => array of SSIDs (saay)
*
* To complete the request call nm_device_wifi_request_scan_finish().
* @param options dictionary with options for RequestScan(), or %NULL
* @param cancellable a #GCancellable, or %NULL
* @param callback callback to be called when the scan has been requested
*/
request_scan_options_async(options: GLib.Variant, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
// Own signals of NM-1.0.NM.DeviceWifi
connect(sigName: "access-point-added", callback: DeviceWifi.AccessPointAddedSignalCallback): number
connect_after(sigName: "access-point-added", callback: DeviceWifi.AccessPointAddedSignalCallback): number
emit(sigName: "access-point-added", ap: GObject.Object, ...args: any[]): void
connect(sigName: "access-point-removed", callback: DeviceWifi.AccessPointRemovedSignalCallback): number
connect_after(sigName: "access-point-removed", callback: DeviceWifi.AccessPointRemovedSignalCallback): number
emit(sigName: "access-point-removed", ap: GObject.Object, ...args: any[]): void
// Class property signals of NM-1.0.NM.DeviceWifi
connect(sigName: "notify::access-points", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::access-points", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::access-points", ...args: any[]): void
connect(sigName: "notify::active-access-point", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-access-point", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-access-point", ...args: any[]): void
connect(sigName: "notify::bitrate", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::bitrate", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::bitrate", ...args: any[]): void
connect(sigName: "notify::last-scan", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::last-scan", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::last-scan", ...args: any[]): void
connect(sigName: "notify::mode", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mode", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mode", ...args: any[]): void
connect(sigName: "notify::perm-hw-address", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::perm-hw-address", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::perm-hw-address", ...args: any[]): void
connect(sigName: "notify::wireless-capabilities", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wireless-capabilities", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wireless-capabilities", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceWifi, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceWifi extends Device {
// Own properties of NM-1.0.NM.DeviceWifi
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceWifi
constructor(config?: DeviceWifi.ConstructorProperties)
_init(config?: DeviceWifi.ConstructorProperties): void
}
export module DeviceWifiP2P {
// Signal callback interfaces
/**
* Signal callback interface for `peer-added`
*/
export interface PeerAddedSignalCallback {
($obj: DeviceWifiP2P, peer: GObject.Object): void
}
/**
* Signal callback interface for `peer-removed`
*/
export interface PeerRemovedSignalCallback {
($obj: DeviceWifiP2P, peer: GObject.Object): void
}
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceWifiP2P {
// Own properties of NM-1.0.NM.DeviceWifiP2P
/**
* List of all Wi-Fi P2P peers the device can see.
*/
readonly peers: WifiP2PPeer[]
// Owm methods of NM-1.0.NM.DeviceWifiP2P
/**
* Gets a #NMWifiP2PPeer by path.
* @param path the object path of the peer
* @returns the peer or %NULL if none is found.
*/
get_peer_by_path(path: string | null): WifiP2PPeer
/**
* Gets all the found peers of the #NMDeviceWifiP2P.
* @returns a #GPtrArray containing all the found #NMWifiP2PPeers. The returned array is owned by the client and should not be modified.
*/
get_peers(): WifiP2PPeer[]
/**
* Request NM to search for Wi-Fi P2P peers on `device`. Note that the call
* returns immediately after requesting the find, and it may take some time
* after that for peers to be found.
*
* The find operation will run for 30s by default. You can stop it earlier
* using nm_device_p2p_wifi_stop_find().
* @param options optional options passed to StartFind.
* @param cancellable a #GCancellable, or %NULL
* @param callback a #GAsyncReadyCallback, or %NULL
*/
start_find(options: GLib.Variant | null, cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Finish an operation started by nm_device_wifi_p2p_start_find().
* @param result the #GAsyncResult
* @returns %TRUE if the call was successful
*/
start_find_finish(result: Gio.AsyncResult): boolean
/**
* Request NM to stop any ongoing find operation for Wi-Fi P2P peers on `device`.
* @param cancellable a #GCancellable, or %NULL
* @param callback a #GAsyncReadyCallback, or %NULL
*/
stop_find(cancellable: Gio.Cancellable | null, callback: Gio.AsyncReadyCallback | null): void
/**
* Finish an operation started by nm_device_wifi_p2p_stop_find().
* @param result the #GAsyncResult
* @returns %TRUE if the call was successful
*/
stop_find_finish(result: Gio.AsyncResult): boolean
// Own signals of NM-1.0.NM.DeviceWifiP2P
connect(sigName: "peer-added", callback: DeviceWifiP2P.PeerAddedSignalCallback): number
connect_after(sigName: "peer-added", callback: DeviceWifiP2P.PeerAddedSignalCallback): number
emit(sigName: "peer-added", peer: GObject.Object, ...args: any[]): void
connect(sigName: "peer-removed", callback: DeviceWifiP2P.PeerRemovedSignalCallback): number
connect_after(sigName: "peer-removed", callback: DeviceWifiP2P.PeerRemovedSignalCallback): number
emit(sigName: "peer-removed", peer: GObject.Object, ...args: any[]): void
// Class property signals of NM-1.0.NM.DeviceWifiP2P
connect(sigName: "notify::peers", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::peers", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::peers", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceWifiP2P, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceWifiP2P extends Device {
// Own properties of NM-1.0.NM.DeviceWifiP2P
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceWifiP2P
constructor(config?: DeviceWifiP2P.ConstructorProperties)
_init(config?: DeviceWifiP2P.ConstructorProperties): void
}
export module DeviceWimax {
// Signal callback interfaces
/**
* Signal callback interface for `nsp-added`
*/
export interface NspAddedSignalCallback {
($obj: DeviceWimax, nsp: GObject.Object): void
}
/**
* Signal callback interface for `nsp-removed`
*/
export interface NspRemovedSignalCallback {
($obj: DeviceWimax, nsp: GObject.Object): void
}
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceWimax {
// Own properties of NM-1.0.NM.DeviceWimax
/**
* The active #NMWimaxNsp of the device.
*/
readonly active_nsp: WimaxNsp
/**
* The ID of the serving base station as received from the network. Has
* no meaning when the device is not connected.
*/
readonly bsid: string | null
/**
* The center frequency (in KHz) of the radio channel the device is using to
* communicate with the network when connected. Has no meaning when the
* device is not connected.
*/
readonly center_frequency: number
/**
* CINR (Carrier to Interference + Noise Ratio) of the current radio link
* in dB. CINR is a more accurate measure of radio link quality. Has no
* meaning when the device is not connected.
*/
readonly cinr: number
/**
* The hardware (MAC) address of the device.
*/
readonly hw_address: string | null
/**
* List of all WiMAX Network Service Providers the device can see.
*/
readonly nsps: WimaxNsp[]
/**
* RSSI of the current radio link in dBm. This value indicates how strong
* the raw received RF signal from the base station is, but does not
* indicate the overall quality of the radio link. Has no meaning when the
* device is not connected.
*/
readonly rssi: number
/**
* Average power of the last burst transmitted by the device, in units of
* 0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of
* -5.5 dBm. Has no meaning when the device is not connected.
*/
readonly tx_power: number
// Owm methods of NM-1.0.NM.DeviceWimax
/**
* Gets the active #NMWimaxNsp.
* @returns the access point or %NULL if none is active
*/
get_active_nsp(): WimaxNsp
/**
* Gets the ID of the serving Base Station when the device is connected.
* @returns the ID of the serving Base Station, or %NULL
*/
get_bsid(): string | null
/**
* Gets the center frequency (in KHz) of the radio channel the device is using
* to communicate with the network when connected. Has no meaning when the
* device is not connected.
* @returns the center frequency in KHz, or 0
*/
get_center_frequency(): number
/**
* Gets the CINR (Carrier to Interference + Noise Ratio) of the current radio
* link in dB. CINR is a more accurate measure of radio link quality. Has no
* meaning when the device is not connected.
* @returns the CINR in dB, or 0
*/
get_cinr(): number
/**
* Gets the hardware (MAC) address of the #NMDeviceWimax
* @returns the hardware address. This is the internal string used by the device, and must not be modified.
*/
get_hw_address(): string | null
/**
* Gets a #NMWimaxNsp by path.
* @param path the object path of the NSP
* @returns the access point or %NULL if none is found.
*/
get_nsp_by_path(path: string | null): WimaxNsp
/**
* Gets all the scanned NSPs of the #NMDeviceWimax.
* @returns a #GPtrArray containing all the scanned #NMWimaxNsps. The returned array is owned by the client and should not be modified.
*/
get_nsps(): WimaxNsp[]
/**
* Gets the RSSI of the current radio link in dBm. This value indicates how
* strong the raw received RF signal from the base station is, but does not
* indicate the overall quality of the radio link. Has no meaning when the
* device is not connected.
* @returns the RSSI in dBm, or 0
*/
get_rssi(): number
/**
* Average power of the last burst transmitted by the device, in units of
* 0.5 dBm. i.e. a TxPower of -11 represents an actual device TX power of
* -5.5 dBm. Has no meaning when the device is not connected.
* @returns the TX power in dBm, or 0
*/
get_tx_power(): number
// Own signals of NM-1.0.NM.DeviceWimax
connect(sigName: "nsp-added", callback: DeviceWimax.NspAddedSignalCallback): number
connect_after(sigName: "nsp-added", callback: DeviceWimax.NspAddedSignalCallback): number
emit(sigName: "nsp-added", nsp: GObject.Object, ...args: any[]): void
connect(sigName: "nsp-removed", callback: DeviceWimax.NspRemovedSignalCallback): number
connect_after(sigName: "nsp-removed", callback: DeviceWimax.NspRemovedSignalCallback): number
emit(sigName: "nsp-removed", nsp: GObject.Object, ...args: any[]): void
// Class property signals of NM-1.0.NM.DeviceWimax
connect(sigName: "notify::active-nsp", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-nsp", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-nsp", ...args: any[]): void
connect(sigName: "notify::bsid", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::bsid", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::bsid", ...args: any[]): void
connect(sigName: "notify::center-frequency", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::center-frequency", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::center-frequency", ...args: any[]): void
connect(sigName: "notify::cinr", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::cinr", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::cinr", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::nsps", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nsps", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nsps", ...args: any[]): void
connect(sigName: "notify::rssi", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::rssi", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::rssi", ...args: any[]): void
connect(sigName: "notify::tx-power", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::tx-power", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::tx-power", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceWimax, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceWimax extends Device {
// Own properties of NM-1.0.NM.DeviceWimax
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceWimax
constructor(config?: DeviceWimax.ConstructorProperties)
_init(config?: DeviceWimax.ConstructorProperties): void
}
export module DeviceWireGuard {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceWireGuard {
// Own properties of NM-1.0.NM.DeviceWireGuard
/**
* Optional firewall mark - see ip-rule(8).
* Used when setting routing policy for outgoing encrypted packets.
* Set to 0 to disable the mark (default).
*/
readonly fwmark: number
/**
* Local UDP listen port.
* Set to 0 to allow a random port to be chosen (default).
*/
readonly listen_port: number
/**
* 32-byte public key, derived from the current private key.
*/
readonly public_key: GLib.Bytes
// Owm methods of NM-1.0.NM.DeviceWireGuard
/**
* Gets the fwmark (firewall mark) for this interface.
* It can be used to set routing policy for outgoing encrypted packets.
* See: ip-rule(8)
* @returns 0 if fwmark not in use, 32-bit fwmark value otherwise
*/
get_fwmark(): number
/**
* Gets the local UDP port this interface listens on
* @returns UDP listen port
*/
get_listen_port(): number
/**
* Gets the public key for this interface
* @returns the #GBytes containing the 32-byte public key
*/
get_public_key(): GLib.Bytes
// Class property signals of NM-1.0.NM.DeviceWireGuard
connect(sigName: "notify::fwmark", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::fwmark", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::fwmark", ...args: any[]): void
connect(sigName: "notify::listen-port", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::listen-port", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::listen-port", ...args: any[]): void
connect(sigName: "notify::public-key", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::public-key", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::public-key", ...args: any[]): void
connect(sigName: "notify::active-connection", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceWireGuard, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceWireGuard extends Device {
// Own properties of NM-1.0.NM.DeviceWireGuard
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceWireGuard
constructor(config?: DeviceWireGuard.ConstructorProperties)
_init(config?: DeviceWireGuard.ConstructorProperties): void
}
export module DeviceWpan {
// Constructor properties interface
export interface ConstructorProperties extends Device.ConstructorProperties {
}
}
export interface DeviceWpan {
// Class property signals of NM-1.0.NM.DeviceWpan
connect(sigName: "notify::active-connection", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::active-connection", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::active-connection", ...args: any[]): void
connect(sigName: "notify::autoconnect", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::autoconnect", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::autoconnect", ...args: any[]): void
connect(sigName: "notify::available-connections", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::available-connections", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::available-connections", ...args: any[]): void
connect(sigName: "notify::capabilities", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::capabilities", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::capabilities", ...args: any[]): void
connect(sigName: "notify::device-type", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::device-type", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::device-type", ...args: any[]): void
connect(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp4-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp4-config", ...args: any[]): void
connect(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::dhcp6-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::dhcp6-config", ...args: any[]): void
connect(sigName: "notify::driver", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver", ...args: any[]): void
connect(sigName: "notify::driver-version", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::driver-version", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::driver-version", ...args: any[]): void
connect(sigName: "notify::firmware-missing", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-missing", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-missing", ...args: any[]): void
connect(sigName: "notify::firmware-version", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::firmware-version", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::firmware-version", ...args: any[]): void
connect(sigName: "notify::hw-address", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::hw-address", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::hw-address", ...args: any[]): void
connect(sigName: "notify::interface", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface", ...args: any[]): void
connect(sigName: "notify::interface-flags", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::interface-flags", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::interface-flags", ...args: any[]): void
connect(sigName: "notify::ip-interface", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip-interface", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip-interface", ...args: any[]): void
connect(sigName: "notify::ip4-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-config", ...args: any[]): void
connect(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip4-connectivity", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip4-connectivity", ...args: any[]): void
connect(sigName: "notify::ip6-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-config", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-config", ...args: any[]): void
connect(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ip6-connectivity", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ip6-connectivity", ...args: any[]): void
connect(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::lldp-neighbors", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::lldp-neighbors", ...args: any[]): void
connect(sigName: "notify::managed", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::managed", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::managed", ...args: any[]): void
connect(sigName: "notify::metered", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::metered", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::metered", ...args: any[]): void
connect(sigName: "notify::mtu", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::mtu", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::mtu", ...args: any[]): void
connect(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nm-plugin-missing", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nm-plugin-missing", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: "notify::physical-port-id", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::physical-port-id", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::physical-port-id", ...args: any[]): void
connect(sigName: "notify::ports", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::ports", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::ports", ...args: any[]): void
connect(sigName: "notify::product", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::product", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::product", ...args: any[]): void
connect(sigName: "notify::real", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::real", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::real", ...args: any[]): void
connect(sigName: "notify::state", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state", ...args: any[]): void
connect(sigName: "notify::state-reason", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::state-reason", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::state-reason", ...args: any[]): void
connect(sigName: "notify::udi", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::udi", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::udi", ...args: any[]): void
connect(sigName: "notify::vendor", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::vendor", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::vendor", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DeviceWpan, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
// Overloads of disconnect
/**
* Disconnects the device if currently connected, and prevents the device from
* automatically connecting to networks until the next manual network connection
* request.
* @param cancellable a #GCancellable, or %NULL
* @returns %TRUE on success, %FALSE on error, in which case @error will be set.
*/
disconnect(cancellable: Gio.Cancellable | null): boolean
}
export class DeviceWpan extends Device {
// Own properties of NM-1.0.NM.DeviceWpan
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DeviceWpan
constructor(config?: DeviceWpan.ConstructorProperties)
_init(config?: DeviceWpan.ConstructorProperties): void
}
export module DhcpConfig {
// Constructor properties interface
export interface ConstructorProperties extends Object.ConstructorProperties {
}
}
export interface DhcpConfig {
// Own properties of NM-1.0.NM.DhcpConfig
/**
* The IP address family of the configuration; either
* AF_INET or AF_INET6.
*/
readonly family: number
/**
* The #GHashTable containing options of the configuration.
*/
readonly options: GLib.HashTable
// Owm methods of NM-1.0.NM.DhcpConfig
/**
* Gets the IP address family of the configuration
* @returns the IP address family; either AF_INET or AF_INET6
*/
get_family(): number
/**
* Gets one option by option name.
* @param option the option to retrieve
* @returns the configuration option's value. This is the internal string used by the configuration, and must not be modified.
*/
get_one_option(option: string | null): string | null
/**
* Gets all the options contained in the configuration.
* @returns the #GHashTable containing strings for keys and values. This is the internal copy used by the configuration, and must not be modified.
*/
get_options(): GLib.HashTable
// Class property signals of NM-1.0.NM.DhcpConfig
connect(sigName: "notify::family", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::family", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::family", ...args: any[]): void
connect(sigName: "notify::options", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::options", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::options", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: DhcpConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class DhcpConfig extends Object {
// Own properties of NM-1.0.NM.DhcpConfig
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.DhcpConfig
constructor(config?: DhcpConfig.ConstructorProperties)
_init(config?: DhcpConfig.ConstructorProperties): void
}
export module IPConfig {
// Constructor properties interface
export interface ConstructorProperties extends Object.ConstructorProperties {
}
}
export interface IPConfig {
// Own properties of NM-1.0.NM.IPConfig
/**
* A #GPtrArray containing the addresses (#NMIPAddress) of the configuration.
*/
readonly addresses: any[]
/**
* The array containing domain strings of the configuration.
*/
readonly domains: string[]
/**
* The IP address family of the configuration; either
* AF_INET or AF_INET6.
*/
readonly family: number
/**
* The IP gateway address of the configuration as string.
*/
readonly gateway: string | null
/**
* The array containing name server IP addresses of the configuration.
*/
readonly nameservers: string[]
/**
* A #GPtrArray containing the routes (#NMIPRoute) of the configuration.
*/
readonly routes: IPRoute[]
/**
* The array containing DNS search strings of the configuration.
*/
readonly searches: string[]
/**
* The array containing WINS server IP addresses of the configuration.
* (This will always be empty for IPv6 configurations.)
*/
readonly wins_servers: string[]
// Owm methods of NM-1.0.NM.IPConfig
/**
* Gets the IP addresses (containing the address, prefix, and gateway).
* @returns the #GPtrArray containing #NMIPAddresses. This is the internal copy used by the configuration and must not be modified. The library never modifies the returned array and thus it is safe for callers to reference and keep using it.
*/
get_addresses(): IPAddress[]
/**
* Gets the domain names.
* @returns the array of domains. (This is never %NULL, though it may be 0-length).
*/
get_domains(): string[]
/**
* Gets the IP address family
* @returns the IP address family; either AF_INET or AF_INET6
*/
get_family(): number
/**
* Gets the IP gateway address.
* @returns the IP address of the gateway.
*/
get_gateway(): string | null
/**
* Gets the domain name servers (DNS).
* @returns the array of nameserver IP addresses
*/
get_nameservers(): string[]
/**
* Gets the routes.
* @returns the #GPtrArray containing #NMIPRoutes. This is the internal copy used by the configuration, and must not be modified. The library never modifies the returned array and thus it is safe for callers to reference and keep using it.
*/
get_routes(): IPRoute[]
/**
* Gets the DNS searches.
* @returns the array of DNS search strings. (This is never %NULL, though it may be 0-length).
*/
get_searches(): string[]
/**
* Gets the Windows Internet Name Service servers (WINS).
* @returns the arry of WINS server IP address strings. (This is never %NULL, though it may be 0-length.)
*/
get_wins_servers(): string[]
// Class property signals of NM-1.0.NM.IPConfig
connect(sigName: "notify::addresses", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::addresses", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::addresses", ...args: any[]): void
connect(sigName: "notify::domains", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::domains", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::domains", ...args: any[]): void
connect(sigName: "notify::family", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::family", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::family", ...args: any[]): void
connect(sigName: "notify::gateway", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::gateway", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::gateway", ...args: any[]): void
connect(sigName: "notify::nameservers", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::nameservers", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::nameservers", ...args: any[]): void
connect(sigName: "notify::routes", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::routes", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::routes", ...args: any[]): void
connect(sigName: "notify::searches", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::searches", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::searches", ...args: any[]): void
connect(sigName: "notify::wins-servers", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::wins-servers", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::wins-servers", ...args: any[]): void
connect(sigName: "notify::client", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: IPConfig, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class IPConfig extends Object {
// Own properties of NM-1.0.NM.IPConfig
static name: string
static $gtype: GObject.GType
// Constructors of NM-1.0.NM.IPConfig
constructor(config?: IPConfig.ConstructorProperties)
_init(config?: IPConfig.ConstructorProperties): void
}
export module Object {
// Constructor properties interface
export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
}
}
export interface Object {
// Own properties of NM-1.0.NM.Object
/**
* The NMClient instance as returned by nm_object_get_client().
*
* When an NMObject gets removed from the NMClient cache,
* the NMObject:path property stays unchanged, but this client
* instance gets reset to %NULL. You can use this property to
* track removal of the object from the cache.
*/
readonly client: Client
/**
* The D-Bus object path.
*
* The D-Bus path of an object instance never changes, even if the object
* gets removed from the cache. To see whether the object is still in the
* cache, check NMObject:client.
*/
readonly path: string | null
// Owm methods of NM-1.0.NM.Object
/**
* Returns the #NMClient instance in which object is cached.
* Also, if the object got removed from the client cached,
* this returns %NULL. So it can be used to check whether the
* object is still alive.
* @returns the #NMClient cache in which the object can be found, or %NULL if the object is no longer cached.
*/
get_client(): any | null
/**
* Gets the DBus path of the #NMObject.
* @returns the object's path. This is the internal string used by the object, and must not be modified. Note that the D-Bus path of an NMObject never changes, even if the instance gets removed from the cache. To find out whether the object is still alive/cached, check nm_object_get_client().
*/
get_path(): string | null
// Class property signals of NM-1.0.NM.Object
connect(sigName: "notify::client", callback: (($obj: Object, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::client", callback: (($obj: Object, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::client", ...args: any[]): void
connect(sigName: "notify::path", callback: (($obj: Object, pspec: GObject.ParamSpec) => void)): number
connect_after(sigName: "notify::path", callback: (($obj: Object, pspec: GObject.ParamSpec) => void)): number
emit(sigName: "notify::path", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
connect_after(sigName: string, callback: (...args: any[]) => void): number
emit(sigName: string, ...args: any[]): void
disconnect(id: number): void
}
export class Object extends GObject.Object {
// Own properties of NM-1.0.NM.Object
static name: string
static $gtype: GObject.GType