Require Cabal >= 1.10 and Haskell 2010

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
Replace Ptr CChar with CString

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
Fix incorrect value with C enum

Enum in C is stored as 32 bit int. If it is imported to Haskell using a
64 bit type, an implicit `fromIntegral` can produce an incorrect value.

In this specific case, the flag MS_NOUSER was defined in C as 1 << 31
inside enum, and imported to Haskell as CULong produced the value
0xFFFFFFFF80000000 instead of the correct 0x80000000.

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
umountWith: replace Bool with new SymLink type

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
Bump version to 0.2.0.0

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
stylish-haskell

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
Remove kernel-only mount flags

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
mount: pass NULL when device String is empty

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
Rename some mount flags

Signed-off-by: Nicola Squartini <tensor5@gmail.com>
Document mount flags

Signed-off-by: Nicola Squartini <tensor5@gmail.com>