diff options
author | Amar Tumballi <amarts@redhat.com> | 2017-11-28 14:44:46 +0530 |
---|---|---|
committer | Kaushal M <kaushal@redhat.com> | 2017-11-30 09:16:13 +0000 |
commit | 5b4b25c697f93d3dfe352013a442f2ec73fd3b8b (patch) | |
tree | f9bf3452741e702cf5774924fc70eb82d7831d2e /libglusterfs/src/defaults.h | |
parent | 3460b8cfc550f272bdae588e8929b75b105ab06b (diff) |
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 <amarts@redhat.com>
Diffstat (limited to 'libglusterfs/src/defaults.h')
-rw-r--r-- | libglusterfs/src/defaults.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |