X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fyaffsfs.h;h=6dd2c943f731a60d19a2162a4eac01e3f749e95b;hb=679f371f44c58b815b42f3390a81c269f5bb9710;hp=36b7e5a8555596dab811cbec1722d7ca672b592e;hpb=b8cbfed7294153e2e709dd6d7608bbada3da50f0;p=yaffs2.git diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h index 36b7e5a..6dd2c94 100644 --- a/direct/yaffsfs.h +++ b/direct/yaffsfs.h @@ -171,11 +171,14 @@ void yaffs_AddDevice(struct yaffs_DeviceStruct *dev); int yaffs_StartUp(void); +/* Function to get the last error */ +int yaffs_get_error(void); /* Function only for debugging */ void * yaffs_getdev(const YCHAR *path); int yaffs_DumpDevStruct(const YCHAR *path); + #endif