summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi Collet <remi@php.net>2015-03-25 14:31:56 +0100
committerRemi Collet <remi@php.net>2015-03-25 14:33:47 +0100
commit2fe6acd8f5827235774789cfc1c4e54a9eaa6c59 (patch)
tree9e501d2693c28bfdd8bd1b4ed064f1a53854b4d4
parentd16a90073132230ce8bc2e72d0105049acf38d05 (diff)
downloadphp-git-2fe6acd8f5827235774789cfc1c4e54a9eaa6c59.tar.gz
expose destroy_uploaded_files_hash in the API (used by apfd extension)
-rw-r--r--main/rfc1867.c2
-rw-r--r--main/rfc1867.h2
2 files changed, 2 insertions, 2 deletions
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);