]> gitweb @ CieloNegro.org - bindings-apr-util.git/blob - Bindings/APR/StrMatch.hsc
Bindings.APR.StrMatch
[bindings-apr-util.git] / Bindings / APR / StrMatch.hsc
1 #include <bindings.dsl.h>
2 #include <apr_strmatch.h>
3
4 module Bindings.APR.StrMatch where
5 #strict_import
6 import Bindings.APR
7 import Bindings.APR.Pools
8
9 #starttype struct apr_strmatch_pattern
10 #  field compare, FunPtr (Ptr <apr_strmatch_pattern> -> Ptr CChar -> <apr_size_t> -> IO (Ptr CChar))
11 #  field pattern, Ptr CChar
12 #  field length , <apr_size_t>
13 #  field context, Ptr ()
14 #stoptype
15
16 #cinline apr_strmach, Ptr <apr_strmatch_pattern> -> Ptr CChar -> <apr_size_t> -> IO (Ptr CChar)
17
18 #ccall apr_strmatch_precompile, Ptr <apr_pool_t> -> Ptr CChar -> CInt -> IO (Ptr <apr_strmatch_pattern>)