From: Remi Collet Date: Wed, 25 Mar 2015 13:31:56 +0000 (+0100) Subject: expose destroy_uploaded_files_hash in the API (used by apfd extension) X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~493^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fe6acd8f5827235774789cfc1c4e54a9eaa6c59;p=php expose destroy_uploaded_files_hash in the API (used by apfd extension) --- diff --git a/main/rfc1867.c b/main/rfc1867.c index 493f70b65e..8425ece7e0 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -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)); diff --git a/main/rfc1867.h b/main/rfc1867.h index 96fe0a02a7..1015e6e591 100644 --- a/main/rfc1867.h +++ b/main/rfc1867.h @@ -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);