Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
GI.OSTree.Callbacks
Description
Synopsis
- type C_RepoCheckoutFilter = Ptr Repo -> CString -> Ptr () -> Ptr () -> IO CUInt
- type RepoCheckoutFilter = Repo -> Text -> Ptr () -> IO RepoCheckoutFilterResult
- type RepoCheckoutFilter_WithClosures = Repo -> Text -> Ptr () -> Ptr () -> IO RepoCheckoutFilterResult
- drop_closures_RepoCheckoutFilter :: RepoCheckoutFilter -> RepoCheckoutFilter_WithClosures
- dynamic_RepoCheckoutFilter :: (HasCallStack, MonadIO m, IsRepo a) => FunPtr C_RepoCheckoutFilter -> a -> Text -> Ptr () -> Ptr () -> m RepoCheckoutFilterResult
- genClosure_RepoCheckoutFilter :: MonadIO m => RepoCheckoutFilter -> m (GClosure C_RepoCheckoutFilter)
- mk_RepoCheckoutFilter :: C_RepoCheckoutFilter -> IO (FunPtr C_RepoCheckoutFilter)
- noRepoCheckoutFilter :: Maybe RepoCheckoutFilter
- noRepoCheckoutFilter_WithClosures :: Maybe RepoCheckoutFilter_WithClosures
- wrap_RepoCheckoutFilter :: Maybe (Ptr (FunPtr C_RepoCheckoutFilter)) -> RepoCheckoutFilter_WithClosures -> C_RepoCheckoutFilter
- type C_RepoCommitFilter = Ptr Repo -> CString -> Ptr FileInfo -> Ptr () -> IO CUInt
- type RepoCommitFilter = Repo -> Text -> FileInfo -> IO RepoCommitFilterResult
- type RepoCommitFilter_WithClosures = Repo -> Text -> FileInfo -> Ptr () -> IO RepoCommitFilterResult
- drop_closures_RepoCommitFilter :: RepoCommitFilter -> RepoCommitFilter_WithClosures
- dynamic_RepoCommitFilter :: (HasCallStack, MonadIO m, IsRepo a, IsFileInfo b) => FunPtr C_RepoCommitFilter -> a -> Text -> b -> Ptr () -> m RepoCommitFilterResult
- genClosure_RepoCommitFilter :: MonadIO m => RepoCommitFilter -> m (GClosure C_RepoCommitFilter)
- mk_RepoCommitFilter :: C_RepoCommitFilter -> IO (FunPtr C_RepoCommitFilter)
- noRepoCommitFilter :: Maybe RepoCommitFilter
- noRepoCommitFilter_WithClosures :: Maybe RepoCommitFilter_WithClosures
- wrap_RepoCommitFilter :: Maybe (Ptr (FunPtr C_RepoCommitFilter)) -> RepoCommitFilter_WithClosures -> C_RepoCommitFilter
- type C_RepoCommitModifierXattrCallback = Ptr Repo -> CString -> Ptr FileInfo -> Ptr () -> IO (Ptr GVariant)
- type RepoCommitModifierXattrCallback = Repo -> Text -> FileInfo -> IO GVariant
- type RepoCommitModifierXattrCallback_WithClosures = Repo -> Text -> FileInfo -> Ptr () -> IO GVariant
- drop_closures_RepoCommitModifierXattrCallback :: RepoCommitModifierXattrCallback -> RepoCommitModifierXattrCallback_WithClosures
- dynamic_RepoCommitModifierXattrCallback :: (HasCallStack, MonadIO m, IsRepo a, IsFileInfo b) => FunPtr C_RepoCommitModifierXattrCallback -> a -> Text -> b -> Ptr () -> m GVariant
- genClosure_RepoCommitModifierXattrCallback :: MonadIO m => RepoCommitModifierXattrCallback -> m (GClosure C_RepoCommitModifierXattrCallback)
- mk_RepoCommitModifierXattrCallback :: C_RepoCommitModifierXattrCallback -> IO (FunPtr C_RepoCommitModifierXattrCallback)
- noRepoCommitModifierXattrCallback :: Maybe RepoCommitModifierXattrCallback
- noRepoCommitModifierXattrCallback_WithClosures :: Maybe RepoCommitModifierXattrCallback_WithClosures
- wrap_RepoCommitModifierXattrCallback :: Maybe (Ptr (FunPtr C_RepoCommitModifierXattrCallback)) -> RepoCommitModifierXattrCallback_WithClosures -> C_RepoCommitModifierXattrCallback
- type C_RepoImportArchiveTranslatePathname = Ptr Repo -> Ptr () -> CString -> Ptr () -> IO CString
- type RepoImportArchiveTranslatePathname = Repo -> Ptr () -> Text -> IO Text
- type RepoImportArchiveTranslatePathname_WithClosures = Repo -> Ptr () -> Text -> Ptr () -> IO Text
- drop_closures_RepoImportArchiveTranslatePathname :: RepoImportArchiveTranslatePathname -> RepoImportArchiveTranslatePathname_WithClosures
- dynamic_RepoImportArchiveTranslatePathname :: (HasCallStack, MonadIO m, IsRepo a) => FunPtr C_RepoImportArchiveTranslatePathname -> a -> Ptr () -> Text -> Ptr () -> m Text
- genClosure_RepoImportArchiveTranslatePathname :: MonadIO m => RepoImportArchiveTranslatePathname -> m (GClosure C_RepoImportArchiveTranslatePathname)
- mk_RepoImportArchiveTranslatePathname :: C_RepoImportArchiveTranslatePathname -> IO (FunPtr C_RepoImportArchiveTranslatePathname)
- noRepoImportArchiveTranslatePathname :: Maybe RepoImportArchiveTranslatePathname
- noRepoImportArchiveTranslatePathname_WithClosures :: Maybe RepoImportArchiveTranslatePathname_WithClosures
- wrap_RepoImportArchiveTranslatePathname :: Maybe (Ptr (FunPtr C_RepoImportArchiveTranslatePathname)) -> RepoImportArchiveTranslatePathname_WithClosures -> C_RepoImportArchiveTranslatePathname
Signals
RepoCheckoutFilter
type C_RepoCheckoutFilter = Ptr Repo -> CString -> Ptr () -> Ptr () -> IO CUInt Source #
Type for the callback on the (unwrapped) C side.
type RepoCheckoutFilter Source #
Arguments
= Repo |
|
-> Text |
|
-> Ptr () |
|
-> IO RepoCheckoutFilterResult | Returns: |
No description available in the introspection data.
Since: 2018.2
type RepoCheckoutFilter_WithClosures Source #
Arguments
= Repo |
|
-> Text |
|
-> Ptr () |
|
-> Ptr () |
|
-> IO RepoCheckoutFilterResult | Returns: |
No description available in the introspection data.
Since: 2018.2
drop_closures_RepoCheckoutFilter :: RepoCheckoutFilter -> RepoCheckoutFilter_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_RepoCheckoutFilter Source #
Arguments
:: (HasCallStack, MonadIO m, IsRepo a) | |
=> FunPtr C_RepoCheckoutFilter | |
-> a |
|
-> Text |
|
-> Ptr () |
|
-> Ptr () |
|
-> m RepoCheckoutFilterResult | Returns: |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_RepoCheckoutFilter :: MonadIO m => RepoCheckoutFilter -> m (GClosure C_RepoCheckoutFilter) Source #
Wrap the callback into a GClosure
.
mk_RepoCheckoutFilter :: C_RepoCheckoutFilter -> IO (FunPtr C_RepoCheckoutFilter) Source #
Generate a function pointer callable from C code, from a C_RepoCheckoutFilter
.
noRepoCheckoutFilter :: Maybe RepoCheckoutFilter Source #
A convenience synonym for
.Nothing
:: Maybe
RepoCheckoutFilter
noRepoCheckoutFilter_WithClosures :: Maybe RepoCheckoutFilter_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
RepoCheckoutFilter_WithClosures
wrap_RepoCheckoutFilter :: Maybe (Ptr (FunPtr C_RepoCheckoutFilter)) -> RepoCheckoutFilter_WithClosures -> C_RepoCheckoutFilter Source #
Wrap a RepoCheckoutFilter
into a C_RepoCheckoutFilter
.
RepoCommitFilter
type C_RepoCommitFilter = Ptr Repo -> CString -> Ptr FileInfo -> Ptr () -> IO CUInt Source #
Type for the callback on the (unwrapped) C side.
type RepoCommitFilter Source #
Arguments
= Repo |
|
-> Text |
|
-> FileInfo |
|
-> IO RepoCommitFilterResult | Returns: |
No description available in the introspection data.
type RepoCommitFilter_WithClosures Source #
Arguments
= Repo |
|
-> Text |
|
-> FileInfo |
|
-> Ptr () |
|
-> IO RepoCommitFilterResult | Returns: |
No description available in the introspection data.
drop_closures_RepoCommitFilter :: RepoCommitFilter -> RepoCommitFilter_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_RepoCommitFilter Source #
Arguments
:: (HasCallStack, MonadIO m, IsRepo a, IsFileInfo b) | |
=> FunPtr C_RepoCommitFilter | |
-> a |
|
-> Text |
|
-> b |
|
-> Ptr () |
|
-> m RepoCommitFilterResult | Returns: |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_RepoCommitFilter :: MonadIO m => RepoCommitFilter -> m (GClosure C_RepoCommitFilter) Source #
Wrap the callback into a GClosure
.
mk_RepoCommitFilter :: C_RepoCommitFilter -> IO (FunPtr C_RepoCommitFilter) Source #
Generate a function pointer callable from C code, from a C_RepoCommitFilter
.
noRepoCommitFilter :: Maybe RepoCommitFilter Source #
A convenience synonym for
.Nothing
:: Maybe
RepoCommitFilter
noRepoCommitFilter_WithClosures :: Maybe RepoCommitFilter_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
RepoCommitFilter_WithClosures
wrap_RepoCommitFilter :: Maybe (Ptr (FunPtr C_RepoCommitFilter)) -> RepoCommitFilter_WithClosures -> C_RepoCommitFilter Source #
Wrap a RepoCommitFilter
into a C_RepoCommitFilter
.
RepoCommitModifierXattrCallback
type C_RepoCommitModifierXattrCallback = Ptr Repo -> CString -> Ptr FileInfo -> Ptr () -> IO (Ptr GVariant) Source #
Type for the callback on the (unwrapped) C side.
type RepoCommitModifierXattrCallback = Repo -> Text -> FileInfo -> IO GVariant Source #
No description available in the introspection data.
type RepoCommitModifierXattrCallback_WithClosures = Repo -> Text -> FileInfo -> Ptr () -> IO GVariant Source #
No description available in the introspection data.
drop_closures_RepoCommitModifierXattrCallback :: RepoCommitModifierXattrCallback -> RepoCommitModifierXattrCallback_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_RepoCommitModifierXattrCallback :: (HasCallStack, MonadIO m, IsRepo a, IsFileInfo b) => FunPtr C_RepoCommitModifierXattrCallback -> a -> Text -> b -> Ptr () -> m GVariant Source #
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_RepoCommitModifierXattrCallback :: MonadIO m => RepoCommitModifierXattrCallback -> m (GClosure C_RepoCommitModifierXattrCallback) Source #
Wrap the callback into a GClosure
.
mk_RepoCommitModifierXattrCallback :: C_RepoCommitModifierXattrCallback -> IO (FunPtr C_RepoCommitModifierXattrCallback) Source #
Generate a function pointer callable from C code, from a C_RepoCommitModifierXattrCallback
.
noRepoCommitModifierXattrCallback :: Maybe RepoCommitModifierXattrCallback Source #
A convenience synonym for
.Nothing
:: Maybe
RepoCommitModifierXattrCallback
noRepoCommitModifierXattrCallback_WithClosures :: Maybe RepoCommitModifierXattrCallback_WithClosures Source #
A convenience synonym for
.Nothing
:: Maybe
RepoCommitModifierXattrCallback_WithClosures
wrap_RepoCommitModifierXattrCallback :: Maybe (Ptr (FunPtr C_RepoCommitModifierXattrCallback)) -> RepoCommitModifierXattrCallback_WithClosures -> C_RepoCommitModifierXattrCallback Source #
Wrap a RepoCommitModifierXattrCallback
into a C_RepoCommitModifierXattrCallback
.
RepoImportArchiveTranslatePathname
type C_RepoImportArchiveTranslatePathname = Ptr Repo -> Ptr () -> CString -> Ptr () -> IO CString Source #
Type for the callback on the (unwrapped) C side.
type RepoImportArchiveTranslatePathname Source #
Possibly change a pathname while importing an archive. If Nothing
is returned,
then srcPath
will be used unchanged. Otherwise, return a new pathname which
will be freed via g_free()
.
This pathname translation will be performed *before* any processing from an
active OstreeRepoCommitModifier
. Will be invoked for all directory and file
types, first with outer directories, then their sub-files and directories.
Note that enabling pathname translation will always override the setting for
use_ostree_convention
.
Since: 2017.11
type RepoImportArchiveTranslatePathname_WithClosures Source #
Arguments
= Repo |
|
-> Ptr () |
|
-> Text |
|
-> Ptr () |
|
-> IO Text |
Possibly change a pathname while importing an archive. If Nothing
is returned,
then srcPath
will be used unchanged. Otherwise, return a new pathname which
will be freed via g_free()
.
This pathname translation will be performed *before* any processing from an
active OstreeRepoCommitModifier
. Will be invoked for all directory and file
types, first with outer directories, then their sub-files and directories.
Note that enabling pathname translation will always override the setting for
use_ostree_convention
.
Since: 2017.11
drop_closures_RepoImportArchiveTranslatePathname :: RepoImportArchiveTranslatePathname -> RepoImportArchiveTranslatePathname_WithClosures Source #
A simple wrapper that ignores the closure arguments.
dynamic_RepoImportArchiveTranslatePathname Source #
Arguments
:: (HasCallStack, MonadIO m, IsRepo a) | |
=> FunPtr C_RepoImportArchiveTranslatePathname | |
-> a |
|
-> Ptr () |
|
-> Text |
|
-> Ptr () |
|
-> m Text |
Given a pointer to a foreign C function, wrap it into a function callable from Haskell.
genClosure_RepoImportArchiveTranslatePathname :: MonadIO m => RepoImportArchiveTranslatePathname -> m (GClosure C_RepoImportArchiveTranslatePathname) Source #
Wrap the callback into a GClosure
.
mk_RepoImportArchiveTranslatePathname :: C_RepoImportArchiveTranslatePathname -> IO (FunPtr C_RepoImportArchiveTranslatePathname) Source #
Generate a function pointer callable from C code, from a C_RepoImportArchiveTranslatePathname
.
noRepoImportArchiveTranslatePathname :: Maybe RepoImportArchiveTranslatePathname Source #
A convenience synonym for
.Nothing
:: Maybe
RepoImportArchiveTranslatePathname