Hoogle Search

Within LTS Haskell 24.58 (ghc-9.10.3)

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

  1. UnixConnection :: ManagedPtr UnixConnection -> UnixConnection

    gi-gio GI.Gio.Objects.UnixConnection

    No documentation available.

  2. toUnixConnection :: (MonadIO m, IsUnixConnection o) => o -> m UnixConnection

    gi-gio GI.Gio.Objects.UnixConnection

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

  3. unixConnectionReceiveCredentials :: (HasCallStack, MonadIO m, IsUnixConnection a, IsCancellable b) => a -> Maybe b -> m Credentials

    gi-gio GI.Gio.Objects.UnixConnection

    Receives credentials from the sending end of the connection. The sending end has to call unixConnectionSendCredentials (or similar) for this to work. As well as reading the credentials this also reads (and discards) a single byte from the stream, as this is required for credentials passing to work on some implementations. This method can be expected to be available on the following platforms:

    • Linux since GLib 2.26
    • FreeBSD since GLib 2.26
    • GNU/kFreeBSD since GLib 2.36
    • Solaris, Illumos and OpenSolaris since GLib 2.40
    • GNU/Hurd since GLib 2.40
    Other ways to exchange credentials with a foreign peer includes the UnixCredentialsMessage type and socketGetCredentials function. Since: 2.26

  4. unixConnectionReceiveCredentialsAsync :: (HasCallStack, MonadIO m, IsUnixConnection a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.UnixConnection

    Asynchronously receive credentials. For more details, see unixConnectionReceiveCredentials which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call unixConnectionReceiveCredentialsFinish to get the result of the operation. Since: 2.32

  5. unixConnectionReceiveCredentialsFinish :: (HasCallStack, MonadIO m, IsUnixConnection a, IsAsyncResult b) => a -> b -> m Credentials

    gi-gio GI.Gio.Objects.UnixConnection

    Finishes an asynchronous receive credentials operation started with unixConnectionReceiveCredentialsAsync. Since: 2.32

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

    gi-gio GI.Gio.Objects.UnixConnection

    Receives a file descriptor from the sending end of the connection. The sending end has to call unixConnectionSendFd for this to work. As well as reading the fd this also reads a single byte from the stream, as this is required for fd passing to work on some implementations. Since: 2.22

  7. unixConnectionSendCredentials :: (HasCallStack, MonadIO m, IsUnixConnection a, IsCancellable b) => a -> Maybe b -> m ()

    gi-gio GI.Gio.Objects.UnixConnection

    Passes the credentials of the current user the receiving side of the connection. The receiving end has to call unixConnectionReceiveCredentials (or similar) to accept the credentials. As well as sending the credentials this also writes a single NUL byte to the stream, as this is required for credentials passing to work on some implementations. This method can be expected to be available on the following platforms:

    • Linux since GLib 2.26
    • FreeBSD since GLib 2.26
    • GNU/kFreeBSD since GLib 2.36
    • Solaris, Illumos and OpenSolaris since GLib 2.40
    • GNU/Hurd since GLib 2.40
    Other ways to exchange credentials with a foreign peer includes the UnixCredentialsMessage type and socketGetCredentials function. Since: 2.26

  8. unixConnectionSendCredentialsAsync :: (HasCallStack, MonadIO m, IsUnixConnection a, IsCancellable b) => a -> Maybe b -> Maybe AsyncReadyCallback -> m ()

    gi-gio GI.Gio.Objects.UnixConnection

    Asynchronously send credentials. For more details, see unixConnectionSendCredentials which is the synchronous version of this call. When the operation is finished, callback will be called. You can then call unixConnectionSendCredentialsFinish to get the result of the operation. Since: 2.32

  9. unixConnectionSendCredentialsFinish :: (HasCallStack, MonadIO m, IsUnixConnection a, IsAsyncResult b) => a -> b -> m ()

    gi-gio GI.Gio.Objects.UnixConnection

    Finishes an asynchronous send credentials operation started with unixConnectionSendCredentialsAsync. Since: 2.32

  10. 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

Page 162 of many | Previous | Next