Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
A table of functions used to handle different types of IOChannel
in a generic way.
Synopsis
- newtype IOFuncs = IOFuncs (ManagedPtr IOFuncs)
- newZeroIOFuncs :: MonadIO m => m IOFuncs
- clearIOFuncsIoClose :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoClose :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoCloseFieldCallback)
- setIOFuncsIoClose :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoCloseFieldCallback -> m ()
- clearIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoCreateWatchFieldCallback)
- setIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoCreateWatchFieldCallback -> m ()
- clearIOFuncsIoFree :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoFree :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoFreeFieldCallback)
- setIOFuncsIoFree :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoFreeFieldCallback -> m ()
- clearIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoGetFlagsFieldCallback)
- setIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoGetFlagsFieldCallback -> m ()
- clearIOFuncsIoRead :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoRead :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoReadFieldCallback)
- setIOFuncsIoRead :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoReadFieldCallback -> m ()
- clearIOFuncsIoSeek :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoSeek :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoSeekFieldCallback)
- setIOFuncsIoSeek :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoSeekFieldCallback -> m ()
- clearIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoSetFlagsFieldCallback)
- setIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoSetFlagsFieldCallback -> m ()
- clearIOFuncsIoWrite :: MonadIO m => IOFuncs -> m ()
- getIOFuncsIoWrite :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoWriteFieldCallback)
- setIOFuncsIoWrite :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoWriteFieldCallback -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq IOFuncs Source # | |
ManagedPtrNewtype IOFuncs Source # | |
Defined in GI.GLib.Structs.IOFuncs toManagedPtr :: IOFuncs -> ManagedPtr IOFuncs # | |
BoxedPtr IOFuncs Source # | |
Defined in GI.GLib.Structs.IOFuncs boxedPtrCopy :: IOFuncs -> IO IOFuncs # boxedPtrFree :: IOFuncs -> IO () # | |
CallocPtr IOFuncs Source # | |
Defined in GI.GLib.Structs.IOFuncs boxedPtrCalloc :: IO (Ptr IOFuncs) # | |
tag ~ 'AttrSet => Constructible IOFuncs tag Source # | |
Defined in GI.GLib.Structs.IOFuncs |
Methods
Overloaded methods
Properties
ioClose
No description available in the introspection data.
clearIOFuncsIoClose :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_close
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioClose
getIOFuncsIoClose :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoCloseFieldCallback) Source #
Get the value of the “io_close
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioClose
setIOFuncsIoClose :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoCloseFieldCallback -> m () Source #
Set the value of the “io_close
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioClose:=
value ]
ioCreateWatch
No description available in the introspection data.
clearIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_create_watch
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioCreateWatch
getIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoCreateWatchFieldCallback) Source #
Get the value of the “io_create_watch
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioCreateWatch
setIOFuncsIoCreateWatch :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoCreateWatchFieldCallback -> m () Source #
Set the value of the “io_create_watch
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioCreateWatch:=
value ]
ioFree
No description available in the introspection data.
clearIOFuncsIoFree :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_free
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioFree
getIOFuncsIoFree :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoFreeFieldCallback) Source #
Get the value of the “io_free
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioFree
setIOFuncsIoFree :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoFreeFieldCallback -> m () Source #
Set the value of the “io_free
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioFree:=
value ]
ioGetFlags
No description available in the introspection data.
clearIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_get_flags
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioGetFlags
getIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoGetFlagsFieldCallback) Source #
Get the value of the “io_get_flags
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioGetFlags
setIOFuncsIoGetFlags :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoGetFlagsFieldCallback -> m () Source #
Set the value of the “io_get_flags
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioGetFlags:=
value ]
ioRead
No description available in the introspection data.
clearIOFuncsIoRead :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_read
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioRead
getIOFuncsIoRead :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoReadFieldCallback) Source #
Get the value of the “io_read
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioRead
setIOFuncsIoRead :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoReadFieldCallback -> m () Source #
Set the value of the “io_read
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioRead:=
value ]
ioSeek
No description available in the introspection data.
clearIOFuncsIoSeek :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_seek
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioSeek
getIOFuncsIoSeek :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoSeekFieldCallback) Source #
Get the value of the “io_seek
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioSeek
setIOFuncsIoSeek :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoSeekFieldCallback -> m () Source #
Set the value of the “io_seek
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioSeek:=
value ]
ioSetFlags
No description available in the introspection data.
clearIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_set_flags
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioSetFlags
getIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoSetFlagsFieldCallback) Source #
Get the value of the “io_set_flags
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioSetFlags
setIOFuncsIoSetFlags :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoSetFlagsFieldCallback -> m () Source #
Set the value of the “io_set_flags
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioSetFlags:=
value ]
ioWrite
No description available in the introspection data.
clearIOFuncsIoWrite :: MonadIO m => IOFuncs -> m () Source #
Set the value of the “io_write
” field to Nothing
.
When overloading is enabled, this is equivalent to
clear
#ioWrite
getIOFuncsIoWrite :: MonadIO m => IOFuncs -> m (Maybe IOFuncsIoWriteFieldCallback) Source #
Get the value of the “io_write
” field.
When overloading is enabled, this is equivalent to
get
iOFuncs #ioWrite
setIOFuncsIoWrite :: MonadIO m => IOFuncs -> FunPtr C_IOFuncsIoWriteFieldCallback -> m () Source #
Set the value of the “io_write
” field.
When overloading is enabled, this is equivalent to
set
iOFuncs [ #ioWrite:=
value ]