-- GENERATED by C->Haskell Compiler, version 0.28.6 Switcheroo, 25 November 2017 (Haskell)
-- Edit the ORIGNAL .chs file instead!


{-# LINE 1 "src/Notmuch/Binding/Constants.chs" #-}
-- Copyright (C) 2017  Fraser Tweedale
--
-- hs-notmuch is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program.  If not, see <http://www.gnu.org/licenses/>.

module Notmuch.Binding.Constants
  (
    libnotmuchVersion
  , tagMaxLen
  ) where



import Data.Version (Version, makeVersion)



-- | The maximum tag length.  Defined as @NOTMUCH_TAG_MAX@ in @notmuch.h@.
tagMaxLen :: Int
tagMaxLen = 200
{-# LINE 28 "src/Notmuch/Binding/Constants.chs" #-}


-- | The version of /libnotmuch/ that /hs-notmuch/ was __built__ against.
-- (The program could be running against a different version.)
libnotmuchVersion :: Version
libnotmuchVersion = makeVersion
  [ 5
{-# LINE 34 "src/Notmuch/Binding/Constants.chs" #-}

  , 2
{-# LINE 35 "src/Notmuch/Binding/Constants.chs" #-}

  , 0
{-# LINE 36 "src/Notmuch/Binding/Constants.chs" #-}

  ]