Download src/php/php-src/sapi/apache2handler/php_apache.h from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 2.97 kB
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/apache2handler/php_apache.h
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/sapi/apache2handler/php_apache.h
-
curl -L -o php_apache.h https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/sapi/apache2handler/php_apache.h
2.97 kB
| /* | |
| +----------------------------------------------------------------------+ | |
| | Copyright (c) The PHP Group | | |
| +----------------------------------------------------------------------+ | |
| | This source file is subject to version 3.01 of the PHP license, | | |
| | that is bundled with this package in the file LICENSE, and is | | |
| | available through the world-wide-web at the following url: | | |
| | https://www.php.net/license/3_01.txt | | |
| | If you did not receive a copy of the PHP license and are unable to | | |
| | obtain it through the world-wide-web, please send a note to | | |
| | license@php.net so we can mail you a copy immediately. | | |
| +----------------------------------------------------------------------+ | |
| | Author: Sascha Schumann <sascha@schumann.cx> | | |
| +----------------------------------------------------------------------+ | |
| */ | |
| /* Enable per-module logging. */ | |
| APLOG_USE_MODULE(php); | |
| /* Declare this so we can get to it from outside the sapi_apache2.c file */ | |
| extern module AP_MODULE_DECLARE_DATA php_module; | |
| /* A way to specify the location of the php.ini dir in an apache directive */ | |
| extern char *apache2_php_ini_path_override; | |
| /* The server_context used by PHP */ | |
| typedef struct php_struct { | |
| int state; | |
| request_rec *r; | |
| apr_bucket_brigade *brigade; | |
| /* stat structure of the current file */ | |
| zend_stat_t finfo; | |
| /* Whether or not we've processed PHP in the output filters yet. */ | |
| int request_processed; | |
| /* final content type */ | |
| char *content_type; | |
| } 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); | |
| char *get_php_config(void *conf, char *name, size_t name_len); | |
| void apply_config(void *); | |
| extern const command_rec php_dir_cmds[]; | |
| void php_ap2_register_hook(apr_pool_t *p); | |
| typedef struct { | |
| bool engine; | |
| bool xbithack; | |
| bool last_modified; | |
| } php_apache2_info_struct; | |
| extern zend_module_entry apache2_module_entry; | |
| extern int php_apache2_info_id; | |
| ZEND_TSRMLS_CACHE_EXTERN() | |
| extern php_apache2_info_struct php_apache2_info; | |
| /* fix for gcc4 visibility patch */ | |