-
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
#include "yaffsfs.h"
#include "yaffs_trace.h"
+#include "yaffs_error_converter.h"
int simulate_power_failure;
int random_seed;
+const char * yaffs_error_to_str(int err); /*this is not part of yaffs. it is a specialy built file for converting error codes to text*/
+
int yaffs_print_constants(void)
{
printf( "O_CREAT........%d\n",O_CREAT);
int yaffs_O_RDWR(void) { return O_RDWR;}
int yaffs_O_TRUNC(void) { return O_TRUNC;}
-int yaffs_set_trace(unsigned int tm) { return yaffs_traceMask=tm; }
-int yaffs_get_trace(void) { return yaffs_traceMask; }
int yaffs_S_IFMT(void){return S_IFMT;}
int yaffs_S_IFLNK(void){return S_IFLNK;}