diff options
author | Shehjar Tikoo <shehjart@zresearch.com> | 2009-04-20 12:29:40 -0700 |
---|---|---|
committer | Anand V. Avati <avati@amp.gluster.com> | 2009-04-21 12:48:19 +0530 |
commit | 6cd656152901ba19ef52f762d000e329e3f7dbc6 (patch) | |
tree | c281be998d193009338c3f9ab94c4cf6b13577f7 /libglusterfsclient/src/libglusterfsclient.h | |
parent | 86a1c646eeea353643bd6bd5eb040cf584b407c1 (diff) |
libglusterfsclient: Add VMP-based get
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'libglusterfsclient/src/libglusterfsclient.h')
-rwxr-xr-x | libglusterfsclient/src/libglusterfsclient.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libglusterfsclient/src/libglusterfsclient.h b/libglusterfsclient/src/libglusterfsclient.h index b37813dd6aa..71f70e730c1 100755 --- a/libglusterfsclient/src/libglusterfsclient.h +++ b/libglusterfsclient/src/libglusterfsclient.h @@ -91,10 +91,13 @@ glusterfs_fini (glusterfs_handle_t handle); */ int -glusterfs_get (glusterfs_handle_t handle, const char *path, void *buf, +glusterfs_glh_get (glusterfs_handle_t handle, const char *path, void *buf, size_t size, struct stat *stbuf); int +glusterfs_get (const char *path, void *buf, size_t size, struct stat *stbuf); + +int glusterfs_get_async (glusterfs_handle_t handle, const char *path, size_t size, glusterfs_get_cbk_t cbk, void *cbk_data); |