Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.NM.Objects.IPConfig
Description
No description available in the introspection data.
Synopsis
- newtype IPConfig = IPConfig (ManagedPtr IPConfig)
- class (GObject o, IsDescendantOf IPConfig o) => IsIPConfig o
- toIPConfig :: (MonadIO m, IsIPConfig o) => o -> m IPConfig
- iPConfigGetAddresses :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m [IPAddress]
- iPConfigGetDomains :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m [Text]
- iPConfigGetFamily :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m Int32
- iPConfigGetGateway :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m Text
- iPConfigGetNameservers :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m [Text]
- iPConfigGetRoutes :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m [IPRoute]
- iPConfigGetSearches :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m [Text]
- iPConfigGetWinsServers :: (HasCallStack, MonadIO m, IsIPConfig a) => a -> m [Text]
- getIPConfigDomains :: (MonadIO m, IsIPConfig o) => o -> m [Text]
- getIPConfigFamily :: (MonadIO m, IsIPConfig o) => o -> m Int32
- getIPConfigGateway :: (MonadIO m, IsIPConfig o) => o -> m Text
- getIPConfigNameservers :: (MonadIO m, IsIPConfig o) => o -> m [Text]
- getIPConfigSearches :: (MonadIO m, IsIPConfig o) => o -> m [Text]
- getIPConfigWinsServers :: (MonadIO m, IsIPConfig o) => o -> m [Text]
Exported types
Memory-managed wrapper type.
Constructors
IPConfig (ManagedPtr IPConfig) |
Instances
Eq IPConfig Source # | |
GObject IPConfig Source # | |
Defined in GI.NM.Objects.IPConfig | |
ManagedPtrNewtype IPConfig Source # | |
Defined in GI.NM.Objects.IPConfig Methods toManagedPtr :: IPConfig -> ManagedPtr IPConfig # | |
TypedObject IPConfig Source # | |
Defined in GI.NM.Objects.IPConfig | |
HasParentTypes IPConfig Source # | |
Defined in GI.NM.Objects.IPConfig | |
IsGValue (Maybe IPConfig) Source # | Convert |
Defined in GI.NM.Objects.IPConfig | |
type ParentTypes IPConfig Source # | |
Defined in GI.NM.Objects.IPConfig |
class (GObject o, IsDescendantOf IPConfig o) => IsIPConfig o Source #
Type class for types which can be safely cast to IPConfig
, for instance with toIPConfig
.
Instances
(GObject o, IsDescendantOf IPConfig o) => IsIPConfig o Source # | |
Defined in GI.NM.Objects.IPConfig |
toIPConfig :: (MonadIO m, IsIPConfig o) => o -> m IPConfig Source #
Methods
Click to display all available methods, including inherited ones
Methods
bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAddresses, getClient, getData, getDomains, getFamily, getGateway, getNameservers, getPath, getProperty, getQdata, getRoutes, getSearches, getWinsServers.
Setters
getAddresses
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m [IPAddress] | Returns: the |
Gets the IP addresses (containing the address, prefix, and gateway).
getDomains
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m [Text] | Returns: the array of domains.
(This is never |
Gets the domain names.
getFamily
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m Int32 | Returns: the IP address family; either <literal>AF_INET</literal> or <literal>AF_INET6</literal> |
Gets the IP address family
getGateway
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m Text | Returns: the IP address of the gateway. |
Gets the IP gateway address.
getNameservers
iPConfigGetNameservers Source #
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m [Text] | Returns: the array of nameserver IP addresses |
Gets the domain name servers (DNS).
getRoutes
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m [IPRoute] | Returns: the |
Gets the routes.
getSearches
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m [Text] | Returns: the array of DNS search strings.
(This is never |
Gets the DNS searches.
getWinsServers
iPConfigGetWinsServers Source #
Arguments
:: (HasCallStack, MonadIO m, IsIPConfig a) | |
=> a |
|
-> m [Text] | Returns: the arry of WINS server IP address strings.
(This is never |
Gets the Windows Internet Name Service servers (WINS).
Properties
addresses
domains
The array containing domain strings of the configuration.
getIPConfigDomains :: (MonadIO m, IsIPConfig o) => o -> m [Text] Source #
Get the value of the “domains
” property.
When overloading is enabled, this is equivalent to
get
iPConfig #domains
family
The IP address family of the configuration; either <literal>AF_INET</literal> or <literal>AF_INET6</literal>.
getIPConfigFamily :: (MonadIO m, IsIPConfig o) => o -> m Int32 Source #
Get the value of the “family
” property.
When overloading is enabled, this is equivalent to
get
iPConfig #family
gateway
The IP gateway address of the configuration as string.
getIPConfigGateway :: (MonadIO m, IsIPConfig o) => o -> m Text Source #
Get the value of the “gateway
” property.
When overloading is enabled, this is equivalent to
get
iPConfig #gateway
nameservers
The array containing name server IP addresses of the configuration.
getIPConfigNameservers :: (MonadIO m, IsIPConfig o) => o -> m [Text] Source #
Get the value of the “nameservers
” property.
When overloading is enabled, this is equivalent to
get
iPConfig #nameservers
routes
searches
The array containing DNS search strings of the configuration.
getIPConfigSearches :: (MonadIO m, IsIPConfig o) => o -> m [Text] Source #
Get the value of the “searches
” property.
When overloading is enabled, this is equivalent to
get
iPConfig #searches
winsServers
The array containing WINS server IP addresses of the configuration. (This will always be empty for IPv6 configurations.)
getIPConfigWinsServers :: (MonadIO m, IsIPConfig o) => o -> m [Text] Source #
Get the value of the “wins-servers
” property.
When overloading is enabled, this is equivalent to
get
iPConfig #winsServers