X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_guts.h;h=6d4ae46a9d0b4d16890635a67c00e8be71ebb64a;hp=90c3022e2b82b9cd3b10df68a465e9ddf734bf7e;hb=10baaa5fc285ffe29fa5c6d0ab0c58bcce78e3e0;hpb=f792554ed6d0b514dfb040097033417d8e41f420 diff --git a/yaffs_guts.h b/yaffs_guts.h index 90c3022..6d4ae46 100644 --- a/yaffs_guts.h +++ b/yaffs_guts.h @@ -696,6 +696,7 @@ struct yaffs_DeviceStruct { /* Garbage collection control */ __u32 *gcCleanupList; /* objects to delete at the end of a GC. */ + __u32 nCleanups; unsigned hasPendingPrioritisedGCs; /* We think this device might have pending prioritised gcs */ unsigned gcDisable; @@ -896,10 +897,10 @@ yaffs_Object *yaffs_MknodSpecial(yaffs_Object *parent, const YCHAR *name, __u32 mode, __u32 uid, __u32 gid, __u32 rdev); -int yaffs_SetXAttribute(yaffs_Object *obj, const char *name, const void * value, int size, int flags); -int yaffs_GetXAttribute(yaffs_Object *obj, const char *name, void *value, int size); +int yaffs_SetXAttribute(yaffs_Object *obj, const YCHAR *name, const void * value, int size, int flags); +int yaffs_GetXAttribute(yaffs_Object *obj, const YCHAR *name, void *value, int size); int yaffs_ListXAttributes(yaffs_Object *obj, char *buffer, int size); -int yaffs_RemoveXAttribute(yaffs_Object *obj, const char *name); +int yaffs_RemoveXAttribute(yaffs_Object *obj, const YCHAR *name); /* Special directories */ yaffs_Object *yaffs_Root(yaffs_Device *dev);