Commit | Line | Data |
---|---|---|
1 | #include <stdlib.h> | |
2 | ||
3 | typedef size_t (arearw)(void *p, size_t _size, size_t _n, void *file); | |
4 | typedef size_t (areaeof)(void *file); | |
5 | typedef int (areaseek)(void *file, long offset, int whence); | |
6 | typedef int (areaclose)(void *file); | |
7 | ||
8 | int PicoStateFP(void *afile, int is_save, | |
9 | arearw *read, arearw *write, areaeof *eof, areaseek *seek); |