@@ 21,6 21,7 @@ module Network.Protocol.TLS.GNU.Foreign where
import Foreign
import Foreign.C
+import System.Posix.Types
-- Type aliases {{{
@@ 224,13 225,13 @@ foreign import ccall safe "gnutls_record_get_max_size"
gnutls_record_get_max_size :: Session -> IO CSize
foreign import ccall safe "gnutls_record_recv"
- gnutls_record_recv :: Session -> Ptr a -> CSize -> IO CSize
+ gnutls_record_recv :: Session -> Ptr a -> CSize -> IO CSsize
foreign import ccall safe "gnutls_record_send"
- gnutls_record_send :: Session -> Ptr a -> CSize -> IO CSize
+ gnutls_record_send :: Session -> Ptr a -> CSize -> IO CSsize
foreign import ccall safe "gnutls_record_set_max_size"
- gnutls_record_set_max_size :: Session -> CSize -> IO CSize
+ gnutls_record_set_max_size :: Session -> CSize -> IO CSsize
-- }}}