derick          Sun Nov  9 15:30:16 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/standard       base64.c base64.h 
  Log:
  - Expose the base64 functions to external extensions on windows.
  
  
Index: php-src/ext/standard/base64.c
diff -u php-src/ext/standard/base64.c:1.33.4.4 php-src/ext/standard/base64.c:1.33.4.5
--- php-src/ext/standard/base64.c:1.33.4.4      Tue Jun 24 11:26:10 2003
+++ php-src/ext/standard/base64.c       Sun Nov  9 15:30:15 2003
@@ -15,7 +15,7 @@
    | Author: Jim Winstead <[EMAIL PROTECTED]>                                  |
    +----------------------------------------------------------------------+
  */
-/* $Id: base64.c,v 1.33.4.4 2003/06/24 15:26:10 iliaa Exp $ */
+/* $Id: base64.c,v 1.33.4.5 2003/11/09 20:30:15 derick Exp $ */
 
 #include <string.h>
 
@@ -54,7 +54,7 @@
 /* }}} */
 
 /* {{{ php_base64_encode */
-unsigned char *php_base64_encode(const unsigned char *str, int length, int 
*ret_length)
+PHPAPI unsigned char *php_base64_encode(const unsigned char *str, int length, int 
*ret_length)
 {
        const unsigned char *current = str;
        unsigned char *p;
@@ -137,7 +137,7 @@
 
 /* {{{ php_base64_decode */
 /* as above, but backwards. :) */
-unsigned char *php_base64_decode(const unsigned char *str, int length, int 
*ret_length)
+PHPAPI unsigned char *php_base64_decode(const unsigned char *str, int length, int 
*ret_length)
 {
        const unsigned char *current = str;
        int ch, i = 0, j = 0, k;
Index: php-src/ext/standard/base64.h
diff -u php-src/ext/standard/base64.h:1.9.8.1 php-src/ext/standard/base64.h:1.9.8.2
--- php-src/ext/standard/base64.h:1.9.8.1       Tue Dec 31 11:35:25 2002
+++ php-src/ext/standard/base64.h       Sun Nov  9 15:30:15 2003
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: base64.h,v 1.9.8.1 2002/12/31 16:35:25 sebastian Exp $ */
+/* $Id: base64.h,v 1.9.8.2 2003/11/09 20:30:15 derick Exp $ */
 
 #ifndef BASE64_H
 #define BASE64_H
@@ -24,8 +24,8 @@
 PHP_FUNCTION(base64_decode);
 PHP_FUNCTION(base64_encode);
 
-extern unsigned char *php_base64_encode(const unsigned char *, int, int *);
-extern unsigned char *php_base64_decode(const unsigned char *, int, int *);
+PHPAPI extern unsigned char *php_base64_encode(const unsigned char *, int, int *);
+PHPAPI extern unsigned char *php_base64_decode(const unsigned char *, int, int *);
 
 #endif /* BASE64_H */
 

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

Reply via email to