TFTP
Change tests from a copy to using the original with mocs
This commit is contained in:
@@ -6,8 +6,11 @@
|
||||
|
||||
#ifndef PROJECT_TFTP_H
|
||||
#define PROJECT_TFTP_H
|
||||
#define LOGGER_LEVEL_ALL
|
||||
#include <tftp_server.h>
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#define LOGGER_LEVEL_ALL
|
||||
#include "log.h"
|
||||
#include "llfs.h"
|
||||
#include <stdlib.h>
|
||||
@@ -25,4 +28,11 @@ typedef struct tftp_custom_file_s {
|
||||
|
||||
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);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif // PROJECT_TFTP_H
|
||||
|
||||
Reference in New Issue
Block a user