bindings-apr-0.1: Low level bindings to Apache Portable Runtime (APR)
Contents
Index
Bindings.APR.Network.IO
Documentation
c'APR_MAX_SECS_TO_LINGER
::
Num
a => a
c'APRMAXHOSTLEN
::
Num
a => a
c'APR_ANYADDR
::
Ptr
a
c'APR_SO_LINGER
::
Num
a => a
c'APR_SO_KEEPALIVE
::
Num
a => a
c'APR_SO_DEBUG
::
Num
a => a
c'APR_SO_NONBLOCK
::
Num
a => a
c'APR_SO_REUSEADDR
::
Num
a => a
c'APR_SO_SNDBUF
::
Num
a => a
c'APR_SO_RCVBUF
::
Num
a => a
c'APR_SO_DISCONNECTED
::
Num
a => a
c'APR_TCP_NODELAY
::
Num
a => a
c'APR_TCP_NOPUSH
::
Num
a => a
c'APR_RESET_NODELAY
::
Num
a => a
c'APR_INCOMPLETE_READ
::
Num
a => a
c'APR_INCOMPLETE_WRITE
::
Num
a => a
c'APR_IPV6_V6ONLY
::
Num
a => a
c'APR_TCP_DEFER_ACCEPT
::
Num
a => a
type
C'apr_shutdown_how_e
=
CUInt
c'APR_IPV4_ADDR_OK
::
Num
a => a
c'APR_IPV6_ADDR_OK
::
Num
a => a
c'APR_INADDR_NONE
::
Num
a => a
c'APR_INET
::
Num
a => a
c'APR_UNSPEC
::
Num
a => a
c'APR_INET6
::
Num
a => a
c'APR_PROTO_TCP
::
Num
a => a
c'APR_PROTO_UDP
::
Num
a => a
c'APR_PROTO_SCTP
::
Num
a => a
type
C'apr_interface_e
=
CUInt
c'APR_LOCAL
::
Num
a => a
c'APR_REMOTE
::
Num
a => a
data
C'apr_socket_t
Constructors
C'apr_socket_t
data
C'apr_hdtr_t
Constructors
C'apr_hdtr_t
c'apr_hdtr_t'headers
::
Ptr
C'iovec
c'apr_hdtr_t'numheaders
::
CInt
c'apr_hdtr_t'trailers
::
Ptr
C'iovec
c'apr_hdtr_t'numtrailers
::
CInt
Instances
Eq
C'apr_hdtr_t
Show
C'apr_hdtr_t
Storable
C'apr_hdtr_t
data
C'apr_ipsubnet_t
Constructors
C'apr_ipsubnet_t
type
C'apr_port_t
=
Word16
data
C'apr_sockaddr_t
Constructors
C'apr_sockaddr_t
c'apr_sockaddr_t'pool
::
Ptr
C'apr_pool_t
c'apr_sockaddr_t'hostname
::
Ptr
CChar
c'apr_sockaddr_t'servname
::
Ptr
CChar
c'apr_sockaddr_t'port
::
C'apr_port_t
c'apr_sockaddr_t'family
::
C'apr_int32_t
c'apr_sockaddr_t'salen
::
C'apr_socklen_t
c'apr_sockaddr_t'ipaddr_len
::
CInt
c'apr_sockaddr_t'addr_str_len
::
CInt
c'apr_sockaddr_t'ipaddr_ptr
::
Ptr
()
c'apr_sockaddr_t'next
::
Ptr
C'apr_sockaddr_t
Instances
Eq
C'apr_sockaddr_t
Show
C'apr_sockaddr_t
Storable
C'apr_sockaddr_t
c'APR_SENDFILE_DISCONNECT_SOCKET
::
Num
a => a
c'apr_socket_create
::
Ptr
(
Ptr
C'apr_socket_t
) ->
CInt
->
CInt
->
CInt
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
c'apr_socket_shutdown
::
Ptr
C'apr_socket_t
->
C'apr_shutdown_how_e
->
IO
C'apr_status_t
c'apr_socket_close
::
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
p'apr_socket_create
::
FunPtr
(
Ptr
(
Ptr
C'apr_socket_t
) ->
CInt
->
CInt
->
CInt
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
)
c'apr_socket_bind
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
p'apr_socket_shutdown
::
FunPtr
(
Ptr
C'apr_socket_t
->
C'apr_shutdown_how_e
->
IO
C'apr_status_t
)
p'apr_socket_close
::
FunPtr
(
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
)
c'apr_socket_listen
::
Ptr
C'apr_status_t
->
C'apr_int32_t
->
IO
C'apr_status_t
p'apr_socket_bind
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
)
c'apr_socket_accept
::
Ptr
(
Ptr
C'apr_socket_t
) ->
Ptr
C'apr_socket_t
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
c'apr_socket_connect
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
p'apr_socket_listen
::
FunPtr
(
Ptr
C'apr_status_t
->
C'apr_int32_t
->
IO
C'apr_status_t
)
p'apr_socket_accept
::
FunPtr
(
Ptr
(
Ptr
C'apr_socket_t
) ->
Ptr
C'apr_socket_t
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
)
c'apr_sockaddr_info_get
::
Ptr
(
Ptr
C'apr_sockaddr_t
) ->
Ptr
CChar
->
C'apr_int32_t
->
C'apr_port_t
->
C'apr_int32_t
->
Ptr
C'apr_port_t
->
IO
C'apr_status_t
p'apr_socket_connect
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
)
c'apr_getnameinfo
::
Ptr
(
Ptr
CChar
) ->
Ptr
C'apr_sockaddr_t
->
C'apr_int32_t
->
IO
C'apr_status_t
c'apr_parse_addr_port
::
Ptr
(
Ptr
CChar
) ->
Ptr
(
Ptr
CChar
) ->
Ptr
C'apr_port_t
->
Ptr
CChar
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
p'apr_sockaddr_info_get
::
FunPtr
(
Ptr
(
Ptr
C'apr_sockaddr_t
) ->
Ptr
CChar
->
C'apr_int32_t
->
C'apr_port_t
->
C'apr_int32_t
->
Ptr
C'apr_port_t
->
IO
C'apr_status_t
)
c'apr_gethostname
::
Ptr
CChar
->
CInt
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
p'apr_getnameinfo
::
FunPtr
(
Ptr
(
Ptr
CChar
) ->
Ptr
C'apr_sockaddr_t
->
C'apr_int32_t
->
IO
C'apr_status_t
)
c'apr_socket_data_get
::
Ptr
(
Ptr
()
) ->
Ptr
CChar
->
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
p'apr_parse_addr_port
::
FunPtr
(
Ptr
(
Ptr
CChar
) ->
Ptr
(
Ptr
CChar
) ->
Ptr
C'apr_port_t
->
Ptr
CChar
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
)
p'apr_gethostname
::
FunPtr
(
Ptr
CChar
->
CInt
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
)
c'apr_socket_data_set
::
Ptr
C'apr_socket_t
->
Ptr
()
->
Ptr
CChar
->
FunPtr
(
Ptr
()
->
IO
C'apr_status_t
) ->
IO
C'apr_status_t
c'apr_socket_send
::
Ptr
C'apr_socket_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
p'apr_socket_data_get
::
FunPtr
(
Ptr
(
Ptr
()
) ->
Ptr
CChar
->
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
)
c'apr_socket_sendv
::
Ptr
C'apr_socket_t
->
Ptr
C'iovec
->
C'apr_int32_t
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
p'apr_socket_data_set
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
()
->
Ptr
CChar
->
FunPtr
(
Ptr
()
->
IO
C'apr_status_t
) ->
IO
C'apr_status_t
)
p'apr_socket_send
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
)
c'apr_socket_sendto
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
C'apr_int32_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
p'apr_socket_sendv
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'iovec
->
C'apr_int32_t
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
)
c'apr_socket_recvfrom
::
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_socket_t
->
C'apr_int32_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
p'apr_socket_sendto
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
C'apr_int32_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
)
p'apr_socket_recvfrom
::
FunPtr
(
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_socket_t
->
C'apr_int32_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
)
c'apr_socket_sendfile
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_file_t
->
Ptr
C'apr_hdtr_t
->
Ptr
C'apr_off_t
->
Ptr
C'apr_size_t
->
C'apr_int32_t
->
IO
C'apr_status_t
p'apr_socket_sendfile
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_file_t
->
Ptr
C'apr_hdtr_t
->
Ptr
C'apr_off_t
->
Ptr
C'apr_size_t
->
C'apr_int32_t
->
IO
C'apr_status_t
)
c'apr_socket_recv
::
Ptr
C'apr_socket_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
c'apr_socket_opt_set
::
Ptr
C'apr_socket_t
->
C'apr_int32_t
->
C'apr_int32_t
->
IO
C'apr_status_t
c'apr_socket_timeout_set
::
Ptr
C'apr_socket_t
->
C'apr_interval_time_t
->
IO
C'apr_status_t
p'apr_socket_recv
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
CChar
->
Ptr
C'apr_size_t
->
IO
C'apr_status_t
)
c'apr_socket_opt_get
::
Ptr
C'apr_socket_t
->
C'apr_int32_t
->
C'apr_int32_t
->
IO
C'apr_status_t
p'apr_socket_opt_set
::
FunPtr
(
Ptr
C'apr_socket_t
->
C'apr_int32_t
->
C'apr_int32_t
->
IO
C'apr_status_t
)
c'apr_socket_timeout_get
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_interval_time_t
->
IO
C'apr_status_t
p'apr_socket_timeout_set
::
FunPtr
(
Ptr
C'apr_socket_t
->
C'apr_interval_time_t
->
IO
C'apr_status_t
)
c'apr_socket_atmark
::
Ptr
C'apr_socket_t
->
Ptr
CInt
->
IO
C'apr_status_t
p'apr_socket_opt_get
::
FunPtr
(
Ptr
C'apr_socket_t
->
C'apr_int32_t
->
C'apr_int32_t
->
IO
C'apr_status_t
)
p'apr_socket_timeout_get
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_interval_time_t
->
IO
C'apr_status_t
)
c'apr_socket_addr_get
::
Ptr
(
Ptr
C'apr_socket_t
) ->
C'apr_interface_e
->
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
c'apr_sockaddr_ip_get
::
Ptr
(
Ptr
CChar
) ->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
p'apr_socket_atmark
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
CInt
->
IO
C'apr_status_t
)
c'apr_sockaddr_ip_getbuf
::
Ptr
CChar
->
C'apr_size_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
p'apr_socket_addr_get
::
FunPtr
(
Ptr
(
Ptr
C'apr_socket_t
) ->
C'apr_interface_e
->
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
)
c'apr_sockaddr_equal
::
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
IO
CInt
p'apr_sockaddr_ip_get
::
FunPtr
(
Ptr
(
Ptr
CChar
) ->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
)
c'apr_socket_type_get
::
Ptr
C'apr_socket_t
->
Ptr
CInt
->
IO
C'apr_status_t
p'apr_sockaddr_ip_getbuf
::
FunPtr
(
Ptr
CChar
->
C'apr_size_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
)
c'apr_getservbyname
::
Ptr
C'apr_sockaddr_t
->
Ptr
CChar
->
IO
C'apr_status_t
p'apr_sockaddr_equal
::
FunPtr
(
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
IO
CInt
)
p'apr_socket_type_get
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
CInt
->
IO
C'apr_status_t
)
c'apr_ipsubnet_create
::
Ptr
(
Ptr
C'apr_ipsubnet_t
) ->
Ptr
CChar
->
Ptr
CChar
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
c'apr_ipsubnet_test
::
Ptr
C'apr_ipsubnet_t
->
Ptr
C'apr_sockaddr_t
->
IO
CInt
p'apr_getservbyname
::
FunPtr
(
Ptr
C'apr_sockaddr_t
->
Ptr
CChar
->
IO
C'apr_status_t
)
p'apr_ipsubnet_create
::
FunPtr
(
Ptr
(
Ptr
C'apr_ipsubnet_t
) ->
Ptr
CChar
->
Ptr
CChar
->
Ptr
C'apr_pool_t
->
IO
C'apr_status_t
)
p'apr_ipsubnet_test
::
FunPtr
(
Ptr
C'apr_ipsubnet_t
->
Ptr
C'apr_sockaddr_t
->
IO
CInt
)
c'apr_socket_accept_filter
::
Ptr
C'apr_socket_t
->
Ptr
CChar
->
Ptr
CChar
->
IO
C'apr_status_t
p'apr_socket_accept_filter
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
CChar
->
Ptr
CChar
->
IO
C'apr_status_t
)
c'apr_socket_protocol_get
::
Ptr
C'apr_socket_t
->
Ptr
CInt
->
IO
C'apr_status_t
c'apr_socket_pool_get
::
Ptr
C'apr_socket_t
->
IO
(
Ptr
C'apr_pool_t
)
p'apr_socket_protocol_get
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
CInt
->
IO
C'apr_status_t
)
c'apr_socket_inherit_set
::
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
c'apr_socket_inherit_unset
::
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
p'apr_socket_pool_get
::
FunPtr
(
Ptr
C'apr_socket_t
->
IO
(
Ptr
C'apr_pool_t
))
p'apr_socket_inherit_set
::
FunPtr
(
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
)
p'apr_socket_inherit_unset
::
FunPtr
(
Ptr
C'apr_socket_t
->
IO
C'apr_status_t
)
c'apr_mcast_join
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
c'apr_mcast_leave
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
c'apr_mcast_hops
::
Ptr
C'apr_socket_t
->
C'apr_byte_t
->
IO
C'apr_status_t
p'apr_mcast_join
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
)
c'apr_mcast_loopback
::
Ptr
C'apr_socket_t
->
C'apr_byte_t
->
IO
C'apr_status_t
p'apr_mcast_leave
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
)
c'apr_mcast_interface
::
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
p'apr_mcast_hops
::
FunPtr
(
Ptr
C'apr_socket_t
->
C'apr_byte_t
->
IO
C'apr_status_t
)
p'apr_mcast_loopback
::
FunPtr
(
Ptr
C'apr_socket_t
->
C'apr_byte_t
->
IO
C'apr_status_t
)
p'apr_mcast_interface
::
FunPtr
(
Ptr
C'apr_socket_t
->
Ptr
C'apr_sockaddr_t
->
IO
C'apr_status_t
)
Produced by
Haddock
version 2.6.1