@@ -207,7 +207,7 @@ static esp_err_t _udp_pcb_init(tcpip_adapter_if_t tcpip_if, mdns_ip_protocol_t i
207
207
}
208
208
209
209
typedef struct {
210
- struct tcpip_api_call call ;
210
+ struct tcpip_api_call_data call ;
211
211
tcpip_adapter_if_t tcpip_if ;
212
212
mdns_ip_protocol_t ip_protocol ;
213
213
esp_err_t err ;
@@ -216,7 +216,7 @@ typedef struct {
216
216
/**
217
217
* @brief Start PCB from LwIP thread
218
218
*/
219
- static err_t _mdns_pcb_init_api (struct tcpip_api_call * api_call_msg )
219
+ static err_t _mdns_pcb_init_api (struct tcpip_api_call_data * api_call_msg )
220
220
{
221
221
mdns_api_call_t * msg = (mdns_api_call_t * )api_call_msg ;
222
222
msg -> err = _udp_pcb_init (msg -> tcpip_if , msg -> ip_protocol );
@@ -226,7 +226,7 @@ static err_t _mdns_pcb_init_api(struct tcpip_api_call *api_call_msg)
226
226
/**
227
227
* @brief Stop PCB from LwIP thread
228
228
*/
229
- static err_t _mdns_pcb_deinit_api (struct tcpip_api_call * api_call_msg )
229
+ static err_t _mdns_pcb_deinit_api (struct tcpip_api_call_data * api_call_msg )
230
230
{
231
231
mdns_api_call_t * msg = (mdns_api_call_t * )api_call_msg ;
232
232
_udp_pcb_deinit (msg -> tcpip_if , msg -> ip_protocol );
@@ -245,7 +245,7 @@ esp_err_t _mdns_pcb_init(tcpip_adapter_if_t tcpip_if, mdns_ip_protocol_t ip_prot
245
245
.tcpip_if = tcpip_if ,
246
246
.ip_protocol = ip_protocol
247
247
};
248
- tcpip_api_call (_mdns_pcb_init_api , (struct tcpip_api_call * )& msg );
248
+ tcpip_api_call (_mdns_pcb_init_api , (struct tcpip_api_call_data * )& msg );
249
249
return msg .err ;
250
250
}
251
251
@@ -255,7 +255,7 @@ esp_err_t _mdns_pcb_deinit(tcpip_adapter_if_t tcpip_if, mdns_ip_protocol_t ip_pr
255
255
.tcpip_if = tcpip_if ,
256
256
.ip_protocol = ip_protocol
257
257
};
258
- tcpip_api_call (_mdns_pcb_deinit_api , (struct tcpip_api_call * )& msg );
258
+ tcpip_api_call (_mdns_pcb_deinit_api , (struct tcpip_api_call_data * )& msg );
259
259
return msg .err ;
260
260
}
261
261
0 commit comments