{-# LINE 1 "System/AugeasHsc.hsc" #-}-- file: Augeas.hsc{-# LINE 2 "System/AugeasHsc.hsc" #-}-- Haskell bindings for the Augeas library-- Copyright (c) 2009-2011, Jude Nagurney-- This library is free software; you can redistribute it and/or modify it -- under the terms of the GNU Lesser General Public License as published by -- the Free Software Foundation; either version 3 of the License, or -- (at your option) any later version.-- This library 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 Lesser General Public -- License for more details.-- You should have received a copy of the GNU Lesser General Public License -- along with this library; if not, write to the Free Software Foundation, -- Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ---- Contact the author at-- jude@pwan.org{-# LANGUAGE CPP, ForeignFunctionInterface #-}moduleSystem.AugeasHscwhereimportForeign.C.Types{-# LINE 31 "System/AugeasHsc.hsc" #-}-- ------------------------------------ Maps to aug_flags enum in augeas.h-- ----------------------------------newtypeAugFlag=AugFlag{unAugFlag::CInt}deriving(Eq,Show)none::AugFlagnone=AugFlag0save_backup::AugFlagsave_backup=AugFlag1save_newfile::AugFlagsave_newfile=AugFlag2type_check::AugFlagtype_check=AugFlag4no_stdinc::AugFlagno_stdinc=AugFlag8save_noop::AugFlagsave_noop=AugFlag16no_load::AugFlagno_load=AugFlag32no_modl_autoload::AugFlagno_modl_autoload=AugFlag64{-# LINE 50 "System/AugeasHsc.hsc" #-}-- ----------------------------------- Maps to auf_errcode_t in augeas.h-- ---------------------------------newtypeAugErrCode=AugErrCode{unAugErrCode::CInt}deriving(Eq,Show)no_error::AugErrCodeno_error=AugErrCode0err_no_memory::AugErrCodeerr_no_memory=AugErrCode1err_internal::AugErrCodeerr_internal=AugErrCode2err_bad_path::AugErrCodeerr_bad_path=AugErrCode3err_no_match::AugErrCodeerr_no_match=AugErrCode4err_multi_matches::AugErrCodeerr_multi_matches=AugErrCode5err_syntax::AugErrCodeerr_syntax=AugErrCode6err_no_lens::AugErrCodeerr_no_lens=AugErrCode7err_multi_xfm::AugErrCodeerr_multi_xfm=AugErrCode8{-# LINE 69 "System/AugeasHsc.hsc" #-}