After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 669801 - exported symbols which are not part of the API
exported symbols which are not part of the API
Status: RESOLVED OBSOLETE
Product: libgda
Classification: Other
Component: general
5.0.x
Other Linux
: Normal normal
: ---
Assigned To: malerba
gnome-db Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-02-10 12:38 UTC by Michael Biebl
Modified: 2018-09-21 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Biebl 2012-02-10 12:38:11 UTC
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_*
Comment 1 Murray Cumming 2015-10-29 13:33:35 UTC
I wonder if this has been dealt with since the bug was reported. For instance:

gda_array_dtd is now _gda_array_dtd .
gda_column_attributes_manager is now _gda_column_attributes_manager .
gda_data_model_dsn_list_get_type is now _gda_data_model_dsn_list_get_type

gda_report_document_run_converter_argv: is now _gda_report_document_run_converter_argv 
gda_report_document_run_converter_path: is now _gda_report_document_run_converter_path
Comment 2 GNOME Infrastructure Team 2018-09-21 13:44:57 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgda/issues/59.