summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.h
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-10-05 07:34:45 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-05 06:21:57 -0700
commit4c7ca7ec15760681703450dc9279a8c3cf8b98c0 (patch)
treead3ae14f179fa2309ac8fddcfbd7b13b4622c4af /xlators/mgmt/glusterd/src/glusterd-utils.h
parent6b74f3ec7b6e0fed2e253df456b067fc27049117 (diff)
mgmt/glusterd: send volume options to friendv3.1.0qa41
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1816 (send volume options in friend add) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1816
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h
index 74b837773fc..79a15c02267 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.h
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.h
@@ -43,6 +43,12 @@ struct glusterd_lock_ {
time_t timestamp;
};
+typedef struct glusterd_volopt_ctx_ {
+ dict_t *dict;
+ int count;
+ int opt_count;
+} glusterd_volopt_ctx_t;
+
typedef int (*glusterd_condition_func) (glusterd_volinfo_t *volinfo,
glusterd_brickinfo_t *brickinfo,
void *ctx);
@@ -144,9 +150,6 @@ int32_t
glusterd_nfs_server_stop ();
int
-glusterd_file_copy (int out, int in);
-
-int
glusterd_remote_hostname_get (rpcsvc_request_t *req,
char *remote_host, int len);
int32_t