X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Fyaffsfs.h;h=9afe60a1ceb044b0a5474e2de12ff397f7eabaaa;hb=bcac5908f05d38711a5db79da4f2bae1eea3abba;hp=0444d8fcb1ee504cec2d79e4f4d05bee65da305f;hpb=378bbdf4d64b8b26db55a495ab6ae520ff62e471;p=yaffs2.git diff --git a/direct/yaffsfs.h b/direct/yaffsfs.h index 0444d8f..9afe60a 100644 --- a/direct/yaffsfs.h +++ b/direct/yaffsfs.h @@ -1,7 +1,22 @@ /* -* Header file for using yaffs in an application via -* a direct interface. -*/ + * YAFFS: Yet another Flash File System . A NAND-flash specific file system. + * + * Copyright (C) 2002-2007 Aleph One Ltd. + * for Toby Churchill Ltd and Brightstar Engineering + * + * Created by Charles Manning + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License version 2.1 as + * published by the Free Software Foundation. + * + * Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL. + */ + +/* + * Header file for using yaffs in an application via + * a direct interface. + */ #ifndef __YAFFSFS_H__ @@ -147,6 +162,7 @@ struct yaffs_dirent{ off_t d_off; /* offset to this dirent */ unsigned short d_reclen; /* length of this d_name */ char d_name [NAME_MAX+1]; /* file name (null-terminated) */ + unsigned d_dont_use; /* debug pointer, not for public consumption */ }; typedef struct yaffs_dirent yaffs_dirent;