diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-20 12:36:21 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-21 12:50:17 +0530 |
commit | cf22fd1d0430705e226d61ff8d9492925ce95d46 (patch) | |
tree | 746716b3e6a25fb7f850d9f444b35c599d985218 /libglusterfsclient/src/libglusterfsclient.h | |
parent | a9febb4bd30f41681755a0ee925ae3de6f0fa292 (diff) |
libglusterfsclient: Add VMP-based readlink
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index 3a92461fe..e4187d82a 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -338,6 +338,13 @@ glusterfs_glh_symlink (glusterfs_handle_t handle, const char *oldpath, int glusterfs_symlink (const char *oldpath, const char *newpath); + +ssize_t +glusterfs_glh_readlink (glusterfs_handle_t handle, const char *path, char *buf, + size_t bufsize); + +ssize_t +glusterfs_readlink (const char *path, char *buf, size_t bufsize); /* FIXME: review the need for these apis */ /* added for log related initialization in booster fork implementation */ void |