]> git.proxmox.com Git - libgit2.git/blobdiff - src/win32/reparse.h
New upstream version 1.4.3+dfsg.1
[libgit2.git] / src / win32 / reparse.h
index 70f9fd6520c3c1a5912e0234fc68e190b4aa0361..23312319f68fde203ab1e056679ba25a6e10ed18 100644 (file)
@@ -5,8 +5,8 @@
 * a Linking Exception. For full terms see the included COPYING file.
 */
 
-#ifndef INCLUDE_git_win32_reparse_h__
-#define INCLUDE_git_win32_reparse_h__
+#ifndef INCLUDE_win32_reparse_h__
+#define INCLUDE_win32_reparse_h__
 
 /* This structure is defined on MSDN at
 * http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012(v=vs.85).aspx
@@ -26,18 +26,18 @@ typedef struct _GIT_REPARSE_DATA_BUFFER {
                        USHORT PrintNameLength;
                        ULONG  Flags;
                        WCHAR  PathBuffer[1];
-               } SymbolicLinkReparseBuffer;
+               } SymbolicLink;
                struct {
                        USHORT SubstituteNameOffset;
                        USHORT SubstituteNameLength;
                        USHORT PrintNameOffset;
                        USHORT PrintNameLength;
                        WCHAR  PathBuffer[1];
-               } MountPointReparseBuffer;
+               } MountPoint;
                struct {
                        UCHAR DataBuffer[1];
-               } GenericReparseBuffer;
-       };
+               } Generic;
+       } ReparseBuffer;
 } GIT_REPARSE_DATA_BUFFER;
 
 #define REPARSE_DATA_HEADER_SIZE                       8