{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE PolyKinds #-}
{-# LANGUAGE RankNTypes #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Data.Conduit.Network.Unix
(
sourceSocket
, sinkSocket
, SN.AppDataUnix
, appSource
, appSink
, SN.ServerSettingsUnix
, serverSettings
, SN.runUnixServer
, SN.ClientSettingsUnix
, clientSettings
, SN.runUnixClient
, SN.getPath
, SN.getAfterBind
, SN.setPath
, SN.setAfterBind
) where
import Data.Conduit.Network (appSource, appSink, sourceSocket, sinkSocket)
import qualified Data.Streaming.Network as SN
clientSettings :: FilePath -> SN.ClientSettingsUnix
clientSettings = SN.clientSettingsUnix
serverSettings :: FilePath -> SN.ServerSettingsUnix
serverSettings = SN.serverSettingsUnix