From 5b4b25c697f93d3dfe352013a442f2ec73fd3b8b Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Tue, 28 Nov 2017 14:44:46 +0530 Subject: xlator: provide a xlator_api_t structure to include all exported options each translator from now on can have just 1 symbol exported called 'xlator_api', which has all the required fields in it. Updates: #164 Change-Id: I48d54f5ec59fee842b1d55877e3ac5e9ec9b6bdd Signed-off-by: Amar Tumballi --- libglusterfs/src/defaults.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libglusterfs/src/defaults.h') diff --git a/libglusterfs/src/defaults.h b/libglusterfs/src/defaults.h index 50f1909b90b..9b4f4828e91 100644 --- a/libglusterfs/src/defaults.h +++ b/libglusterfs/src/defaults.h @@ -1297,4 +1297,8 @@ default_setactivelk_failure_cbk (call_frame_t *frame, int32_t op_errno); int32_t default_mem_acct_init (xlator_t *this); + +void +default_fini (xlator_t *this); + #endif /* _DEFAULTS_H */ -- cgit