diff options
author | Soumya Koduri <skoduri@redhat.com> | 2014-03-21 12:57:14 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-04-18 13:21:05 -0700 |
commit | 99d86b1a1afe62c06f7aa2e3d6bb68df7762ce48 (patch) | |
tree | bf12160649ef56f86efb3673340f2229a4dde260 /api/src/glfs-internal.h | |
parent | 580ac71d3b91a10c3264eddc7600dd75dfb0ad88 (diff) |
Added Handle-based ops to get/set/remove extended attributes in the libgfapi.
Change-Id: I1a8e666018d7b93e0bba2d9882935681da909980
BUG: 1089414
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Reviewed-on: http://review.gluster.org/7308
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r-- | api/src/glfs-internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index f04557323a0..d7d675e81b1 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -216,5 +216,8 @@ int glfs_loc_touchup (loc_t *loc); void glfs_iatt_to_stat (struct glfs *fs, struct iatt *iatt, struct stat *stat); int glfs_loc_link (loc_t *loc, struct iatt *iatt); int glfs_loc_unlink (loc_t *loc); +dict_t * dict_for_key_value (const char *name, const char *value, size_t size); +int glfs_getxattr_process (void *value, size_t size, dict_t *xattr, + const char *name); #endif /* !_GLFS_INTERNAL_H */ |