diff options
Diffstat (limited to 'api/src/glfs-internal.h')
-rw-r--r-- | api/src/glfs-internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/src/glfs-internal.h b/api/src/glfs-internal.h index ec1d5579df7..6ed4aeae16f 100644 --- a/api/src/glfs-internal.h +++ b/api/src/glfs-internal.h @@ -60,6 +60,7 @@ typedef int (*glfs_init_cbk) (struct glfs *fs, int ret); struct glfs { char *volname; + uuid_t vol_uuid; glusterfs_ctx_t *ctx; @@ -197,4 +198,7 @@ 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); +/* Sends RPC call to glusterd to fetch required volume info */ +int glfs_get_volume_info (struct glfs *fs); + #endif /* !_GLFS_INTERNAL_H */ |