sednaDBXML-0.1.2.4: src/Database/SednaTypes.hs
module Database.SednaTypes
( SednaConnection
, QueryResult
, Query
, Document
, Collection
, URL
, Password
, DBName
, UserName
) where
--------------------------------------------------------------------------------
import Foreign (Ptr)
import Database.Internal.SednaCBindings (C'SednaConnection)
--------------------------------------------------------------------------------
type URL = String
--------------------------------------------------------------------------------
type DBName = String
--------------------------------------------------------------------------------
type UserName = String
type Password = String
--------------------------------------------------------------------------------
type Collection = String
type Document = String
--------------------------------------------------------------------------------
type SednaConnection = Ptr C'SednaConnection
--------------------------------------------------------------------------------
type Query = String
type QueryResult = String
--------------------------------------------------------------------------------
type ErrorMsg = String