mirror of
https://github.com/php/php-src.git
synced 2024-10-20 16:02:44 +00:00
86b2d4fefe
ap_get_req_body, since it is much more flexible and does not need to buffer everything in memory (PHP still does..).
22 lines
512 B
C
22 lines
512 B
C
#ifndef PHP_APACHE_H
|
|
#define PHP_APACHE_H
|
|
|
|
typedef struct php_struct {
|
|
int state;
|
|
ap_bucket_brigade *bb;
|
|
ap_filter_t *f;
|
|
/* Length of post_data buffer */
|
|
int post_len;
|
|
/* Index for reading from buffer */
|
|
int post_idx;
|
|
/* Buffer for request body filter */
|
|
char *post_data;
|
|
} php_struct;
|
|
|
|
void *merge_php_config(apr_pool_t *p, void *base_conf, void *new_conf);
|
|
void *create_php_config(apr_pool_t *p, char *dummy);
|
|
void apply_config(void *);
|
|
extern const command_rec dir_cmds[];
|
|
|
|
#endif /* PHP_APACHE_H */
|