{-# OPTIONS_GHC -fno-warn-unused-imports #-} #include #include module Bindings.Libgit2.Notes where import Foreign.Ptr #strict_import import Bindings.Libgit2.Oid import Bindings.Libgit2.Types {- typedef int (* git_note_foreach_cb)(const git_oid * blob_id, const git_oid * annotated_object_id, void * payload); -} #callback git_note_foreach_cb , Ptr () -> Ptr () -> Ptr () -> Ptr CInt {- typedef struct git_iterator git_note_iterator; -} #opaque_t git_iterator #synonym_t git_note_iterator , #ccall git_note_iterator_new , Ptr (Ptr ) -> Ptr -> CString -> IO (CInt) #ccall git_note_iterator_free , Ptr -> IO () #ccall git_note_next , Ptr -> Ptr -> Ptr -> IO (CInt) #ccall git_note_read , Ptr (Ptr ) -> Ptr -> CString -> Ptr -> IO (CInt) #ccall git_note_message , Ptr -> IO (CString) #ccall git_note_oid , Ptr -> IO (Ptr ) #ccall git_note_create , Ptr -> Ptr -> Ptr -> Ptr -> CString -> Ptr -> CString -> CInt -> IO (CInt) #ccall git_note_remove , Ptr -> CString -> Ptr -> Ptr -> Ptr -> IO (CInt) #ccall git_note_free , Ptr -> IO () #ccall git_note_default_ref , Ptr (CString) -> Ptr -> IO (CInt) #ccall git_note_foreach , Ptr -> CString -> -> Ptr () -> IO (CInt)