/** * Fix configuration after reading it. * Currently this read some environment variables and replace some options. */ void tds_fix_login(TDSLOGIN * login) { /* Now check the environment variables */ tds_config_env_tdsver(login); tds_config_env_tdsdump(login); tds_config_env_tdsport(login); tds_config_env_tdshost(login); }
/** * Fix configuration after reading it. * Currently this read some environment variables and replace some options. */ void tds_fix_connect(TDSCONNECTINFO * connect_info) { /* Now check the environment variables */ tds_config_env_tdsver(connect_info); tds_config_env_tdsdump(connect_info); tds_config_env_tdsport(connect_info); tds_config_env_tdsquery(connect_info); tds_config_env_tdshost(connect_info); }