diff options
Diffstat (limited to 'main/rfc1867.h')
| -rw-r--r-- | main/rfc1867.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/main/rfc1867.h b/main/rfc1867.h index 50dd5287f1..1015e6e591 100644 --- a/main/rfc1867.h +++ b/main/rfc1867.h @@ -1,6 +1,6 @@ /* +----------------------------------------------------------------------+ - | PHP Version 5 | + | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) 1997-2015 The PHP Group | +----------------------------------------------------------------------+ @@ -51,10 +51,10 @@ typedef struct _multipart_event_file_start { typedef struct _multipart_event_file_data { size_t post_bytes_processed; - off_t offset; + zend_off_t offset; char *data; size_t length; - size_t *newlength; + size_t *newlength; } multipart_event_file_data; typedef struct _multipart_event_file_end { @@ -67,18 +67,18 @@ typedef struct _multipart_event_end { size_t post_bytes_processed; } multipart_event_end; -typedef int (*php_rfc1867_encoding_translation_t)(TSRMLS_D); -typedef void (*php_rfc1867_get_detect_order_t)(const zend_encoding ***list, size_t *list_size TSRMLS_DC); -typedef void (*php_rfc1867_set_input_encoding_t)(const zend_encoding *encoding TSRMLS_DC); -typedef char* (*php_rfc1867_getword_t)(const zend_encoding *encoding, char **line, char stop TSRMLS_DC); -typedef char* (*php_rfc1867_getword_conf_t)(const zend_encoding *encoding, char *str TSRMLS_DC); -typedef char* (*php_rfc1867_basename_t)(const zend_encoding *encoding, char *str TSRMLS_DC); +typedef int (*php_rfc1867_encoding_translation_t)(void); +typedef void (*php_rfc1867_get_detect_order_t)(const zend_encoding ***list, size_t *list_size); +typedef void (*php_rfc1867_set_input_encoding_t)(const zend_encoding *encoding); +typedef char* (*php_rfc1867_getword_t)(const zend_encoding *encoding, char **line, char stop); +typedef char* (*php_rfc1867_getword_conf_t)(const zend_encoding *encoding, char *str); +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(TSRMLS_D); -void php_rfc1867_register_constants(TSRMLS_D); -extern PHPAPI int (*php_rfc1867_callback)(unsigned int event, void *event_data, void **extra TSRMLS_DC); +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); SAPI_API void php_rfc1867_set_multibyte_callbacks( php_rfc1867_encoding_translation_t encoding_translation, @@ -86,6 +86,6 @@ SAPI_API void php_rfc1867_set_multibyte_callbacks( php_rfc1867_set_input_encoding_t set_input_encoding, php_rfc1867_getword_t getword, php_rfc1867_getword_conf_t getword_conf, - php_rfc1867_basename_t basename); + php_rfc1867_basename_t basename); #endif /* RFC1867_H */ |
