pajoye          Thu Jan  1 12:32:32 2009 UTC

  Modified files:              
    /php-src/win32      glob.c glob.h 
  Log:
  - expose glob and globfree on wi ndows, can be used by shared ext (core or 
extern)
  
http://cvs.php.net/viewvc.cgi/php-src/win32/glob.c?r1=1.8&r2=1.9&diff_format=u
Index: php-src/win32/glob.c
diff -u php-src/win32/glob.c:1.8 php-src/win32/glob.c:1.9
--- php-src/win32/glob.c:1.8    Mon Jan  1 09:29:37 2007
+++ php-src/win32/glob.c        Thu Jan  1 12:32:31 2009
@@ -34,7 +34,7 @@
  * SUCH DAMAGE.
  */
 
-/* $Id: glob.c,v 1.8 2007/01/01 09:29:37 sebastian Exp $ */
+/* $Id: glob.c,v 1.9 2009/01/01 12:32:31 pajoye Exp $ */
 
 /*
  * glob(3) -- a superset of the one defined in POSIX 1003.2.
@@ -159,7 +159,7 @@
 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 @@
 }
 
 /* Free allocated data belonging to a glob_t structure. */
-void
+PHPAPI void
 globfree(pglob)
        glob_t *pglob;
 {
http://cvs.php.net/viewvc.cgi/php-src/win32/glob.h?r1=1.2&r2=1.3&diff_format=u
Index: php-src/win32/glob.h
diff -u php-src/win32/glob.h:1.2 php-src/win32/glob.h:1.3
--- php-src/win32/glob.h:1.2    Fri Aug 22 11:40:45 2008
+++ php-src/win32/glob.h        Thu Jan  1 12:32:31 2009
@@ -1,4 +1,4 @@
-/*      $Id: glob.h,v 1.2 2008/08/22 11:40:45 pajoye Exp $ */
+/*      $Id: glob.h,v 1.3 2009/01/01 12:32:31 pajoye Exp $ */
 /*     OpenBSD: glob.h,v 1.7 2002/02/17 19:42:21 millert Exp   */
 /*     NetBSD: glob.h,v 1.5 1994/10/26 00:55:56 cgd Exp        */
 
@@ -96,7 +96,7 @@
 #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_ */



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to