TFTP
Change to my own struct for the virtual files init the index.txt from the tftp_server_init add tftp_server_deinit + add to docs
This commit is contained in:
@@ -16,5 +16,13 @@
|
||||
|
||||
#define TFTP_READ 0
|
||||
|
||||
typedef struct tftp_custom_file_s {
|
||||
char* data;
|
||||
size_t len;
|
||||
char*name;
|
||||
size_t ofset;
|
||||
}tftp_custom_file_t;
|
||||
|
||||
void tftp_server_init(void);
|
||||
void tftp_server_deinit(void);
|
||||
#endif // PROJECT_TFTP_H
|
||||
|
||||
Reference in New Issue
Block a user