]> granicus.if.org Git - php/commitdiff
expose destroy_uploaded_files_hash in the API (used by apfd extension)
authorRemi Collet <remi@php.net>
Wed, 25 Mar 2015 13:31:56 +0000 (14:31 +0100)
committerRemi Collet <remi@php.net>
Wed, 25 Mar 2015 13:33:47 +0000 (14:33 +0100)
main/rfc1867.c
main/rfc1867.h

index 493f70b65e67f00846b3a1be6c05ecfaa2e76578..8425ece7e0574f279dee67a23455285dd020969a 100644 (file)
@@ -203,7 +203,7 @@ static void free_filename(zval *el) {
        zend_string_release(filename);
 }
 
-void destroy_uploaded_files_hash(void) /* {{{ */
+PHPAPI void destroy_uploaded_files_hash(void) /* {{{ */
 {
        zend_hash_apply(SG(rfc1867_uploaded_files), unlink_filename);
        zend_hash_destroy(SG(rfc1867_uploaded_files));
index 96fe0a02a749f2623c78748e910ac308148181f8..1015e6e591ce60eb8da4b703f7ac03823a7dcf36 100644 (file)
@@ -76,7 +76,7 @@ typedef char* (*php_rfc1867_basename_t)(const zend_encoding *encoding, char *str
 
 SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler);
 
-void destroy_uploaded_files_hash(void);
+PHPAPI void destroy_uploaded_files_hash(void);
 void php_rfc1867_register_constants(void);
 extern PHPAPI int (*php_rfc1867_callback)(unsigned int event, void *event_data, void **extra);