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.DhcpConfig
Description
No description available in the introspection data.
Synopsis
- newtype DhcpConfig = DhcpConfig (ManagedPtr DhcpConfig)
- class (GObject o, IsDescendantOf DhcpConfig o) => IsDhcpConfig o
- toDhcpConfig :: (MonadIO m, IsDhcpConfig o) => o -> m DhcpConfig
- dhcpConfigGetFamily :: (HasCallStack, MonadIO m, IsDhcpConfig a) => a -> m Int32
- dhcpConfigGetOneOption :: (HasCallStack, MonadIO m, IsDhcpConfig a) => a -> Text -> m Text
- dhcpConfigGetOptions :: (HasCallStack, MonadIO m, IsDhcpConfig a) => a -> m (Map Text Text)
- getDhcpConfigFamily :: (MonadIO m, IsDhcpConfig o) => o -> m Int32
- getDhcpConfigOptions :: (MonadIO m, IsDhcpConfig o) => o -> m (Map Text Text)
Exported types
newtype DhcpConfig Source #
Memory-managed wrapper type.
Constructors
DhcpConfig (ManagedPtr DhcpConfig) |
Instances
Eq DhcpConfig Source # | |
Defined in GI.NM.Objects.DhcpConfig | |
GObject DhcpConfig Source # | |
Defined in GI.NM.Objects.DhcpConfig | |
ManagedPtrNewtype DhcpConfig Source # | |
Defined in GI.NM.Objects.DhcpConfig Methods | |
TypedObject DhcpConfig Source # | |
Defined in GI.NM.Objects.DhcpConfig | |
HasParentTypes DhcpConfig Source # | |
Defined in GI.NM.Objects.DhcpConfig | |
IsGValue (Maybe DhcpConfig) Source # | Convert |
Defined in GI.NM.Objects.DhcpConfig Methods gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DhcpConfig -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DhcpConfig) # | |
type ParentTypes DhcpConfig Source # | |
Defined in GI.NM.Objects.DhcpConfig |
class (GObject o, IsDescendantOf DhcpConfig o) => IsDhcpConfig o Source #
Type class for types which can be safely cast to DhcpConfig
, for instance with toDhcpConfig
.
Instances
(GObject o, IsDescendantOf DhcpConfig o) => IsDhcpConfig o Source # | |
Defined in GI.NM.Objects.DhcpConfig |
toDhcpConfig :: (MonadIO m, IsDhcpConfig o) => o -> m DhcpConfig Source #
Cast to DhcpConfig
, for types for which this is known to be safe. For general casts, use castTo
.
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
getClient, getData, getFamily, getOneOption, getOptions, getPath, getProperty, getQdata.
Setters
getFamily
Arguments
:: (HasCallStack, MonadIO m, IsDhcpConfig a) | |
=> a |
|
-> m Int32 | Returns: the IP address family; either <literal>AF_INET</literal> or <literal>AF_INET6</literal> |
Gets the IP address family of the configuration
getOneOption
dhcpConfigGetOneOption Source #
Arguments
:: (HasCallStack, MonadIO m, IsDhcpConfig a) | |
=> a |
|
-> Text |
|
-> m Text | Returns: the configuration option's value. This is the internal string used by the configuration, and must not be modified. |
Gets one option by option name.
getOptions
Arguments
:: (HasCallStack, MonadIO m, IsDhcpConfig a) | |
=> a |
|
-> m (Map Text Text) | Returns: the |
Gets all the options contained in the configuration.
Properties
family
The IP address family of the configuration; either <literal>AF_INET</literal> or <literal>AF_INET6</literal>.
getDhcpConfigFamily :: (MonadIO m, IsDhcpConfig o) => o -> m Int32 Source #
Get the value of the “family
” property.
When overloading is enabled, this is equivalent to
get
dhcpConfig #family
options
The HashTable
containing options of the configuration.
getDhcpConfigOptions :: (MonadIO m, IsDhcpConfig o) => o -> m (Map Text Text) Source #
Get the value of the “options
” property.
When overloading is enabled, this is equivalent to
get
dhcpConfig #options