{-# LINE 1 "src/Bindings/LXC/Sys/Types.hsc" #-} {-# LINE 2 "src/Bindings/LXC/Sys/Types.hsc" #-} {-# LINE 3 "src/Bindings/LXC/Sys/Types.hsc" #-} {-# LINE 4 "src/Bindings/LXC/Sys/Types.hsc" #-} ----------------------------------------------------------------------------- -- | -- Module : Bindings.LXC.Sys.Types -- Copyright : (c) Nickolay Kudasov 2014 -- License : BSD-style (see the file LICENSE) -- -- Maintainer : nickolay.kudasov@gmail.com -- -- System types from standard C library. -- ----------------------------------------------------------------------------- module Bindings.LXC.Sys.Types where import Foreign.Ptr (Ptr,FunPtr,plusPtr) import Foreign.Ptr (wordPtrToPtr,castPtrToFunPtr) import Foreign.Storable import Foreign.C.Types import Foreign.C.String (CString,CStringLen,CWString,CWStringLen) import Foreign.Marshal.Alloc (alloca) import Foreign.Marshal.Array (peekArray,pokeArray) import Data.Int import Data.Word {-# LINE 18 "src/Bindings/LXC/Sys/Types.hsc" #-} type CBool = CInt type C'pid_t = CInt {-# LINE 22 "src/Bindings/LXC/Sys/Types.hsc" #-} type C'uint64_t = Word64 {-# LINE 23 "src/Bindings/LXC/Sys/Types.hsc" #-} type C'uid_t = CUInt {-# LINE 24 "src/Bindings/LXC/Sys/Types.hsc" #-} type C'gid_t = CUInt {-# LINE 25 "src/Bindings/LXC/Sys/Types.hsc" #-}