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 Credentials = Credentials (ForeignPtr Credentials)
- class GObject o => CredentialsK o
- toCredentials :: CredentialsK o => o -> IO Credentials
- noCredentials :: Maybe Credentials
- data CredentialsGetUnixPidMethodInfo
- credentialsGetUnixPid :: (MonadIO m, CredentialsK a) => a -> m Int32
- data CredentialsGetUnixUserMethodInfo
- credentialsGetUnixUser :: (MonadIO m, CredentialsK a) => a -> m Word32
- data CredentialsIsSameUserMethodInfo
- credentialsIsSameUser :: (MonadIO m, CredentialsK a, CredentialsK b) => a -> b -> m ()
- credentialsNew :: MonadIO m => m Credentials
- data CredentialsSetNativeMethodInfo
- credentialsSetNative :: (MonadIO m, CredentialsK a) => a -> CredentialsType -> Ptr () -> m ()
- data CredentialsSetUnixUserMethodInfo
- credentialsSetUnixUser :: (MonadIO m, CredentialsK a) => a -> Word32 -> m ()
- data CredentialsToStringMethodInfo
- credentialsToString :: (MonadIO m, CredentialsK a) => a -> m Text
Exported types
newtype Credentials Source
GObject Credentials | |
((~) * info (ResolveCredentialsMethod t Credentials), MethodInfo * info Credentials p) => IsLabelProxy t (Credentials -> p) | |
type ParentTypes Credentials | |
type AttributeList Credentials | |
type SignalList Credentials |
class GObject o => CredentialsK o Source
(GObject o, IsDescendantOf Credentials o) => CredentialsK o |
toCredentials :: CredentialsK o => o -> IO Credentials Source
Methods
credentialsGetUnixPid
data CredentialsGetUnixPidMethodInfo Source
((~) * signature (m Int32), MonadIO m, CredentialsK a) => MethodInfo * CredentialsGetUnixPidMethodInfo a signature |
credentialsGetUnixPid :: (MonadIO m, CredentialsK a) => a -> m Int32 Source
credentialsGetUnixUser
data CredentialsGetUnixUserMethodInfo Source
((~) * signature (m Word32), MonadIO m, CredentialsK a) => MethodInfo * CredentialsGetUnixUserMethodInfo a signature |
credentialsGetUnixUser :: (MonadIO m, CredentialsK a) => a -> m Word32 Source
credentialsIsSameUser
data CredentialsIsSameUserMethodInfo Source
((~) * signature (b -> m ()), MonadIO m, CredentialsK a, CredentialsK b) => MethodInfo * CredentialsIsSameUserMethodInfo a signature |
credentialsIsSameUser :: (MonadIO m, CredentialsK a, CredentialsK b) => a -> b -> m () Source
credentialsNew
credentialsNew :: MonadIO m => m Credentials Source
credentialsSetNative
data CredentialsSetNativeMethodInfo Source
((~) * signature (CredentialsType -> Ptr () -> m ()), MonadIO m, CredentialsK a) => MethodInfo * CredentialsSetNativeMethodInfo a signature |
credentialsSetNative :: (MonadIO m, CredentialsK a) => a -> CredentialsType -> Ptr () -> m () Source
credentialsSetUnixUser
data CredentialsSetUnixUserMethodInfo Source
((~) * signature (Word32 -> m ()), MonadIO m, CredentialsK a) => MethodInfo * CredentialsSetUnixUserMethodInfo a signature |
credentialsSetUnixUser :: (MonadIO m, CredentialsK a) => a -> Word32 -> m () Source
credentialsToString
data CredentialsToStringMethodInfo Source
((~) * signature (m Text), MonadIO m, CredentialsK a) => MethodInfo * CredentialsToStringMethodInfo a signature |
credentialsToString :: (MonadIO m, CredentialsK a) => a -> m Text Source