Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJameson Miller <jamill@microsoft.com>2012-10-17 00:34:00 +0400
committernulltoken <emeric.fermas@gmail.com>2012-10-17 12:16:57 +0400
commit93ef4790ac966c673dd760fb318ce9505071c9cc (patch)
treeb9f09184b186238c5f2df1926c8034a1a85cab83 /LibGit2Sharp/Core/GitRemoteCallbacks.cs
parentbe2be63d106e00cbbe392600b5ff56a29cd960d9 (diff)
Add ability to fetch from remotes.
Diffstat (limited to 'LibGit2Sharp/Core/GitRemoteCallbacks.cs')
-rw-r--r--LibGit2Sharp/Core/GitRemoteCallbacks.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/LibGit2Sharp/Core/GitRemoteCallbacks.cs b/LibGit2Sharp/Core/GitRemoteCallbacks.cs
new file mode 100644
index 00000000..ed715caf
--- /dev/null
+++ b/LibGit2Sharp/Core/GitRemoteCallbacks.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Runtime.InteropServices;
+using System.Text;
+
+namespace LibGit2Sharp.Core
+{
+ /// <summary>
+ /// Structure for git_remote_callbacks
+ /// </summary>
+ [StructLayout(LayoutKind.Sequential)]
+ internal struct GitRemoteCallbacks
+ {
+ internal NativeMethods.remote_progress_callback progress;
+
+ internal NativeMethods.remote_completion_callback completion;
+
+ internal NativeMethods.remote_update_tips_callback update_tips;
+
+ internal IntPtr data;
+ }
+}