@@ -64,17 +64,6 @@ typedef struct uri_property_handler_t {
64
64
uri_write_t write_func ;
65
65
} uri_property_handler_t ;
66
66
67
- typedef struct uri_property_handlers_t {
68
- uri_property_handler_t scheme ;
69
- uri_property_handler_t username ;
70
- uri_property_handler_t password ;
71
- uri_property_handler_t host ;
72
- uri_property_handler_t port ;
73
- uri_property_handler_t path ;
74
- uri_property_handler_t query ;
75
- uri_property_handler_t fragment ;
76
- } uri_property_handlers_t ;
77
-
78
67
typedef struct uri_parser_t {
79
68
/**
80
69
* Name (the FQCN) of the URI parser. The "" name is reserved for the handler of the legacy parse_url().
@@ -138,7 +127,16 @@ typedef struct uri_parser_t {
138
127
*/
139
128
void (* free_uri )(void * uri );
140
129
141
- const uri_property_handlers_t property_handlers ;
130
+ struct {
131
+ uri_property_handler_t scheme ;
132
+ uri_property_handler_t username ;
133
+ uri_property_handler_t password ;
134
+ uri_property_handler_t host ;
135
+ uri_property_handler_t port ;
136
+ uri_property_handler_t path ;
137
+ uri_property_handler_t query ;
138
+ uri_property_handler_t fragment ;
139
+ } property_handlers ;
142
140
} uri_parser_t ;
143
141
144
142
typedef struct uri_internal_t {
0 commit comments