tokyocabinet-haskell-0.0.5: Haskell binding of Tokyo Cabinet

Safe Haskell | None

Database.TokyoCabinet.BDB.C

# Documentation

data BDB Source

Constructors

BDB |

Fields

unTCBDB :: !(ForeignPtr BDB')

Instances

TCDB BDB |

data OpenMode Source

Constructors

OREADER |
OWRITER |
OCREAT |
OTRUNC |
ONOLCK |
OLCKNB |
OTSYNC |

Instances

Eq OpenMode |
Ord OpenMode |
Show OpenMode |

openModeToCInt :: OpenMode -> CInt Source

combineOpenMode :: [OpenMode] -> CInt Source

data TuningOption Source

Constructors

TLARGE |
TDEFLATE |
TBZIP |
TTCBS |
TEXCODEC |

Instances

Eq TuningOption |
Ord TuningOption |
Show TuningOption |

tuningOptionToWord8 :: TuningOption -> Word8 Source

combineTuningOption :: [TuningOption] -> Word8 Source

type TCCMP' = Ptr CChar -> CInt -> Ptr CChar -> CInt -> Ptr Word8 -> IO CInt Source

data BDB' Source

c_tcbdbnew :: IO (Ptr BDB')Source

c_tcbdbdel :: Ptr BDB' -> IO ()Source

tcbdbFinalizer :: FunPtr (Ptr BDB' -> IO ())Source

c_tcbdbecode :: Ptr BDB' -> IO CInt Source

c_tcbdbsetmutex :: Ptr BDB' -> IO Bool Source

c_tcbdbsetcmpfunc :: Ptr BDB' -> FunPtr TCCMP' -> IO Bool Source

c_tcbdbtune :: Ptr BDB' -> Int32 -> Int32 -> Int64 -> Int8 -> Int8 -> Word8 -> IO Bool Source

c_tcbdbsetcache :: Ptr BDB' -> Int32 -> Int32 -> IO Bool Source

c_tcbdbsetxmsiz :: Ptr BDB' -> Int64 -> IO Bool Source

c_tcbdbopen :: Ptr BDB' -> CString -> CInt -> IO Bool Source

c_tcbdbclose :: Ptr BDB' -> IO Bool Source

c_tcbdbput :: Ptr BDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> IO Bool Source

c_tcbdbput2 :: Ptr BDB' -> CString -> CString -> IO Bool Source

c_tcbdbputkeep :: Ptr BDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> IO Bool Source

c_tcbdbputkeep2 :: Ptr BDB' -> CString -> CString -> IO Bool Source

c_tcbdbputcat :: Ptr BDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> IO Bool Source

c_tcbdbputcat2 :: Ptr BDB' -> CString -> CString -> IO Bool Source

c_tcbdbputdup :: Ptr BDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> IO Bool Source

c_tcbdbputdup2 :: Ptr BDB' -> CString -> CString -> IO Bool Source

c_tcbdbputdup3 :: Ptr BDB' -> Ptr Word8 -> CInt -> Ptr LIST -> IO Bool Source

c_tcbdbout :: Ptr BDB' -> Ptr Word8 -> CInt -> IO Bool Source

c_tcbdbout2 :: Ptr BDB' -> CString -> IO Bool Source

c_tcbdbout3 :: Ptr BDB' -> Ptr Word8 -> CInt -> IO Bool Source

c_tcbdbget :: Ptr BDB' -> Ptr Word8 -> CInt -> Ptr CInt -> IO (Ptr Word8)Source

c_tcbdbget2 :: Ptr BDB' -> CString -> IO CString Source

c_tcbdbget3 :: Ptr BDB' -> Ptr Word8 -> CInt -> Ptr CInt -> IO (Ptr Word8)Source

c_tcbdbget4 :: Ptr BDB' -> Ptr Word8 -> CInt -> IO (Ptr LIST)Source

c_tcbdbvnum :: Ptr BDB' -> Ptr Word8 -> CInt -> IO CInt Source

c_tcbdbvnum2 :: Ptr BDB' -> CString -> IO CInt Source

c_tcbdbvsiz :: Ptr BDB' -> Ptr Word8 -> CInt -> IO CInt Source

c_tcbdbvsiz2 :: Ptr BDB' -> CString -> IO CInt Source

c_tcbdbrange :: Ptr BDB' -> Ptr Word8 -> CInt -> Bool -> Ptr Word8 -> CInt -> Bool -> CInt -> IO (Ptr LIST)Source

c_tcbdbrange2 :: Ptr BDB' -> CString -> Bool -> CString -> Bool -> CInt -> IO (Ptr LIST)Source

c_tcbdbfwmkeys :: Ptr BDB' -> Ptr Word8 -> CInt -> CInt -> IO (Ptr LIST)Source

c_tcbdbfwmkeys2 :: Ptr BDB' -> CString -> CInt -> IO (Ptr LIST)Source

c_tcbdbaddint :: Ptr BDB' -> Ptr Word8 -> CInt -> CInt -> IO CInt Source

c_tcbdbadddouble :: Ptr BDB' -> Ptr Word8 -> CInt -> CDouble -> IO CDouble Source

c_tcbdbsync :: Ptr BDB' -> IO Bool Source

c_tcbdboptimize :: Ptr BDB' -> Int32 -> Int32 -> Int64 -> Int8 -> Int8 -> Word8 -> IO Bool Source

c_tcbdbvanish :: Ptr BDB' -> IO Bool Source

c_tcbdbcopy :: Ptr BDB' -> CString -> IO Bool Source

c_tcbdbtranbegin :: Ptr BDB' -> IO Bool Source

c_tcbdbtrancommit :: Ptr BDB' -> IO Bool Source

c_tcbdbtranabort :: Ptr BDB' -> IO Bool Source

c_tcbdbpath :: Ptr BDB' -> IO CString Source

c_tcbdbrnum :: Ptr BDB' -> IO Word64 Source

c_tcbdbfsiz :: Ptr BDB' -> IO Word64 Source

c_tccmplexical :: FunPtr TCCMP'Source

c_tccmpdecimal :: FunPtr TCCMP'Source

c_tccmpint32 :: FunPtr TCCMP'Source

c_tccmpint64 :: FunPtr TCCMP'Source

mkCMP :: TCCMP' -> IO (FunPtr TCCMP')Source