com php-src: expose destroy_uploaded_files_hash in th e API (used by apfd extension): main/rfc1 867.c main/rfc1867.h

From: Date: Wed, 25 Mar 2015 13:33:47 +0000
Subject: com php-src: expose destroy_uploaded_files_hash in th e API (used by apfd extension): main/rfc1 867.c main/rfc1867.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85869@lists.php.net to get a copy of this message
Commit: 2fe6acd8f5827235774789cfc1c4e54a9eaa6c59 Author: Remi Collet <remi@php.net> Wed, 25 Mar 2015 14:31:56 +0100 Parents: d16a90073132230ce8bc2e72d0105049acf38d05 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2fe6acd8f5827235774789cfc1c4e54a9eaa6c59 Log: expose destroy_uploaded_files_hash in the API (used by apfd extension) Changed paths: M main/rfc1867.c M main/rfc1867.h Diff: diff --git a/main/rfc1867.c b/main/rfc1867.c index 493f70b..8425ece 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 96fe0a0..1015e6e 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);

« previous php.cvs (#85869) next »