Permalink
Browse files

fix SAPI_POST_* exports

  • Loading branch information...
1 parent db33d81 commit 0dab84d065179d69edca3c4186742a7eac4af75b Daniel Beulshausen committed Aug 15, 2001
Showing with 12 additions and 12 deletions.
  1. +1 −1 main/SAPI.c
  2. +4 −4 main/SAPI.h
  3. +1 −1 main/php_content_types.c
  4. +2 −2 main/php_content_types.h
  5. +1 −1 main/php_variables.c
  6. +1 −1 main/rfc1867.c
  7. +2 −2 main/rfc1867.h
View
@@ -165,7 +165,7 @@ static void sapi_read_post_data(TSRMLS_D)
}
-SAPI_POST_READER_FUNC(sapi_read_standard_form_data)
+SAPI_API SAPI_POST_READER_FUNC(sapi_read_standard_form_data)
{
int read_bytes;
int allocated_bytes=SAPI_POST_BLOCK_SIZE+1;
View
@@ -207,11 +207,11 @@ struct _sapi_post_entry {
#define SAPI_DEFAULT_CHARSET ""
#define SAPI_PHP_VERSION_HEADER "X-Powered-By: PHP/" PHP_VERSION
-#define SAPI_POST_READER_FUNC(post_reader) SAPI_API void post_reader(TSRMLS_D)
-#define SAPI_POST_HANDLER_FUNC(post_handler) SAPI_API void post_handler(char *content_type_dup, void *arg TSRMLS_DC)
+#define SAPI_POST_READER_FUNC(post_reader) void post_reader(TSRMLS_D)
+#define SAPI_POST_HANDLER_FUNC(post_handler) void post_handler(char *content_type_dup, void *arg TSRMLS_DC)
-SAPI_POST_READER_FUNC(sapi_read_standard_form_data);
-SAPI_POST_READER_FUNC(php_default_post_reader);
+SAPI_API SAPI_POST_READER_FUNC(sapi_read_standard_form_data);
+SAPI_API SAPI_POST_READER_FUNC(php_default_post_reader);
#define STANDARD_SAPI_MODULE_PROPERTIES NULL
View
@@ -35,7 +35,7 @@ static sapi_post_entry php_post_entries[] = {
/* {{{ SAPI_POST_READER_FUNC
*/
-SAPI_POST_READER_FUNC(php_default_post_reader)
+SAPI_API SAPI_POST_READER_FUNC(php_default_post_reader)
{
char *data;
View
@@ -3,8 +3,8 @@
#define DEFAULT_POST_CONTENT_TYPE "application/x-www-form-urlencoded"
-SAPI_POST_READER_FUNC(php_default_post_reader);
-SAPI_POST_HANDLER_FUNC(php_std_post_handler);
+SAPI_API SAPI_POST_READER_FUNC(php_default_post_reader);
+SAPI_API SAPI_POST_HANDLER_FUNC(php_std_post_handler);
int php_startup_sapi_content_types(void);
#endif /* PHP_CONTENT_TYPES_H */
View
@@ -191,7 +191,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_arra
}
-SAPI_POST_HANDLER_FUNC(php_std_post_handler)
+SAPI_API SAPI_POST_HANDLER_FUNC(php_std_post_handler)
{
char *var, *val;
char *strtok_buf = NULL;
View
@@ -443,7 +443,7 @@ static void php_mime_split(char *buf, int cnt, char *boundary, zval *array_ptr T
}
-SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
+SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler)
{
char *boundary;
uint boundary_len;
View
@@ -5,8 +5,8 @@
#define MULTIPART_CONTENT_TYPE "multipart/form-data"
-SAPI_POST_READER_FUNC(rfc1867_post_reader);
-SAPI_POST_HANDLER_FUNC(rfc1867_post_handler);
+SAPI_API SAPI_POST_READER_FUNC(rfc1867_post_reader);
+SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler);
#define FILE_UPLOAD_INPUT_BUFFER_SIZE 8192

0 comments on commit 0dab84d

Please sign in to comment.