diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2000-10-11 22:44:15 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2000-10-11 22:44:15 +0000 |
commit | 22e48a814a09d1e804e1bf091073a30fb513fc79 (patch) | |
tree | 1ff13b810fd155f34708a57ec727590064b2db8c /main/SAPI.c | |
parent | 5423a08558e6be4658461d86c3496e3292471de0 (diff) | |
download | php-git-22e48a814a09d1e804e1bf091073a30fb513fc79.tar.gz |
@ - POST handler for Adobe FDF format (Hartmut)
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed
Diffstat (limited to 'main/SAPI.c')
-rw-r--r-- | main/SAPI.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/main/SAPI.c b/main/SAPI.c index df1d5fb957..a45e5d31fd 100644 --- a/main/SAPI.c +++ b/main/SAPI.c @@ -28,9 +28,6 @@ #endif #include "rfc1867.h" -#if HAVE_FDFLIB -#include "fdfdata.h" -#endif #ifdef PHP_WIN32 #define STRCASECMP stricmp @@ -40,17 +37,6 @@ #include "php_content_types.h" -SAPI_POST_READER_FUNC(sapi_read_standard_form_data); -SAPI_POST_READER_FUNC(php_default_post_reader); - -static sapi_post_entry supported_post_entries[] = { -#if HAVE_FDFLIB - { "application/vnd.fdf", sizeof("application/vnd.fdf")-1, php_default_post_reader, fdf_post_handler}, -#endif - { NULL, 0, NULL } -}; - - static HashTable known_post_content_types; SAPI_API void (*sapi_error)(int error_type, const char *message, ...); @@ -77,8 +63,6 @@ SAPI_API void sapi_startup(sapi_module_struct *sf) sapi_module = *sf; zend_hash_init_ex(&known_post_content_types, 5, NULL, NULL, 1, 0); - sapi_register_post_entries(supported_post_entries); - #ifdef ZTS sapi_globals_id = ts_allocate_id(sizeof(sapi_globals_struct), (ts_allocate_ctor) sapi_globals_ctor, NULL); #else @@ -543,13 +527,11 @@ SAPI_API int sapi_register_post_entry(sapi_post_entry *post_entry) return zend_hash_add(&known_post_content_types, post_entry->content_type, post_entry->content_type_len+1, (void *) post_entry, sizeof(sapi_post_entry), NULL); } - SAPI_API void sapi_unregister_post_entry(sapi_post_entry *post_entry) { zend_hash_del(&known_post_content_types, post_entry->content_type, post_entry->content_type_len+1); } - SAPI_API int sapi_register_default_post_reader(void (*default_post_reader)(SLS_D)) { sapi_module.default_post_reader = default_post_reader; |