gi-nm-1.0.1: NM bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.NM.Structs.DnsEntry

Description

No description available in the introspection data.

Since: 1.6

Synopsis

Exported types

newtype DnsEntry Source #

Memory-managed wrapper type.

Constructors

DnsEntry (ManagedPtr DnsEntry) 

Instances

Instances details
Eq DnsEntry Source # 
Instance details

Defined in GI.NM.Structs.DnsEntry

GBoxed DnsEntry Source # 
Instance details

Defined in GI.NM.Structs.DnsEntry

ManagedPtrNewtype DnsEntry Source # 
Instance details

Defined in GI.NM.Structs.DnsEntry

TypedObject DnsEntry Source # 
Instance details

Defined in GI.NM.Structs.DnsEntry

Methods

glibType :: IO GType #

HasParentTypes DnsEntry Source # 
Instance details

Defined in GI.NM.Structs.DnsEntry

IsGValue (Maybe DnsEntry) Source #

Convert DnsEntry to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.NM.Structs.DnsEntry

type ParentTypes DnsEntry Source # 
Instance details

Defined in GI.NM.Structs.DnsEntry

type ParentTypes DnsEntry = '[] :: [Type]

Methods

Click to display all available methods, including inherited ones

Expand

Methods

unref.

Getters

getDomains, getInterface, getNameservers, getPriority, getVpn.

Setters

None.

getDomains

dnsEntryGetDomains Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DnsEntry

entry: the DnsEntry

-> m [Text]

Returns: the list of DNS domains

Gets the list of DNS domains.

Since: 1.6

getInterface

dnsEntryGetInterface Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DnsEntry

entry: the 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

entry: the DnsEntry

-> m [Text]

Returns: the list of name servers

Gets the list of name servers for this entry.

Since: 1.6

getPriority

dnsEntryGetPriority Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DnsEntry

entry: the DnsEntry

-> m Int32

Returns: the priority of the entry

Gets the priority of the entry

Since: 1.6

getVpn

dnsEntryGetVpn Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DnsEntry

entry: the DnsEntry

-> m Bool

Returns: True if the entry refers to VPN name servers

Gets whether the entry refers to VPN name servers.

Since: 1.6

unref

dnsEntryUnref Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> DnsEntry

entry: the DnsEntry

-> m () 

Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.

Since: 1.6