module Bindings.Libgit2.Revwalk where
import Foreign.Ptr
import Foreign.Ptr (Ptr,FunPtr,plusPtr)
import Foreign.Ptr (wordPtrToPtr,castPtrToFunPtr)
import Foreign.Storable
import Foreign.C.Types
import Foreign.C.String (CString,CStringLen,CWString,CWStringLen)
import Foreign.Marshal.Alloc (alloca)
import Foreign.Marshal.Array (peekArray,pokeArray)
import Data.Int
import Data.Word
import Bindings.Libgit2.Common
import Bindings.Libgit2.Types
import Bindings.Libgit2.Oid
foreign import ccall "git_revwalk_new" c'git_revwalk_new
:: Ptr (Ptr C'git_revwalk) -> Ptr C'git_repository -> IO (CInt)
foreign import ccall "&git_revwalk_new" p'git_revwalk_new
:: FunPtr (Ptr (Ptr C'git_revwalk) -> Ptr C'git_repository -> IO (CInt))
foreign import ccall "git_revwalk_reset" c'git_revwalk_reset
:: Ptr C'git_revwalk -> IO ()
foreign import ccall "&git_revwalk_reset" p'git_revwalk_reset
:: FunPtr (Ptr C'git_revwalk -> IO ())
foreign import ccall "git_revwalk_push" c'git_revwalk_push
:: Ptr C'git_revwalk -> Ptr C'git_oid -> IO (CInt)
foreign import ccall "&git_revwalk_push" p'git_revwalk_push
:: FunPtr (Ptr C'git_revwalk -> Ptr C'git_oid -> IO (CInt))
foreign import ccall "git_revwalk_push_glob" c'git_revwalk_push_glob
:: Ptr C'git_revwalk -> CString -> IO (CInt)
foreign import ccall "&git_revwalk_push_glob" p'git_revwalk_push_glob
:: FunPtr (Ptr C'git_revwalk -> CString -> IO (CInt))
foreign import ccall "git_revwalk_push_head" c'git_revwalk_push_head
:: Ptr C'git_revwalk -> IO (CInt)
foreign import ccall "&git_revwalk_push_head" p'git_revwalk_push_head
:: FunPtr (Ptr C'git_revwalk -> IO (CInt))
foreign import ccall "git_revwalk_hide" c'git_revwalk_hide
:: Ptr C'git_revwalk -> Ptr C'git_oid -> IO (CInt)
foreign import ccall "&git_revwalk_hide" p'git_revwalk_hide
:: FunPtr (Ptr C'git_revwalk -> Ptr C'git_oid -> IO (CInt))
foreign import ccall "git_revwalk_hide_glob" c'git_revwalk_hide_glob
:: Ptr C'git_revwalk -> CString -> IO (CInt)
foreign import ccall "&git_revwalk_hide_glob" p'git_revwalk_hide_glob
:: FunPtr (Ptr C'git_revwalk -> CString -> IO (CInt))
foreign import ccall "git_revwalk_hide_head" c'git_revwalk_hide_head
:: Ptr C'git_revwalk -> IO (CInt)
foreign import ccall "&git_revwalk_hide_head" p'git_revwalk_hide_head
:: FunPtr (Ptr C'git_revwalk -> IO (CInt))
foreign import ccall "git_revwalk_push_ref" c'git_revwalk_push_ref
:: Ptr C'git_revwalk -> CString -> IO (CInt)
foreign import ccall "&git_revwalk_push_ref" p'git_revwalk_push_ref
:: FunPtr (Ptr C'git_revwalk -> CString -> IO (CInt))
foreign import ccall "git_revwalk_hide_ref" c'git_revwalk_hide_ref
:: Ptr C'git_revwalk -> CString -> IO (CInt)
foreign import ccall "&git_revwalk_hide_ref" p'git_revwalk_hide_ref
:: FunPtr (Ptr C'git_revwalk -> CString -> IO (CInt))
foreign import ccall "git_revwalk_next" c'git_revwalk_next
:: Ptr C'git_oid -> Ptr C'git_revwalk -> IO (CInt)
foreign import ccall "&git_revwalk_next" p'git_revwalk_next
:: FunPtr (Ptr C'git_oid -> Ptr C'git_revwalk -> IO (CInt))
foreign import ccall "git_revwalk_sorting" c'git_revwalk_sorting
:: Ptr C'git_revwalk -> CUInt -> IO ()
foreign import ccall "&git_revwalk_sorting" p'git_revwalk_sorting
:: FunPtr (Ptr C'git_revwalk -> CUInt -> IO ())
foreign import ccall "git_revwalk_push_range" c'git_revwalk_push_range
:: Ptr C'git_revwalk -> CString -> IO (CInt)
foreign import ccall "&git_revwalk_push_range" p'git_revwalk_push_range
:: FunPtr (Ptr C'git_revwalk -> CString -> IO (CInt))
foreign import ccall "git_revwalk_free" c'git_revwalk_free
:: Ptr C'git_revwalk -> IO ()
foreign import ccall "&git_revwalk_free" p'git_revwalk_free
:: FunPtr (Ptr C'git_revwalk -> IO ())
foreign import ccall "git_revwalk_repository" c'git_revwalk_repository
:: Ptr C'git_revwalk -> IO (Ptr C'git_repository)
foreign import ccall "&git_revwalk_repository" p'git_revwalk_repository
:: FunPtr (Ptr C'git_revwalk -> IO (Ptr C'git_repository))