198038Sache/* glob_.h -- Find a path matching a pattern.
2133543Stjr
398038Sache   Copyright (C) 2005 Free Software Foundation, Inc.
498038Sache
598038Sache   Written by Derek Price <derek@ximbiot.com> & Paul Eggert <eggert@CS.UCLA.EDU>
698038Sache
798038Sache   This program is free software; you can redistribute it and/or modify
898038Sache   it under the terms of the GNU General Public License as published by
998038Sache   the Free Software Foundation; either version 2, or (at your option)
1098038Sache   any later version.
1198038Sache
1298038Sache   This program is distributed in the hope that it will be useful,
1398038Sache   but WITHOUT ANY WARRANTY; without even the implied warranty of
1498038Sache   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1598038Sache   GNU General Public License for more details.
1698038Sache
1798038Sache   You should have received a copy of the GNU General Public License
1898038Sache   along with this program; if not, write to the Free Software Foundation,
1998038Sache   Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
2098038Sache
2198038Sache#ifndef GLOB_H
2298038Sache#define GLOB_H 1
2398038Sache
2498038Sache#ifdef HAVE_SYS_CDEFS_H
2598038Sache# include <sys/cdefs.h>
2698038Sache#endif
2798038Sache
2898038Sache#include <stddef.h>
2998038Sache
3098038Sache#ifndef __BEGIN_DECLS
3198038Sache# define __BEGIN_DECLS
3298038Sache# define __END_DECLS
3398038Sache#endif
3498038Sache#ifndef __THROW
3598038Sache# define __THROW
3698038Sache#endif
3798038Sache
3898038Sache#ifndef __size_t
3998038Sache# define __size_t	size_t
4098038Sache#endif
4198038Sache#ifndef __const
4298038Sache# define __const	const
4398038Sache#endif
4498038Sache#ifndef __restrict
4598038Sache# define __restrict	restrict
4698038Sache#endif
4798038Sache#ifndef __USE_GNU
4898038Sache# define __USE_GNU    1
4998038Sache#endif
5098038Sache
5198038Sache
5298038Sache#ifndef HAVE_DIRENT_H
5398038Sache# define dirent direct
5498038Sache#endif
5598038Sache
5698038Sache#define glob rpl_glob
5798038Sache#define globfree rpl_globfree
5898038Sache#define glob_pattern_p rpl_glob_pattern_p
5998038Sache
6098038Sache#define __GLOB_GNULIB 1
6198038Sache
6298038Sache/* Now the standard GNU C Library header should work.  */
6398038Sache#include "glob-libc.h"
6498038Sache
6598038Sache#endif /* GLOB_H */
6698038Sache