TFTP
Add tftp_custom_write and test functions
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
#ifndef PROJECT_TFTP_H
|
||||
#define PROJECT_TFTP_H
|
||||
#include <tftp_server.h>
|
||||
#ifndef TESTING
|
||||
#include "lcd_api.h"
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
@@ -30,7 +33,7 @@ void tftp_server_init(void);
|
||||
void tftp_server_deinit(void);
|
||||
void tftp_custom_fseek(tftp_custom_file_t* handle, size_t offset, int whence);
|
||||
size_t tftp_custom_fread(void* buf, size_t bytes, tftp_custom_file_t* handle);
|
||||
size_t tftp_custom_fwrite(void* buf, size_t bytes, tftp_custom_file_t* handle);
|
||||
size_t tftp_custom_fwrite(const void* buf, size_t bytes, tftp_custom_file_t* handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user