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 |
The C APIs are interfaces used to manipulate Shunsaku data from applications written in C.
Applications that use C APIs create a connection handle to connect to Shunsaku and then create a data manipulation handle to perform searches and updates.
The following diagram provides an overview of the C APIs.
As the above diagram indicates, there are two types of C API handle: The connection handle and the data manipulation handle.
Handle |
Overview |
Creation lifetime |
---|---|---|
Connection handle |
Opens and closes connections. |
Created for each connection. |
Data manipulation handle |
Performs data searches and updates and retains search results |
Created for each data manipulation. |
The two types of handle are in a parent-child relationship. Data manipulation handles are allocated on the basis of a connection handle. When a connection handle is released, the data manipulation handle(s) will also be released.
Contents
Index
![]() ![]() |