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 |
- newtype SocketAddress = SocketAddress (ForeignPtr SocketAddress)
- class GObject o => SocketAddressK o
- toSocketAddress :: SocketAddressK o => o -> IO SocketAddress
- noSocketAddress :: Maybe SocketAddress
- data SocketAddressGetFamilyMethodInfo
- socketAddressGetFamily :: (MonadIO m, SocketAddressK a) => a -> m SocketFamily
- data SocketAddressGetNativeSizeMethodInfo
- socketAddressGetNativeSize :: (MonadIO m, SocketAddressK a) => a -> m Int64
- socketAddressNewFromNative :: MonadIO m => Ptr () -> Word64 -> m SocketAddress
- data SocketAddressToNativeMethodInfo
- socketAddressToNative :: (MonadIO m, SocketAddressK a) => a -> Ptr () -> Word64 -> m ()
- data SocketAddressFamilyPropertyInfo
- getSocketAddressFamily :: (MonadIO m, SocketAddressK o) => o -> m SocketFamily
- socketAddressFamily :: AttrLabelProxy "family"
Exported types
newtype SocketAddress Source
GObject SocketAddress | |
((~) * info (ResolveSocketAddressMethod t SocketAddress), MethodInfo * info SocketAddress p) => IsLabelProxy t (SocketAddress -> p) | |
type ParentTypes SocketAddress | |
type AttributeList SocketAddress | |
type SignalList SocketAddress |
class GObject o => SocketAddressK o Source
(GObject o, IsDescendantOf SocketAddress o) => SocketAddressK o |
toSocketAddress :: SocketAddressK o => o -> IO SocketAddress Source
Methods
socketAddressGetFamily
data SocketAddressGetFamilyMethodInfo Source
((~) * signature (m SocketFamily), MonadIO m, SocketAddressK a) => MethodInfo * SocketAddressGetFamilyMethodInfo a signature |
socketAddressGetFamily :: (MonadIO m, SocketAddressK a) => a -> m SocketFamily Source
socketAddressGetNativeSize
data SocketAddressGetNativeSizeMethodInfo Source
((~) * signature (m Int64), MonadIO m, SocketAddressK a) => MethodInfo * SocketAddressGetNativeSizeMethodInfo a signature |
socketAddressGetNativeSize :: (MonadIO m, SocketAddressK a) => a -> m Int64 Source
socketAddressNewFromNative
socketAddressNewFromNative :: MonadIO m => Ptr () -> Word64 -> m SocketAddress Source
socketAddressToNative
data SocketAddressToNativeMethodInfo Source
((~) * signature (Ptr () -> Word64 -> m ()), MonadIO m, SocketAddressK a) => MethodInfo * SocketAddressToNativeMethodInfo a signature |
socketAddressToNative :: (MonadIO m, SocketAddressK a) => a -> Ptr () -> Word64 -> m () Source
Properties
Family
data SocketAddressFamilyPropertyInfo Source
getSocketAddressFamily :: (MonadIO m, SocketAddressK o) => o -> m SocketFamily Source
socketAddressFamily :: AttrLabelProxy "family" Source