Sha256: 895921f4f32fc373113d6b82530ac38e7250f598e08901a412a9aba5bdc86fc9

Contents?: true

Size: 894 Bytes

Versions: 3

Compression:

Stored size: 894 Bytes

Contents

/*
 * Copyright (C) 2009-2012 the libgit2 contributors
 *
 * 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_fnmatch__compat_h__
#define INCLUDE_fnmatch__compat_h__

#include "common.h"

#define FNM_NOMATCH		1		/* Match failed. */
#define FNM_NOSYS		2		/* Function not supported (unused). */

#define FNM_NOESCAPE		0x01		/* Disable backslash escaping. */
#define FNM_PATHNAME		0x02		/* Slash must be matched by slash. */
#define FNM_PERIOD		0x04		/* Period must be matched by period. */
#define FNM_LEADING_DIR 0x08		/* Ignore /<tail> after Imatch. */
#define FNM_CASEFOLD		0x10		/* Case insensitive search. */

#define FNM_IGNORECASE	FNM_CASEFOLD
#define FNM_FILE_NAME	FNM_PATHNAME

extern int p_fnmatch(const char *pattern, const char *string, int flags);

#endif /* _FNMATCH_H */

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rugged-0.17.0.b6 vendor/libgit2/src/compat/fnmatch.h
rugged-0.17.0b2 ext/rugged/vendor/libgit2-dist/src/compat/fnmatch.h
rugged-0.17.0b1 ext/rugged/vendor/libgit2-dist/src/compat/fnmatch.h