1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/uri/uri_parser_php_parse_url.h
Tim Düsterhus 79a5804b6b uri: Make php_uri_parser structs PHPAPI (#20243)
This allows extensions that already know which parser to use and don't need the
generic lookup facility to directly refer to the desired parser without needing
to go through `php_uri_get_parser()` (which also requires allocating a
`zend_string*`).

Following php/php-src#20173
Related to php/php-src#19868
2025-10-21 16:09:16 +02:00

26 lines
1.2 KiB
C

/*
+----------------------------------------------------------------------+
| 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. |
+----------------------------------------------------------------------+
| Authors: Máté Kocsis <kocsismate@php.net> |
| Tim Düsterhus <timwolla@php.net> |
+----------------------------------------------------------------------+
*/
#ifndef PHP_URI_PARSER_PHP_PARSE_URL_H
#define PHP_URI_PARSER_PHP_PARSE_URL_H
#include "php_uri_common.h"
PHPAPI extern const php_uri_parser php_uri_parser_php_parse_url;
#endif