Sha256: a567315f0381800ea879c99735d3a8de776ed3bc7ccb1356de13ab1f4d5399ee

Contents?: true

Size: 1.46 KB

Versions: 60

Compression:

Stored size: 1.46 KB

Contents

/*
* Copyright (C) the libgit2 contributors. All rights reserved.
*
* This file is part of libgit2, distributed under the GNU GPL v2 with
* a Linking Exception. For full terms see the included COPYING file.
*/

#ifndef INCLUDE_git_win32_reparse_h__
#define INCLUDE_git_win32_reparse_h__

/* This structure is defined on MSDN at
* http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012(v=vs.85).aspx
*
* It was formerly included in the Windows 2000 SDK and remains defined in
* MinGW, so we must define it with a silly name to avoid conflicting.
*/
typedef struct _GIT_REPARSE_DATA_BUFFER {
	ULONG  ReparseTag;
	USHORT ReparseDataLength;
	USHORT Reserved;
	union {
		struct {
			USHORT SubstituteNameOffset;
			USHORT SubstituteNameLength;
			USHORT PrintNameOffset;
			USHORT PrintNameLength;
			ULONG  Flags;
			WCHAR  PathBuffer[1];
		} SymbolicLinkReparseBuffer;
		struct {
			USHORT SubstituteNameOffset;
			USHORT SubstituteNameLength;
			USHORT PrintNameOffset;
			USHORT PrintNameLength;
			WCHAR  PathBuffer[1];
		} MountPointReparseBuffer;
		struct {
			UCHAR DataBuffer[1];
		} GenericReparseBuffer;
	};
} GIT_REPARSE_DATA_BUFFER;

#define REPARSE_DATA_HEADER_SIZE			8
#define REPARSE_DATA_MOUNTPOINT_HEADER_SIZE	8
#define REPARSE_DATA_UNION_SIZE				12

/* Missing in MinGW */
#ifndef FSCTL_GET_REPARSE_POINT
# define FSCTL_GET_REPARSE_POINT			0x000900a8
#endif

/* Missing in MinGW */
#ifndef FSCTL_SET_REPARSE_POINT
# define FSCTL_SET_REPARSE_POINT			0x000900a4
#endif

#endif

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
rugged-0.26.7 vendor/libgit2/src/win32/reparse.h
rugged-0.26.6 vendor/libgit2/src/win32/reparse.h
rugged-0.26.3 vendor/libgit2/src/win32/reparse.h
rugged-0.26.0 vendor/libgit2/src/win32/reparse.h
rugged-0.26.0b5 vendor/libgit2/src/win32/reparse.h
rugged-0.26.0b4 vendor/libgit2/src/win32/reparse.h
rugged-0.26.0b3 vendor/libgit2/src/win32/reparse.h
rugged-0.26.0b2 vendor/libgit2/src/win32/reparse.h
rugged-0.26.0b1 vendor/libgit2/src/win32/reparse.h
rugged-0.25.1.1 vendor/libgit2/src/win32/reparse.h
rugged-0.24.6.1 vendor/libgit2/src/win32/reparse.h
rugged-0.25.1 vendor/libgit2/src/win32/reparse.h
rugged-0.24.5 vendor/libgit2/src/win32/reparse.h
rugged-0.25.0 vendor/libgit2/src/win32/reparse.h
rugged-0.25.0b10 vendor/libgit2/src/win32/reparse.h
rugged-0.25.0b9 vendor/libgit2/src/win32/reparse.h
rugged-0.25.0b8 vendor/libgit2/src/win32/reparse.h
rugged-0.25.0b7 vendor/libgit2/src/win32/reparse.h
rugged-0.25.0b6 vendor/libgit2/src/win32/reparse.h
rugged-0.25.0b5 vendor/libgit2/src/win32/reparse.h