summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/xlator.h
diff options
context:
space:
mode:
authorCsaba Henk <csaba@gluster.com>2010-10-02 07:30:37 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-02 06:30:14 -0700
commit1cc15f9b0057cd6c8843c8b9cbb36c02d334ec6f (patch)
treeb568ef8419466aa95e9822ba3a331f936f100e38 /libglusterfs/src/xlator.h
parent73c6b2f21a67bed186a279adacb4eb28eafcd853 (diff)
xlator: make it possible to do type setting and dynamic loading separately
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 'libglusterfs/src/xlator.h')
-rw-r--r--libglusterfs/src/xlator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h
index 618cf2025..217ad97bb 100644
--- a/libglusterfs/src/xlator.h
+++ b/libglusterfs/src/xlator.h
@@ -828,8 +828,12 @@ struct _xlator {
int validate_xlator_volume_options (xlator_t *xl, volume_option_t *opt);
+int32_t xlator_set_type_virtual (xlator_t *xl, const char *type);
+
int32_t xlator_set_type (xlator_t *xl, const char *type);
+int32_t xlator_dynload (xlator_t *xl);
+
xlator_t *file_to_xlator_tree (glusterfs_ctx_t *ctx,
FILE *fp);