Minor adjustments
This commit is contained in:
parent
79283cd3df
commit
687524926f
@ -1,6 +1,3 @@
|
||||
:warning:
|
||||
**This is work in progress. Use [LDAP][LDAP] if you need LDAP integration.**
|
||||
|
||||
ldap-client
|
||||
===========
|
||||
[](https://travis-ci.org/supki/ldap-client)
|
||||
|
||||
@ -12,12 +12,17 @@ copyright: 2015 Matvey Aksenov
|
||||
category: Network
|
||||
build-type: Simple
|
||||
cabal-version: >= 1.10
|
||||
tested-with:
|
||||
GHC == 7.6.3
|
||||
, GHC == 7.8.4
|
||||
, GHC == 7.10.1
|
||||
extra-source-files:
|
||||
README.markdown
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git@github.com:supki/ldap-client
|
||||
tag: 0.1.0
|
||||
|
||||
library
|
||||
default-language:
|
||||
|
||||
@ -2,15 +2,19 @@
|
||||
{-# LANGUAGE BangPatterns #-}
|
||||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
{-# LANGUAGE NamedFieldPuns #-}
|
||||
-- | Pure Haskell LDAP client library.
|
||||
-- | This module is intended to be imported qualified
|
||||
--
|
||||
-- @
|
||||
-- import qualified Ldap.Client as Ldap
|
||||
-- @
|
||||
module Ldap.Client
|
||||
( Host(..)
|
||||
( with
|
||||
, Host(..)
|
||||
, PortNumber
|
||||
, Ldap
|
||||
, LdapError(..)
|
||||
, ResponseError(..)
|
||||
, Type.ResultCode(..)
|
||||
, Async
|
||||
, with
|
||||
-- * Bind
|
||||
, Password(..)
|
||||
, bind
|
||||
@ -43,8 +47,6 @@ module Ldap.Client
|
||||
-- * Extended
|
||||
, Oid(..)
|
||||
, extended
|
||||
-- * Waiting for completion
|
||||
, wait
|
||||
-- * Miscellanous
|
||||
, Dn(..)
|
||||
, Attr(..)
|
||||
@ -52,7 +54,6 @@ module Ldap.Client
|
||||
, AttrList
|
||||
-- * Re-exports
|
||||
, NonEmpty
|
||||
, PortNumber
|
||||
) where
|
||||
|
||||
#if __GLASGOW_HASKELL__ < 710
|
||||
|
||||
@ -16,6 +16,9 @@ module Ldap.Client.Add
|
||||
, addEither
|
||||
, addAsync
|
||||
, addAsyncSTM
|
||||
, Async
|
||||
, wait
|
||||
, waitSTM
|
||||
) where
|
||||
|
||||
import Control.Monad.STM (STM, atomically)
|
||||
|
||||
@ -17,6 +17,9 @@ module Ldap.Client.Bind
|
||||
, bindEither
|
||||
, bindAsync
|
||||
, bindAsyncSTM
|
||||
, Async
|
||||
, wait
|
||||
, waitSTM
|
||||
) where
|
||||
|
||||
import Control.Monad.STM (STM, atomically)
|
||||
|
||||
@ -17,6 +17,9 @@ module Ldap.Client.Compare
|
||||
, compareEither
|
||||
, compareAsync
|
||||
, compareAsyncSTM
|
||||
, Async
|
||||
, wait
|
||||
, waitSTM
|
||||
) where
|
||||
|
||||
import Control.Monad.STM (STM, atomically)
|
||||
|
||||
@ -16,6 +16,9 @@ module Ldap.Client.Delete
|
||||
, deleteEither
|
||||
, deleteAsync
|
||||
, deleteAsyncSTM
|
||||
, Async
|
||||
, wait
|
||||
, waitSTM
|
||||
) where
|
||||
|
||||
import Control.Concurrent.STM (STM, atomically)
|
||||
|
||||
@ -23,6 +23,9 @@ module Ldap.Client.Extended
|
||||
, startTlsEither
|
||||
, startTlsAsync
|
||||
, startTlsAsyncSTM
|
||||
, Async
|
||||
, wait
|
||||
, waitSTM
|
||||
) where
|
||||
|
||||
import Control.Monad ((<=<))
|
||||
|
||||
@ -25,6 +25,9 @@ module Ldap.Client.Modify
|
||||
, modifyDnEither
|
||||
, modifyDnAsync
|
||||
, modifyDnAsyncSTM
|
||||
, Async
|
||||
, wait
|
||||
, waitSTM
|
||||
) where
|
||||
|
||||
import Control.Monad.STM (STM, atomically)
|
||||
|
||||
@ -29,6 +29,9 @@ module Ldap.Client.Search
|
||||
, derefAliases
|
||||
, Filter(..)
|
||||
, SearchEntry(..)
|
||||
, Async
|
||||
, wait
|
||||
, waitSTM
|
||||
) where
|
||||
|
||||
import Control.Monad.STM (STM, atomically)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user