From 144db7f39f35a51c24558c81faea3f49c237312f Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Wed, 19 Sep 2012 16:37:34 -0700 Subject: gfapi: added more API calls - stat - lstat - access - readlink - mknod - mkdir - rmdir - symlink - rename - link - opendir - closedir - seekdir - telldir - readdir_r - statvfs - chmod - fchmod - chown - lchown - fchown - utimens - lutimens - futimens - getxattr - lgetxattr - fgetxattr - setxattr - lsetxattr - fsetxattr - listxattr - llistxattr - flistxattr - removexattr - lremovexattr - fremovexattr Change-Id: Ic2467293ddfbcefaa9b41c82cec61a5602636833 BUG: 839950 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/4022 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- api/src/glfs-internal.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'api/src/glfs-internal.h') diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index 8c9e356f9..c2fc0ecc1 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -39,8 +39,10 @@ struct glfs { }; struct glfs_fd { - off_t offset; - fd_t *fd; + off_t offset; + fd_t *fd; + struct list_head entries; + gf_dirent_t *next; }; #define DEFAULT_EVENT_POOL_SIZE 16384 -- cgit