X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=direct%2Fpython%2Fyaffs_python_helper.c;h=d5a13d5d04113b948c99b0b631937d4443e96526;hb=9bdabdaa8467f3f56359598434e0f6f254c100e9;hp=01eb3575069cdcdcb4dd385264b7887739a30cd5;hpb=e33554a67753729f6b74677473cf0ec3b8d35a7e;p=yaffs2.git diff --git a/direct/python/yaffs_python_helper.c b/direct/python/yaffs_python_helper.c index 01eb357..d5a13d5 100644 --- a/direct/python/yaffs_python_helper.c +++ b/direct/python/yaffs_python_helper.c @@ -1,4 +1,3 @@ - /* * YAFFS: Yet Another Flash File System. A NAND-flash specific file system. * @@ -47,3 +46,13 @@ int yaffs_O_TRUNC(void) { return O_TRUNC;} int yaffs_set_trace(unsigned int tm) { return yaffs_trace_mask=tm; } int yaffs_get_trace(void) { return yaffs_trace_mask; } + +int yaffs_S_IFMT(void){return S_IFMT;} +int yaffs_S_IFLNK(void){return S_IFLNK;} +int yaffs_S_IFDIR(void){return S_IFDIR;} +int yaffs_S_IFREG(void){return S_IFREG;} +int yaffs_S_IREAD(void){return S_IREAD;} +int yaffs_S_IWRITE(void){return S_IWRITE;} +int yaffs_S_IEXEC(void){return S_IEXEC;} +int yaffs_XATTR_CREATE(void){return XATTR_CREATE;} +int yaffs_XATTR_REPLACE(void){return XATTR_REPLACE;}