packages feed

bindings-librrd 0.1 → 0.2

raw patch · 3 files changed

+8/−7 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

- Bindings.Librrd: c'rrd_add_strdump :: Ptr (Ptr CString) -> Ptr CSize -> CString -> IO CInt
- Bindings.Librrd: p'rrd_add_strdump :: FunPtr (Ptr (Ptr CString) -> Ptr CSize -> CString -> IO CInt)
- Bindings.Librrd.Client: c'rrdc_flush_if_daemon :: CString -> CString -> IO CInt
- Bindings.Librrd.Client: p'rrdc_flush_if_daemon :: FunPtr (CString -> CString -> IO CInt)
+ Bindings.Librrd: c'rrd_add_strdup :: Ptr (Ptr CString) -> Ptr CSize -> CString -> IO CInt
+ Bindings.Librrd: p'rrd_add_strdup :: FunPtr (Ptr (Ptr CString) -> Ptr CSize -> CString -> IO CInt)

Files

Bindings/Librrd.hsc view
@@ -151,8 +151,8 @@ #ccall rrd_free_context, Ptr <rrd_context_t> -> IO ()  -- UTILITY FUNCTIONS-#ccall rrd_random     , IO CLong-#ccall rrd_add_ptr    , Ptr (Ptr (Ptr a)) -> Ptr CSize -> Ptr a -> IO CInt-#ccall rrd_add_strdump, Ptr (Ptr CString) -> Ptr CSize -> CString -> IO CInt-#ccall rrd_free_ptrs  , Ptr (Ptr (Ptr a)) -> CSize -> IO ()-#ccall rrd_mkdir_p    , CString -> CMode -> IO CInt+#ccall rrd_random    , IO CLong+#ccall rrd_add_ptr   , Ptr (Ptr (Ptr a)) -> Ptr CSize -> Ptr a -> IO CInt+#ccall rrd_add_strdup, Ptr (Ptr CString) -> Ptr CSize -> CString -> IO CInt+#ccall rrd_free_ptrs , Ptr (Ptr (Ptr a)) -> CSize -> IO ()+#ccall rrd_mkdir_p   , CString -> CMode -> IO CInt
Bindings/Librrd/Client.hsc view
@@ -20,7 +20,8 @@ #ccall rrdc_update, CString -> CInt -> Ptr CString -> IO CInt  #ccall rrdc_flush          , CString -> IO CInt-#ccall rrdc_flush_if_daemon, CString -> CString -> IO CInt+-- This one is not exported from the shared library.+-- #ccall rrdc_flush_if_daemon, CString -> CString -> IO CInt  -- Helper definitions for rrdc_stats_t #num RRDC_STATS_TYPE_GAUGE
bindings-librrd.cabal view
@@ -6,7 +6,7 @@      This package provides low-level bindings to librrd, which contains     most of the functionality in RRDtool.-Version:        0.1+Version:        0.2 License:        PublicDomain License-File:   COPYING Author:         PHO <pho at cielonegro dot org>