summaryrefslogtreecommitdiffstats
path: root/api/src/glfs-internal.h
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2012-09-19 16:37:34 -0700
committerVijay Bellur <vbellur@redhat.com>2012-10-08 03:36:33 -0700
commit144db7f39f35a51c24558c81faea3f49c237312f (patch)
tree4108565cd3f970a56ccfa77580c25f40fe197ac1 /api/src/glfs-internal.h
parentdbed2e2f150eb227c26258f8c065e7789e3f9bda (diff)
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 <avati@redhat.com> Reviewed-on: http://review.gluster.org/4022 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r--api/src/glfs-internal.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h
index 8c9e356f9c3..c2fc0ecc1ea 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