2013-11-24 16:57:08 +01:00
|
|
|
#ifndef SDCARD_H_KJBBKS6O57__
|
|
|
|
#define SDCARD_H_KJBBKS6O57__
|
2009-07-11 17:13:55 +02:00
|
|
|
|
|
|
|
#include <efs.h>
|
|
|
|
#include <ls.h>
|
|
|
|
#include <sys/process.h>
|
|
|
|
|
|
|
|
PROCESS_NAME(sdcard_process);
|
|
|
|
|
|
|
|
void
|
|
|
|
efs_sdcard_init();
|
|
|
|
|
|
|
|
FileSystem *
|
|
|
|
efs_sdcard_get_fs();
|
|
|
|
|
|
|
|
/* True if a card is ready to read or write */
|
|
|
|
int
|
|
|
|
sdcard_ready();
|
|
|
|
|
|
|
|
extern process_event_t sdcard_inserted_event;
|
|
|
|
|
|
|
|
extern process_event_t sdcard_removed_event;
|
|
|
|
|
|
|
|
void
|
|
|
|
sdcard_event_process(struct process *p);
|
|
|
|
|
2013-11-24 16:57:08 +01:00
|
|
|
#endif /* SDCARD_H_KJBBKS6O57__ */
|