Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Appendix N C APIs Used in V6.0L30 and Earlier

This appendix details the C APIs used in V6.0L30 and earlier.

The following table shows the APIs that Shunsaku provides for use by applications created with the C programming language.

[Table N-1 C APIs]

Function name

Description

shunadd

Adds the specified XML document to Shunsaku.

shundeletebyrecid

Deletes an XML document by sending its conductor control information and record identifier to Shunsaku.

shunsearch1

Sends a search request to Shunsaku, and receives only the number of hits as the result.

shunsearch2

Sends a search request and a return expression to Shunsaku, and receives the number of hits, conductor control information, the record identifier and the XML document for the specified item as the results.

shunsearch3

Sends the conductor control information and record identifier for the search target to Shunsaku, and receives the applicable XML document as the result.

shunsort

Sends a search request, a return expression and a sort expression to Shunsaku, and receives the number of hits, conductor control information, the record identifier and an XML document containing the sorted data for the specified item as the results.

Also sends a search request, and a return expression and a sort expression specifying an aggregation function to Shunsaku, and receives aggregated search results.

All of these functions run correctly in multithreaded environments.


DownN.1 shunadd
DownN.2 shundeletebyrecid
DownN.3 shunsearch1
DownN.4 shunsearch2
DownN.5 shunsearch3
DownN.6 shunsort
DownN.7 Error Codes Output

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006