Sha256: 8e520dd28e37c333aeb10f745efce8ba48a4db414b1605027787b1a52b75a222

Contents?: true

Size: 1.05 KB

Versions: 31

Compression:

Stored size: 1.05 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_dir_h__
#define INCLUDE_win32_dir_h__

#include "common.h"

#include "w32_util.h"

struct git__dirent {
	int d_ino;
	git_win32_utf8_path d_name;
};

typedef struct {
	HANDLE h;
	WIN32_FIND_DATAW f;
	struct git__dirent entry;
	int first;
	char dir[GIT_FLEX_ARRAY];
} git__DIR;

extern git__DIR *git__opendir(const char *);
extern struct git__dirent *git__readdir(git__DIR *);
extern int git__readdir_ext(
	git__DIR *, struct git__dirent *, struct git__dirent **, int *);
extern void git__rewinddir(git__DIR *);
extern int git__closedir(git__DIR *);

# ifndef GIT__WIN32_NO_WRAP_DIR
#	define dirent git__dirent
#	define DIR git__DIR
#	define opendir	git__opendir
#	define readdir	git__readdir
#   define readdir_r(d,e,r) git__readdir_ext((d),(e),(r),NULL)
#	define rewinddir git__rewinddir
#	define closedir git__closedir
# endif

#endif

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
rugged-1.4.5 vendor/libgit2/src/win32/dir.h
rugged-1.3.2.3 vendor/libgit2/src/win32/dir.h
rugged-1.4.4 vendor/libgit2/src/win32/dir.h
rugged-1.3.2.1 vendor/libgit2/src/win32/dir.h
rugged-1.4.3 vendor/libgit2/src/win32/dir.h
rugged-1.3.2 vendor/libgit2/src/win32/dir.h
rugged-1.4.2 vendor/libgit2/src/win32/dir.h
rugged-1.3.1 vendor/libgit2/src/win32/dir.h
rugged-1.3.0 vendor/libgit2/src/win32/dir.h
rugged-1.2.0 vendor/libgit2/src/win32/dir.h
rugged-1.1.1 vendor/libgit2/src/win32/dir.h
rugged-1.1.0 vendor/libgit2/src/win32/dir.h
rugged-1.0.1 vendor/libgit2/src/win32/dir.h
rugged-0.28.5 vendor/libgit2/src/win32/dir.h
rugged-1.0.0 vendor/libgit2/src/win32/dir.h
rugged-0.99.0 vendor/libgit2/src/win32/dir.h
rugged-0.27.10.1 vendor/libgit2/src/win32/dir.h
rugged-0.28.4.1 vendor/libgit2/src/win32/dir.h
rugged-0.28.4 vendor/libgit2/src/win32/dir.h
rugged-0.27.10 vendor/libgit2/src/win32/dir.h