24 lines
416 B
C
24 lines
416 B
C
#ifndef __UI_SDFS_H__
|
|
#define __UI_SDFS_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include "generic/typedef.h"
|
|
#include "fs/fs.h"
|
|
|
|
#define SD_SEEK_SET 0x00
|
|
#define SD_SEEK_CUR 0x01
|
|
|
|
FILE *font_sd_fopen(const char *filename, void *arg);
|
|
int font_sd_fread(FILE *fp, void *buf, u32 len);
|
|
int font_sd_fseek(FILE *fp, u8 seek_mode, u32 offset);
|
|
int font_sd_fclose(FILE *fp);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|