summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-10-02 18:44:16 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-02 22:19:14 -0700
commitc0c419a3572307e71026144b8907a33b464f6066 (patch)
tree62259e8be3fc5a3d0a63108d2bb83e15bd64a70f /xlators/mgmt/glusterd/src/glusterd-volgen.h
parentff7f17da9e1817c6d02da3e98163fce834b429f6 (diff)
volgen: add a precise getter function which considers default values as well
Signed-off-by: Csaba Henk <csaba@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1750 (clean up volgen) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1750
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.h b/xlators/mgmt/glusterd/src/glusterd-volgen.h
index 3e877fd7b08..fe706ef335c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.h
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.h
@@ -46,4 +46,6 @@ int glusterd_create_nfs_volfile ();
int glusterd_delete_volfile (glusterd_volinfo_t *volinfo,
glusterd_brickinfo_t *brickinfo);
+int glusterd_volinfo_get (glusterd_volinfo_t *volinfo, char *key, char **value);
+
#endif