{-# OPTIONS_GHC -fno-warn-unused-imports #-} #include #include #include module Bindings.Libgit2.Push where import Foreign.Ptr #strict_import import Bindings.Libgit2.Common import Bindings.Libgit2.Types {- typedef struct { unsigned int version; unsigned int pb_parallelism; } git_push_options; -} #starttype git_push_options #field version , CUInt #field pb_parallelism , CUInt #stoptype #ccall git_push_new , Ptr (Ptr ) -> Ptr -> IO (CInt) #ccall git_push_set_options , Ptr -> Ptr -> IO (CInt) #ccall git_push_add_refspec , Ptr -> CString -> IO (CInt) #ccall git_push_update_tips , Ptr -> IO (CInt) #ccall git_push_finish , Ptr -> IO (CInt) #ccall git_push_unpack_ok , Ptr -> IO (CInt) #ccall git_push_status_foreach , Ptr -> FunPtr (CString -> CString -> Ptr () -> CInt) -> Ptr () -> IO (CInt) #ccall git_push_free , Ptr -> IO ()