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.Structs.DnsEntry
Description
No description available in the introspection data.
Since: 1.6
Synopsis
- newtype DnsEntry = DnsEntry (ManagedPtr DnsEntry)
- dnsEntryGetDomains :: (HasCallStack, MonadIO m) => DnsEntry -> m [Text]
- dnsEntryGetInterface :: (HasCallStack, MonadIO m) => DnsEntry -> m Text
- dnsEntryGetNameservers :: (HasCallStack, MonadIO m) => DnsEntry -> m [Text]
- dnsEntryGetPriority :: (HasCallStack, MonadIO m) => DnsEntry -> m Int32
- dnsEntryGetVpn :: (HasCallStack, MonadIO m) => DnsEntry -> m Bool
- dnsEntryUnref :: (HasCallStack, MonadIO m) => DnsEntry -> m ()
Exported types
Memory-managed wrapper type.
Constructors
DnsEntry (ManagedPtr DnsEntry) |
Instances
Eq DnsEntry Source # | |
GBoxed DnsEntry Source # | |
Defined in GI.NM.Structs.DnsEntry | |
ManagedPtrNewtype DnsEntry Source # | |
Defined in GI.NM.Structs.DnsEntry Methods toManagedPtr :: DnsEntry -> ManagedPtr DnsEntry # | |
TypedObject DnsEntry Source # | |
Defined in GI.NM.Structs.DnsEntry | |
HasParentTypes DnsEntry Source # | |
Defined in GI.NM.Structs.DnsEntry | |
IsGValue (Maybe DnsEntry) Source # | Convert |
Defined in GI.NM.Structs.DnsEntry | |
type ParentTypes DnsEntry Source # | |
Defined in GI.NM.Structs.DnsEntry |
Methods
Click to display all available methods, including inherited ones
getDomains
Arguments
:: (HasCallStack, MonadIO m) | |
=> DnsEntry |
|
-> m [Text] | Returns: the list of DNS domains |
Gets the list of DNS domains.
Since: 1.6
getInterface
Arguments
:: (HasCallStack, MonadIO m) | |
=> DnsEntry |
|
-> m Text | Returns: the interface name |
Gets the interface on which name servers are contacted.
Since: 1.6
getNameservers
dnsEntryGetNameservers Source #
Arguments
:: (HasCallStack, MonadIO m) | |
=> DnsEntry |
|
-> m [Text] | Returns: the list of name servers |
Gets the list of name servers for this entry.
Since: 1.6
getPriority
Arguments
:: (HasCallStack, MonadIO m) | |
=> DnsEntry |
|
-> m Int32 | Returns: the priority of the entry |
Gets the priority of the entry
Since: 1.6
getVpn
Arguments
:: (HasCallStack, MonadIO m) | |
=> DnsEntry |
|
-> m Bool | Returns: |
Gets whether the entry refers to VPN name servers.
Since: 1.6
unref
Arguments
:: (HasCallStack, MonadIO m) | |
=> DnsEntry |
|
-> m () |
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
Since: 1.6