update libpicofe
[picodrive.git] / pico / state.h
... / ...
CommitLineData
1#include <stdlib.h>
2
3typedef size_t (arearw)(void *p, size_t _size, size_t _n, void *file);
4typedef size_t (areaeof)(void *file);
5typedef int (areaseek)(void *file, long offset, int whence);
6typedef int (areaclose)(void *file);
7
8int PicoStateFP(void *afile, int is_save,
9 arearw *read, arearw *write, areaeof *eof, areaseek *seek);