Permalink
Browse files

- MFH: expose glob and globfree on wi ndows, can be used by shared ex…

…t (core or extern)
  • Loading branch information...
1 parent 2f2d910 commit 438c4cfacc32df4aab1a4f8e5ed43c7150b4118c @pierrejoye pierrejoye committed Jan 1, 2009
Showing with 4 additions and 4 deletions.
  1. +2 −2 win32/glob.c
  2. +2 −2 win32/glob.h
View
@@ -159,7 +159,7 @@ static int match(Char *, Char *, Char *);
static void qprintf(const char *, Char *);
#endif
-int
+PHPAPI int
glob(pattern, flags, errfunc, pglob)
const char *pattern;
int flags, (*errfunc)(const char *, int);
@@ -811,7 +811,7 @@ match(name, pat, patend)
}
/* Free allocated data belonging to a glob_t structure. */
-void
+PHPAPI void
globfree(pglob)
glob_t *pglob;
{
View
@@ -96,7 +96,7 @@ typedef struct {
#define GLOB_ABEND GLOB_ABORTED
BEGIN_EXTERN_C()
-int glob(const char *, int, int (*)(const char *, int), glob_t *);
-void globfree(glob_t *);
+PHPAPI int glob(const char *, int, int (*)(const char *, int), glob_t *);
+PHPAPI void globfree(glob_t *);
END_EXTERN_C()
#endif /* !_GLOB_H_ */

0 comments on commit 438c4cf

Please sign in to comment.