Prusa MINI Firmware overview
|
#include "lwip/apps/httpd_opts.h"
#include "lwip/def.h"
#include "lwip/apps/fs.h"
#include "fsdata.h"
#include <string.h>
#include "fsdata.c"
◆ fs_open()
70 #if LWIP_HTTPD_CUSTOM_FILES
79 if (!strcmp(
name, (
const char *)f->
name)) {
86 file->chksum_count = f->chksum_count;
87 file->chksum = f->chksum;
90 file->state = fs_state_init(file,
name);
◆ fs_close()
103 #if LWIP_HTTPD_CUSTOM_FILES
108 #if LWIP_HTTPD_FILE_STATE
109 fs_state_free(file, file->state);
◆ fs_bytes_left()
int fs_bytes_left |
( |
struct fs_file * |
file | ) |
|
void * pextension
Definition: fs.h:60
#define FS_ROOT
Definition: fsdata.c:296
int len
Definition: fs.h:58
#define HTTPD_PRECALCULATED_CHECKSUM
Definition: httpd_opts.h:302
u8_t flags
Definition: fs.h:65
u8_t flags
Definition: fsdata.h:43
const unsigned char * data
Definition: fsdata.h:41
const struct fsdata_file * next
Definition: fsdata.h:39
void fs_close_custom(struct fs_file *file)
Definition: fs_custom.c:32
#define NULL
Definition: usbd_def.h:53
int len
Definition: fsdata.h:42
int fs_open_custom(struct fs_file *file, const char *name)
Definition: fs_custom.c:13
int index
Definition: fs.h:59
#define LWIP_UNUSED_ARG(x)
Definition: arch.h:308
const char * data
Definition: fs.h:57
u8_t is_custom_file
Definition: fs.h:67
const unsigned char * name
Definition: fsdata.h:40
#define LWIP_HTTPD_FILE_STATE
Definition: httpd_opts.h:295