Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- inetAddressEqual
- inetAddressGetFamily
- inetAddressGetIsAny
- inetAddressGetIsLinkLocal
- inetAddressGetIsLoopback
- inetAddressGetIsMcGlobal
- inetAddressGetIsMcLinkLocal
- inetAddressGetIsMcNodeLocal
- inetAddressGetIsMcOrgLocal
- inetAddressGetIsMcSiteLocal
- inetAddressGetIsMulticast
- inetAddressGetIsSiteLocal
- inetAddressGetNativeSize
- inetAddressNewAny
- inetAddressNewFromBytes
- inetAddressNewFromString
- inetAddressNewLoopback
- inetAddressToString
- Properties
- newtype InetAddress = InetAddress (ForeignPtr InetAddress)
- class GObject o => InetAddressK o
- toInetAddress :: InetAddressK o => o -> IO InetAddress
- noInetAddress :: Maybe InetAddress
- data InetAddressEqualMethodInfo
- inetAddressEqual :: (MonadIO m, InetAddressK a, InetAddressK b) => a -> b -> m Bool
- data InetAddressGetFamilyMethodInfo
- inetAddressGetFamily :: (MonadIO m, InetAddressK a) => a -> m SocketFamily
- data InetAddressGetIsAnyMethodInfo
- inetAddressGetIsAny :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsLinkLocalMethodInfo
- inetAddressGetIsLinkLocal :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsLoopbackMethodInfo
- inetAddressGetIsLoopback :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsMcGlobalMethodInfo
- inetAddressGetIsMcGlobal :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsMcLinkLocalMethodInfo
- inetAddressGetIsMcLinkLocal :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsMcNodeLocalMethodInfo
- inetAddressGetIsMcNodeLocal :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsMcOrgLocalMethodInfo
- inetAddressGetIsMcOrgLocal :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsMcSiteLocalMethodInfo
- inetAddressGetIsMcSiteLocal :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsMulticastMethodInfo
- inetAddressGetIsMulticast :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetIsSiteLocalMethodInfo
- inetAddressGetIsSiteLocal :: (MonadIO m, InetAddressK a) => a -> m Bool
- data InetAddressGetNativeSizeMethodInfo
- inetAddressGetNativeSize :: (MonadIO m, InetAddressK a) => a -> m Word64
- inetAddressNewAny :: MonadIO m => SocketFamily -> m InetAddress
- inetAddressNewFromBytes :: MonadIO m => Ptr Word8 -> SocketFamily -> m InetAddress
- inetAddressNewFromString :: MonadIO m => Text -> m InetAddress
- inetAddressNewLoopback :: MonadIO m => SocketFamily -> m InetAddress
- data InetAddressToStringMethodInfo
- inetAddressToString :: (MonadIO m, InetAddressK a) => a -> m Text
- data InetAddressBytesPropertyInfo
- constructInetAddressBytes :: Ptr () -> IO ([Char], GValue)
- getInetAddressBytes :: (MonadIO m, InetAddressK o) => o -> m (Ptr ())
- inetAddressBytes :: AttrLabelProxy "bytes"
- data InetAddressFamilyPropertyInfo
- constructInetAddressFamily :: SocketFamily -> IO ([Char], GValue)
- getInetAddressFamily :: (MonadIO m, InetAddressK o) => o -> m SocketFamily
- inetAddressFamily :: AttrLabelProxy "family"
- data InetAddressIsAnyPropertyInfo
- getInetAddressIsAny :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsAny :: AttrLabelProxy "isAny"
- data InetAddressIsLinkLocalPropertyInfo
- getInetAddressIsLinkLocal :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsLinkLocal :: AttrLabelProxy "isLinkLocal"
- data InetAddressIsLoopbackPropertyInfo
- getInetAddressIsLoopback :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsLoopback :: AttrLabelProxy "isLoopback"
- data InetAddressIsMcGlobalPropertyInfo
- getInetAddressIsMcGlobal :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsMcGlobal :: AttrLabelProxy "isMcGlobal"
- data InetAddressIsMcLinkLocalPropertyInfo
- getInetAddressIsMcLinkLocal :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsMcLinkLocal :: AttrLabelProxy "isMcLinkLocal"
- data InetAddressIsMcNodeLocalPropertyInfo
- getInetAddressIsMcNodeLocal :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsMcNodeLocal :: AttrLabelProxy "isMcNodeLocal"
- data InetAddressIsMcOrgLocalPropertyInfo
- getInetAddressIsMcOrgLocal :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsMcOrgLocal :: AttrLabelProxy "isMcOrgLocal"
- data InetAddressIsMcSiteLocalPropertyInfo
- getInetAddressIsMcSiteLocal :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsMcSiteLocal :: AttrLabelProxy "isMcSiteLocal"
- data InetAddressIsMulticastPropertyInfo
- getInetAddressIsMulticast :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsMulticast :: AttrLabelProxy "isMulticast"
- data InetAddressIsSiteLocalPropertyInfo
- getInetAddressIsSiteLocal :: (MonadIO m, InetAddressK o) => o -> m Bool
- inetAddressIsSiteLocal :: AttrLabelProxy "isSiteLocal"
Exported types
newtype InetAddress Source
GObject InetAddress | |
((~) * info (ResolveInetAddressMethod t InetAddress), MethodInfo * info InetAddress p) => IsLabelProxy t (InetAddress -> p) | |
type ParentTypes InetAddress | |
type AttributeList InetAddress | |
type SignalList InetAddress |
class GObject o => InetAddressK o Source
(GObject o, IsDescendantOf InetAddress o) => InetAddressK o |
toInetAddress :: InetAddressK o => o -> IO InetAddress Source
Methods
inetAddressEqual
data InetAddressEqualMethodInfo Source
((~) * signature (b -> m Bool), MonadIO m, InetAddressK a, InetAddressK b) => MethodInfo * InetAddressEqualMethodInfo a signature |
inetAddressEqual :: (MonadIO m, InetAddressK a, InetAddressK b) => a -> b -> m Bool Source
inetAddressGetFamily
data InetAddressGetFamilyMethodInfo Source
((~) * signature (m SocketFamily), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetFamilyMethodInfo a signature |
inetAddressGetFamily :: (MonadIO m, InetAddressK a) => a -> m SocketFamily Source
inetAddressGetIsAny
data InetAddressGetIsAnyMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsAnyMethodInfo a signature |
inetAddressGetIsAny :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsLinkLocal
data InetAddressGetIsLinkLocalMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsLinkLocalMethodInfo a signature |
inetAddressGetIsLinkLocal :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsLoopback
data InetAddressGetIsLoopbackMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsLoopbackMethodInfo a signature |
inetAddressGetIsLoopback :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsMcGlobal
data InetAddressGetIsMcGlobalMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsMcGlobalMethodInfo a signature |
inetAddressGetIsMcGlobal :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsMcLinkLocal
data InetAddressGetIsMcLinkLocalMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsMcLinkLocalMethodInfo a signature |
inetAddressGetIsMcLinkLocal :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsMcNodeLocal
data InetAddressGetIsMcNodeLocalMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsMcNodeLocalMethodInfo a signature |
inetAddressGetIsMcNodeLocal :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsMcOrgLocal
data InetAddressGetIsMcOrgLocalMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsMcOrgLocalMethodInfo a signature |
inetAddressGetIsMcOrgLocal :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsMcSiteLocal
data InetAddressGetIsMcSiteLocalMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsMcSiteLocalMethodInfo a signature |
inetAddressGetIsMcSiteLocal :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsMulticast
data InetAddressGetIsMulticastMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsMulticastMethodInfo a signature |
inetAddressGetIsMulticast :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetIsSiteLocal
data InetAddressGetIsSiteLocalMethodInfo Source
((~) * signature (m Bool), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetIsSiteLocalMethodInfo a signature |
inetAddressGetIsSiteLocal :: (MonadIO m, InetAddressK a) => a -> m Bool Source
inetAddressGetNativeSize
data InetAddressGetNativeSizeMethodInfo Source
((~) * signature (m Word64), MonadIO m, InetAddressK a) => MethodInfo * InetAddressGetNativeSizeMethodInfo a signature |
inetAddressGetNativeSize :: (MonadIO m, InetAddressK a) => a -> m Word64 Source
inetAddressNewAny
inetAddressNewAny :: MonadIO m => SocketFamily -> m InetAddress Source
inetAddressNewFromBytes
inetAddressNewFromBytes :: MonadIO m => Ptr Word8 -> SocketFamily -> m InetAddress Source
inetAddressNewFromString
inetAddressNewFromString :: MonadIO m => Text -> m InetAddress Source
inetAddressNewLoopback
inetAddressNewLoopback :: MonadIO m => SocketFamily -> m InetAddress Source
inetAddressToString
data InetAddressToStringMethodInfo Source
((~) * signature (m Text), MonadIO m, InetAddressK a) => MethodInfo * InetAddressToStringMethodInfo a signature |
inetAddressToString :: (MonadIO m, InetAddressK a) => a -> m Text Source
Properties
Bytes
data InetAddressBytesPropertyInfo Source
AttrInfo InetAddressBytesPropertyInfo | |
type AttrLabel InetAddressBytesPropertyInfo = "bytes" | |
type AttrGetType InetAddressBytesPropertyInfo = Ptr () | |
type AttrBaseTypeConstraint InetAddressBytesPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressBytesPropertyInfo = * ~ Ptr () | |
type AttrAllowedOps InetAddressBytesPropertyInfo = (:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag)) |
getInetAddressBytes :: (MonadIO m, InetAddressK o) => o -> m (Ptr ()) Source
inetAddressBytes :: AttrLabelProxy "bytes" Source
Family
data InetAddressFamilyPropertyInfo Source
constructInetAddressFamily :: SocketFamily -> IO ([Char], GValue) Source
getInetAddressFamily :: (MonadIO m, InetAddressK o) => o -> m SocketFamily Source
inetAddressFamily :: AttrLabelProxy "family" Source
IsAny
data InetAddressIsAnyPropertyInfo Source
AttrInfo InetAddressIsAnyPropertyInfo | |
type AttrLabel InetAddressIsAnyPropertyInfo = "is-any" | |
type AttrGetType InetAddressIsAnyPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsAnyPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsAnyPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsAnyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsAny :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsAny :: AttrLabelProxy "isAny" Source
IsLinkLocal
data InetAddressIsLinkLocalPropertyInfo Source
AttrInfo InetAddressIsLinkLocalPropertyInfo | |
type AttrLabel InetAddressIsLinkLocalPropertyInfo = "is-link-local" | |
type AttrGetType InetAddressIsLinkLocalPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsLinkLocalPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsLinkLocalPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsLinkLocalPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsLinkLocal :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsLinkLocal :: AttrLabelProxy "isLinkLocal" Source
IsLoopback
data InetAddressIsLoopbackPropertyInfo Source
AttrInfo InetAddressIsLoopbackPropertyInfo | |
type AttrLabel InetAddressIsLoopbackPropertyInfo = "is-loopback" | |
type AttrGetType InetAddressIsLoopbackPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsLoopbackPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsLoopbackPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsLoopbackPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsLoopback :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsLoopback :: AttrLabelProxy "isLoopback" Source
IsMcGlobal
data InetAddressIsMcGlobalPropertyInfo Source
AttrInfo InetAddressIsMcGlobalPropertyInfo | |
type AttrLabel InetAddressIsMcGlobalPropertyInfo = "is-mc-global" | |
type AttrGetType InetAddressIsMcGlobalPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsMcGlobalPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsMcGlobalPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsMcGlobalPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsMcGlobal :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsMcGlobal :: AttrLabelProxy "isMcGlobal" Source
IsMcLinkLocal
data InetAddressIsMcLinkLocalPropertyInfo Source
AttrInfo InetAddressIsMcLinkLocalPropertyInfo | |
type AttrLabel InetAddressIsMcLinkLocalPropertyInfo = "is-mc-link-local" | |
type AttrGetType InetAddressIsMcLinkLocalPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsMcLinkLocalPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsMcLinkLocalPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsMcLinkLocalPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsMcLinkLocal :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsMcLinkLocal :: AttrLabelProxy "isMcLinkLocal" Source
IsMcNodeLocal
data InetAddressIsMcNodeLocalPropertyInfo Source
AttrInfo InetAddressIsMcNodeLocalPropertyInfo | |
type AttrLabel InetAddressIsMcNodeLocalPropertyInfo = "is-mc-node-local" | |
type AttrGetType InetAddressIsMcNodeLocalPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsMcNodeLocalPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsMcNodeLocalPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsMcNodeLocalPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsMcNodeLocal :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsMcNodeLocal :: AttrLabelProxy "isMcNodeLocal" Source
IsMcOrgLocal
data InetAddressIsMcOrgLocalPropertyInfo Source
AttrInfo InetAddressIsMcOrgLocalPropertyInfo | |
type AttrLabel InetAddressIsMcOrgLocalPropertyInfo = "is-mc-org-local" | |
type AttrGetType InetAddressIsMcOrgLocalPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsMcOrgLocalPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsMcOrgLocalPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsMcOrgLocalPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsMcOrgLocal :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsMcOrgLocal :: AttrLabelProxy "isMcOrgLocal" Source
IsMcSiteLocal
data InetAddressIsMcSiteLocalPropertyInfo Source
AttrInfo InetAddressIsMcSiteLocalPropertyInfo | |
type AttrLabel InetAddressIsMcSiteLocalPropertyInfo = "is-mc-site-local" | |
type AttrGetType InetAddressIsMcSiteLocalPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsMcSiteLocalPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsMcSiteLocalPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsMcSiteLocalPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsMcSiteLocal :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsMcSiteLocal :: AttrLabelProxy "isMcSiteLocal" Source
IsMulticast
data InetAddressIsMulticastPropertyInfo Source
getInetAddressIsMulticast :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsMulticast :: AttrLabelProxy "isMulticast" Source
IsSiteLocal
data InetAddressIsSiteLocalPropertyInfo Source
AttrInfo InetAddressIsSiteLocalPropertyInfo | |
type AttrLabel InetAddressIsSiteLocalPropertyInfo = "is-site-local" | |
type AttrGetType InetAddressIsSiteLocalPropertyInfo = Bool | |
type AttrBaseTypeConstraint InetAddressIsSiteLocalPropertyInfo = InetAddressK | |
type AttrSetTypeConstraint InetAddressIsSiteLocalPropertyInfo = * ~ () | |
type AttrAllowedOps InetAddressIsSiteLocalPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getInetAddressIsSiteLocal :: (MonadIO m, InetAddressK o) => o -> m Bool Source
inetAddressIsSiteLocal :: AttrLabelProxy "isSiteLocal" Source