void init_gpfs(void) { init_gpfs_function(&gpfs_set_share_fn, "gpfs_set_share"); init_gpfs_function(&gpfs_set_lease_fn, "gpfs_set_lease"); init_gpfs_function(&gpfs_getacl_fn, "gpfs_getacl"); init_gpfs_function(&gpfs_putacl_fn, "gpfs_putacl"); init_gpfs_function(&gpfs_get_realfilename_path_fn, "gpfs_get_realfilename_path"); init_gpfs_function(&gpfs_get_winattrs_path_fn,"gpfs_get_winattrs_path"); init_gpfs_function(&gpfs_set_winattrs_path_fn,"gpfs_set_winattrs_path"); init_gpfs_function(&gpfs_get_winattrs_fn,"gpfs_get_winattrs"); init_gpfs_function(&gpfs_ftruncate_fn, "gpfs_ftruncate"); init_gpfs_function(&gpfs_lib_init_fn,"gpfs_lib_init"); gpfs_getrealfilename = lp_parm_bool(-1, "gpfs", "getrealfilename", True); gpfs_winattr = lp_parm_bool(-1, "gpfs", "winattr", False); gpfs_do_ftruncate = lp_parm_bool(-1, "gpfs", "ftruncate", True); return; }
void init_gpfs(void) { init_gpfs_function(&gpfs_set_share_fn, "gpfs_set_share"); init_gpfs_function(&gpfs_set_lease_fn, "gpfs_set_lease"); init_gpfs_function(&gpfs_getacl_fn, "gpfs_getacl"); init_gpfs_function(&gpfs_putacl_fn, "gpfs_putacl"); init_gpfs_function(&gpfs_get_realfilename_path_fn, "gpfs_get_realfilename_path"); init_gpfs_function(&gpfs_get_winattrs_path_fn,"gpfs_get_winattrs_path"); init_gpfs_function(&gpfs_set_winattrs_path_fn,"gpfs_set_winattrs_path"); init_gpfs_function(&gpfs_get_winattrs_fn,"gpfs_get_winattrs"); init_gpfs_function(&gpfs_prealloc_fn, "gpfs_prealloc"); init_gpfs_function(&gpfs_ftruncate_fn, "gpfs_ftruncate"); init_gpfs_function(&gpfs_lib_init_fn,"gpfs_lib_init"); init_gpfs_function(&gpfs_set_times_path_fn, "gpfs_set_times_path"); init_gpfs_function(&gpfs_quotactl_fn, "gpfs_quotactl"); init_gpfs_function(&gpfs_fcntl_fn, "gpfs_fcntl"); init_gpfs_function(&gpfs_getfilesetid_fn, "gpfs_getfilesetid"); return; }