@@ -51,7 +51,7 @@ PHPAPI zend_result php_uri_parser_register(const php_uri_parser *uri_parser);
5151 */
5252PHPAPI const php_uri_parser * php_uri_get_parser (zend_string * uri_parser_name );
5353
54- ZEND_ATTRIBUTE_NONNULL PHPAPI uri_internal_t * php_uri_parse (const php_uri_parser * uri_parser , const char * uri_str , size_t uri_str_len , bool silent );
54+ ZEND_ATTRIBUTE_NONNULL PHPAPI php_uri_internal * php_uri_parse (const php_uri_parser * uri_parser , const char * uri_str , size_t uri_str_len , bool silent );
5555
5656/**
5757 * Retrieves the scheme component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -66,7 +66,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI uri_internal_t *php_uri_parse(const php_uri_parser
6666 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
6767 * @return SUCCESS in case of success, FAILURE otherwise.
6868 */
69- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_scheme (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
69+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_scheme (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
7070
7171/**
7272 * Retrieves the username component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -81,7 +81,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_scheme(const uri_internal_
8181 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
8282 * @return SUCCESS in case of success, FAILURE otherwise.
8383 */
84- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_username (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
84+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_username (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
8585
8686/**
8787 * Retrieves the password component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -96,7 +96,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_username(const uri_interna
9696 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
9797 * @return SUCCESS in case of success, FAILURE otherwise.
9898 */
99- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_password (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
99+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_password (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
100100
101101/**
102102 * Retrieves the host component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -111,7 +111,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_password(const uri_interna
111111 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
112112 * @return SUCCESS in case of success, FAILURE otherwise.
113113 */
114- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_host (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
114+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_host (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
115115
116116/**
117117 * Retrieves the port component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -126,7 +126,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_host(const uri_internal_t
126126 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_LONG or IS_NULL).
127127 * @return SUCCESS in case of success, FAILURE otherwise.
128128 */
129- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_port (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
129+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_port (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
130130
131131/**
132132 * Retrieves the path component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -141,7 +141,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_port(const uri_internal_t
141141 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
142142 * @return SUCCESS in case of success, FAILURE otherwise.
143143 */
144- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_path (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
144+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_path (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
145145
146146/**
147147 * Retrieves the query component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -156,7 +156,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_path(const uri_internal_t
156156 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
157157 * @return SUCCESS in case of success, FAILURE otherwise.
158158 */
159- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_query (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
159+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_query (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
160160
161161/**
162162 * Retrieves the fragment component based on the read_mode and passes it to the zv ZVAL in case of success.
@@ -171,14 +171,14 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_query(const uri_internal_t
171171 * @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
172172 * @return SUCCESS in case of success, FAILURE otherwise.
173173 */
174- ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_fragment (const uri_internal_t * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
174+ ZEND_ATTRIBUTE_NONNULL PHPAPI zend_result php_uri_get_fragment (const php_uri_internal * internal_uri , php_uri_component_read_mode read_mode , zval * zv );
175175
176176/**
177177 * Frees the uri member within the provided internal URI.
178178 *
179179 * @param internal_uri The internal URI
180180 */
181- ZEND_ATTRIBUTE_NONNULL PHPAPI void php_uri_free (uri_internal_t * internal_uri );
181+ ZEND_ATTRIBUTE_NONNULL PHPAPI void php_uri_free (php_uri_internal * internal_uri );
182182
183183/**
184184 * Creates a new php_uri struct containing all the URI components. The components are retrieved based on the read_mode parameter.
@@ -207,7 +207,7 @@ ZEND_ATTRIBUTE_NONNULL PHPAPI php_uri *php_uri_parse_to_struct(
207207ZEND_ATTRIBUTE_NONNULL PHPAPI void php_uri_struct_free (php_uri * uri );
208208
209209ZEND_ATTRIBUTE_NONNULL_ARGS (1 , 2 ) PHPAPI void php_uri_instantiate_uri (
210- INTERNAL_FUNCTION_PARAMETERS , const zend_string * uri_str , const uri_object_t * base_url_object ,
210+ INTERNAL_FUNCTION_PARAMETERS , const zend_string * uri_str , const php_uri_object * base_url_object ,
211211 bool should_throw , bool should_update_this_object , zval * errors_zv
212212);
213213
0 commit comments