Hoogle Search

Within LTS Haskell 24.69 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. unixConnectionSendFd :: (HasCallStack, MonadIO m, IsUnixConnection a, IsCancellable b) => a -> Int32 -> Maybe b -> m ()

    gi-gio GI.Gio.Objects.UnixConnection

    Passes a file descriptor to the receiving side of the connection. The receiving end has to call unixConnectionReceiveFd to accept the file descriptor. As well as sending the fd this also writes a single byte to the stream, as this is required for fd passing to work on some implementations. Since: 2.22

  2. module GI.Gio.Objects.UnixCredentialsMessage

    This SocketControlMessage contains a Credentials instance. It may be sent using socketSendMessage and received using socketReceiveMessage over UNIX sockets (ie: sockets in the G_SOCKET_FAMILY_UNIX family). For an easier way to send and receive credentials over stream-oriented UNIX sockets, see unixConnectionSendCredentials and unixConnectionReceiveCredentials. To receive credentials of a foreign process connected to a socket, use socketGetCredentials. Since GLib 2.72, GUnixCredentialMessage is available on all platforms. It requires underlying system support (such as Windows 10 with AF_UNIX) at run time. Before GLib 2.72, <gio/gunixcredentialsmessage.h> belonged to the UNIX-specific GIO interfaces, thus you had to use the gio-unix-2.0.pc pkg-config file when using it. This is no longer necessary since GLib 2.72. Since: 2.26

  3. class (GObject o, IsDescendantOf UnixCredentialsMessage o) => IsUnixCredentialsMessage o

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Type class for types which can be safely cast to UnixCredentialsMessage, for instance with toUnixCredentialsMessage.

  4. newtype UnixCredentialsMessage

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Memory-managed wrapper type.

  5. UnixCredentialsMessage :: ManagedPtr UnixCredentialsMessage -> UnixCredentialsMessage

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    No documentation available.

  6. constructUnixCredentialsMessageCredentials :: (IsUnixCredentialsMessage o, MonadIO m, IsCredentials a) => a -> m (GValueConstruct o)

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Construct a GValueConstruct with valid value for the “credentials” property. This is rarely needed directly, but it is used by new.

  7. getUnixCredentialsMessageCredentials :: (MonadIO m, IsUnixCredentialsMessage o) => o -> m Credentials

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Get the value of the “credentials” property. When overloading is enabled, this is equivalent to

    get unixCredentialsMessage #credentials
    

  8. toUnixCredentialsMessage :: (MonadIO m, IsUnixCredentialsMessage o) => o -> m UnixCredentialsMessage

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Cast to UnixCredentialsMessage, for types for which this is known to be safe. For general casts, use castTo.

  9. unixCredentialsMessageGetCredentials :: (HasCallStack, MonadIO m, IsUnixCredentialsMessage a) => a -> m Credentials

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Gets the credentials stored in message. Since: 2.26

  10. unixCredentialsMessageIsSupported :: (HasCallStack, MonadIO m) => m Bool

    gi-gio GI.Gio.Objects.UnixCredentialsMessage

    Checks if passing Credentials on a Socket is supported on this platform. Since: 2.26

Page 163 of many | Previous | Next