|
43 | 43 | #endif |
44 | 44 |
|
45 | 45 | #include "php_apache.h" |
| 46 | +#include "php_functions_arginfo.h" |
46 | 47 |
|
47 | 48 | #ifdef ZTS |
48 | 49 | int php_apache2_info_id; |
@@ -475,55 +476,17 @@ PHP_MINFO_FUNCTION(apache) |
475 | 476 | } |
476 | 477 | } |
477 | 478 |
|
478 | | -/* {{{ arginfo */ |
479 | | -ZEND_BEGIN_ARG_INFO_EX(arginfo_apache2handler_lookup_uri, 0, 0, 1) |
480 | | - ZEND_ARG_INFO(0, filename) |
481 | | -ZEND_END_ARG_INFO() |
482 | | - |
483 | | -ZEND_BEGIN_ARG_INFO_EX(arginfo_apache2handler_virtual, 0, 0, 1) |
484 | | - ZEND_ARG_INFO(0, uri) |
485 | | -ZEND_END_ARG_INFO() |
486 | | - |
487 | | -ZEND_BEGIN_ARG_INFO(arginfo_apache2handler_response_headers, 0) |
488 | | -ZEND_END_ARG_INFO() |
489 | | - |
490 | | -ZEND_BEGIN_ARG_INFO(arginfo_apache2handler_getallheaders, 0) |
491 | | -ZEND_END_ARG_INFO() |
492 | | - |
493 | | -ZEND_BEGIN_ARG_INFO_EX(arginfo_apache2handler_note, 0, 0, 1) |
494 | | - ZEND_ARG_INFO(0, note_name) |
495 | | - ZEND_ARG_INFO(0, note_value) |
496 | | -ZEND_END_ARG_INFO() |
497 | | - |
498 | | -ZEND_BEGIN_ARG_INFO_EX(arginfo_apache2handler_setenv, 0, 0, 2) |
499 | | - ZEND_ARG_INFO(0, variable) |
500 | | - ZEND_ARG_INFO(0, value) |
501 | | - ZEND_ARG_INFO(0, walk_to_top) |
502 | | -ZEND_END_ARG_INFO() |
503 | | - |
504 | | -ZEND_BEGIN_ARG_INFO_EX(arginfo_apache2handler_getenv, 0, 0, 1) |
505 | | - ZEND_ARG_INFO(0, variable) |
506 | | - ZEND_ARG_INFO(0, walk_to_top) |
507 | | -ZEND_END_ARG_INFO() |
508 | | - |
509 | | -ZEND_BEGIN_ARG_INFO(arginfo_apache2handler_get_version, 0) |
510 | | -ZEND_END_ARG_INFO() |
511 | | - |
512 | | -ZEND_BEGIN_ARG_INFO(arginfo_apache2handler_get_modules, 0) |
513 | | -ZEND_END_ARG_INFO() |
514 | | -/* }}} */ |
515 | | - |
516 | 479 | static const zend_function_entry apache_functions[] = { |
517 | | - PHP_FE(apache_lookup_uri, arginfo_apache2handler_lookup_uri) |
518 | | - PHP_FE(virtual, arginfo_apache2handler_virtual) |
519 | | - PHP_FE(apache_request_headers, arginfo_apache2handler_getallheaders) |
520 | | - PHP_FE(apache_response_headers, arginfo_apache2handler_response_headers) |
521 | | - PHP_FE(apache_setenv, arginfo_apache2handler_setenv) |
522 | | - PHP_FE(apache_getenv, arginfo_apache2handler_getenv) |
523 | | - PHP_FE(apache_note, arginfo_apache2handler_note) |
524 | | - PHP_FE(apache_get_version, arginfo_apache2handler_get_version) |
525 | | - PHP_FE(apache_get_modules, arginfo_apache2handler_get_modules) |
526 | | - PHP_FALIAS(getallheaders, apache_request_headers, arginfo_apache2handler_getallheaders) |
| 480 | + PHP_FE(apache_lookup_uri, arginfo_apache_lookup_uri) |
| 481 | + PHP_FE(virtual, arginfo_virtual) |
| 482 | + PHP_FE(apache_request_headers, arginfo_apache_request_headers) |
| 483 | + PHP_FE(apache_response_headers, arginfo_apache_response_headers) |
| 484 | + PHP_FE(apache_setenv, arginfo_apache_setenv) |
| 485 | + PHP_FE(apache_getenv, arginfo_apache_getenv) |
| 486 | + PHP_FE(apache_note, arginfo_apache_note) |
| 487 | + PHP_FE(apache_get_version, arginfo_apache_get_version) |
| 488 | + PHP_FE(apache_get_modules, arginfo_apache_get_modules) |
| 489 | + PHP_FALIAS(getallheaders, apache_request_headers, arginfo_getallheaders) |
527 | 490 | {NULL, NULL, NULL} |
528 | 491 | }; |
529 | 492 |
|
|
0 commit comments