- int gl_pathc; /* count of total paths so far */
- int gl_matchc; /* count of paths matching pattern */
- int gl_offs; /* reserved at beginning of gl_pathv */
- int gl_flags; /* copy of flags parameter to glob() */
- int (*gl_errfunc)(); /* copy of errfunc parameter to glob() */
- void *(*gl_opendir)(); /* alternate opendir() function for glob() */
- struct dirent *(*gl_readdir)(); /* alternate readdir() function */
- void (*gl_closedir)(); /* alternate closedir() function for glob() */
- int (*gl_lstat)(); /* alternate lstat() function for glob() */
- int (*gl_stat)(); /* alternate stat() function for glob() */
- char **gl_pathv; /* list of paths matching pattern */
+ int gl_pathc; /* Count of total paths so far. */
+ int gl_matchc; /* Count of paths matching pattern. */
+ int gl_offs; /* Reserved at beginning of gl_pathv. */
+ 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 *));