exported symbols which are not part of the API
@mbiebl
Submitted by Michael Biebl Assigned to mal..@..db.org
Link to original bug (#669801)
Description
Version: 5.0.3
While preparting symbols files for Debian, I noticed that the libgda libraries export quite a few symbols which are not part of the API (checked by grepping over /usr/include/libgda). (I didn't check the ui libraries as I used --without-ui)
libgda:
fnYM49765777344607__gda_gbr_find_bin_dir fnYM49765777344607__gda_gbr_find_data_dir fnYM49765777344607__gda_gbr_find_etc_dir fnYM49765777344607__gda_gbr_find_exe fnYM49765777344607__gda_gbr_find_exe_dir fnYM49765777344607__gda_gbr_find_lib_dir fnYM49765777344607__gda_gbr_find_libexec_dir fnYM49765777344607__gda_gbr_find_locale_dir fnYM49765777344607__gda_gbr_find_prefix fnYM49765777344607__gda_gbr_find_sbin_dir gda_array_dtd gda_column_attributes_manager gda_data_model_dsn_list_get_type gda_data_model_iter_get_column_for_param gda_dir_blob_get_filename gda_dir_blob_op_get_type gda_dir_blob_op_new gda_dir_blob_set_filename gda_holder_get_alphanum_id gda_meta_struct_add_db_object gda_meta_struct_load_from_xml_file gda_server_op_dtd gda_sql_delimiter gda_sql_delimiterAlloc gda_sql_delimiterFree gda_sql_delimiterTrace gda_sql_parserAlloc gda_sql_parserFree gda_sql_parserTrace gda_tree_node_attributes_manager gda_vconnection_data_model_table_data_free gda_vconnection_get_table_data_by_model gda_vconnection_get_table_data_by_name gda_vconnection_get_table_data_by_unique_name
libgda-xslt:
gda_xslt_bk_fun_checkif gda_xslt_bk_fun_getnodeset gda_xslt_bk_fun_getvalue gda_xslt_bk_section gda_xslt_extension_init gda_xslt_extension_shutdown gda_xslt_holder_set_value
libgda-report:
gda_report_document_run_converter_argv gda_report_document_run_converter_path
Those symbols should be hidden if they are not meant to be public. An easy way is to use -export-symbols-regex=gda_* and name the private symbols gda*
Version: 5.0.x