@@ -79,8 +79,13 @@ data FileId = FileId {
7979-- | fileid, offset, length, hook action, HTTP headers
8080type SendFile = FileId -> Integer -> Integer -> IO () -> [ByteString] -> IO ()
8181
82+-- | Type for read buffer pool
8283type BufferPool = IORef ByteString
84+
85+-- | Type for buffer
8386type Buffer = Ptr Word8
87+
88+-- | Type for buffer size
8489type BufSize = Int
8590
8691-- | Data type to manipulate IO actions for connections.