Refactor dashboard example

This commit is contained in:
Sergey Lyubka committed 2022-05-13 20:08:08 +01:00
1 parent 0294603dfc
commit 3fbb7de712
28 files changed
+2692 -1674

No files matched your search

+4
View File
@@ -40,3 +40,7 @@ void mg_fs_close(struct mg_fd *fd);
char *mg_file_read(struct mg_fs *fs, const char *path, size_t *size);
bool mg_file_write(struct mg_fs *fs, const char *path, const void *, size_t);
bool mg_file_printf(struct mg_fs *fs, const char *path, const char *fmt, ...);
// API for the embedded (packed) filesystem
const char *mg_unpack(const char *path, size_t *size, time_t *mtime);
const char *mg_unlist(size_t no);
-3
View File
@@ -7,9 +7,6 @@ struct packed_file {
size_t pos;
};
const char *mg_unpack(const char *path, size_t *size, time_t *mtime);
const char *mg_unlist(size_t no);
#if MG_ENABLE_PACKED_FS
#else
const char *mg_unpack(const char *path, size_t *size, time_t *mtime) {