From 76f6dfdf50e9bb8905fc485e3519510e29e283be Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Sat, 27 Apr 2013 11:59:36 -0700 Subject: gfapi: add new API glfs_set_xlator_option() This is the equivalent of specifying --xlator-option command line argument to glusterfsd. Change-Id: I1171dd518a85db4bd456fa0790f450e889a956cd BUG: 953694 Signed-off-by: Anand Avati Reviewed-on: http://review.gluster.org/5157 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- api/src/glfs.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api/src/glfs.h') diff --git a/api/src/glfs.h b/api/src/glfs.h index 7fecffb697a..aeabfdf0b4f 100644 --- a/api/src/glfs.h +++ b/api/src/glfs.h @@ -301,6 +301,9 @@ int glfs_close (glfs_fd_t *fd); glfs_t *glfs_from_glfd (glfs_fd_t *fd); +int glfs_set_xlator_option (glfs_t *fs, const char *xlator, const char *key, + const char *value); + typedef void (*glfs_io_cbk) (glfs_fd_t *fd, ssize_t ret, void *data); // glfs_{read,write}[_async] -- cgit