packages feed

haroonga 0.1.0.0 → 0.1.1.0

raw patch · 3 files changed

+48/−2 lines, 3 files

Files

+ Bindings/Groonga/Raw/Plugin.hsc view
@@ -0,0 +1,30 @@+{-# OPTIONS_GHC -fno-warn-unused-imports #-}+#include <bindings.dsl.h>+#include <groonga/plugin.h>+module Bindings.Groonga.Raw.Plugin where+import Foreign.Ptr+#strict_import++import Bindings.Groonga.Raw+#ccall grn_plugin_impl_init , Ptr <struct _grn_ctx> -> IO <grn_rc>+#ccall grn_plugin_impl_register , Ptr <struct _grn_ctx> -> IO <grn_rc>+#ccall grn_plugin_impl_fin , Ptr <struct _grn_ctx> -> IO <grn_rc>+#ccall grn_plugin_malloc , Ptr <struct _grn_ctx> -> CSize -> CString -> CInt -> CString -> IO (Ptr ())+#ccall grn_plugin_realloc , Ptr <struct _grn_ctx> -> Ptr () -> CSize -> CString -> CInt -> CString -> IO (Ptr ())+#ccall grn_plugin_free , Ptr <struct _grn_ctx> -> Ptr () -> CString -> CInt -> CString -> IO ()+#ccall grn_plugin_set_error , Ptr <struct _grn_ctx> -> <grn_log_level> -> <grn_rc> -> CString -> CInt -> CString -> CString -> IO ()+#ccall grn_plugin_backtrace , Ptr <struct _grn_ctx> -> IO ()+#ccall grn_plugin_logtrace , Ptr <struct _grn_ctx> -> <grn_log_level> -> IO ()+{- typedef struct _grn_plugin_mutex grn_plugin_mutex; -}+#opaque_t struct _grn_plugin_mutex+#synonym_t grn_plugin_mutex , <struct _grn_plugin_mutex>+#ccall grn_plugin_mutex_open , Ptr <struct _grn_ctx> -> IO (Ptr <struct _grn_plugin_mutex>)+#ccall grn_plugin_mutex_create , Ptr <struct _grn_ctx> -> IO (Ptr <struct _grn_plugin_mutex>)+#ccall grn_plugin_mutex_close , Ptr <struct _grn_ctx> -> Ptr <struct _grn_plugin_mutex> -> IO ()+#ccall grn_plugin_mutex_destroy , Ptr <struct _grn_ctx> -> Ptr <struct _grn_plugin_mutex> -> IO ()+#ccall grn_plugin_mutex_lock , Ptr <struct _grn_ctx> -> Ptr <struct _grn_plugin_mutex> -> IO ()+#ccall grn_plugin_mutex_unlock , Ptr <struct _grn_ctx> -> Ptr <struct _grn_plugin_mutex> -> IO ()+#ccall grn_plugin_proc_alloc , Ptr <struct _grn_ctx> -> Ptr <grn_user_data> -> CUInt -> CUShort -> IO (Ptr <struct _grn_obj>)+#ccall grn_plugin_win32_base_dir , IO CString+#ccall grn_plugin_charlen , Ptr <struct _grn_ctx> -> CString -> CUInt -> <grn_encoding> -> IO CInt+#ccall grn_plugin_isspace , Ptr <struct _grn_ctx> -> CString -> CUInt -> <grn_encoding> -> IO CInt
README.md view
@@ -17,3 +17,18 @@ * Bindings.Groonga.Raw * Bindings.Groonga.SimpleAPI * Bindings.Groonga.Types++## How to install++Install Groonga.+For example, if you use Ubuntu Linux, see: http://groonga.org/docs/install/ubuntu.html#lts-precise-pangolin++And then,++```bash+$ cabal install haroonga+```++## Support Platform++* Currently, Haroonga supports __Linux platform only__.
haroonga.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                  haroonga-version:               0.1.0.0+version:               0.1.1.0 synopsis:              Low level bindings for Groonga. description:           Bindings to Groonga  <http://groonga.org/>. license:               LGPL-2.1@@ -18,6 +18,7 @@ library   exposed-modules:     Bindings.Groonga                        Bindings.Groonga.Raw+                       Bindings.Groonga.Raw.Plugin                        Bindings.Groonga.CommandAPI                        Bindings.Groonga.Types   build-depends:       base          >= 4.5 && < 5@@ -28,7 +29,7 @@   hs-source-dirs:      .   build-tools:         hsc2hs   default-language:    Haskell2010-  pkgconfig-depends:   groonga >= 4.0.0+  pkgconfig-depends:   groonga >= 4.0.1  source-repository head   type: git