]> gitweb @ CieloNegro.org - bindings-apr.git/blob - Bindings/APR/Errno.hsc
more bindings
[bindings-apr.git] / Bindings / APR / Errno.hsc
1 #include <bindings.dsl.h>
2 #include <apr_errno.h>
3
4 module Bindings.APR.Errno where
5 #strict_import
6 import Bindings.APR
7
8 #integral_t apr_status_t
9
10 #ccall apr_strerror, <apr_status_t> -> Ptr CChar -> <apr_size_t> -> IO (Ptr CChar)
11
12 #num APR_OS_START_ERROR
13 #num APR_OS_ERRSPACE_SIZE
14 #num APR_UTIL_ERRSPACE_SIZE
15 #num APR_OS_START_STATUS
16 #num APR_UTIL_START_STATUS
17 #num APR_OS_START_USERERR
18 #num APR_OS_START_USEERR
19 #num APR_OS_START_CANONERR
20 #num APR_OS_START_EAIERR
21 #num APR_OS_START_SYSERR
22
23 #num APR_SUCCESS
24
25 #num APR_ENOSTAT
26 #num APR_ENOPOOL
27 #num APR_EBADDATE
28 #num APR_EINVALSOCK
29 #num APR_ENOPROC
30 #num APR_ENOTIME
31 #num APR_ENODIR
32 #num APR_ENOLOCK
33 #num APR_ENOPOLL
34 #num APR_ENOSOCKET
35 #num APR_ENOTHREAD
36 #num APR_ENOTHDKEY
37 #num APR_EGENERAL
38 #num APR_ENOSHMAVAIL
39 #num APR_EBADIP
40 #num APR_EBADMASK
41 #num APR_EDSOOPEN
42 #num APR_EABSOLUTE
43 #num APR_ERELATIVE
44 #num APR_EINCOMPLETE
45 #num APR_EABOVEROOT
46 #num APR_EBADPATH
47 #num APR_EPATHWILD
48 #num APR_ESYMNOTFOUND
49 #num APR_EPROC_UNKNOWN
50 #num APR_ENOTENOUGHENTROPY
51
52 #cinline APR_STATUS_IS_ENOSTAT     , <apr_status_t> -> IO CInt
53 #cinline APR_STATUS_IS_ENOPOOL     , <apr_status_t> -> IO CInt
54 #cinline APR_STATUS_IS_EBADDATE    , <apr_status_t> -> IO CInt
55 #cinline APR_STATUS_IS_EINVALSOCK  , <apr_status_t> -> IO CInt
56 #cinline APR_STATUS_IS_ENOPROC     , <apr_status_t> -> IO CInt
57 #cinline APR_STATUS_IS_ENOTIME     , <apr_status_t> -> IO CInt
58 #cinline APR_STATUS_IS_ENODIR      , <apr_status_t> -> IO CInt
59 #cinline APR_STATUS_IS_ENOLOCK     , <apr_status_t> -> IO CInt
60 #cinline APR_STATUS_IS_ENOSOCKET   , <apr_status_t> -> IO CInt
61 #cinline APR_STATUS_IS_ENOTHREAD   , <apr_status_t> -> IO CInt
62 #cinline APR_STATUS_IS_ENOTHDKEY   , <apr_status_t> -> IO CInt
63 #cinline APR_STATUS_IS_EGENERAL    , <apr_status_t> -> IO CInt
64 #cinline APR_STATUS_IS_ENOSHMAVAIL , <apr_status_t> -> IO CInt
65 #cinline APR_STATUS_IS_EBADIP      , <apr_status_t> -> IO CInt
66 #cinline APR_STATUS_IS_EBADMASK    , <apr_status_t> -> IO CInt
67 #cinline APR_STATUS_IS_EDSOOPEN    , <apr_status_t> -> IO CInt
68 #cinline APR_STATUS_IS_EABSOLUTE   , <apr_status_t> -> IO CInt
69 #cinline APR_STATUS_IS_ERELATIVE   , <apr_status_t> -> IO CInt
70 #cinline APR_STATUS_IS_EINCOMPLETE , <apr_status_t> -> IO CInt
71 #cinline APR_STATUS_IS_EABOVEROOT  , <apr_status_t> -> IO CInt
72 #cinline APR_STATUS_IS_EBADPATH    , <apr_status_t> -> IO CInt
73 #cinline APR_STATUS_IS_EPATHWILD   , <apr_status_t> -> IO CInt
74 #cinline APR_STATUS_IS_ESYMNOTFOUND, <apr_status_t> -> IO CInt
75 #cinline APR_STATUS_IS_EPROC_UNKNOWN    , <apr_status_t> -> IO CInt
76 #cinline APR_STATUS_IS_ENOTENOUGHENTROPY, <apr_status_t> -> IO CInt
77
78 #num APR_INCHILD
79 #num APR_INPARENT
80 #num APR_DETACH
81 #num APR_NOTDETACH
82 #num APR_CHILD_DONE
83 #num APR_CHILD_NOTDONE
84 #num APR_TIMEUP
85 #num APR_INCOMPLETE
86 #num APR_BADCH
87 #num APR_BADARG
88 #num APR_EOF
89 #num APR_NOTFOUND
90 #num APR_ANONYMOUS
91 #num APR_FILEBASED
92 #num APR_KEYBASED
93 #num APR_EINIT
94 #num APR_ENOTIMPL
95 #num APR_EMISMATCH
96 #num APR_EBUSY
97
98 #cinline APR_STATUS_IS_INCHILD   , <apr_status_t> -> IO CInt
99 #cinline APR_STATUS_IS_INPARENT  , <apr_status_t> -> IO CInt
100 #cinline APR_STATUS_IS_DETACH    , <apr_status_t> -> IO CInt
101 #cinline APR_STATUS_IS_NOTDETACH , <apr_status_t> -> IO CInt
102 #cinline APR_STATUS_IS_CHILD_DONE, <apr_status_t> -> IO CInt
103 #cinline APR_STATUS_IS_CHILD_NOTDONE, <apr_status_t> -> IO CInt
104 #cinline APR_STATUS_IS_TIMEUP    , <apr_status_t> -> IO CInt
105 #cinline APR_STATUS_IS_INCOMPLETE, <apr_status_t> -> IO CInt
106 #cinline APR_STATUS_IS_BADCH     , <apr_status_t> -> IO CInt
107 #cinline APR_STATUS_IS_BADARG    , <apr_status_t> -> IO CInt
108 #cinline APR_STATUS_IS_EOF       , <apr_status_t> -> IO CInt
109 #cinline APR_STATUS_IS_NOTFOUND  , <apr_status_t> -> IO CInt
110 #cinline APR_STATUS_IS_ANONYMOUS , <apr_status_t> -> IO CInt
111 #cinline APR_STATUS_IS_FILEBASED , <apr_status_t> -> IO CInt
112 #cinline APR_STATUS_IS_KEYBASED  , <apr_status_t> -> IO CInt
113 #cinline APR_STATUS_IS_EINIT     , <apr_status_t> -> IO CInt
114 #cinline APR_STATUS_IS_ENOTIMPL  , <apr_status_t> -> IO CInt
115 #cinline APR_STATUS_IS_EMISMATCH , <apr_status_t> -> IO CInt
116 #cinline APR_STATUS_IS_EBUSY     , <apr_status_t> -> IO CInt
117
118 #num APR_EACCES
119 #num APR_EEXIST
120 #num APR_ENAMETOOLONG
121 #num APR_ENOENT
122 #num APR_ENOTDIR
123 #num APR_ENOSPC
124 #num APR_ENOMEM
125 #num APR_EMFILE
126 #num APR_ENFILE
127 #num APR_EBADF
128 #num APR_EINVAL
129 #num APR_ESPIPE
130 #num APR_EAGAIN
131 #num APR_EINTR
132 #num APR_ENOTSOCK
133 #num APR_ECONNREFUSED
134 #num APR_EINPROGRESS
135 #num APR_ECONNABORTED
136 #num APR_ECONNRESET
137 #num APR_ETIMEDOUT
138 #num APR_EHOSTUNREACH
139 #num APR_ENETUNREACH
140 #num APR_EFTYPE
141 #num APR_EPIPE
142 #num APR_EXDEV
143 #num APR_ENOTEMPTY
144 #num APR_EAFNOSUPPORT
145
146 #cinline APR_STATUS_IS_EACCES , <apr_status_t> -> IO CInt
147 #cinline APR_STATUS_IS_EEXIST , <apr_status_t> -> IO CInt
148 #cinline APR_STATUS_IS_ENAMETOOLONG, <apr_status_t> -> IO CInt
149 #cinline APR_STATUS_IS_ENOENT , <apr_status_t> -> IO CInt
150 #cinline APR_STATUS_IS_ENOTDIR, <apr_status_t> -> IO CInt
151 #cinline APR_STATUS_IS_ENOSPC , <apr_status_t> -> IO CInt
152 #cinline APR_STATUS_IS_ENOMEM , <apr_status_t> -> IO CInt
153 #cinline APR_STATUS_IS_EMFILE , <apr_status_t> -> IO CInt
154 #cinline APR_STATUS_IS_ENFILE , <apr_status_t> -> IO CInt
155 #cinline APR_STATUS_IS_EBADF  , <apr_status_t> -> IO CInt
156 #cinline APR_STATUS_IS_EINVAL , <apr_status_t> -> IO CInt
157 #cinline APR_STATUS_IS_ESPIPE , <apr_status_t> -> IO CInt
158 #cinline APR_STATUS_IS_EAGAIN , <apr_status_t> -> IO CInt
159 #cinline APR_STATUS_IS_EINTR  , <apr_status_t> -> IO CInt
160 #cinline APR_STATUS_IS_ENOTSOCK, <apr_status_t> -> IO CInt
161 #cinline APR_STATUS_IS_ECONNREFUSED, <apr_status_t> -> IO CInt
162 #cinline APR_STATUS_IS_EINPROGRESS , <apr_status_t> -> IO CInt
163 #cinline APR_STATUS_IS_ECONNABORTED, <apr_status_t> -> IO CInt
164 #cinline APR_STATUS_IS_ECONNRESET  , <apr_status_t> -> IO CInt
165 #cinline APR_STATUS_IS_ETIMEDOUT   , <apr_status_t> -> IO CInt
166 #cinline APR_STATUS_IS_TIMEDUP     , <apr_status_t> -> IO CInt
167 #cinline APR_STATUS_IS_EHOSTUNREACH, <apr_status_t> -> IO CInt
168 #cinline APR_STATUS_IS_ENETUNREACH , <apr_status_t> -> IO CInt
169 #cinline APR_STATUS_IS_EFTYPE   , <apr_status_t> -> IO CInt
170 #cinline APR_STATUS_IS_EPIPE    , <apr_status_t> -> IO CInt
171 #cinline APR_STATUS_IS_EXDEV    , <apr_status_t> -> IO CInt
172 #cinline APR_STATUS_IS_ENOTEMPTY, <apr_status_t> -> IO CInt
173 #cinline APR_STATUS_IS_EAFNOSUPPORT, <apr_status_t> -> IO CInt