]> git.ipfire.org Git - thirdparty/samba.git/commit
vfs_ceph_new: Dynamically open library for 'proxy' mode
authorGuenther Deschner <gd@samba.org>
Thu, 5 Sep 2024 07:49:52 +0000 (13:19 +0530)
committerAnoop C S <anoopcs@samba.org>
Thu, 12 Sep 2024 15:36:31 +0000 (15:36 +0000)
commit47812a279118befbaeffdd6c81e3d49b071f04c5
tree90e5e0ed6379c262dd61ee9e2a2f88177fd86987
parent90464bdcafda0f0f0e4d2b549fd1675c076ee188
vfs_ceph_new: Dynamically open library for 'proxy' mode

Use dlopen() to load either of the shared libraries(libcephfs.so or
libcephfs_proxy.so) based on the configuration for 'proxy' module
parameter. Further down the line we will define the required APIs
as function pointers within the config structure.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15703

Pair-Programmed-With: Anoop C S <anoopcs@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Anoop C S <anoopcs@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/modules/vfs_ceph_new.c