[unixODBC-dev] odbcinst exported symbols

Stefan Radman Stefan.Radman at CTBTO.ORG
Fri Dec 10 08:37:07 GMT 2004


> Yep, may as well only export what we need. Thanks.
Naturally :-)

What does the official API comprise of?
Please check the list below:
--- odbcinst.h ---
SQLInstallODBC
SQLManageDataSources
SQLCreateDataSource
SQLGetTranslator
SQLInstallDriver
SQLInstallDriverManager
SQLGetInstalledDrivers
SQLGetAvailableDrivers
SQLConfigDataSource
SQLRemoveDefaultDataSource
SQLWriteDSNToIni
SQLRemoveDSNFromIni
SQLValidDSN
SQLWritePrivateProfileString
SQLGetPrivateProfileString
SQLRemoveDriverManager
SQLInstallTranslator
SQLRemoveTranslator
SQLRemoveDriver
SQLConfigDriver
SQLInstallerError
SQLPostInstallerError
SQLWriteFileDSN
SQLReadFileDSN
SQLInstallDriverEx
SQLInstallTranslatorEx
SQLGetConfigMode
SQLSetConfigMode
--- odbcinstext.h ---
ODBCINSTConstructProperties
ODBCINSTSetProperty
ODBCINSTDestructProperties
ODBCINSTAddProperty
ODBCINSTValidateProperty
ODBCINSTValidateProperties
----

The last 3 functions in odbcinst.h were left out intentionally because
they are imports (exported by driver).

Did I miss anything? Anything that does not need to be exported?

Stefan
> -----Original Message-----
> From: unixodbc-dev-bounces at easysoft.com 
> [mailto:unixodbc-dev-bounces at easysoft.com] On Behalf Of Nick Gorham
> Sent: Friday, 10 December, 2004 07:49
> To: Development issues and topics for unixODBC
> Subject: Re: [unixODBC-dev] odbcinst exported symbols
> 
> 
> Stefan Radman wrote:
> 
> >Nick, 
> >
> >Looking at the odbcinst code I realised that there is no
> >
> >    -export-symbols @srcdir@/odbcinst.exp
> >
> >in odbcinst/Makefile
> >and certainly no odbcinst.exp
> >
> >Care for a patch? ;-)
> >  
> >
> Yep, may as well only export what we need. Thanks.
> 
> -- 
> Nick
> _______________________________________________
> unixODBC-dev mailing list
> unixODBC-dev at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-dev
> 




More information about the unixODBC-dev mailing list