@@ -51,7 +51,7 @@ PHPAPI zend_result php_uri_parser_register(const php_uri_parser *uri_parser);
51
51
*/
52
52
PHPAPI const php_uri_parser * php_uri_get_parser (zend_string * uri_parser_name );
53
53
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 );
55
55
56
56
/**
57
57
* 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
66
66
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
67
67
* @return SUCCESS in case of success, FAILURE otherwise.
68
68
*/
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 );
70
70
71
71
/**
72
72
* 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_
81
81
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
82
82
* @return SUCCESS in case of success, FAILURE otherwise.
83
83
*/
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 );
85
85
86
86
/**
87
87
* 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
96
96
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
97
97
* @return SUCCESS in case of success, FAILURE otherwise.
98
98
*/
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 );
100
100
101
101
/**
102
102
* 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
111
111
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
112
112
* @return SUCCESS in case of success, FAILURE otherwise.
113
113
*/
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 );
115
115
116
116
/**
117
117
* 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
126
126
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_LONG or IS_NULL).
127
127
* @return SUCCESS in case of success, FAILURE otherwise.
128
128
*/
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 );
130
130
131
131
/**
132
132
* 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
141
141
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
142
142
* @return SUCCESS in case of success, FAILURE otherwise.
143
143
*/
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 );
145
145
146
146
/**
147
147
* 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
156
156
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
157
157
* @return SUCCESS in case of success, FAILURE otherwise.
158
158
*/
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 );
160
160
161
161
/**
162
162
* 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
171
171
* @param zv The output parameter containing the retrieved component as a ZVAL (either IS_STRING or IS_NULL).
172
172
* @return SUCCESS in case of success, FAILURE otherwise.
173
173
*/
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 );
175
175
176
176
/**
177
177
* Frees the uri member within the provided internal URI.
178
178
*
179
179
* @param internal_uri The internal URI
180
180
*/
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 );
182
182
183
183
/**
184
184
* 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(
207
207
ZEND_ATTRIBUTE_NONNULL PHPAPI void php_uri_struct_free (php_uri * uri );
208
208
209
209
ZEND_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 ,
211
211
bool should_throw , bool should_update_this_object , zval * errors_zv
212
212
);
213
213
0 commit comments