Change tests from a copy to using the original with mocs
This commit is contained in:
2023-11-12 17:07:20 +01:00
parent 04f9dd3d2c
commit e682528e12
7 changed files with 77 additions and 66 deletions

View File

@@ -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