Files
2023-Webservices_And_Applic…/project/Core/Inc/tftp.h
Sani7 91bd047201 TFTP
Change header to match the others
2023-11-12 16:14:26 +01:00

29 lines
488 B
C

/**
* @file tftp.h
* @brief tftp server
* @author Sander S.
*/
#ifndef PROJECT_TFTP_H
#define PROJECT_TFTP_H
#define LOGGER_LEVEL_ALL
#include <tftp_server.h>
#include "log.h"
#include "llfs.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#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