using System; using System.Runtime.InteropServices; namespace LibGit2Sharp.Core { /// /// Structure for git_remote_callbacks /// [StructLayout(LayoutKind.Sequential)] internal struct GitRemoteCallbacks { internal uint version; internal NativeMethods.remote_progress_callback progress; internal NativeMethods.remote_completion_callback completion; internal NativeMethods.git_cred_acquire_cb acquire_credentials; internal NativeMethods.git_transfer_progress_callback download_progress; internal NativeMethods.remote_update_tips_callback update_tips; internal IntPtr payload; } }