for i in db.h.in ../*/*.[ch] ../*/*.cc 
do
echo $i
perl -pi -e 's/CDB_//g' $i
perl -pi -e '
s/\b__absname\b/CDB___absname/g;
s/\b__bam_adj_log\b/CDB___bam_adj_log/g;
s/\b__bam_adj_print\b/CDB___bam_adj_print/g;
s/\b__bam_adj_read\b/CDB___bam_adj_read/g;
s/\b__bam_adj_recover\b/CDB___bam_adj_recover/g;
s/\b__bam_adjindx\b/CDB___bam_adjindx/g;
s/\b__bam_adjust\b/CDB___bam_adjust/g;
s/\b__bam_broot\b/CDB___bam_broot/g;
s/\b__bam_build\b/CDB___bam_build/g;
s/\b__bam_c_close\b/CDB___bam_c_close/g;
s/\b__bam_c_del\b/CDB___bam_c_del/g;
s/\b__bam_c_destroy\b/CDB___bam_c_destroy/g;
s/\b__bam_c_dup\b/CDB___bam_c_dup/g;
s/\b__bam_c_first\b/CDB___bam_c_first/g;
s/\b__bam_c_get\b/CDB___bam_c_get/g;
s/\b__bam_c_getstack\b/CDB___bam_c_getstack/g;
s/\b__bam_c_init\b/CDB___bam_c_init/g;
s/\b__bam_c_last\b/CDB___bam_c_last/g;
s/\b__bam_c_next\b/CDB___bam_c_next/g;
s/\b__bam_c_physdel\b/CDB___bam_c_physdel/g;
s/\b__bam_c_prev\b/CDB___bam_c_prev/g;
s/\b__bam_c_put\b/CDB___bam_c_put/g;
s/\b__bam_c_reset\b/CDB___bam_c_reset/g;
s/\b__bam_c_rget\b/CDB___bam_c_rget/g;
s/\b__bam_c_search\b/CDB___bam_c_search/g;
s/\b__bam_ca_delete\b/CDB___bam_ca_delete/g;
s/\b__bam_ca_di\b/CDB___bam_ca_di/g;
s/\b__bam_ca_dup\b/CDB___bam_ca_dup/g;
s/\b__bam_ca_repl\b/CDB___bam_ca_repl/g;
s/\b__bam_ca_rsplit\b/CDB___bam_ca_rsplit/g;
s/\b__bam_ca_split\b/CDB___bam_ca_split/g;
s/\b__bam_cadjust_log\b/CDB___bam_cadjust_log/g;
s/\b__bam_cadjust_print\b/CDB___bam_cadjust_print/g;
s/\b__bam_cadjust_read\b/CDB___bam_cadjust_read/g;
s/\b__bam_cadjust_recover\b/CDB___bam_cadjust_recover/g;
s/\b__bam_cdel_log\b/CDB___bam_cdel_log/g;
s/\b__bam_cdel_print\b/CDB___bam_cdel_print/g;
s/\b__bam_cdel_read\b/CDB___bam_cdel_read/g;
s/\b__bam_cdel_recover\b/CDB___bam_cdel_recover/g;
s/\b__bam_cmp\b/CDB___bam_cmp/g;
s/\b__bam_copy\b/CDB___bam_copy/g;
s/\b__bam_cprint\b/CDB___bam_cprint/g;
s/\b__bam_db_close\b/CDB___bam_db_close/g;
s/\b__bam_db_create\b/CDB___bam_db_create/g;
s/\b__bam_defcmp\b/CDB___bam_defcmp/g;
s/\b__bam_defpfx\b/CDB___bam_defpfx/g;
s/\b__bam_delete\b/CDB___bam_delete/g;
s/\b__bam_ditem\b/CDB___bam_ditem/g;
s/\b__bam_dpage\b/CDB___bam_dpage/g;
s/\b__bam_dpages\b/CDB___bam_dpages/g;
s/\b__bam_dsearch\b/CDB___bam_dsearch/g;
s/\b__bam_dup\b/CDB___bam_dup/g;
s/\b__bam_iitem\b/CDB___bam_iitem/g;
s/\b__bam_init_print\b/CDB___bam_init_print/g;
s/\b__bam_init_recover\b/CDB___bam_init_recover/g;
s/\b__bam_metachk\b/CDB___bam_metachk/g;
s/\b__bam_mswap\b/CDB___bam_mswap/g;
s/\b__bam_ndup\b/CDB___bam_ndup/g;
s/\b__bam_nrecs\b/CDB___bam_nrecs/g;
s/\b__bam_open\b/CDB___bam_open/g;
s/\b__bam_ovput\b/CDB___bam_ovput/g;
s/\b__bam_page\b/CDB___bam_page/g;
s/\b__bam_partsize\b/CDB___bam_partsize/g;
s/\b__bam_pg_alloc_log\b/CDB___bam_pg_alloc_log/g;
s/\b__bam_pg_alloc_print\b/CDB___bam_pg_alloc_print/g;
s/\b__bam_pg_alloc_read\b/CDB___bam_pg_alloc_read/g;
s/\b__bam_pg_alloc_recover\b/CDB___bam_pg_alloc_recover/g;
s/\b__bam_pg_free_log\b/CDB___bam_pg_free_log/g;
s/\b__bam_pg_free_print\b/CDB___bam_pg_free_print/g;
s/\b__bam_pg_free_read\b/CDB___bam_pg_free_read/g;
s/\b__bam_pg_free_recover\b/CDB___bam_pg_free_recover/g;
s/\b__bam_pgin\b/CDB___bam_pgin/g;
s/\b__bam_pgout\b/CDB___bam_pgout/g;
s/\b__bam_pinsert\b/CDB___bam_pinsert/g;
s/\b__bam_psplit\b/CDB___bam_psplit/g;
s/\b__bam_read_root\b/CDB___bam_read_root/g;
s/\b__bam_reclaim\b/CDB___bam_reclaim/g;
s/\b__bam_repl_log\b/CDB___bam_repl_log/g;
s/\b__bam_repl_print\b/CDB___bam_repl_print/g;
s/\b__bam_repl_read\b/CDB___bam_repl_read/g;
s/\b__bam_repl_recover\b/CDB___bam_repl_recover/g;
s/\b__bam_ritem\b/CDB___bam_ritem/g;
s/\b__bam_root\b/CDB___bam_root/g;
s/\b__bam_root_log\b/CDB___bam_root_log/g;
s/\b__bam_root_print\b/CDB___bam_root_print/g;
s/\b__bam_root_read\b/CDB___bam_root_read/g;
s/\b__bam_root_recover\b/CDB___bam_root_recover/g;
s/\b__bam_rsearch\b/CDB___bam_rsearch/g;
s/\b__bam_rsplit_log\b/CDB___bam_rsplit_log/g;
s/\b__bam_rsplit_print\b/CDB___bam_rsplit_print/g;
s/\b__bam_rsplit_read\b/CDB___bam_rsplit_read/g;
s/\b__bam_rsplit_recover\b/CDB___bam_rsplit_recover/g;
s/\b__bam_search\b/CDB___bam_search/g;
s/\b__bam_set_bt_compare\b/CDB___bam_set_bt_compare/g;
s/\b__bam_set_bt_maxkey\b/CDB___bam_set_bt_maxkey/g;
s/\b__bam_set_bt_minkey\b/CDB___bam_set_bt_minkey/g;
s/\b__bam_set_bt_prefix\b/CDB___bam_set_bt_prefix/g;
s/\b__bam_set_flags\b/CDB___bam_set_flags/g;
s/\b__bam_setovflsize\b/CDB___bam_setovflsize/g;
s/\b__bam_split\b/CDB___bam_split/g;
s/\b__bam_split_log\b/CDB___bam_split_log/g;
s/\b__bam_split_print\b/CDB___bam_split_print/g;
s/\b__bam_split_read\b/CDB___bam_split_read/g;
s/\b__bam_split_recover\b/CDB___bam_split_recover/g;
s/\b__bam_stat\b/CDB___bam_stat/g;
s/\b__bam_stat_callback\b/CDB___bam_stat_callback/g;
s/\b__bam_stkgrow\b/CDB___bam_stkgrow/g;
s/\b__bam_stkrel\b/CDB___bam_stkrel/g;
s/\b__bam_total\b/CDB___bam_total/g;
s/\b__bam_traverse\b/CDB___bam_traverse/g;
s/\b__bam_upgrade\b/CDB___bam_upgrade/g;
s/\b__bam_upgrade6\b/CDB___bam_upgrade6/g;
s/\b__bhcmp\b/CDB___bhcmp/g;
s/\b__bucket_to_page\b/CDB___bucket_to_page/g;
s/\b__build_data\b/CDB___build_data/g;
s/\b__cmpfunc\b/CDB___cmpfunc/g;
s/\b__crdel_delete_log\b/CDB___crdel_delete_log/g;
s/\b__crdel_delete_print\b/CDB___crdel_delete_print/g;
s/\b__crdel_delete_read\b/CDB___crdel_delete_read/g;
s/\b__crdel_delete_recover\b/CDB___crdel_delete_recover/g;
s/\b__crdel_fileopen_log\b/CDB___crdel_fileopen_log/g;
s/\b__crdel_fileopen_print\b/CDB___crdel_fileopen_print/g;
s/\b__crdel_fileopen_read\b/CDB___crdel_fileopen_read/g;
s/\b__crdel_fileopen_recover\b/CDB___crdel_fileopen_recover/g;
s/\b__crdel_init_print\b/CDB___crdel_init_print/g;
s/\b__crdel_init_recover\b/CDB___crdel_init_recover/g;
s/\b__crdel_metapage_log\b/CDB___crdel_metapage_log/g;
s/\b__crdel_metapage_print\b/CDB___crdel_metapage_print/g;
s/\b__crdel_metapage_read\b/CDB___crdel_metapage_read/g;
s/\b__crdel_metapage_recover\b/CDB___crdel_metapage_recover/g;
s/\b__crdel_metasub_log\b/CDB___crdel_metasub_log/g;
s/\b__crdel_metasub_print\b/CDB___crdel_metasub_print/g;
s/\b__crdel_metasub_read\b/CDB___crdel_metasub_read/g;
s/\b__crdel_metasub_recover\b/CDB___crdel_metasub_recover/g;
s/\b__db_add_recovery\b/CDB___db_add_recovery/g;
s/\b__db_addpage\b/CDB___db_addpage/g;
s/\b__db_addpage_log\b/CDB___db_addpage_log/g;
s/\b__db_addpage_print\b/CDB___db_addpage_print/g;
s/\b__db_addpage_read\b/CDB___db_addpage_read/g;
s/\b__db_addpage_recover\b/CDB___db_addpage_recover/g;
s/\b__db_addrem_log\b/CDB___db_addrem_log/g;
s/\b__db_addrem_print\b/CDB___db_addrem_print/g;
s/\b__db_addrem_read\b/CDB___db_addrem_read/g;
s/\b__db_addrem_recover\b/CDB___db_addrem_recover/g;
s/\b__db_appname\b/CDB___db_appname/g;
s/\b__db_apprec\b/CDB___db_apprec/g;
s/\b__db_backup_name\b/CDB___db_backup_name/g;
s/\b__db_big_log\b/CDB___db_big_log/g;
s/\b__db_big_print\b/CDB___db_big_print/g;
s/\b__db_big_read\b/CDB___db_big_read/g;
s/\b__db_big_recover\b/CDB___db_big_recover/g;
s/\b__db_bmeta\b/CDB___db_bmeta/g;
s/\b__db_byteorder\b/CDB___db_byteorder/g;
s/\b__db_byteswap\b/CDB___db_byteswap/g;
s/\b__db_c_close\b/CDB___db_c_close/g;
s/\b__db_c_destroy\b/CDB___db_c_destroy/g;
s/\b__db_c_dup\b/CDB___db_c_dup/g;
s/\b__db_cdelchk\b/CDB___db_cdelchk/g;
s/\b__db_cgetchk\b/CDB___db_cgetchk/g;
s/\b__db_close\b/CDB___db_close/g;
s/\b__db_closechk\b/CDB___db_closechk/g;
s/\b__db_cprint\b/CDB___db_cprint/g;
s/\b__db_cputchk\b/CDB___db_cputchk/g;
s/\b__db_cursor\b/CDB___db_cursor/g;
s/\b__db_cursorchk\b/CDB___db_cursorchk/g;
s/\b__db_dbenv_setup\b/CDB___db_dbenv_setup/g;
s/\b__db_dbopen\b/CDB___db_dbopen/g;
s/\b__db_ddup\b/CDB___db_ddup/g;
s/\b__db_debug_log\b/CDB___db_debug_log/g;
s/\b__db_debug_print\b/CDB___db_debug_print/g;
s/\b__db_debug_read\b/CDB___db_debug_read/g;
s/\b__db_debug_recover\b/CDB___db_debug_recover/g;
s/\b__db_delchk\b/CDB___db_delchk/g;
s/\b__db_dend\b/CDB___db_dend/g;
s/\b__db_des_destroy\b/CDB___db_des_destroy/g;
s/\b__db_des_get\b/CDB___db_des_get/g;
s/\b__db_dispatch\b/CDB___db_dispatch/g;
s/\b__db_ditem\b/CDB___db_ditem/g;
s/\b__db_doff\b/CDB___db_doff/g;
s/\b__db_dput\b/CDB___db_dput/g;
s/\b__db_drem\b/CDB___db_drem/g;
s/\b__db_dsearch\b/CDB___db_dsearch/g;
s/\b__db_dsplit\b/CDB___db_dsplit/g;
s/\b__db_dump\b/CDB___db_dump/g;
s/\b__db_e_attach\b/CDB___db_e_attach/g;
s/\b__db_e_detach\b/CDB___db_e_detach/g;
s/\b__db_e_remfile\b/CDB___db_e_remfile/g;
s/\b__db_e_remove\b/CDB___db_e_remove/g;
s/\b__db_e_stat\b/CDB___db_e_stat/g;
s/\b__db_env_config\b/CDB___db_env_config/g;
s/\b__db_eopnotsup\b/CDB___db_eopnotsup/g;
s/\b__db_err\b/CDB___db_err/g;
s/\b__db_errcall\b/CDB___db_errcall/g;
s/\b__db_errfile\b/CDB___db_errfile/g;
s/\b__db_faultmem\b/CDB___db_faultmem/g;
s/\b__db_fcchk\b/CDB___db_fcchk/g;
s/\b__db_fchk\b/CDB___db_fchk/g;
s/\b__db_fcntl_mutex_init\b/CDB___db_fcntl_mutex_init/g;
s/\b__db_fcntl_mutex_lock\b/CDB___db_fcntl_mutex_lock/g;
s/\b__db_fcntl_mutex_unlock\b/CDB___db_fcntl_mutex_unlock/g;
s/\b__db_fd\b/CDB___db_fd/g;
s/\b__db_ferr\b/CDB___db_ferr/g;
s/\b__db_file_setup\b/CDB___db_file_setup/g;
s/\b__db_fileid_to_db\b/CDB___db_fileid_to_db/g;
s/\b__db_free\b/CDB___db_free/g;
s/\b__db_get\b/CDB___db_get/g;
s/\b__db_get_byteswapped\b/CDB___db_get_byteswapped/g;
s/\b__db_get_type\b/CDB___db_get_type/g;
s/\b__db_getchk\b/CDB___db_getchk/g;
s/\b__db_getlong\b/CDB___db_getlong/g;
s/\b__db_goff\b/CDB___db_goff/g;
s/\b__db_hashinit\b/CDB___db_hashinit/g;
s/\b__db_hmeta\b/CDB___db_hmeta/g;
s/\b__db_home\b/CDB___db_home/g;
s/\b__db_init\b/CDB___db_init/g;
s/\b__db_init_print\b/CDB___db_init_print/g;
s/\b__db_init_recover\b/CDB___db_init_recover/g;
s/\b__db_isbad\b/CDB___db_isbad/g;
s/\b__db_join\b/CDB___db_join/g;
s/\b__db_join_close\b/CDB___db_join_close/g;
s/\b__db_join_del\b/CDB___db_join_del/g;
s/\b__db_join_get\b/CDB___db_join_get/g;
s/\b__db_join_getnext\b/CDB___db_join_getnext/g;
s/\b__db_join_put\b/CDB___db_join_put/g;
s/\b__db_joinchk\b/CDB___db_joinchk/g;
s/\b__db_keyempty\b/CDB___db_keyempty/g;
s/\b__db_lget\b/CDB___db_lget/g;
s/\b__db_loadme\b/CDB___db_loadme/g;
s/\b__db_log2\b/CDB___db_log2/g;
s/\b__db_log_page\b/CDB___db_log_page/g;
s/\b__db_logmsg\b/CDB___db_logmsg/g;
s/\b__db_lt\b/CDB___db_lt/g;
s/\b__db_map_rmid\b/CDB___db_map_rmid/g;
s/\b__db_map_xid\b/CDB___db_map_xid/g;
s/\b__db_master_open\b/CDB___db_master_open/g;
s/\b__db_master_update\b/CDB___db_master_update/g;
s/\b__db_meta\b/CDB___db_meta/g;
s/\b__db_metabegin\b/CDB___db_metabegin/g;
s/\b__db_metaend\b/CDB___db_metaend/g;
s/\b__db_metaswap\b/CDB___db_metaswap/g;
s/\b__db_mi_env\b/CDB___db_mi_env/g;
s/\b__db_mi_open\b/CDB___db_mi_open/g;
s/\b__db_moff\b/CDB___db_moff/g;
s/\b__db_mutex_alloc\b/CDB___db_mutex_alloc/g;
s/\b__db_mutex_free\b/CDB___db_mutex_free/g;
s/\b__db_name\b/CDB___db_name/g;
s/\b__db_new\b/CDB___db_new/g;
s/\b__db_noop_log\b/CDB___db_noop_log/g;
s/\b__db_noop_print\b/CDB___db_noop_print/g;
s/\b__db_noop_read\b/CDB___db_noop_read/g;
s/\b__db_noop_recover\b/CDB___db_noop_recover/g;
s/\b__db_oflags\b/CDB___db_oflags/g;
s/\b__db_omode\b/CDB___db_omode/g;
s/\b__db_open\b/CDB___db_open/g;
s/\b__db_ovref\b/CDB___db_ovref/g;
s/\b__db_ovref_log\b/CDB___db_ovref_log/g;
s/\b__db_ovref_print\b/CDB___db_ovref_print/g;
s/\b__db_ovref_read\b/CDB___db_ovref_read/g;
s/\b__db_ovref_recover\b/CDB___db_ovref_recover/g;
s/\b__db_panic\b/CDB___db_panic/g;
s/\b__db_panic_msg\b/CDB___db_panic_msg/g;
s/\b__db_parse\b/CDB___db_parse/g;
s/\b__db_pgerr\b/CDB___db_pgerr/g;
s/\b__db_pgfmt\b/CDB___db_pgfmt/g;
s/\b__db_pgin\b/CDB___db_pgin/g;
s/\b__db_pgout\b/CDB___db_pgout/g;
s/\b__db_pitem\b/CDB___db_pitem/g;
s/\b__db_poff\b/CDB___db_poff/g;
s/\b__db_pr\b/CDB___db_pr/g;
s/\b__db_prdb\b/CDB___db_prdb/g;
s/\b__db_prdbt\b/CDB___db_prdbt/g;
s/\b__db_prflags\b/CDB___db_prflags/g;
s/\b__db_prinit\b/CDB___db_prinit/g;
s/\b__db_prnpage\b/CDB___db_prnpage/g;
s/\b__db_proff\b/CDB___db_proff/g;
s/\b__db_prpage\b/CDB___db_prpage/g;
s/\b__db_prtree\b/CDB___db_prtree/g;
s/\b__db_psize\b/CDB___db_psize/g;
s/\b__db_pthread_mutex_init\b/CDB___db_pthread_mutex_init/g;
s/\b__db_pthread_mutex_lock\b/CDB___db_pthread_mutex_lock/g;
s/\b__db_pthread_mutex_unlock\b/CDB___db_pthread_mutex_unlock/g;
s/\b__db_put\b/CDB___db_put/g;
s/\b__db_putchk\b/CDB___db_putchk/g;
s/\b__db_qmeta\b/CDB___db_qmeta/g;
s/\b__db_r_attach\b/CDB___db_r_attach/g;
s/\b__db_r_detach\b/CDB___db_r_detach/g;
s/\b__db_rdonly\b/CDB___db_rdonly/g;
s/\b__db_real_err\b/CDB___db_real_err/g;
s/\b__db_reclaim_callback\b/CDB___db_reclaim_callback/g;
s/\b__db_refresh\b/CDB___db_refresh/g;
s/\b__db_relink\b/CDB___db_relink/g;
s/\b__db_relink_log\b/CDB___db_relink_log/g;
s/\b__db_relink_print\b/CDB___db_relink_print/g;
s/\b__db_relink_read\b/CDB___db_relink_read/g;
s/\b__db_relink_recover\b/CDB___db_relink_recover/g;
s/\b__db_remove\b/CDB___db_remove/g;
s/\b__db_remove_callback\b/CDB___db_remove_callback/g;
s/\b__db_removechk\b/CDB___db_removechk/g;
s/\b__db_ret\b/CDB___db_ret/g;
s/\b__db_retcopy\b/CDB___db_retcopy/g;
s/\b__db_rmid_to_env\b/CDB___db_rmid_to_env/g;
s/\b__db_rpath\b/CDB___db_rpath/g;
s/\b__db_set_cachesize\b/CDB___db_set_cachesize/g;
s/\b__db_set_dup_compare\b/CDB___db_set_dup_compare/g;
s/\b__db_set_errcall\b/CDB___db_set_errcall/g;
s/\b__db_set_errfile\b/CDB___db_set_errfile/g;
s/\b__db_set_errpfx\b/CDB___db_set_errpfx/g;
s/\b__db_set_feedback\b/CDB___db_set_feedback/g;
s/\b__db_set_flags\b/CDB___db_set_flags/g;
s/\b__db_set_lorder\b/CDB___db_set_lorder/g;
s/\b__db_set_malloc\b/CDB___db_set_malloc/g;
s/\b__db_set_pagesize\b/CDB___db_set_pagesize/g;
s/\b__db_set_paniccall\b/CDB___db_set_paniccall/g;
s/\b__db_set_pgsize\b/CDB___db_set_pgsize/g;
s/\b__db_set_realloc\b/CDB___db_set_realloc/g;
s/\b__db_shalloc\b/CDB___db_shalloc/g;
s/\b__db_shalloc_count\b/CDB___db_shalloc_count/g;
s/\b__db_shalloc_dump\b/CDB___db_shalloc_dump/g;
s/\b__db_shalloc_free\b/CDB___db_shalloc_free/g;
s/\b__db_shalloc_init\b/CDB___db_shalloc_init/g;
s/\b__db_shsizeof\b/CDB___db_shsizeof/g;
s/\b__db_split_log\b/CDB___db_split_log/g;
s/\b__db_split_print\b/CDB___db_split_print/g;
s/\b__db_split_read\b/CDB___db_split_read/g;
s/\b__db_split_recover\b/CDB___db_split_recover/g;
s/\b__db_statchk\b/CDB___db_statchk/g;
s/\b__db_subdb_remove\b/CDB___db_subdb_remove/g;
s/\b__db_sync\b/CDB___db_sync/g;
s/\b__db_syncchk\b/CDB___db_syncchk/g;
s/\b__db_tablesize\b/CDB___db_tablesize/g;
s/\b__db_tas_mutex_init\b/CDB___db_tas_mutex_init/g;
s/\b__db_tas_mutex_lock\b/CDB___db_tas_mutex_lock/g;
s/\b__db_tas_mutex_unlock\b/CDB___db_tas_mutex_unlock/g;
s/\b__db_tmp_open\b/CDB___db_tmp_open/g;
s/\b__db_traverse_big\b/CDB___db_traverse_big/g;
s/\b__db_traverse_dup\b/CDB___db_traverse_dup/g;
s/\b__db_txnlist_add\b/CDB___db_txnlist_add/g;
s/\b__db_txnlist_close\b/CDB___db_txnlist_close/g;
s/\b__db_txnlist_delete\b/CDB___db_txnlist_delete/g;
s/\b__db_txnlist_end\b/CDB___db_txnlist_end/g;
s/\b__db_txnlist_find\b/CDB___db_txnlist_find/g;
s/\b__db_txnlist_gen\b/CDB___db_txnlist_gen/g;
s/\b__db_txnlist_init\b/CDB___db_txnlist_init/g;
s/\b__db_txnlist_print\b/CDB___db_txnlist_print/g;
s/\b__db_unmap_rmid\b/CDB___db_unmap_rmid/g;
s/\b__db_unmap_xid\b/CDB___db_unmap_xid/g;
s/\b__db_upgrade\b/CDB___db_upgrade/g;
s/\b__db_xa_close\b/CDB___db_xa_close/g;
s/\b__db_xa_commit\b/CDB___db_xa_commit/g;
s/\b__db_xa_complete\b/CDB___db_xa_complete/g;
s/\b__db_xa_create\b/CDB___db_xa_create/g;
s/\b__db_xa_end\b/CDB___db_xa_end/g;
s/\b__db_xa_forget\b/CDB___db_xa_forget/g;
s/\b__db_xa_open\b/CDB___db_xa_open/g;
s/\b__db_xa_prepare\b/CDB___db_xa_prepare/g;
s/\b__db_xa_recover\b/CDB___db_xa_recover/g;
s/\b__db_xa_rollback\b/CDB___db_xa_rollback/g;
s/\b__db_xa_start\b/CDB___db_xa_start/g;
s/\b__db_xid_to_txn\b/CDB___db_xid_to_txn/g;
s/\b__dbenv_close\b/CDB___dbenv_close/g;
s/\b__dbenv_config\b/CDB___dbenv_config/g;
s/\b__dbenv_err\b/CDB___dbenv_err/g;
s/\b__dbenv_errx\b/CDB___dbenv_errx/g;
s/\b__dbenv_init\b/CDB___dbenv_init/g;
s/\b__dbenv_open\b/CDB___dbenv_open/g;
s/\b__dbenv_refresh\b/CDB___dbenv_refresh/g;
s/\b__dbenv_remove\b/CDB___dbenv_remove/g;
s/\b__dbenv_set_errcall\b/CDB___dbenv_set_errcall/g;
s/\b__dbenv_set_errfile\b/CDB___dbenv_set_errfile/g;
s/\b__dbenv_set_errpfx\b/CDB___dbenv_set_errpfx/g;
s/\b__dbenv_set_feedback\b/CDB___dbenv_set_feedback/g;
s/\b__dbenv_set_mutexlocks\b/CDB___dbenv_set_mutexlocks/g;
s/\b__dbenv_set_pageyield\b/CDB___dbenv_set_pageyield/g;
s/\b__dbenv_set_panic\b/CDB___dbenv_set_panic/g;
s/\b__dbenv_set_paniccall\b/CDB___dbenv_set_paniccall/g;
s/\b__dbenv_set_recovery_init\b/CDB___dbenv_set_recovery_init/g;
s/\b__dbenv_set_region_init\b/CDB___dbenv_set_region_init/g;
s/\b__dbenv_set_tas_spins\b/CDB___dbenv_set_tas_spins/g;
s/\b__dbenv_set_verbose\b/CDB___dbenv_set_verbose/g;
s/\b__dbh_am_chk\b/CDB___dbh_am_chk/g;
s/\b__dbh_err\b/CDB___dbh_err/g;
s/\b__dbh_errx\b/CDB___dbh_errx/g;
s/\b__dbt_ferr\b/CDB___dbt_ferr/g;
s/\b__dd_abort\b/CDB___dd_abort/g;
s/\b__dd_build\b/CDB___dd_build/g;
s/\b__dd_find\b/CDB___dd_find/g;
s/\b__ham_add_dup\b/CDB___ham_add_dup/g;
s/\b__ham_add_el\b/CDB___ham_add_el/g;
s/\b__ham_add_ovflpage\b/CDB___ham_add_ovflpage/g;
s/\b__ham_alloc_pages\b/CDB___ham_alloc_pages/g;
s/\b__ham_c_close\b/CDB___ham_c_close/g;
s/\b__ham_c_del\b/CDB___ham_c_del/g;
s/\b__ham_c_destroy\b/CDB___ham_c_destroy/g;
s/\b__ham_c_dup\b/CDB___ham_c_dup/g;
s/\b__ham_c_get\b/CDB___ham_c_get/g;
s/\b__ham_c_init\b/CDB___ham_c_init/g;
s/\b__ham_c_put\b/CDB___ham_c_put/g;
s/\b__ham_c_update\b/CDB___ham_c_update/g;
s/\b__ham_ca_split\b/CDB___ham_ca_split/g;
s/\b__ham_call_hash\b/CDB___ham_call_hash/g;
s/\b__ham_check_move\b/CDB___ham_check_move/g;
s/\b__ham_copy_item\b/CDB___ham_copy_item/g;
s/\b__ham_copypage_log\b/CDB___ham_copypage_log/g;
s/\b__ham_copypage_print\b/CDB___ham_copypage_print/g;
s/\b__ham_copypage_read\b/CDB___ham_copypage_read/g;
s/\b__ham_copypage_recover\b/CDB___ham_copypage_recover/g;
s/\b__ham_cprint\b/CDB___ham_cprint/g;
s/\b__ham_db_close\b/CDB___ham_db_close/g;
s/\b__ham_db_create\b/CDB___ham_db_create/g;
s/\b__ham_del_pair\b/CDB___ham_del_pair/g;
s/\b__ham_delete\b/CDB___ham_delete/g;
s/\b__ham_dirty_meta\b/CDB___ham_dirty_meta/g;
s/\b__ham_dirty_page\b/CDB___ham_dirty_page/g;
s/\b__ham_dpair\b/CDB___ham_dpair/g;
s/\b__ham_dsearch\b/CDB___ham_dsearch/g;
s/\b__ham_dup_convert\b/CDB___ham_dup_convert/g;
s/\b__ham_dup_return\b/CDB___ham_dup_return/g;
s/\b__ham_expand_table\b/CDB___ham_expand_table/g;
s/\b__ham_free_pages\b/CDB___ham_free_pages/g;
s/\b__ham_func2\b/CDB___ham_func2/g;
s/\b__ham_func3\b/CDB___ham_func3/g;
s/\b__ham_func4\b/CDB___ham_func4/g;
s/\b__ham_func5\b/CDB___ham_func5/g;
s/\b__ham_get_clist\b/CDB___ham_get_clist/g;
s/\b__ham_get_cpage\b/CDB___ham_get_cpage/g;
s/\b__ham_get_meta\b/CDB___ham_get_meta/g;
s/\b__ham_get_page\b/CDB___ham_get_page/g;
s/\b__ham_groupalloc_log\b/CDB___ham_groupalloc_log/g;
s/\b__ham_groupalloc_print\b/CDB___ham_groupalloc_print/g;
s/\b__ham_groupalloc_read\b/CDB___ham_groupalloc_read/g;
s/\b__ham_groupalloc_recover\b/CDB___ham_groupalloc_recover/g;
s/\b__ham_init_dbt\b/CDB___ham_init_dbt/g;
s/\b__ham_init_htab\b/CDB___ham_init_htab/g;
s/\b__ham_init_print\b/CDB___ham_init_print/g;
s/\b__ham_init_recover\b/CDB___ham_init_recover/g;
s/\b__ham_insdel_log\b/CDB___ham_insdel_log/g;
s/\b__ham_insdel_print\b/CDB___ham_insdel_print/g;
s/\b__ham_insdel_read\b/CDB___ham_insdel_read/g;
s/\b__ham_insdel_recover\b/CDB___ham_insdel_recover/g;
s/\b__ham_item\b/CDB___ham_item/g;
s/\b__ham_item_done\b/CDB___ham_item_done/g;
s/\b__ham_item_first\b/CDB___ham_item_first/g;
s/\b__ham_item_init\b/CDB___ham_item_init/g;
s/\b__ham_item_last\b/CDB___ham_item_last/g;
s/\b__ham_item_next\b/CDB___ham_item_next/g;
s/\b__ham_item_prev\b/CDB___ham_item_prev/g;
s/\b__ham_item_reset\b/CDB___ham_item_reset/g;
s/\b__ham_lock_bucket\b/CDB___ham_lock_bucket/g;
s/\b__ham_lookup\b/CDB___ham_lookup/g;
s/\b__ham_make_dup\b/CDB___ham_make_dup/g;
s/\b__ham_metachk\b/CDB___ham_metachk/g;
s/\b__ham_metagroup_log\b/CDB___ham_metagroup_log/g;
s/\b__ham_metagroup_print\b/CDB___ham_metagroup_print/g;
s/\b__ham_metagroup_read\b/CDB___ham_metagroup_read/g;
s/\b__ham_metagroup_recover\b/CDB___ham_metagroup_recover/g;
s/\b__ham_move_offpage\b/CDB___ham_move_offpage/g;
s/\b__ham_mswap\b/CDB___ham_mswap/g;
s/\b__ham_newpage_log\b/CDB___ham_newpage_log/g;
s/\b__ham_newpage_print\b/CDB___ham_newpage_print/g;
s/\b__ham_newpage_read\b/CDB___ham_newpage_read/g;
s/\b__ham_newpage_recover\b/CDB___ham_newpage_recover/g;
s/\b__ham_newpgno_log\b/CDB___ham_newpgno_log/g;
s/\b__ham_newpgno_print\b/CDB___ham_newpgno_print/g;
s/\b__ham_newpgno_read\b/CDB___ham_newpgno_read/g;
s/\b__ham_newpgno_recover\b/CDB___ham_newpgno_recover/g;
s/\b__ham_next_cpage\b/CDB___ham_next_cpage/g;
s/\b__ham_onpage_replace\b/CDB___ham_onpage_replace/g;
s/\b__ham_open\b/CDB___ham_open/g;
s/\b__ham_overwrite\b/CDB___ham_overwrite/g;
s/\b__ham_ovfl_log\b/CDB___ham_ovfl_log/g;
s/\b__ham_ovfl_print\b/CDB___ham_ovfl_print/g;
s/\b__ham_ovfl_read\b/CDB___ham_ovfl_read/g;
s/\b__ham_ovfl_recover\b/CDB___ham_ovfl_recover/g;
s/\b__ham_pgin\b/CDB___ham_pgin/g;
s/\b__ham_pgout\b/CDB___ham_pgout/g;
s/\b__ham_put_page\b/CDB___ham_put_page/g;
s/\b__ham_putitem\b/CDB___ham_putitem/g;
s/\b__ham_reclaim\b/CDB___ham_reclaim/g;
s/\b__ham_release_meta\b/CDB___ham_release_meta/g;
s/\b__ham_replace_log\b/CDB___ham_replace_log/g;
s/\b__ham_replace_print\b/CDB___ham_replace_print/g;
s/\b__ham_replace_read\b/CDB___ham_replace_read/g;
s/\b__ham_replace_recover\b/CDB___ham_replace_recover/g;
s/\b__ham_replpair\b/CDB___ham_replpair/g;
s/\b__ham_reputpair\b/CDB___ham_reputpair/g;
s/\b__ham_set_h_ffactor\b/CDB___ham_set_h_ffactor/g;
s/\b__ham_set_h_hash\b/CDB___ham_set_h_hash/g;
s/\b__ham_set_h_nelem\b/CDB___ham_set_h_nelem/g;
s/\b__ham_split_page\b/CDB___ham_split_page/g;
s/\b__ham_splitdata_log\b/CDB___ham_splitdata_log/g;
s/\b__ham_splitdata_print\b/CDB___ham_splitdata_print/g;
s/\b__ham_splitdata_read\b/CDB___ham_splitdata_read/g;
s/\b__ham_splitdata_recover\b/CDB___ham_splitdata_recover/g;
s/\b__ham_splitmeta_log\b/CDB___ham_splitmeta_log/g;
s/\b__ham_splitmeta_print\b/CDB___ham_splitmeta_print/g;
s/\b__ham_splitmeta_read\b/CDB___ham_splitmeta_read/g;
s/\b__ham_splitmeta_recover\b/CDB___ham_splitmeta_recover/g;
s/\b__ham_stat\b/CDB___ham_stat/g;
s/\b__ham_stat_callback\b/CDB___ham_stat_callback/g;
s/\b__ham_traverse\b/CDB___ham_traverse/g;
s/\b__ham_upgrade\b/CDB___ham_upgrade/g;
s/\b__ham_upgrade5\b/CDB___ham_upgrade5/g;
s/\b__lock_addfamilylocker\b/CDB___lock_addfamilylocker/g;
s/\b__lock_checklocker\b/CDB___lock_checklocker/g;
s/\b__lock_close\b/CDB___lock_close/g;
s/\b__lock_cmp\b/CDB___lock_cmp/g;
s/\b__lock_dbenv_close\b/CDB___lock_dbenv_close/g;
s/\b__lock_dbenv_create\b/CDB___lock_dbenv_create/g;
s/\b__lock_downgrade\b/CDB___lock_downgrade/g;
s/\b__lock_dump_locker\b/CDB___lock_dump_locker/g;
s/\b__lock_dump_object\b/CDB___lock_dump_object/g;
s/\b__lock_dump_region\b/CDB___lock_dump_region/g;
s/\b__lock_dump_status\b/CDB___lock_dump_status/g;
s/\b__lock_freefamilylocker\b/CDB___lock_freefamilylocker/g;
s/\b__lock_freelocker\b/CDB___lock_freelocker/g;
s/\b__lock_get_internal\b/CDB___lock_get_internal/g;
s/\b__lock_getlocker\b/CDB___lock_getlocker/g;
s/\b__lock_getobj\b/CDB___lock_getobj/g;
s/\b__lock_init\b/CDB___lock_init/g;
s/\b__lock_is_parent\b/CDB___lock_is_parent/g;
s/\b__lock_lhash\b/CDB___lock_lhash/g;
s/\b__lock_locker_cmp\b/CDB___lock_locker_cmp/g;
s/\b__lock_locker_hash\b/CDB___lock_locker_hash/g;
s/\b__lock_ohash\b/CDB___lock_ohash/g;
s/\b__lock_open\b/CDB___lock_open/g;
s/\b__lock_printlock\b/CDB___lock_printlock/g;
s/\b__lock_promote\b/CDB___lock_promote/g;
s/\b__lock_put_internal\b/CDB___lock_put_internal/g;
s/\b__lock_put_nolock\b/CDB___lock_put_nolock/g;
s/\b__lock_region_size\b/CDB___lock_region_size/g;
s/\b__lock_remove_waiter\b/CDB___lock_remove_waiter/g;
s/\b__lock_set_lk_conflicts\b/CDB___lock_set_lk_conflicts/g;
s/\b__lock_set_lk_detect\b/CDB___lock_set_lk_detect/g;
s/\b__lock_set_lk_max\b/CDB___lock_set_lk_max/g;
s/\b__log_add_logid\b/CDB___log_add_logid/g;
s/\b__log_close\b/CDB___log_close/g;
s/\b__log_close_files\b/CDB___log_close_files/g;
s/\b__log_dbenv_create\b/CDB___log_dbenv_create/g;
s/\b__log_do_open\b/CDB___log_do_open/g;
s/\b__log_fill\b/CDB___log_fill/g;
s/\b__log_find\b/CDB___log_find/g;
s/\b__log_findckp\b/CDB___log_findckp/g;
s/\b__log_flush\b/CDB___log_flush/g;
s/\b__log_get\b/CDB___log_get/g;
s/\b__log_init\b/CDB___log_init/g;
s/\b__log_init_print\b/CDB___log_init_print/g;
s/\b__log_init_recover\b/CDB___log_init_recover/g;
s/\b__log_lid_to_fname\b/CDB___log_lid_to_fname/g;
s/\b__log_name\b/CDB___log_name/g;
s/\b__log_newfh\b/CDB___log_newfh/g;
s/\b__log_open\b/CDB___log_open/g;
s/\b__log_open_file\b/CDB___log_open_file/g;
s/\b__log_put\b/CDB___log_put/g;
s/\b__log_putr\b/CDB___log_putr/g;
s/\b__log_recover\b/CDB___log_recover/g;
s/\b__log_register_log\b/CDB___log_register_log/g;
s/\b__log_register_print\b/CDB___log_register_print/g;
s/\b__log_register_read\b/CDB___log_register_read/g;
s/\b__log_register_recover\b/CDB___log_register_recover/g;
s/\b__log_rem_logid\b/CDB___log_rem_logid/g;
s/\b__log_set_lg_bsize\b/CDB___log_set_lg_bsize/g;
s/\b__log_set_lg_max\b/CDB___log_set_lg_max/g;
s/\b__log_valid\b/CDB___log_valid/g;
s/\b__log_write\b/CDB___log_write/g;
s/\b__lsn_diff\b/CDB___lsn_diff/g;
s/\b__mcache_init\b/CDB___mcache_init/g;
s/\b__memp_alloc\b/CDB___memp_alloc/g;
s/\b__memp_bhfree\b/CDB___memp_bhfree/g;
s/\b__memp_bhwrite\b/CDB___memp_bhwrite/g;
s/\b__memp_close\b/CDB___memp_close/g;
s/\b__memp_cmpr\b/CDB___memp_cmpr/g;
s/\b__memp_cmpr_alloc\b/CDB___memp_cmpr_alloc/g;
s/\b__memp_cmpr_alloc_chain\b/CDB___memp_cmpr_alloc_chain/g;
s/\b__memp_cmpr_close\b/CDB___memp_cmpr_close/g;
s/\b__memp_cmpr_coefficient\b/CDB___memp_cmpr_coefficient/g;
s/\b__memp_cmpr_deflate\b/CDB___memp_cmpr_deflate/g;
s/\b__memp_cmpr_free\b/CDB___memp_cmpr_free/g;
s/\b__memp_cmpr_free_chain\b/CDB___memp_cmpr_free_chain/g;
s/\b__memp_cmpr_inflate\b/CDB___memp_cmpr_inflate/g;
s/\b__memp_cmpr_info_valid\b/CDB___memp_cmpr_info_valid/g;
s/\b__memp_cmpr_open\b/CDB___memp_cmpr_open/g;
s/\b__memp_cmpr_page\b/CDB___memp_cmpr_page/g;
s/\b__memp_cmpr_read\b/CDB___memp_cmpr_read/g;
s/\b__memp_cmpr_write\b/CDB___memp_cmpr_write/g;
s/\b__memp_dbenv_create\b/CDB___memp_dbenv_create/g;
s/\b__memp_dump_region\b/CDB___memp_dump_region/g;
s/\b__memp_dumpcache\b/CDB___memp_dumpcache/g;
s/\b__memp_fn\b/CDB___memp_fn/g;
s/\b__memp_fns\b/CDB___memp_fns/g;
s/\b__memp_fopen\b/CDB___memp_fopen/g;
s/\b__memp_fremove\b/CDB___memp_fremove/g;
s/\b__memp_fsync\b/CDB___memp_fsync/g;
s/\b__memp_mf_close\b/CDB___memp_mf_close/g;
s/\b__memp_mf_open\b/CDB___memp_mf_open/g;
s/\b__memp_open\b/CDB___memp_open/g;
s/\b__memp_pbh\b/CDB___memp_pbh/g;
s/\b__memp_pg\b/CDB___memp_pg/g;
s/\b__memp_pgread\b/CDB___memp_pgread/g;
s/\b__memp_pgwrite\b/CDB___memp_pgwrite/g;
s/\b__memp_sballoc\b/CDB___memp_sballoc/g;
s/\b__memp_set_cachesize\b/CDB___memp_set_cachesize/g;
s/\b__memp_set_mp_mmapsize\b/CDB___memp_set_mp_mmapsize/g;
s/\b__memp_trick\b/CDB___memp_trick/g;
s/\b__memp_upgrade\b/CDB___memp_upgrade/g;
s/\b__mp_xxx_fh\b/CDB___mp_xxx_fh/g;
s/\b__mpool_init\b/CDB___mpool_init/g;
s/\b__os_abspath\b/CDB___os_abspath/g;
s/\b__os_calloc\b/CDB___os_calloc/g;
s/\b__os_closehandle\b/CDB___os_closehandle/g;
s/\b__os_dbenv_create\b/CDB___os_dbenv_create/g;
s/\b__os_dirfree\b/CDB___os_dirfree/g;
s/\b__os_dirlist\b/CDB___os_dirlist/g;
s/\b__os_exists\b/CDB___os_exists/g;
s/\b__os_fileid\b/CDB___os_fileid/g;
s/\b__os_finit\b/CDB___os_finit/g;
s/\b__os_fpinit\b/CDB___os_fpinit/g;
s/\b__os_free\b/CDB___os_free/g;
s/\b__os_freestr\b/CDB___os_freestr/g;
s/\b__os_fsync\b/CDB___os_fsync/g;
s/\b__os_get_errno\b/CDB___os_get_errno/g;
s/\b__os_io\b/CDB___os_io/g;
s/\b__os_ioinfo\b/CDB___os_ioinfo/g;
s/\b__os_isroot\b/CDB___os_isroot/g;
s/\b__os_malloc\b/CDB___os_malloc/g;
s/\b__os_map\b/CDB___os_map/g;
s/\b__os_mapfile\b/CDB___os_mapfile/g;
s/\b__os_open\b/CDB___os_open/g;
s/\b__os_openhandle\b/CDB___os_openhandle/g;
s/\b__os_r_attach\b/CDB___os_r_attach/g;
s/\b__os_r_detach\b/CDB___os_r_detach/g;
s/\b__os_r_sysattach\b/CDB___os_r_sysattach/g;
s/\b__os_r_sysdetach\b/CDB___os_r_sysdetach/g;
s/\b__os_read\b/CDB___os_read/g;
s/\b__os_realloc\b/CDB___os_realloc/g;
s/\b__os_rename\b/CDB___os_rename/g;
s/\b__os_seek\b/CDB___os_seek/g;
s/\b__os_set_errno\b/CDB___os_set_errno/g;
s/\b__os_set_func_close\b/CDB___os_set_func_close/g;
s/\b__os_set_func_dirfree\b/CDB___os_set_func_dirfree/g;
s/\b__os_set_func_dirlist\b/CDB___os_set_func_dirlist/g;
s/\b__os_set_func_exists\b/CDB___os_set_func_exists/g;
s/\b__os_set_func_free\b/CDB___os_set_func_free/g;
s/\b__os_set_func_fsync\b/CDB___os_set_func_fsync/g;
s/\b__os_set_func_ioinfo\b/CDB___os_set_func_ioinfo/g;
s/\b__os_set_func_malloc\b/CDB___os_set_func_malloc/g;
s/\b__os_set_func_map\b/CDB___os_set_func_map/g;
s/\b__os_set_func_open\b/CDB___os_set_func_open/g;
s/\b__os_set_func_read\b/CDB___os_set_func_read/g;
s/\b__os_set_func_realloc\b/CDB___os_set_func_realloc/g;
s/\b__os_set_func_rename\b/CDB___os_set_func_rename/g;
s/\b__os_set_func_seek\b/CDB___os_set_func_seek/g;
s/\b__os_set_func_sleep\b/CDB___os_set_func_sleep/g;
s/\b__os_set_func_unlink\b/CDB___os_set_func_unlink/g;
s/\b__os_set_func_unmap\b/CDB___os_set_func_unmap/g;
s/\b__os_set_func_write\b/CDB___os_set_func_write/g;
s/\b__os_set_func_yield\b/CDB___os_set_func_yield/g;
s/\b__os_sleep\b/CDB___os_sleep/g;
s/\b__os_spin\b/CDB___os_spin/g;
s/\b__os_strdup\b/CDB___os_strdup/g;
s/\b__os_sysconf\b/CDB___os_sysconf/g;
s/\b__os_tmpdir\b/CDB___os_tmpdir/g;
s/\b__os_unlink\b/CDB___os_unlink/g;
s/\b__os_unmapfile\b/CDB___os_unmapfile/g;
s/\b__os_write\b/CDB___os_write/g;
s/\b__os_yield\b/CDB___os_yield/g;
s/\b__qam_add_log\b/CDB___qam_add_log/g;
s/\b__qam_add_print\b/CDB___qam_add_print/g;
s/\b__qam_add_read\b/CDB___qam_add_read/g;
s/\b__qam_add_recover\b/CDB___qam_add_recover/g;
s/\b__qam_c_close\b/CDB___qam_c_close/g;
s/\b__qam_c_del\b/CDB___qam_c_del/g;
s/\b__qam_c_destroy\b/CDB___qam_c_destroy/g;
s/\b__qam_c_dup\b/CDB___qam_c_dup/g;
s/\b__qam_c_get\b/CDB___qam_c_get/g;
s/\b__qam_c_init\b/CDB___qam_c_init/g;
s/\b__qam_c_put\b/CDB___qam_c_put/g;
s/\b__qam_db_close\b/CDB___qam_db_close/g;
s/\b__qam_db_create\b/CDB___qam_db_create/g;
s/\b__qam_del_log\b/CDB___qam_del_log/g;
s/\b__qam_del_print\b/CDB___qam_del_print/g;
s/\b__qam_del_read\b/CDB___qam_del_read/g;
s/\b__qam_del_recover\b/CDB___qam_del_recover/g;
s/\b__qam_delete\b/CDB___qam_delete/g;
s/\b__qam_getno\b/CDB___qam_getno/g;
s/\b__qam_i_delete\b/CDB___qam_i_delete/g;
s/\b__qam_i_put\b/CDB___qam_i_put/g;
s/\b__qam_inc_log\b/CDB___qam_inc_log/g;
s/\b__qam_inc_print\b/CDB___qam_inc_print/g;
s/\b__qam_inc_read\b/CDB___qam_inc_read/g;
s/\b__qam_inc_recover\b/CDB___qam_inc_recover/g;
s/\b__qam_incfirst_log\b/CDB___qam_incfirst_log/g;
s/\b__qam_incfirst_print\b/CDB___qam_incfirst_print/g;
s/\b__qam_incfirst_read\b/CDB___qam_incfirst_read/g;
s/\b__qam_incfirst_recover\b/CDB___qam_incfirst_recover/g;
s/\b__qam_init_print\b/CDB___qam_init_print/g;
s/\b__qam_init_recover\b/CDB___qam_init_recover/g;
s/\b__qam_metachk\b/CDB___qam_metachk/g;
s/\b__qam_mswap\b/CDB___qam_mswap/g;
s/\b__qam_mvptr_log\b/CDB___qam_mvptr_log/g;
s/\b__qam_mvptr_print\b/CDB___qam_mvptr_print/g;
s/\b__qam_mvptr_read\b/CDB___qam_mvptr_read/g;
s/\b__qam_mvptr_recover\b/CDB___qam_mvptr_recover/g;
s/\b__qam_nrecs\b/CDB___qam_nrecs/g;
s/\b__qam_open\b/CDB___qam_open/g;
s/\b__qam_pgin_out\b/CDB___qam_pgin_out/g;
s/\b__qam_pitem\b/CDB___qam_pitem/g;
s/\b__qam_position\b/CDB___qam_position/g;
s/\b__qam_put\b/CDB___qam_put/g;
s/\b__qam_stat\b/CDB___qam_stat/g;
s/\b__ram_add\b/CDB___ram_add/g;
s/\b__ram_c_del\b/CDB___ram_c_del/g;
s/\b__ram_c_get\b/CDB___ram_c_get/g;
s/\b__ram_c_put\b/CDB___ram_c_put/g;
s/\b__ram_ca\b/CDB___ram_ca/g;
s/\b__ram_delete\b/CDB___ram_delete/g;
s/\b__ram_fmap\b/CDB___ram_fmap/g;
s/\b__ram_getno\b/CDB___ram_getno/g;
s/\b__ram_i_delete\b/CDB___ram_i_delete/g;
s/\b__ram_open\b/CDB___ram_open/g;
s/\b__ram_put\b/CDB___ram_put/g;
s/\b__ram_root\b/CDB___ram_root/g;
s/\b__ram_set_flags\b/CDB___ram_set_flags/g;
s/\b__ram_set_re_delim\b/CDB___ram_set_re_delim/g;
s/\b__ram_set_re_len\b/CDB___ram_set_re_len/g;
s/\b__ram_set_re_pad\b/CDB___ram_set_re_pad/g;
s/\b__ram_set_re_source\b/CDB___ram_set_re_source/g;
s/\b__ram_source\b/CDB___ram_source/g;
s/\b__ram_update\b/CDB___ram_update/g;
s/\b__ram_vmap\b/CDB___ram_vmap/g;
s/\b__ram_writeback\b/CDB___ram_writeback/g;
s/\b__txn_activekids\b/CDB___txn_activekids/g;
s/\b__txn_begin\b/CDB___txn_begin/g;
s/\b__txn_check_running\b/CDB___txn_check_running/g;
s/\b__txn_child_log\b/CDB___txn_child_log/g;
s/\b__txn_child_print\b/CDB___txn_child_print/g;
s/\b__txn_child_read\b/CDB___txn_child_read/g;
s/\b__txn_child_recover\b/CDB___txn_child_recover/g;
s/\b__txn_ckp_log\b/CDB___txn_ckp_log/g;
s/\b__txn_ckp_print\b/CDB___txn_ckp_print/g;
s/\b__txn_ckp_read\b/CDB___txn_ckp_read/g;
s/\b__txn_ckp_recover\b/CDB___txn_ckp_recover/g;
s/\b__txn_close\b/CDB___txn_close/g;
s/\b__txn_count\b/CDB___txn_count/g;
s/\b__txn_dbenv_create\b/CDB___txn_dbenv_create/g;
s/\b__txn_end\b/CDB___txn_end/g;
s/\b__txn_freekids\b/CDB___txn_freekids/g;
s/\b__txn_init\b/CDB___txn_init/g;
s/\b__txn_init_print\b/CDB___txn_init_print/g;
s/\b__txn_init_recover\b/CDB___txn_init_recover/g;
s/\b__txn_is_ancestor\b/CDB___txn_is_ancestor/g;
s/\b__txn_lsn\b/CDB___txn_lsn/g;
s/\b__txn_makefamily\b/CDB___txn_makefamily/g;
s/\b__txn_open\b/CDB___txn_open/g;
s/\b__txn_regop_log\b/CDB___txn_regop_log/g;
s/\b__txn_regop_print\b/CDB___txn_regop_print/g;
s/\b__txn_regop_read\b/CDB___txn_regop_read/g;
s/\b__txn_regop_recover\b/CDB___txn_regop_recover/g;
s/\b__txn_set_tx_max\b/CDB___txn_set_tx_max/g;
s/\b__txn_set_tx_recover\b/CDB___txn_set_tx_recover/g;
s/\b__txn_undo\b/CDB___txn_undo/g;
s/\b__txn_xa_begin\b/CDB___txn_xa_begin/g;
s/\b__txn_xa_regop_log\b/CDB___txn_xa_regop_log/g;
s/\b__txn_xa_regop_print\b/CDB___txn_xa_regop_print/g;
s/\b__txn_xa_regop_read\b/CDB___txn_xa_regop_read/g;
s/\b__txn_xa_regop_recover\b/CDB___txn_xa_regop_recover/g;
s/\b__ua_memcpy\b/CDB___ua_memcpy/g;
s/\b__usermem\b/CDB___usermem/g;
s/\b__xa_close\b/CDB___xa_close/g;
s/\b__xa_cursor\b/CDB___xa_cursor/g;
s/\b__xa_del\b/CDB___xa_del/g;
s/\b__xa_get\b/CDB___xa_get/g;
s/\b__xa_put\b/CDB___xa_put/g;
s/\b__xa_txn_end\b/CDB___xa_txn_end/g;
s/\b__xa_txn_init\b/CDB___xa_txn_init/g;
s/\bdb_create\b/CDB_db_create/g;
s/\bdb_env_create\b/CDB_db_env_create/g;
s/\bdb_strerror\b/CDB_db_strerror/g;
s/\bdb_version\b/CDB_db_version/g;
s/\block_detect\b/CDB_lock_detect/g;
s/\block_get\b/CDB_lock_get/g;
s/\block_id\b/CDB_lock_id/g;
s/\block_put\b/CDB_lock_put/g;
s/\block_stat\b/CDB_lock_stat/g;
s/\block_vec\b/CDB_lock_vec/g;
s/\blog_archive\b/CDB_log_archive/g;
s/\blog_compare\b/CDB_log_compare/g;
s/\blog_file\b/CDB_log_file/g;
s/\blog_flush\b/CDB_log_flush/g;
s/\blog_get\b/CDB_log_get/g;
s/\blog_put\b/CDB_log_put/g;
s/\blog_register\b/CDB_log_register/g;
s/\blog_stat\b/CDB_log_stat/g;
s/\blog_unregister\b/CDB_log_unregister/g;
s/\bmemp_fclose\b/CDB_memp_fclose/g;
s/\bmemp_fget\b/CDB_memp_fget/g;
s/\bmemp_fopen\b/CDB_memp_fopen/g;
s/\bmemp_fput\b/CDB_memp_fput/g;
s/\bmemp_fset\b/CDB_memp_fset/g;
s/\bmemp_fsync\b/CDB_memp_fsync/g;
s/\bmemp_register\b/CDB_memp_register/g;
s/\bmemp_stat\b/CDB_memp_stat/g;
s/\bmemp_sync\b/CDB_memp_sync/g;
s/\bmemp_trickle\b/CDB_memp_trickle/g;
s/\btxn_abort\b/CDB_txn_abort/g;
s/\btxn_begin\b/CDB_txn_begin/g;
s/\btxn_checkpoint\b/CDB_txn_checkpoint/g;
s/\btxn_commit\b/CDB_txn_commit/g;
s/\btxn_id\b/CDB_txn_id/g;
s/\btxn_prepare\b/CDB_txn_prepare/g;
s/\btxn_stat\b/CDB_txn_stat/g;
s/\b__db_global_values\b/CDB___db_global_values/g;
s/\bdb_riw_conflicts\b/CDB_db_riw_conflicts/g;
s/\bdb_rw_conflicts\b/CDB_db_rw_conflicts/g;
s/\bdb_xa_switch\b/CDB_db_xa_switch/g;
s/\b__db_jump\b/CDB___db_jump/g;
' $i
done
