37 lines
497 B
C
37 lines
497 B
C
//
|
|
// Created by sanderspeetjens on 06/11/23.
|
|
//
|
|
|
|
#include "tftp.h"
|
|
|
|
void *tftp_open(const char *fname, const char *mode, u8_t write)
|
|
{
|
|
|
|
}
|
|
|
|
void tftp_close(void *handle)
|
|
{
|
|
|
|
}
|
|
int tftp_read(void* handle, void* buf, int bytes)
|
|
{
|
|
|
|
}
|
|
|
|
int tftp_write(void* handle, struct pbuf* p)
|
|
{
|
|
|
|
}
|
|
|
|
struct tftp_context tftpContext_s =
|
|
{
|
|
tftp_open,
|
|
tftp_close,
|
|
tftp_read,
|
|
tftp_write
|
|
};
|
|
|
|
void tftp_server_init(void)
|
|
{
|
|
tftp_init(&tftpContext_s);
|
|
} |