SAPI_API void sapi_startup(sapi_module_struct *sf);
+SAPI_API void sapi_shutdown(void);
SAPI_API void sapi_activate(SLS_D);
SAPI_API void sapi_deactivate(SLS_D);
#include <stdlib.h>
#include <string.h>
+#include "php.h"
+
#if (WINNT|WIN32)
#include <winsock.h> /* Includes definition for u_char */
#endif
#include "SAPI.h"
#include "rfc1867.h"
+#include "php_content_types.h"
+
static sapi_post_content_type_reader php_post_content_types[] = {
{ MULTIPART_CONTENT_TYPE, sizeof(MULTIPART_CONTENT_TYPE)-1, rfc1867_post_reader },
{ NULL, 0, NULL }
}
-int php_startup_SAPI_content_types()
+int php_startup_SAPI_content_types(void)
{
sapi_register_post_readers(php_post_content_types);
sapi_register_default_post_reader(php_default_post_reader);
#ifndef _PHP_CONTENT_TYPES_H
#define _PHP_CONTENT_TYPES_H
+SAPI_POST_READER_FUNC(php_default_post_reader);
int php_startup_SAPI_content_types(void);
#endif /* _PHP_CONTENT_TYPES_H */