The symbols which are used via dlopen()/dlsym() need to be exported,
in future we'll do hide all other symbols.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14780
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
#define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */
#endif
-const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
+_PUBLIC_ const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
.minor_version = 0,
.init = smb_krb5_adns_locator_init,
.fini = smb_krb5_adns_locator_close,
free(str);
}
-krb5_error_code
+_PUBLIC_ krb5_error_code
localauth_winbind_initvt(krb5_context context,
int maj_ver,
int min_ver,
krb5_plugin_vtable vtable);
-krb5_error_code
+_PUBLIC_ krb5_error_code
localauth_winbind_initvt(krb5_context context,
int maj_ver,
int min_ver,
#define SMB_KRB5_LOCATOR_SYMBOL_NAME service_locator /* MIT */
#endif
-const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
+_PUBLIC_ const krb5plugin_service_locate_ftable SMB_KRB5_LOCATOR_SYMBOL_NAME = {
.minor_version = 0,
.init = smb_krb5_locator_init,
.fini = smb_krb5_locator_close,