yaffsfs.c
// yaffsfs_FindObject turns a path for an existing object into the object
//
yaffsfs_FindObject turns a path for an existing object into the object
yaffsfs_FindObject turns a path for an existing object into the object
yaffs_Object *yaffsfs_FindObject(yaffs_Object *relativeDirectory, const YCHAR *path,int symDepth)
{
	yaffs_Object *dir;
	YCHAR *name;
	dir = yaffsfs_FindDirectory(relativeDirectory,path,&name,symDepth);
	if(dir && *name)
	{
		return yaffs_FindObjectByName(dir,name);
	}
	return dir;
}
yaffs_Object * yaffsfs_FindObject ( yaffs_Object * relativeDirectory , const YCHAR * path , int symDepth ) { yaffs_Object * dir ; YCHAR * name ; dir = yaffsfs_FindDirectory ( relativeDirectory , path , & name , symDepth ) ; if ( dir && * name ) { return yaffs_FindObjectByName ( dir , name ) ; } return dir ; }
yaffsfs_FindObject turns a path for an existing object into the object
yaffsfs_FindObject turns a path for an existing object into the object