(mdatabase__dir_list): Renamed from mdb_dir_list. (get_database_stream): New function. (load_database): Use get_database_stream. (M_database_hook): New variable (mdatabase__init): Initialize M_database_hook. (mdatabase__load_for_keys): New function. (mdatabase_find, mdatabase_list, mdatabase_define): Check hook function. (mdatabase_define): Free mdb->extra_info if necessary.
(mdatabase__dir_list): Renamed from mdb_dir_list.
(get_database_stream): New function.
(load_database): Use get_database_stream.
(M_database_hook): New variable
(mdatabase__init): Initialize M_database_hook.
(mdatabase__load_for_keys): New function.
(mdatabase_find, mdatabase_list, mdatabase_define): Check hook
function.
(mdatabase_define): Free mdb->extra_info if necessary.

xmirror/m17n-lib,xmirror/m17n-lib,xmirror/m17n-lib,xmirror/m17n-lib