=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/include/glob.h,v retrieving revision 1.5 retrieving revision 1.6 diff -c -r1.5 -r1.6 *** src/include/glob.h 2001/03/18 17:18:58 1.5 --- src/include/glob.h 2002/02/16 21:27:17 1.6 *************** *** 1,4 **** ! /* $OpenBSD: glob.h,v 1.5 2001/03/18 17:18:58 deraadt Exp $ */ /* $NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: glob.h,v 1.6 2002/02/16 21:27:17 millert Exp $ */ /* $NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp $ */ /* *************** *** 52,69 **** int gl_flags; /* Copy of flags parameter to glob. */ char **gl_pathv; /* List of paths matching pattern. */ /* Copy of errfunc parameter to glob. */ ! int (*gl_errfunc) __P((const char *, int)); /* * Alternate filesystem access methods for glob; replacement * versions of closedir(3), readdir(3), opendir(3), stat(2) * and lstat(2). */ ! void (*gl_closedir) __P((void *)); ! struct dirent *(*gl_readdir) __P((void *)); ! void *(*gl_opendir) __P((const char *)); ! int (*gl_lstat) __P((const char *, struct stat *)); ! int (*gl_stat) __P((const char *, struct stat *)); } glob_t; /* Flags */ --- 52,69 ---- int gl_flags; /* Copy of flags parameter to glob. */ char **gl_pathv; /* List of paths matching pattern. */ /* Copy of errfunc parameter to glob. */ ! int (*gl_errfunc)(const char *, int); /* * Alternate filesystem access methods for glob; replacement * versions of closedir(3), readdir(3), opendir(3), stat(2) * and lstat(2). */ ! void (*gl_closedir)(void *); ! struct dirent *(*gl_readdir)(void *); ! void *(*gl_opendir)(const char *); ! int (*gl_lstat)(const char *, struct stat *); ! int (*gl_stat)(const char *, struct stat *); } glob_t; /* Flags */ *************** *** 94,100 **** __BEGIN_DECLS int glob __P((const char *, int, int (*)(const char *, int), glob_t *)); ! void globfree __P((glob_t *)); __END_DECLS #endif /* !_GLOB_H_ */ --- 94,100 ---- __BEGIN_DECLS int glob __P((const char *, int, int (*)(const char *, int), glob_t *)); ! void globfree(glob_t *); __END_DECLS #endif /* !_GLOB_H_ */