Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Part 2 Developing Applications by APIs | > Chapter 11 Developing C Applications | > 11.1 C API Overview |
Connection handles maintain connection information. They can be used to open or close connections. For example, when a connection is established, the connection handle retains the host information of the connection destination (host name and port number). And because it is possible to create multiple connection handles with a single process, connection handles can also be used in multi-thread environments.
Connection handles can be used to perform the following operations.
Function name |
Overview |
---|---|
ShunSetConnectAttr |
Set connection attributes |
ShunGetConnectAttr |
Obtain connection attributes |
ShunConnect |
Establish a connection |
ShunDisconnect |
Close a connection |
ShunCommit |
Finish a transaction |
ShunRollback |
Cancel a transaction |
Contents
Index
![]() ![]() |