freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Frediano Ziglio <freddyz77 AT tin.it>
- To: FreeTDS <freetds AT franklin.oit.unc.edu>
- Subject: tds_login and tds_config
- Date: 14 Oct 2002 23:08:48 +0200
I started replacing tds_login parameter of tds_connect in tds_config.
I note that these structure are very similar.
I suggest to remove these two structure and add a tds_connect_info
structure. tds_config store many information copied from tds_login...
So, client allocate tds_connect_info, fill some info (like servername),
add information with a tds_read_config_info(TDSCONNECTINFO) (similar to
get_config_info) and then call tds_connect(TDSSOCKET, TDSCONNECTINFO).
Odbc instead can fill all info without calling tds_read_config_info,
doing a freetds.conf'less connection.
Other opinion? (Usually I start coding but I think is time to sleep now
:) )
freddy77
-
tds_login and tds_config,
Frediano Ziglio, 10/14/2002
- <Possible follow-up(s)>
- Re: tds_login and tds_config, Brian Bruns, 10/14/2002
- Re: tds_login and tds_config, Frediano Ziglio, 10/15/2002
- Re: tds_login and tds_config, Brian Bruns, 10/15/2002
Archive powered by MHonArc 2.6.24.