#pragma once #include #include #include #include #include typedef struct tftp_custom_file_s { const char* data; size_t len; char*name; size_t ofset; }tftp_custom_file_t; 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);