From 1cc15f9b0057cd6c8843c8b9cbb36c02d334ec6f Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Sat, 2 Oct 2010 07:30:37 +0000 Subject: xlator: make it possible to do type setting and dynamic loading separately Signed-off-by: Csaba Henk Signed-off-by: Vijay Bellur BUG: 1750 (clean up volgen) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1750 --- libglusterfs/src/xlator.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libglusterfs/src/xlator.h') diff --git a/libglusterfs/src/xlator.h b/libglusterfs/src/xlator.h index 618cf202..217ad97b 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); -- cgit