Sha256: ba254a97aba283930306f39f73e297d5eb30350276b3dd86deecbf10b4094c97

Contents?: true

Size: 1.43 KB

Versions: 18

Compression:

Stored size: 1.43 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_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
*
* 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];
		} SymbolicLink;
		struct {
			USHORT SubstituteNameOffset;
			USHORT SubstituteNameLength;
			USHORT PrintNameOffset;
			USHORT PrintNameLength;
			WCHAR  PathBuffer[1];
		} MountPoint;
		struct {
			UCHAR DataBuffer[1];
		} Generic;
	} ReparseBuffer;
} 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

18 entries across 18 versions & 1 rubygems

Version Path
rugged-1.7.2 vendor/libgit2/src/util/win32/reparse.h
rugged-1.6.5 vendor/libgit2/src/util/win32/reparse.h
rugged-1.7.1 vendor/libgit2/src/util/win32/reparse.h
rugged-1.6.3 vendor/libgit2/src/util/win32/reparse.h
rugged-1.6.2 vendor/libgit2/src/util/win32/reparse.h
rugged-1.5.1 vendor/libgit2/src/util/win32/reparse.h
rugged-1.4.5 vendor/libgit2/src/win32/reparse.h
rugged-1.5.0.1 vendor/libgit2/src/util/win32/reparse.h
rugged-1.5.0 vendor/libgit2/src/util/win32/reparse.h
rugged-1.3.2.3 vendor/libgit2/src/win32/reparse.h
rugged-1.4.4 vendor/libgit2/src/win32/reparse.h
rugged-1.3.2.1 vendor/libgit2/src/win32/reparse.h
rugged-1.4.3 vendor/libgit2/src/win32/reparse.h
rugged-1.3.2 vendor/libgit2/src/win32/reparse.h
rugged-1.4.2 vendor/libgit2/src/win32/reparse.h
rugged-1.3.1 vendor/libgit2/src/win32/reparse.h
rugged-1.3.0 vendor/libgit2/src/win32/reparse.h
rugged-1.2.0 vendor/libgit2/src/win32/reparse.h