forked from FreeTDS/freetds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce CS_INTERRUPT_CB and corresponding return values: CS_INT_*.
Define CS_INTERRUPT_CB's numeric value alongside other CS_*_CBs'; start a new 94xx range to avoid confusion with properties. (Sybase/SAP ctlib has no such callback.) Allow specification on either the connection or the context level as usual, with the help of a shim installed on demand to minimize interference with tds_select's optimization for the no-handler case. For CS_INT_*, copy TDS_INT_* and confirm their equality at compile time as with CS_NULLTERM et al. Signed-off-by: Aaron M. Ucko <ucko@ncbi.nlm.nih.gov>
- Loading branch information
Showing
5 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters