mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +00:00
Some TFTP cleanups
This commit is contained in:
parent
b2713601f0
commit
7ba69d875c
@ -206,7 +206,7 @@ set(lwipnetbios_SRCS
|
||||
|
||||
# TFTP server files
|
||||
set(lwiptftp_SRCS
|
||||
${LWIP_DIR}/src/apps/tftp/tftp_server.c
|
||||
${LWIP_DIR}/src/apps/tftp/tftp.c
|
||||
)
|
||||
|
||||
# MQTT client files
|
||||
|
@ -183,7 +183,7 @@ MDNSFILES=$(LWIPDIR)/apps/mdns/mdns.c
|
||||
NETBIOSNSFILES=$(LWIPDIR)/apps/netbiosns/netbiosns.c
|
||||
|
||||
# TFTPFILES: TFTP client/server files
|
||||
TFTPFILES=$(LWIPDIR)/apps/tftp/tftp_common.c
|
||||
TFTPFILES=$(LWIPDIR)/apps/tftp/tftp.c
|
||||
|
||||
# MQTTFILES: MQTT client files
|
||||
MQTTFILES=$(LWIPDIR)/apps/mqtt/mqtt.c
|
||||
|
@ -37,4 +37,7 @@
|
||||
|
||||
#include "lwip/apps/tftp_common.h"
|
||||
|
||||
err_t tftp_get(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, const char* mode);
|
||||
err_t tftp_put(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, const char* mode);
|
||||
|
||||
#endif /* LWIP_HDR_APPS_TFTP_CLIENT_H */
|
||||
|
@ -96,8 +96,6 @@ struct tftp_context {
|
||||
|
||||
err_t tftp_init(const struct tftp_context* ctx);
|
||||
void tftp_cleanup(void);
|
||||
err_t tftp_get(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, const char* mode);
|
||||
err_t tftp_put(void* handle, const ip_addr_t *addr, u16_t port, const char* fname, const char* mode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user