Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _GL_GLOB_H
00024 #define _GL_GLOB_H
00025
00026 #if @HAVE_SYS_CDEFS_H@
00027 # include <sys/cdefs.h>
00028 #endif
00029
00030 #include <stddef.h>
00031
00032
00033
00034
00035 #include <sys/stat.h>
00036
00037 #ifndef __BEGIN_DECLS
00038 # ifdef __cplusplus
00039 # define __BEGIN_DECLS extern "C" {
00040 # define __END_DECLS }
00041 # else
00042 # define __BEGIN_DECLS
00043 # define __END_DECLS
00044 # endif
00045 #endif
00046 #ifndef __THROW
00047 # define __THROW
00048 #endif
00049
00050
00051
00052
00053
00054
00055
00056 #ifndef __size_t
00057 # define __size_t size_t
00058 #endif
00059 #ifndef __USE_GNU
00060 # define __USE_GNU 1
00061 #endif
00062
00063
00064 #define glob rpl_glob
00065 #define globfree rpl_globfree
00066 #define glob_pattern_p rpl_glob_pattern_p
00067
00068 #define __GLOB_GNULIB 1
00069
00070
00071 #include "glob-libc.h"
00072
00073 __BEGIN_DECLS
00074 typedef int (*_gl_glob_errfunc_fn) (const char *, int);
00075 __END_DECLS
00076
00077 #if defined __cplusplus && defined GNULIB_NAMESPACE
00078 # undef glob
00079 # undef globfree
00080 # undef glob_pattern_p
00081 _GL_CXXALIAS_RPL (glob, int, (const char *_Restrict_ __pattern, int __flags,
00082 _gl_glob_errfunc_fn __errfunc,
00083 glob_t *_Restrict_ __pglob));
00084 _GL_CXXALIAS_RPL (globfree, void, (glob_t *__pglob));
00085 _GL_CXXALIAS_RPL (glob_pattern_p, int, (const char *__pattern, int __quote));
00086 # if 0
00087 _GL_CXXALIASWARN (glob);
00088 _GL_CXXALIASWARN (globfree);
00089 _GL_CXXALIASWARN (glob_pattern_p);
00090 # endif
00091 #endif
00092
00093 #endif