tokyocabinet-haskell-0.0.5: Haskell binding of Tokyo Cabinet

Safe Haskell | None

Database.TokyoCabinet.FDB.C

# Documentation

data OpenMode Source

Constructors

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

Instances

Eq OpenMode |
Ord OpenMode |
Show OpenMode |

openModeToCInt :: OpenMode -> CInt Source

combineOpenMode :: [OpenMode] -> CInt Source

data ID Source

Constructors

IDMIN |
IDPREV |
IDMAX |
IDNEXT |
ID Int64 |

Instances

Eq ID |
Ord ID |
Show ID |
Key ID |

unID :: ID -> Int64 Source

data FDB' Source

c_tcfdberrmsg :: CInt -> CString Source

c_tcfdbnew :: IO (Ptr FDB')Source

c_tcfdbdel :: Ptr FDB' -> IO ()Source

tcfdbFinalizer :: FunPtr (Ptr FDB' -> IO ())Source

c_tcfdbecode :: Ptr FDB' -> IO CInt Source

c_tcfdbsetmutex :: Ptr FDB' -> IO Bool Source

c_tcfdbtune :: Ptr FDB' -> Int32 -> Int64 -> IO Bool Source

c_tcfdbopen :: Ptr FDB' -> CString -> CInt -> IO Bool Source

c_tcfdbclose :: Ptr FDB' -> IO Bool Source

c_tcfdbput :: Ptr FDB' -> Int64 -> Ptr Word8 -> CInt -> IO Bool Source

c_tcfdbput2 :: Ptr FDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> IO Bool Source

c_tcfdbput3 :: Ptr FDB' -> CString -> CString -> IO Bool Source

c_tcfdbputkeep :: Ptr FDB' -> Int64 -> Ptr Word8 -> CInt -> IO Bool Source

c_tcfdbputkeep2 :: Ptr FDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> IO Bool Source

c_tcfdbputkeep3 :: Ptr FDB' -> CString -> CString -> IO Bool Source

c_tcfdbputcat :: Ptr FDB' -> Int64 -> Ptr Word8 -> CInt -> IO Bool Source

c_tcfdbputcat2 :: Ptr FDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> IO Bool Source

c_tcfdbputcat3 :: Ptr FDB' -> CString -> CString -> IO Bool Source

c_tcfdbout :: Ptr FDB' -> Int64 -> IO Bool Source

c_tcfdbout2 :: Ptr FDB' -> Ptr Word8 -> CInt -> IO Bool Source

c_tcfdbout3 :: Ptr FDB' -> CString -> IO Bool Source

c_tcfdbget :: Ptr FDB' -> Int64 -> Ptr CInt -> IO (Ptr Word8)Source

c_tcfdbget2 :: Ptr FDB' -> Ptr Word8 -> CInt -> Ptr CInt -> IO (Ptr Word8)Source

c_tcfdbget3 :: Ptr FDB' -> CString -> IO CString Source

c_tcfdbget4 :: Ptr FDB' -> Int64 -> Ptr Word8 -> CInt -> IO CInt Source

c_tcfdbvsiz :: Ptr FDB' -> Int64 -> IO CInt Source

c_tcfdbvsiz2 :: Ptr FDB' -> Ptr Word8 -> CInt -> IO CInt Source

c_tcfdbvsiz3 :: Ptr FDB' -> CString -> IO CInt Source

c_tcfdbiterinit :: Ptr FDB' -> IO Bool Source

c_tcfdbiternext :: Ptr FDB' -> IO Int64 Source

c_tcfdbiternext2 :: Ptr FDB' -> Ptr CInt -> IO (Ptr Word8)Source

c_tcfdbiternext3 :: Ptr FDB' -> IO CString Source

c_tcfdbrange :: Ptr FDB' -> Int64 -> Int64 -> CInt -> Ptr CInt -> IO (Ptr Int64)Source

c_tcfdbrange2 :: Ptr FDB' -> Ptr Word8 -> CInt -> Ptr Word8 -> CInt -> CInt -> IO (Ptr LIST)Source

c_tcfdbrange3 :: Ptr FDB' -> CString -> CString -> CInt -> IO (Ptr LIST)Source

c_tcfdbrange4 :: Ptr FDB' -> Ptr Word8 -> CInt -> CInt -> IO (Ptr LIST)Source

c_tcfdbrange5 :: Ptr FDB' -> Ptr Word8 -> CInt -> IO (Ptr LIST)Source

c_tcfdbaddint :: Ptr FDB' -> Int64 -> CInt -> IO CInt Source

c_tcfdbadddouble :: Ptr FDB' -> Int64 -> CDouble -> IO CDouble Source

c_tcfdbsync :: Ptr FDB' -> IO Bool Source

c_tcfdboptimize :: Ptr FDB' -> Int32 -> Int64 -> IO Bool Source

c_tcfdbvanish :: Ptr FDB' -> IO Bool Source

c_tcfdbcopy :: Ptr FDB' -> CString -> IO Bool Source

c_tcfdbpath :: Ptr FDB' -> IO CString Source

c_tcfdbrnum :: Ptr FDB' -> IO Word64 Source

c_tcfdbfsiz :: Ptr FDB' -> IO Word64 Source